Communication method and device

By performing resource listening based on the intervals of time slot configuration and high-level parameter configuration in the NR system, the problem that non-periodic service reservations cannot be ruled out in the prior art is solved, the probability of resource collision and system interference are reduced, and the resource utilization efficiency is improved.

CN115191128BActive Publication Date: 2025-08-12HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080097746.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-20
Publication Date
2025-08-12
Estimated Expiration
2040-03-20

AI Technical Summary

Technical Problem

The existing resource selection method based on partial perception cannot be applied in the NR system, and the resource reservation for non-periodic services cannot be effectively ruled out, resulting in a high probability of resource collision and serious system interference.

Method used

By determining intervals related to slot configuration in the NR system for resource listening, including taking into account the impact of non-periodic services and performing appropriate resource listening in the resource selection window, the intervals are configured using high-level parameters to eliminate potential resource conflicts.

Benefits of technology

It reduces the probability of resource collision, reduces system interference, improves resource utilization efficiency, and improves the overall design of mode2 mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115191128B_ABST
    Figure CN115191128B_ABST
Patent Text Reader

Abstract

The present application relates to a communication method and apparatus, which can be applied to vehicle networks, such as V2X, LTE‑V, V2V, etc. The first terminal device determines H time domain resources within a resource selection window, determines a first time domain resource among the H time domain resources, and monitors a time domain resource whose time domain interval with each time domain resource among the H time domain resources is a first interval to determine whether the first time domain resource can be selected to send data. The first interval is determined according to one or more of the following: a period of the time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, or a first period, which is a physical period for the side link transmission. The first interval is related to the time slot configuration of the NR system, so that this resource selection method can be applied to the NR system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of mobile communication technologies, and in particular to a communication method and device. Background Art

[0002] In new radio (NR) vehicle-to-everything (V2X) communications, there are two transmission modes for sidelink resource allocation: base station-allocated resource mode 1 (Mode-1) and user-selected resource mode 2 (Mode-2). Mode-1 is primarily used for V2X communications in environments with network coverage. The base station centrally allocates resources based on buffer status reports (BSRs) reported by terminal devices.

[0003] Mode-2 can be applied to V2X communications in situations where there is no network coverage. Of course, mode-2 can also be applied when there is network coverage. In mode-2, the transmitting terminal device listens for resources within the resource listening window and selects resources for communication within the resource selection window based on the listening results. The more common resource selection method currently is that the transmitting terminal device needs to continuously listen to all time slots belonging to the sidelink resource pool within the resource listening window, except for the resources used by the transmitting terminal device to send data, and exclude resources based on the listening results. This may cause a large computational overhead and is not conducive to power saving. In order to reduce power consumption, a resource selection method based on partial sensing is also defined in the long-term evolution (LTE)-V2X system. Under this resource selection method, the transmitting terminal device only needs to listen to some subframes within the resource listening window and exclude the corresponding resources based on the listening results. Since the number of resources listened to is reduced, it helps to reduce the power consumption of the transmitting terminal device.

[0004] In the resource selection method based on partial perception, the transmitting terminal device determines Y subframes within the resource selection window. If a subframe in the Y subframes needs to be selected To send data, the sending terminal device needs to listen to the subframes in the resource listening window. Listen to determine the subframe Is it available? Among them, k is determined by high-level parameters, P step Related to the LTE frame structure.

[0005] The LTE frame structure has 8 fixed modes, while in the NR system, the frame structure is flexible and changeable. stepStrongly related to the LTE frame structure, the subframe determined This may not be accurate enough for NR systems, which makes the resource selection method based on partial sensing in the current LTE-V2X system unsuitable for NR systems. Summary of the Invention

[0006] The embodiments of the present application provide a communication method and apparatus for providing a resource selection mode applicable to the NR system.

[0007] In a first aspect, a first communication method is provided, which includes: determining H time domain resources within a resource selection window, where H is an integer greater than or equal to 1; determining a first time domain resource among the H time domain resources; and monitoring a time domain resource that is separated in time domain by a first interval from each time domain resource among the H time domain resources to determine whether the first time domain resource can be selected to send data, wherein the first interval is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for a side link included in one period of the time slot configuration, a first period, or a first value, where the first period is a physical period for side link transmission.

[0008] The method may be performed by a first communication device, which may be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip. Exemplarily, the first communication device is a terminal device, which may be a terminal device, or a chip configured in the terminal device to implement the functions of the terminal device, or other components configured to implement the functions of the terminal device. In the following description, the first communication device is assumed to be a first terminal device.

[0009] In an embodiment of the present application, if it is to be determined whether the first time domain resource among H time domain resources is available, then the time domain resource having a first interval with each candidate time domain resource among the H time domain resources can be monitored, and the first interval is determined according to one or more of the following: the period of the time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, the first period, or the first value. It can be seen that the first interval is related to the time slot configuration of the NR system. By making the first interval related to the time slot configuration of the NR system, this resource selection method can be applied to the NR system.

[0010] In an optional embodiment, the first interval is a logical period of sidelink transmission.

[0011] The first interval is, for example, a logical period of sidelink transmission in the NR system, that is, the first interval is related to the time slot configuration of the NR system. Alternatively, if the first interval is configured according to the first period (for example, only configured according to the first period), the first interval may also be a physical period of sidelink transmission (for example, a physical period of sidelink transmission in the NR system). By making the first interval related to the time slot configuration of the NR system, this resource selection method can be applied to the NR system.

[0012] In an optional implementation, the first period is determined according to a first high-level parameter, wherein:

[0013] The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or

[0014] The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

[0015] The period corresponding to the index of the element in the first sequence whose value is the first numerical value can be the first period, or in other words, the period corresponding to the index of the element in the first sequence whose value is the first numerical value in the preset corresponding relationship can be the first period. The preset corresponding relationship is the corresponding relationship between the index and the period, and the period here is the physical period of the sidelink transmission. The preset corresponding relationship can be indicated by a fourth high-level parameter, for example, and the first period can be determined according to the first high-level parameter, so that the first period can be determined according to the first high-level parameter. Alternatively, the first high-level parameter can indicate a third numerical value, and the third numerical value can be used as the length of the first period without further determination. This method helps to simplify the process of configuring the first period. The first high-level parameter is, for example, pre-configured in the first terminal device, or can also be included in the first signaling, and the first signaling is, for example, RRC signaling or system message. Of course, only a few ways of determining the first period are given here. The embodiments of the present application do not limit the determination of the first period in other ways.

[0016] In an optional implementation manner, before determining whether the first time domain resource can be selected to send data, the method further includes:

[0017] A time domain resource that is spaced apart from each time domain resource of the H time domain resources by a second interval in the time domain is monitored.

[0018] Consider a problem. In the LTE-V2X system, the time domain interval between the listening subframe and the candidate resource is k*P stepIt can also be understood as the logical period corresponding to the physical period of the periodic service. Since there are only periodic services in the LTE-V2X system, and the period selection range is 100ms, 200ms, ..., 1000ms, when the period is k×100ms, the kth bit of the high-level parameter gapCandidateSensing can be set to 1 and the rest to 0, so k*P step The logical period of the periodic service is the periodic service that includes only the subframes in the sidelink resource pool. If each bit of the high-level parameter gapCandidateSensing is set to 1, under the premise of LTE periodic service, by listening to the subframe That is, it is possible to determine all the candidate resources R x,y However, in the NR-V2X system, in addition to periodic services, there are also non-periodic services. Obviously, the current resource selection scheme based on partial sensing can only eliminate the occupation of candidate resources by periodic service reservations, but cannot eliminate the occupation of candidate resources by non-periodic service reservations. Therefore, it may cause resource collisions, increase system interference, and thus reduce system throughput.

[0019] Therefore, in an embodiment of the present application, the first terminal device may also monitor a time domain resource that is separated from the first time domain resource by a second interval in the time domain. The second interval is determined, for example, based on non-periodic services or periodic services. This is equivalent to considering the impact of non-periodic services in a resource selection scheme based on partial perception. This solves the problem that existing resource selection schemes based on partial perception can only be applied to periodic services and cannot exclude non-periodic services from reserving candidate resources. This reduces the probability of resource collisions, reduces system interference, and further improves the overall design of the Mode 2 mechanism.

[0020] In an optional implementation, the second interval is determined according to a maximum duration for which resources can be reserved for the service.

[0021] The services mentioned here can be either periodic or non-periodic. This shows that the embodiments of the present application take into account the impact of non-periodic services in the resource selection scheme based on partial perception. This solves the problem that existing resource selection schemes based on partial perception can only be applied to periodic services and cannot exclude non-periodic services from reserving candidate resources. This reduces the probability of resource collisions, minimizes system interference, and further improves the overall design of the Mode 2 mechanism.

[0022] In an optional embodiment, the second interval is determined according to a second high-level parameter, wherein:

[0023] The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or,

[0024] The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

[0025] The duration corresponding to the index in the second sequence of an element in the second sequence whose value is the first value can be a duration that is numerically the same as the index in the second sequence of the element in the second sequence whose value is the first value. Assuming the second sequence is 00000001100110010000000110011001, it can be seen that the 8th, 9th, 12th, 13th, 16th, 24th, 25th, 28th, 29th, and 32nd elements in the second sequence have a value of 1, and the remaining elements have a value of 0. For example, if the first value is 1, the second interval can be 8, 9, 12, 13, 16, 24, 25, 28, 29, and 32, respectively. Alternatively, the second higher-level parameter can indicate a fourth value, which can be used as the length of the second interval without further determination. This approach helps simplify the process of configuring the second interval. The second high-level parameter is, for example, pre-configured in the first terminal device, or may also be included in a second signaling, such as RRC signaling or a system message. Of course, only a few methods for determining the second interval are given here, and the embodiments of the present application are not limited and may also determine the second interval in other ways.

[0026] In an optional implementation manner, before determining whether the first time domain resource can be selected to send data, the method further includes:

[0027] Listen to a time domain resource that is separated from each of the H time domain resources by a third interval in the time domain, and / or listen to a time domain resource that is separated from each of the H time domain resources by a fourth interval in the time domain, wherein the third interval and the fourth interval are both determined based on a first duration and a second duration, wherein the first duration is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first value, wherein the first period is a physical period of side link transmission.

[0028] Consider a problem. The resource selection scheme based on partial sensing of the LTE-V2X system does not take into account the situation of missed SCI detection under periodic services. When missed detection occurs, that is, in the subframe There was originally an SCI from another terminal device, but the first terminal device did not detect the SCI due to factors such as channel fading. In the case of missed SCI detection, it will be impossible to exclude the reservation of periodic services from occupying candidate resources, resulting in resource collision.

[0029] Therefore, in an embodiment of the present application, the first terminal device may further monitor a time domain resource that is separated from each of the H time domain resources by a third interval in the time domain, and / or monitor a time domain resource that is separated from each of the H time domain resources by a fourth interval in the time domain. The third interval or the fourth interval is an interval given in consideration of missed detection of SCI by periodic services. By monitoring the time domain resource that is separated from each of the H time domain resources by the third interval in the time domain, and / or monitoring the time domain resource that is separated from each of the H time domain resources by the fourth interval in the time domain, even if the first terminal device misses detecting SCI on the time domain resource that is separated from each of the H time domain resources by the first interval in the time domain, it may still monitor the time domain resource that is separated from each of the H time domain resources by the third interval and / or the fourth interval in the time domain, thereby improving the success rate of SCI detection, reducing the possibility of missed detection, and thus reducing the probability of resource collision.

[0030] In an optional embodiment, the third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

[0031] In an optional embodiment, the fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

[0032] This is just one possible method for determining the third and fourth intervals. This embodiment of the present application does not limit the third and fourth intervals to other methods, as long as both the third and fourth intervals are determined based on the first and second durations.

[0033] According to a second aspect, a second communication method is provided, which includes: determining H time domain resources within a resource selection window, where H is an integer greater than or equal to 1; determining a first time domain resource among the H time domain resources; and listening to a time domain resource that is separated from each time domain resource among the H time domain resources by a second interval in the time domain.

[0034] The method may be performed by a second communication device, which may be a communication device or a communication device capable of supporting the communication device to implement the functions required by the method, such as a chip. Exemplarily, the second communication device is a terminal device, which may be a terminal device, or a chip configured in the terminal device to implement the functions of the terminal device, or other components configured to implement the functions of the terminal device. In the following description, the second communication device is assumed to be a first terminal device.

[0035] The second interval is determined, for example, based on non-periodic or periodic traffic. This means that the embodiment of the present application considers the impact of non-periodic traffic in a resource selection scheme based on partial perception. This addresses the problem that existing resource selection schemes based on partial perception can only be applied to periodic traffic and cannot exclude non-periodic traffic from reserving candidate resources. This reduces the probability of resource collisions, minimizes system interference, and further improves the overall design of the Mode 2 mechanism.

[0036] In an optional implementation, the second interval is determined according to a maximum duration for which resources can be reserved for the service.

[0037] The services mentioned here can be either periodic or non-periodic. This shows that the embodiments of the present application take into account the impact of non-periodic services in the resource selection scheme based on partial perception. This solves the problem that existing resource selection schemes based on partial perception can only be applied to periodic services and cannot exclude non-periodic services from reserving candidate resources. This reduces the probability of resource collisions, minimizes system interference, and further improves the overall design of the Mode 2 mechanism.

[0038] In an optional embodiment, the second interval is determined according to a second high-level parameter, wherein:

[0039] The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or,

[0040] The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

[0041] The duration corresponding to the index in the second sequence of an element in the second sequence whose value is the first value can be a duration that is numerically the same as the index in the second sequence of the element in the second sequence whose value is the first value. Assuming the second sequence is 00000001100110010000000110011001, it can be seen that the 8th, 9th, 12th, 13th, 16th, 24th, 25th, 28th, 29th, and 32nd elements in the second sequence have a value of 1, and the remaining elements have a value of 0. For example, if the first value is 1, the second interval can be 8, 9, 12, 13, 16, 24, 25, 28, 29, and 32, respectively. Alternatively, the second higher-level parameter can indicate a fourth value, which can be used as the length of the second interval without further determination. This approach helps simplify the process of configuring the second interval. The second high-level parameter is, for example, pre-configured in the first terminal device, or may also be included in a second signaling, such as RRC signaling or a system message. Of course, only a few methods for determining the second interval are given here, and the embodiments of the present application are not limited and may also determine the second interval in other ways.

[0042] In an optional implementation manner, before determining whether the first time domain resource can be selected to send data, the method further includes:

[0043] Listen to a time domain resource that is separated in time domain by a first interval from each of the H time domain resources, wherein the first interval is determined according to one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first value, wherein the first period is a physical period of side link transmission.

[0044] When the first terminal device performs resource monitoring and exclusion, in addition to excluding resources reserved for non-periodic services, it is also necessary to exclude resources reserved for periodic services. Therefore, the first terminal device can also monitor time domain resources that are separated from the first time domain resources by a first interval in the time domain, so that resources reserved for periodic services can be excluded. Moreover, the first interval is related to the time slot configuration of the NR system. By making the first interval related to the time slot configuration of the NR system, this resource selection method can be applied to the NR system.

[0045] In an optional embodiment, the first interval is a logical period of sidelink transmission.

[0046] In an optional implementation, the first period is determined according to a first high-level parameter, wherein:

[0047] The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or

[0048] The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

[0049] In an optional implementation manner, before determining whether the first time domain resource can be selected to send data, the method further includes:

[0050] Listen to a time domain resource that is separated from each of the H time domain resources by a third interval in the time domain, and / or listen to a time domain resource that is separated from each of the H time domain resources by a fourth interval in the time domain, wherein the third interval and the fourth interval are both determined based on a first duration and a second duration, wherein the first duration is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first value, wherein the first period is a physical period of side link transmission.

[0051] In an optional embodiment, the third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

[0052] In an optional embodiment, the fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

[0053] Regarding the technical effects brought about by some optional implementations of the second aspect, reference may be made to the introduction to the technical effects of the corresponding implementations of the first aspect.

[0054] In a third aspect, a communication device is provided, for example, the first communication device as described above. The first communication device is configured to perform the method of the first aspect or any possible embodiment. Specifically, the first communication device may include modules for performing the method of the first aspect or any possible embodiment, for example, a processing module and a transceiver module. Exemplarily, the transceiver module may include a transmitting module and a receiving module. The transmitting module and the receiving module may be different functional modules, or they may be the same functional module but capable of performing different functions. Exemplarily, the first communication device is a communication device, or a chip or other component provided in a communication device. Exemplarily, the communication device is a terminal device. Below, the first communication device is taken as an example. The first terminal device may be a terminal device, or it may be a chip or other component provided in a terminal device. For example, the transceiver module may be implemented by a transceiver, and the processing module may be implemented by a processor. Alternatively, the transmitting module may be implemented by a transmitter, and the receiving module may be implemented by a receiver. The transmitter and receiver may be different functional modules, or they may be the same functional module but capable of performing different functions. If the first communication device is a communication device, the transceiver may be implemented, for example, by an antenna, feeder, codec, etc. in the communication device. Alternatively, if the first communication device is a chip provided in a communication device, then the transceiver (or transmitter and receiver) is, for example, a communication interface in the chip, which is connected to a radio frequency transceiver component in the communication device to transmit and receive information through the radio frequency transceiver component. In the introduction of the third aspect, the first communication device is continued to be the first terminal device, and the processing module and the transceiver module are used as examples for the introduction. Among them,

[0055] The transceiver module is used to communicate with other devices;

[0056] The processing module is configured to determine H time domain resources within a resource selection window, where H is an integer greater than or equal to 1;

[0057] The processing module is further configured to determine a first time domain resource among the H time domain resources;

[0058] The processing module is also used to listen to a time domain resource that is separated in time domain by a first interval from each of the H time domain resources to determine whether the first time domain resource can be selected to send data, wherein the first interval is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first numerical value, where the first period is a physical period of side link transmission.

[0059] In an optional embodiment, the first interval is a logical period of sidelink transmission.

[0060] In an optional implementation, the first period is determined according to a first high-level parameter, wherein:

[0061] The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or

[0062] The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

[0063] In an optional embodiment, the processing module is further used to listen to a time domain resource that is separated from each of the H time domain resources by a second interval in the time domain before determining whether the first time domain resource can be selected to send data.

[0064] In an optional implementation, the second interval is determined according to a maximum duration for which resources can be reserved for the service.

[0065] In an optional embodiment, the second interval is determined according to a second high-level parameter, wherein:

[0066] The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or,

[0067] The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

[0068] In an optional embodiment, the processing module is further used to listen to a time domain resource that is separated from each of the H time domain resources by a third interval in the time domain, and / or to listen to a time domain resource that is separated from each of the H time domain resources by a fourth interval in the time domain, before determining whether the first time domain resource can be selected to send data. The third interval and the fourth interval are both determined based on a first time length and a second time length, and the first time length is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in a period of the time slot configuration, a first period, or a first value, and the first period is a physical period of side link transmission.

[0069] In an optional embodiment, the third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

[0070] In an optional embodiment, the fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

[0071] Regarding the technical effects brought about by the third aspect or various optional implementations, reference may be made to the introduction to the technical effects of the first aspect or corresponding implementations.

[0072] In a fourth aspect, a communication device is provided, for example, the second communication device as described above. The second communication device is configured to perform the method of the second aspect or any possible embodiment. Specifically, the second communication device may include modules for performing the method of the second aspect or any possible embodiment, for example, a processing module and a transceiver module. Exemplarily, the transceiver module may include a transmitting module and a receiving module. The transmitting module and the receiving module may be different functional modules, or the same functional module but capable of performing different functions. Exemplarily, the second communication device is a communication device, or a chip or other component provided in a communication device. Exemplarily, the communication device is a terminal device. Below, assuming that the second communication device is a first terminal device, the first terminal device may be a terminal device, or a chip or other component provided in a terminal device. For example, the transceiver module may be implemented by a transceiver, and the processing module may be implemented by a processor. Alternatively, the transmitting module may be implemented by a transmitter, and the receiving module may be implemented by a receiver. The transmitter and receiver may be different functional modules, or the same functional module but capable of performing different functions. If the second communication device is a communication device, the transceiver may be implemented, for example, by an antenna, feeder, codec, etc. in the communication device. Alternatively, if the second communication device is a chip provided in a communication device, then the transceiver (or transmitter and receiver) is, for example, a communication interface in the chip, which is connected to a radio frequency transceiver component in the communication device to transmit and receive information through the radio frequency transceiver component. In the introduction of the fourth aspect, the second communication device is continued to be the first terminal device, and the processing module and the transceiver module are used as examples for the introduction. Among them,

[0073] The transceiver module is used to communicate with other devices;

[0074] The processing module is configured to determine H time domain resources within a resource selection window, where H is an integer greater than or equal to 1;

[0075] The processing module is further configured to determine a first time domain resource among the H time domain resources;

[0076] The processing module is further configured to monitor a time domain resource that is spaced a second interval apart from each of the H time domain resources in the time domain.

[0077] In an optional implementation, the second interval is determined according to a maximum duration for which resources can be reserved for the service.

[0078] In an optional embodiment, the second interval is determined according to a second high-level parameter, wherein:

[0079] The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or,

[0080] The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

[0081] In an optional embodiment, the processing module is further used to listen to a time domain resource that is separated from each of the H time domain resources by a first interval in the time domain before determining whether the first time domain resource can be selected to send data, wherein the first interval is determined according to one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first numerical value, wherein the first period is a physical period of side link transmission.

[0082] In an optional embodiment, the first interval is a logical period of sidelink transmission.

[0083] In an optional implementation, the first period is determined according to a first high-level parameter, wherein:

[0084] The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or

[0085] The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

[0086] In an optional embodiment, the processing module is further used to listen to a time domain resource that is separated from each of the H time domain resources by a third interval in the time domain, and / or to listen to a time domain resource that is separated from each of the H time domain resources by a fourth interval in the time domain, before determining whether the first time domain resource can be selected to send data. The third interval and the fourth interval are both determined based on a first time length and a second time length, and the first time length is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in a period of the time slot configuration, a first period, or a first value, and the first period is a physical period of side link transmission.

[0087] In an optional embodiment, the third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

[0088] In an optional embodiment, the fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

[0089] Regarding the technical effects brought about by the fourth aspect or various optional implementations, reference may be made to the introduction to the technical effects of the second aspect or corresponding implementations.

[0090] In a fifth aspect, a communication device is provided, which may be, for example, the first communication device described above. The communication device includes a processor and a communication interface, which may be used to communicate with other devices or equipment. Optionally, it may also include a memory for storing computer instructions. The processor and memory are coupled to each other to implement the method described in the first aspect or various possible embodiments. Alternatively, the first communication device may not include a memory; the memory may be located external to the first communication device. The processor, memory, and communication interface are coupled to each other to implement the method described in the first aspect or various possible embodiments. For example, when the processor executes the computer instructions stored in the memory, the first communication device executes the method described in the first aspect or any one of the possible embodiments. Exemplarily, the first communication device is a communication device, or a chip or other component provided in a communication device. Exemplarily, the communication device is a terminal device. For example, the first communication device is a first terminal device, the first terminal device is a terminal device, or a chip or other component provided in a terminal device.

[0091] If the first communication device is a communication device, the communication interface is implemented, for example, by a transceiver (or transmitter and receiver) in the communication device, for example, the transceiver is implemented by an antenna, a feeder, and a codec in the communication device. Alternatively, if the first communication device is a chip provided in the communication device, the communication interface is, for example, an input / output interface of the chip, such as an input / output pin, etc., which is connected to a radio frequency transceiver component in the communication device to implement information transmission and reception through the radio frequency transceiver component.

[0092] In a sixth aspect, a communication device is provided, which may be, for example, the second communication device described above. The communication device includes a processor and a communication interface, which may be used to communicate with other devices or equipment. Optionally, it may also include a memory for storing computer instructions. The processor and memory are coupled to each other to implement the method described in the second aspect or various possible embodiments. Alternatively, the second communication device may not include a memory; the memory may be located external to the second communication device. The processor, memory, and communication interface are coupled to each other to implement the method described in the second aspect or various possible embodiments. For example, when the processor executes the computer instructions stored in the memory, the second communication device executes the method described in the second aspect or any one of the possible embodiments. Exemplarily, the second communication device is a communication device, or a chip or other component provided in a communication device. Exemplarily, the communication device is a terminal device. For example, the second communication device is a first terminal device, and the first terminal device is a terminal device, or a chip or other component provided in a terminal device.

[0093] If the second communication device is a communication device, the communication interface is implemented, for example, by a transceiver (or transmitter and receiver) in the communication device, for example, the transceiver is implemented by an antenna, a feeder, and a codec in the communication device. Alternatively, if the second communication device is a chip provided in the communication device, the communication interface is, for example, an input / output interface of the chip, such as an input / output pin, etc., which is connected to a radio frequency transceiver component in the communication device to implement information transmission and reception through the radio frequency transceiver component.

[0094] In a seventh aspect, a chip is provided, comprising a processor and a communication interface, wherein the processor is coupled to the communication interface and is used to implement the method provided in the first aspect or any optional embodiment.

[0095] Optionally, the chip may further include a memory. For example, the processor may read and execute a software program stored in the memory to implement the method provided in the first aspect or any one of the optional embodiments. Alternatively, the memory may not be included in the chip but may be located external to the chip. In this case, the processor may read and execute a software program stored in the external memory to implement the method provided in the first aspect or any one of the optional embodiments.

[0096] In an eighth aspect, a chip is provided, comprising a processor and a communication interface, wherein the processor is coupled to the communication interface and is used to implement the method provided in the second aspect or any optional embodiment.

[0097] Optionally, the chip may further include a memory. For example, the processor may read and execute a software program stored in the memory to implement the method provided in the second aspect or any one of the optional embodiments. Alternatively, the memory may not be included in the chip but may be located external to the chip. In this case, the processor may read and execute a software program stored in the external memory to implement the method provided in the second aspect or any one of the optional embodiments.

[0098] In a ninth aspect, a first communication system is provided, which includes the communication device described in the third aspect, the communication device described in the fifth aspect, or the communication device described in the seventh aspect.

[0099] In a tenth aspect, a second communication system is provided, which includes the communication device described in the fourth aspect, the communication device described in the sixth aspect, or the communication device described in the eighth aspect.

[0100] In the eleventh aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store a computer program. When the computer program is run on a computer, the computer executes the method described in the first aspect or any possible embodiment.

[0101] In a twelfth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store a computer program. When the computer program is run on a computer, the computer executes the method described in the above-mentioned second aspect or any possible embodiment.

[0102] In a thirteenth aspect, a computer program product comprising instructions is provided, wherein the computer program product is used to store a computer program, and when the computer program is run on a computer, the computer is caused to execute the method described in the first aspect or any possible implementation method.

[0103] In a fourteenth aspect, a computer program product comprising instructions is provided, wherein the computer program product is used to store a computer program, and when the computer program is run on a computer, the computer is caused to execute the method described in the above-mentioned second aspect or any possible implementation method.

[0104] In this embodiment of the present application, the first interval is related to the time slot configuration of the NR system. By making the first interval related to the time slot configuration of the NR system, this resource selection method can be applied to the NR system. BRIEF DESCRIPTION OF THE DRAWINGS

[0105] Figure 1 Schematic diagram of several V2X application scenarios;

[0106] Figure 2 This is a timing diagram of the base station allocating resources to the transmitting terminal device through DCI in the dynamic mode of mode-1;

[0107] Figure 3 A schematic diagram of frequency domain resources corresponding to a time slot;

[0108] Figure 4 This is a schematic diagram of the resource selection window and resource listening window when the terminal device selects resources in mode-2;

[0109] Figure 5 Schematic diagram of H subframes determined by a transmitting terminal device within a resource selection window;

[0110] Figure 6 Schematic diagram of the physical period of PSSCH;

[0111] Figure 7 Schematic diagram of the logical cycle of PSSCH;

[0112] Figure 8A Schematic diagram of the frame structure of the NR system when the SCS is 30kHz;

[0113] Figure 8B Figure 1 is a schematic diagram of the frame structure of the NR system when the SCS is 120kHz;

[0114] Figures 9A to 9H Schematic diagrams of several time slot types for NR systems;

[0115] Figure 10 A schematic diagram of the configuration frame structure in the NR system;

[0116] Figure 11 A schematic diagram of an application scenario of an embodiment of the present application;

[0117] Figure 12A flowchart of the first communication method provided in an embodiment of the present application;

[0118] Figure 13A Schematic diagram of H time domain resources and the time domain resources to be monitored determined according to the first interval in an embodiment of the present application;

[0119] Figure 13B A schematic diagram of the physical period of the PSSCH in an embodiment of the present application;

[0120] Figure 14 This is a schematic diagram of time domain resources to be monitored determined according to a first interval and time domain resources to be monitored determined according to a second interval in an embodiment of the present application;

[0121] Figure 15 This is a schematic diagram of the time domain resources to be monitored determined according to the first interval, the time domain resources to be monitored determined according to the third interval, and the time domain resources to be monitored determined according to the fourth interval in an embodiment of the present application;

[0122] Figure 16 A flowchart of the second communication method provided in an embodiment of the present application;

[0123] Figure 17 Schematic diagram of H time domain resources and the time domain resources to be monitored determined according to the second interval in an embodiment of the present application;

[0124] Figure 18 This is a schematic diagram of the time domain resources to be monitored determined according to the second interval, the time domain resources to be monitored determined according to the third interval, and the time domain resources to be monitored determined according to the fourth interval in an embodiment of the present application;

[0125] Figure 19 A schematic block diagram of a first terminal device provided in an embodiment of the present application;

[0126] Figure 20 A schematic block diagram of a second first terminal device provided in an embodiment of the present application;

[0127] Figure 21 A schematic block diagram of a communication device provided in an embodiment of the present application;

[0128] Figure 22 Another schematic block diagram of a communication device provided in an embodiment of the present application;

[0129] Figure 23 Another schematic block diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0131] Below, some terms used in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.

[0132] 1) Terminal devices, including devices that provide voice and / or data connectivity to users. Specifically, these devices may provide voice, data, or both. Examples include handheld devices with wireless connectivity or processing devices connected to a wireless modem. These devices may communicate with the core network via a radio access network (RAN), exchanging voice or data with the RAN, or both. The terminal device may include user equipment (UE), wireless terminal device, mobile terminal device, device-to-device (D2D) terminal device, vehicle-to-everything (V2X) terminal device, machine-to-machine / machine-type communications (M2M / MTC) terminal device, Internet of Things (IoT) terminal device, subscriber unit, subscriber station, mobile station, remote station, access point (AP), remote terminal, access terminal, user terminal, user agent, or user device, etc. For example, it may include a mobile phone (or so-called "cellular" phone), a computer with a mobile terminal device, a portable, pocket-sized, handheld, or computer-built-in mobile device, etc. Examples include personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), and other devices. Also included are limited devices, such as those with low power consumption, limited storage capacity, or limited computing power. Examples include information sensing devices such as barcode scanners, radio frequency identification (RFID), sensors, global positioning systems (GPS), and laser scanners.

[0133] As an example and not a limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices or smart wearable devices, etc., which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, etc., as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets, smart helmets, and smart jewelry for vital sign monitoring.

[0134] The various terminal devices introduced above, if located on a vehicle (eg, placed in or installed in a vehicle), can be considered as vehicle-mounted terminal devices, which are also called on-board units (OBUs).

[0135] In the embodiment of the present application, the terminal device may further include a relay. Alternatively, it can be understood that anything that can communicate data with a base station can be considered a terminal device.

[0136] In the embodiments of the present application, the device for implementing the function of the terminal device can be a terminal device, or a device capable of supporting the terminal device to implement the function, such as a chip system, which can be installed in the terminal device. In the embodiments of the present application, the chip system can be composed of a chip, or it can include a chip and other discrete devices. In the technical solutions provided in the embodiments of the present application, the technical solutions provided in the embodiments of the present application are described by taking the terminal device as an example in which the device for implementing the function of the terminal is a terminal device.

[0137] 2) Network equipment, including, for example, access network (AN) equipment, such as a base station (e.g., access point), which can refer to a device in an access network that communicates with a wireless terminal device over the air interface through one or more cells, or, for example, a network device in a V2X technology is a road side unit (RSU). The base station can be used to convert received air frames to and from Internet Protocol (IP) packets, acting as a router between the terminal device and the rest of the access network, where the rest of the access network may include an IP network. The RSU can be a fixed infrastructure entity that supports V2X applications and can exchange messages with other entities that support V2X applications. The network equipment can also coordinate the attribute management of the air interface. For example, the network device may include an evolved base station (NodeB or eNB or e-NodeB, evolutionary Node B) in an LTE system or long term evolution-advanced (LTE-A), or may also include a next generation node B (gNB) in a fifth generation mobile communication technology (5G) NR system (also referred to as an NR system) or may also include a centralized unit (CU) and a distributed unit (DU) in a cloud radio access network (Cloud RAN) system. The embodiments of the present application are not limited.

[0138] The network equipment may also include core network equipment, such as access and mobility management function (AMF), etc. Since the embodiments of the present application mainly involve access networks, the network equipment described herein refers to access network equipment unless otherwise specified.

[0139] In the embodiments of the present application, the apparatus for implementing the function of the network device may be the network device, or may be a device capable of supporting the network device in implementing the function, such as a chip system, which may be installed in the network device. In the technical solutions provided in the embodiments of the present application, the technical solutions provided in the embodiments of the present application are described by taking the network device as an example.

[0140] 3) V2X (Vehicle-to-Everything) interconnects vehicles with the outside world. It is the foundation and key technology for future smart cars, autonomous driving, and intelligent transportation systems. V2X will build on existing device-to-device (D2D) technology to optimize specific V2X application requirements. This requires further reducing V2X device access latency and resolving resource conflicts.

[0141] V2X specifically includes several application requirements, including direct communication between vehicles (vehicle-to-vehicle, V2V), vehicles and roadside infrastructure (vehicle-to-infrastructure, V2I), vehicles and pedestrians (vehicle-to-pedestrian, V2P), and vehicle-to-network (vehicle-to-network, V2N) communication interactions. Figure 1 V2V refers to vehicle-to-vehicle communication; V2P refers to vehicle-to-people communication (including pedestrians, cyclists, drivers, or passengers); and V2I refers to vehicle-to-network communication, such as RSUs. V2N, which can also be included in V2I, refers to vehicle-to-base station / network communication.

[0142] V2P can be used to provide safety warnings to pedestrians and non-motorized vehicles on the road. Through V2I, vehicles can communicate with roads and even other infrastructure, such as traffic lights and roadblocks, to obtain road management information such as traffic light signal timing. V2V can be used for information exchange and reminders between vehicles, with its most typical application being vehicle-to-vehicle collision avoidance safety systems. V2N, the most widely used form of connected vehicle technology, primarily connects vehicles to cloud servers via mobile networks, allowing them to access navigation, entertainment, anti-theft, and other applications provided by the cloud servers.

[0143] In V2X, communication between terminal devices is the primary focus. Current standard protocols support broadcast, multicast, and unicast transmission modes between terminal devices.

[0144] Broadcast mode: The broadcast mode means that the terminal device as the transmitter uses the broadcast mode to send data. Multiple terminal devices can receive the sidelink control information (SCI) or sidelink shared channel (SSCH) from the transmitter.

[0145] In the sidelink, a way to ensure that all terminal devices parse the control information from the transmitter is that the transmitter does not scramble the control information, or the transmitter scrambles the control information using a scrambling code known to all terminal devices.

[0146] Multicast mode: Multicast mode is similar to broadcast transmission. The terminal device as the transmitter uses the broadcast mode to send data. A group of terminal devices can parse SCI or SSCH.

[0147] Unicast mode: Unicast mode is when one terminal device sends data to another terminal device, and the other terminal device does not need or cannot parse the data.

[0148] 4) The terms "system" and "network" in the embodiments of the present application can be used interchangeably. "At least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0149] Furthermore, unless otherwise specified, ordinal numbers such as "first" and "second" in the embodiments of this application are used to distinguish multiple objects and are not used to limit the size, content, order, timing, priority, or importance of the multiple objects. For example, the first interval and the second interval are only used to distinguish different time domain intervals and do not indicate a difference in length, priority, or importance between the two intervals.

[0150] The foregoing text introduces some of the terms and concepts involved in the embodiments of this application. The following text introduces the technical features involved in the embodiments of this application.

[0151] With the development of wireless communication technology, people's demand for high data rates and user experience is growing. At the same time, people's demand for proximity services, which allow them to understand and communicate with people and things around them, is also increasing. Therefore, D2D technology has emerged. The application of D2D technology can reduce the burden on cellular networks, reduce the battery power consumption of user devices, increase data rates, and effectively meet the needs of proximity services. D2D technology allows multiple D2D-enabled UEs to directly discover and communicate with each other, with or without network infrastructure. Given the characteristics and advantages of D2D technology, vehicle-to-vehicle (V2I) application scenarios based on D2D technology have been proposed. However, due to security considerations, the latency requirements in such scenarios are very high, which cannot be achieved with existing D2D technology.

[0152] Therefore, under the LTE technology network proposed by the 3rd Generation Partnership Project (3GPP), V2X vehicle networking technology was proposed. V2X communication refers to the communication between vehicles and anything outside, including V2V, V2P, V2I, and V2N. Figure 1 .

[0153] V2X communication targets high-speed devices, such as vehicles, and is a fundamental and key technology for future applications with very high communication latency requirements, such as smart cars, autonomous driving, and intelligent transportation systems. LTE-V2X communication can support communication scenarios with and without network coverage, and its resource allocation can adopt network access device scheduling modes, such as the Evolved Universal Terrestrial Radio Access Network Node B (E-UTRAN Node B, eNB) scheduling mode and the UE self-selection mode. Based on V2X technology, vehicle user equipment (V-UE) can send some of its own information, such as location, speed, or intention (turning, merging, or reversing), to other V-UEs in a periodic or non-periodic triggering manner. Similarly, the V-UE will also receive information from surrounding users in real time.

[0154] With the development of 5G NR technology in the 3GPP standards organization, 5G NR-V2X will further develop, for example, to support lower transmission latency, more reliable communication transmission, higher throughput, and better user experience to meet the needs of a wider range of application scenarios.

[0155] In NR-V2X, sidelink resource allocation primarily operates in two modes: base station-allocated resource mode (mode-1) and user-selected resource mode (mode-2). Mode-1 is primarily used for V2X communications within network coverage. The base station centrally allocates resources based on the base station response (BSR) reported by the terminal device. In mode-1, resource allocation can be dynamic or pre-configured. Base station-allocated resources include initial resources, retransmission resources, or both.

[0156] In the dynamic mode of mode-1, the base station allocates resources to the transmitting terminal device through downlink control information (DCI). After receiving the DCI, the transmitting terminal device sends data to the receiving terminal device on the resources. After decoding the data from the transmitting terminal device, the receiving terminal device sends feedback information corresponding to the data to the transmitting terminal device, such as the feedback information is a positive acknowledgement (ACK) or a negative acknowledgement (NACK). The transmitting terminal device then forwards the feedback information to the base station. For this, please refer to Figure 2 .exist Figure 2 In the process, at time t1, the transmitting terminal device receives the DCI from the base station and decodes the DCI; at time t2, the transmitting terminal device sends the physical sidelink shared channel (PSSCH) or the physical sidelink control channel (PSCCH) to the receiving terminal device; at time t3, the receiving terminal device sends the hybrid automatic repeat request (HARQ) information (i.e., feedback information) corresponding to the PSSCH or PSCCH to the transmitting terminal device; at time t4, the transmitting terminal device forwards the HARQ information to the base station.

[0157] In the pre-configuration mode of mode-1, the base station will configure the relevant time-frequency resources for sidelink transmission through high-layer signaling. The transmitting terminal device can directly send sidelink data on the resources configured by the high-layer signaling (type (type) -1); or, the base station will send DCI to activate the configured resources. After receiving the DCI, the transmitting terminal device can send sidelink data on the resources configured by the high-layer signaling (type-2). After receiving the sidelink data from the transmitting terminal device, the receiving terminal device decodes the sidelink data and then sends the HARQ information (i.e., feedback information) of the sidelink data to the transmitting terminal device. The transmitting terminal device then forwards the HARQ information from the receiving terminal device to the base station.

[0158] In mode-2, the transmitting terminal device's transmission resources are independent of the base station. This mode is not limited by network coverage and can be used by the transmitting terminal device regardless of network coverage. User-selected resources include initial resources, retransmission resources, or both.

[0159] In mode-2, the transmitting terminal device selects resources within the resource selection window to send data based on the result of resource monitoring. Assuming that the transmitting terminal device triggers resource selection at time slot n, the resource monitoring window can be defined as T time slots before the resource selection is triggered. The resource selection window is the time slot corresponding to [n+Q1, n+Q2] after the resource selection is triggered. The resource selection window includes multiple time slots. For a time slot, the number of sub-channels included in the frequency domain resources belonging to the sidelink resource pool corresponding to the time slot is N. subCH The sub-channel set corresponding to the sub-channel included in the frequency domain resources corresponding to the time slot is The set of all resources corresponding to each time slot in the resource selection window [n+Q1, n+Q2] is defined as Among them, each candidate resource is a set of length L subCH The continuous subchannel set, L subCH The number of subchannels occupied by PSSCH and PSCCH corresponding to the data to be transmitted. In the resource selection window [n+Q1, n+Q2], the total number of candidate resources corresponding to each time slot is N subCH -L subCH +1.

[0160] For example, you can refer to Figure 3 , which is a schematic diagram of the frequency domain resources corresponding to a time slot. Figure 3 Boxes 0 to 8 in the figure represent all sidelink sub-channels corresponding to a time slot, that is, N subCH =8, the subchannel set corresponding to these 8 subchannels is The number of sub-channels occupied by the PSSCH corresponding to the data to be transmitted is L subCH , L subCH For example, if it is 2, the total number of resources corresponding to the time slot is 8-2+1=7, which is Figure 3 The set of resources 0 to 7 in the time slot corresponding to these 7 resources is

[0161] The following describes the resource selection process of the sending terminal device in mode-2.

[0162] Step 1: The transmitting terminal device listens to the SCI sent by other terminal devices in the resource pool within the resource listening window. The listening may include the process of detecting the SCI, or may include the process of detecting the SCI, decoding the SCI, and measuring the reference signal receiving power (RSRP) of the resource according to the indication of the SCI.

[0163] Step 2: If the monitored SCI includes resources that have been reserved by other terminal devices, and the reserved resources are within the resource selection window [n+Q1, n+Q2], the transmitting terminal device measures the resources corresponding to the reserved resources within the resource listening window, and obtains the RSRP of the resources through measurement. For example, refer to Figure 4 The time window on the left represents the resource listening window, and the time window on the right represents the resource selection window. UE1 in the resource listening window represents the resources used by UE1, UE2 represents the resources used by UE2, and UE3 represents the resources used by UE3. UE1 in the resource selection window represents the reserved resources of UE1, UE2 represents the reserved resources of UE2, and UE3 represents the reserved resources of UE3.

[0164] If the measured RSRP is greater than the preset RSRP threshold Th RSRP , the sending terminal device excludes the candidate resource from the resource selection window; otherwise, the sending terminal device may select the candidate resource from the resource selection window.

[0165] Among them, Th RSRP It is a function of the priority corresponding to the data indicated in the received SCI and the priority corresponding to the data to be sent by the transmitting terminal device.

[0166] Step 3: If the number of candidate resources remaining in the resource selection window is less than X% of all candidate resources included in the resource selection window, then Th RSRP Increase the volume by 3dB and repeat step 2.

[0167] Step 4: The transmitting terminal device reports the remaining candidate resources to the upper layer of the transmitting terminal device, so that the transmitting terminal device can select a resource from the remaining candidate resources.

[0168] It can be seen that in step 3 of the resource selection process of mode-2, if the number of candidate resources in the resource selection window is less than X% of all candidate resources, the preset Th RSRPIncrease by 3dB, and the value of X is preset and fixed at 20. For example, when 30% of the resources are excluded from the resource selection window, the number of remaining candidate resources is 70% of all resources, which is greater than the preset 20%. The transmitting terminal device can finally select resources from 70% of all resources. When 90% of the resources are excluded from the resource selection window, the number of remaining candidate resources is 10% of all resources, which is less than the preset 20%. In this case, the preset Th needs to be increased. RSRP , until the number of remaining candidate resources is greater than 20% of all candidate resources, the transmitting terminal device can finally select transmission resources from 20% of all resources.

[0169] The transmitting terminal device needs to continuously monitor all time slots belonging to the sidelink resource pool within the resource listening window, except for the resources used by the transmitting terminal device to send data, and exclude resources based on the monitoring results. This may cause a large computational overhead, which is not conducive to power saving. In order to reduce power overhead, a resource selection method based on partial perception is also defined in the LTE-V2X system. Under this resource selection method, the transmitting terminal device only needs to monitor some subframes within the resource listening window and exclude corresponding resources based on the monitoring results. Since the monitored resources are reduced, it helps to reduce the power consumption of the transmitting terminal device. The resource selection method based on partial perception is introduced below. Among them, because the basic unit of the time domain in the LTE system is the subframe, the time domain unit described below also uses the subframe.

[0170] Step 1. The transmitting terminal device first determines at least Y subframes within the resource selection window [n+T1, n+T2]. Y can be determined based on the high-level parameter minimum number of candidate subframes (minNumCandidateSF). For example, the network device sends high-level signaling to the transmitting terminal device, and the high-level parameter minNumCandidateSF may be included in the high-level signaling. The high-level signaling is, for example, radio resource control (RRC) signaling. The value range of minNumCandidateSF is 1 to 13. After determining Y subframes, the transmitting terminal device can determine the subframes belonging to the sidelink resource pool from at least Y subframes, for example, H subframes are determined, where H is an integer less than or equal to Y and greater than or equal to 1. Figure 5 As shown, assuming H = 4, Figure 5 The four rectangular boxes with “\” in the resource selection window [n+T1, n+T2] represent these four subframes. Each of these four subframes can correspond to one or more candidate resources. For example, a candidate resource can be represented by R x,y , where x represents the candidate resource R x,yThe frequency domain position of the candidate resource R x,y For example, the number of all candidate resources corresponding to H subframes is M total . Figure 5 in represents one subframe among H subframes, Indicates that the subframe Determine the subframe to be monitored. In addition, Figure 5 The frequency domain positions of the resource listening window and resource selection window in FIG are only examples and do not represent actual frequency domain positions.

[0171] Step 2: The transmitting terminal device wishes to select a subframe Corresponding to a candidate resource, if the subframe Belonging to the H subframes mentioned above, the transmitting terminal device needs to To monitor, and to monitor the H subframes except the subframe The time domain distance between each subframe other than step It can be seen that no matter which subframe the transmitting terminal device selects, For each candidate resource, the subframes that the transmitting terminal device needs to monitor are the same, including the time domain distance between each subframe in the H subframes and k*P step subframe. Wherein, k can be determined according to the high-level parameter gapCandidateSensing, for example, the network device sends a high-level signaling to the transmitting terminal device, and the high-level parameter gapCandidateSensing may be included in the high-level signaling. The high-level signaling is, for example, RRC signaling, etc. Wherein, the high-level signaling including the high-level parameter minNumCandidateSF and the high-level signaling including the high-level parameter minNumCandidateSF may be the same signaling, or may be different signaling. The high-level parameter gapCandidateSensing is a sequence of length 10, and each element value in the sequence is 0 or 1, and k is the index corresponding to the element with a value of 1 in the sequence. As Figure 5 As shown, the position of the subframe to be monitored is determined by the time domain interval k*P step It is determined that the subframes that need to be monitored correspond to the H subframes one by one.

[0172] Step 3: Define the set S A and set S B , where S A Including all candidate resources belonging to the sidelink resource corresponding to H subframes, S B Is an empty set.

[0173] Step 4: For candidate resource Rx,y , if R x,y If the following conditions (1), (2) and (3) are met at the same time, then R x,y Should be from the set S A Excluded.

[0174] Condition (1): The transmitting terminal device is in the subframe Receive SCI and decode the SCI to get P rsvp_RX and prio RX . Among them, P rsvp_RX Indicates the physical period of the PSSCH scheduled by the SCI (which may include subframes in non-sidelink resource pools), prio RX Indicates the priority of the data carried by the PSSCH scheduled by the SCI;

[0175] Condition (2): The measurement result of PSSCH-RSRP determined by the SCI is greater than the threshold Th prioTX,prioRX The threshold Th prtoTX,prioRX A function of the priority of the data carried by the PSSCH scheduled by the received SCI and the priority of the data to be sent by the transmitting terminal device;

[0176] Condition (3), according to the subframe Received SCI and expected The time-frequency resources determined by the received SCI and the candidate resources R x,y+j×P′rsvp_TX That is, according to the subframe Received SCI and expected The received SCI can determine the resources reserved by the terminal device that sent the SCI. This is equivalent to determining the periodic resources reserved by other terminal devices. x,y+j×P′rsvp_TX , means that the sending terminal device must x,y The services sent on the network are also periodic services, which also require reservation of periodic resources. x,y+j×P′rsvp_TX Refers to the periodic resources to be reserved by the sending terminal device. Condition 3 is to determine whether the periodic resources reserved by other terminal devices and the periodic resources reserved by the sending terminal device overlap, or are the same resources. q = 1, 2, ..., Q, j = 1, 2, ..., C resel -1, P′ rsvp_TX =P step ×P rsvpTX / 100, P rsvp_TX is the physical period of the data to be sent by the sending terminal device. rsvp_RX ≤1 and y′-m≤P step ×P rsvp_RX +P step, Q=1 / P rsvp_RX , where y′ is the last subframe among H subframes, or the last subframe among Y subframes; otherwise, Q=1. resel Indicates the number of cycles reserved by the terminal device that sent the SCI. rsvp_TX Indicates the logical period of data to be sent by the sending terminal device.

[0177] Step 5: If the candidate resource set S A The remaining candidate resources in total 20%, the preset threshold Th prioTX,prioRX Increase by 3dB and repeat steps 3 and 4 until the candidate resource set S A The remaining candidate resources in are greater than or equal to M total 20% of the total cost, and then proceed to step 6.

[0178] Step 6: The sending terminal device selects the candidate resource set S A Candidate resource R in x,y Measure and get RSSI, then multiply the minimum 20% of the RSSI by M total Candidate resources are added to the set S B .

[0179] Step 7: The sending terminal device sets S B Report to the upper layer of the sending terminal device.

[0180] That is, the previous steps 1 to 6 are all completed by the physical layer of the sending terminal device, and step 7 is that the physical layer of the sending terminal device can B Report to the upper layer of the transmitting terminal device. The upper layer of the transmitting terminal device is, for example, the media access control (MAC) layer, or other layers above the physical layer. Set S B The resources included are the available resources determined by the sending terminal device. After reporting to the upper layer of the sending terminal device, the sending terminal device is in the set S B , select a resource to send data.

[0181] In the above process, P in step 2 step The definition is related to the frame structure of the LTE system. For specific definitions, please refer to Table 1:

[0182] Table 1

[0183]

[0184] In Table 1, D represents downlink subframe, U represents uplink subframe, S represents special subframe, and FDD stands for frequency division duplexing (FDD). step The value of is the number of uplink subframes in a certain time division duplexing (TDD) frame structure configuration of the LTE system multiplied by 10. For example, when the frame structure is TDD configuration 2, the number of uplink subframes is 2, and P step The value of is 2*10=20.

[0185] Therefore, P′ rsvp_TX =P step ×P rsvp_TX / 100 corresponds to P rsvp_TX The logical period (wherein, when calculating the logical period, only the subframes in the sidelink resource pool are included, and other subframes are eliminated). Figure 6 As shown, under TDD configuration 2, assuming that the first transmission of a PSSCH is located in the first uplink subframe of the first frame, when the physical period P of the PSSCH is rsvp_TX When the PSSCH is 20 ms, the second transmission is in the first uplink subframe of the third frame. When determining the physical period, all subframes are present, that is, subframes belonging to the sidelink resource pool are present, and subframes not belonging to the sidelink resource pool are not eliminated and are also present.

[0186] According to the definition of the sidelink resource pool in the LTE system, Figure 6 The downlink subframes and special subframes in the frame structure are excluded. The subframe set for PSSCH can be referred to Figure 7 . Figure 7 Subframes in Corresponding to the first uplink subframe of the first frame, subframe Corresponding to the first uplink subframe of the third frame, the interval between these two subframes in the sidelink resource pool is Therefore, the logic period P′ rsvp_TX The physical meaning of can also be interpreted as the number of uplink subframes in the next system frame of a certain frame structure configuration and the physical period P rsvp_TX The product of the number of system frames contained in it.

[0187] Similarly, P step ×P rsvp_RX That corresponds to P rsvp_RX The logic cycle, P rsvp_RXIndicated by the resource reservation field in the SCI format-1 of the LTE system, the definition can be referred to Table 2, and the specific value X is the reservation period of the service divided by 100.

[0188] Resource reservation domain X ‘0001’,‘0010’,......,‘1010’ 1,2,......,10 ‘1011’ 0.5 ‘1100’ 0.2 ‘0000’ 0 ‘1101’,‘1110’,‘1111’ reserved

[0189] In the resource selection mode based on partial perception described above, the subframes that need to be monitored in step 2 are By the interval k*P step OK, where P step As shown in Table 1, it can be seen that P step Strongly related to the LTE system's frame structure, the LTE frame structure includes the eight fixed modes shown in Table 1. The NR system's frame structure is more flexible and diverse. In the NR system, the length of each system frame is the same as that of the LTE system, still 10ms, with a system frame number (SFN) ranging from 0 to 1023. The length of each subframe remains 1ms, and the subframe numbers within a system frame range from 0 to 9. The relationship between the time slot and the subcarrier spacing (SCS) within each subframe can be found in Table 3.

[0190] Table 3

[0191]

[0192]

[0193] The frame structure of the NR system with SCS of 30kHz can be referred to Figure 8A The frame structure of the NR system, taking SCS of 120kHz as an example, can be referred to Figure 8B .

[0194] Compared with the subframe-level frame structure configuration in the LTE system, the frame structure of the NR system is more flexible. The downlink (DL) and uplink (UL) configurations in the NR system can be at the symbol level, namely, downlink symbol D, uplink symbol U, flexible symbol X (can be used for downlink transmission, uplink transmission, gap (GAP) or as a reserved resource). And the time slot types in the NR system include four structures, namely, full downlink time slot, full uplink time slot, full flexible time slot and mixed time slot. Among them, the full downlink time slot is used for downlink transmission, the full uplink time slot is used for uplink transmission, and the mixed time slot can include at least one downlink symbol, or include at least one uplink symbol, or include at least one downlink symbol and at least one uplink symbol. Please refer to Figure 9A, is a schematic diagram of a complete downlink time slot; Figure 9B Schematic diagram of a complete uplink time slot; Figure 9C Schematic diagram of fully flexible time slots; Figure 9D 1 is a schematic diagram of a first mixed time slot, where the mixed time slot includes a downlink symbol D and a flexible symbol X; Figure 9E 2 is a schematic diagram of a second mixed time slot, where the mixed time slot includes an uplink symbol U and a flexible symbol X; Figure 9F 3 is a third schematic diagram of a mixed time slot, where the mixed time slot includes an uplink symbol U, a downlink symbol D, and a flexible symbol X; Figure 9G The fourth schematic diagram of the mixed time slot includes uplink symbol U, downlink symbol D and flexible symbol X. Figure 9F The difference is that the number of downlink symbols is different from the number of uplink symbols; Figure 9H FIG. 5 is a fifth schematic diagram of a mixed time slot, which includes an uplink symbol U, a downlink symbol D, and a flexible symbol X.

[0195] In the NR system, when configuring the frame structure of a system frame, it can be completed through four steps, or the configuration process includes four layers:

[0196] The first layer: through time-division duplex (TDD)-UL-DL-configuration-common parameter configuration, the period is {0.5, 0.625, 1, 1.25, 2, 2.5, 5, 10} ms. The TDD-UL-DL-configuration-common parameter can be included in the radio resource control (RRC) signaling, or pre-configured in the terminal device, or can also be included in the system information block (SIB) 1. The RRC signaling is, for example, cell-specific RRC signaling. Please refer to Figure 10 , what is configured through the first layer is part of the time slot in a cycle of the time slot configuration, such as Figure 10 The slots enclosed by the braces in the first line are configured by the first layer.

[0197] The second layer: through TDD-UL-DL-configuration-dedicated parameter configuration, which can be included in the RRC signaling or pre-configured in the terminal device. Figure 10 , what is configured through the second layer is part of the time slot within a period of the time slot configuration, such as Figure 10 The slots enclosed by the curly braces on the second line.

[0198] Layer 3: configured through downlink control information (DCI) format 2_0. DCI-format2_0 can indicate a slot format included in the slot format indicator. The slot format indicator can be pre-configured and include multiple slot formats. DCI-format2_0 can indicate one or more of these slot formats. These one or more slot formats are the slot formats to be configured through the layer 3 configuration. Figure 10 , what is configured through the third layer is part of the time slot within a period of the time slot configuration, such as Figure 10 The third line contains the time slots enclosed by the curly braces.

[0199] Layer 4: Dynamically configured through UE-specific DCI signaling, such as DCI format 0 or DCI format 1. Figure 10 ,The fourth layer configures a portion of the time slot within a cycle of the time slot configuration, e.g. Figure 10 The slots enclosed by the braces in the fourth line.

[0200] That is to say, one cycle of time slot configuration is gradually completed through the above four steps. Figure 10 The symbols D, X, and U are just examples. The types of time slots included in a cycle of a specific time slot configuration may be different and can be configured according to the above four steps.

[0201] The resource listening process described above is based on the P step Definitely, P step The frame structure of the LTE system is fixed. However, as can be seen from the characteristics of the time slot configuration of the NR system (or the frame structure of the NR system), the frame structure of the NR system is flexible and variable. Obviously, the method of determining the subframe to be monitored during the resource monitoring process that relies on the frame structure of the LTE system is not applicable to the NR system.

[0202] In view of this, a technical solution of an embodiment of the present application is provided. In an embodiment of the present application, if it is to be determined whether the first time domain resource among H time domain resources is available, then the time domain resource having a first interval with each candidate time domain resource among the H candidate resources can be monitored, and the first interval is determined according to one or more of the following: the period of the time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, or the first period. It can be seen that the first interval is related to the time slot configuration of the NR system. By making the first interval related to the time slot configuration of the NR system, this resource selection method can be applied to the NR system.

[0203] The technical solutions provided in the embodiments of this application can be applied to D2D scenarios, such as NR D2D scenarios and LTE D2D scenarios, or can be applied to V2X scenarios, such as NR V2X scenarios and LTE V2X scenarios. For example, they can be applied to Internet of Vehicles (IoV), such as V2X, LTE-V, V2V, etc., or can be used in intelligent driving, intelligent connected vehicles, and other fields. Alternatively, they can be applied to other scenarios or other communication systems, such as resource selection for the Uu interface of an LTE system or an NR system, without specific limitation.

[0204] The following describes the network architecture used in the embodiments of this application. Figure 11 , which is a network architecture used in the embodiments of this application.

[0205] Figure 11 The system includes a network device and two terminal devices, terminal device 1 and terminal device 2. Both terminal devices can be within the coverage of the network device; or only terminal device 1 can be within the coverage of the network device, while terminal device 2 is not; or both terminal devices are not within the coverage of the network device. The two terminal devices can communicate with each other via sidelink. Figure 11 For example, both terminal devices are not within the coverage of the network device. Figure 11 The number of terminal devices is just an example. In actual applications, the network device can provide services for multiple terminal devices.

[0206] Figure 11 The network device in the present invention is, for example, an access network device, such as a base station. The access network device corresponds to different devices in different systems. For example, in a fourth generation mobile communication technology (4G) system, it may correspond to an eNB, and in a 5G system, it may correspond to an access network device in 5G, such as a gNB, or may be an access network device in a subsequently evolved communication system.

[0207] in, Figure 11 The terminal device in the example is a vehicle-mounted terminal device or a vehicle, but the terminal device in the embodiments of the present application is not limited thereto.

[0208] Next, the technical solutions provided by the embodiments of the present application are introduced with reference to the accompanying drawings.

[0209] This application embodiment provides a first communication method, see Figure 12 , which is the flow chart of this method. In the following introduction, this method is applied to Figure 11 The network architecture shown is taken as an example.

[0210] For the sake of convenience, the following takes the method executed by the first terminal device and the second terminal device as an example. Figure 11 As an example, the network architecture shown in FIG. 1 is used. Therefore, the first terminal device described below may be Figure 11 The terminal device 1 in the network architecture shown in the figure may be a chip system set in the terminal device 1; the second terminal device described below may be Figure 11 The terminal device 2 in the network architecture shown may be a chip system set in the terminal device 2.

[0211] S121. The first terminal device determines H time-domain resources within a resource selection window, where H is an integer greater than or equal to 1.

[0212] In the embodiment of the present application, the time domain resource is, for example, a subframe, a time slot, or a symbol, etc. That is, the first terminal device may determine H subframes, H time slots, or H symbols within the resource selection window.

[0213] If the first terminal device needs to send data to the second terminal device, the first terminal device needs to select resources. For example, the first terminal device selects resources according to a resource selection method based on partial perception.

[0214] The first terminal device can first determine at least Y time domain resources within the resource selection window. The resource selection window is, for example, [n+T1, n+T2]. Y can be determined based on the high-level parameter minNumCandidateSF. For example, the network device sends a signaling to the transmitting terminal device, and the high-level parameter minNumCandidateSF may be included in the signaling. The signaling is, for example, RRC signaling, or it may be a system message, etc. Alternatively, the high-level parameter minNumCandidateSF may also be pre-configured in the terminal device. The value range of minNumCandidateSF is, for example, 1 to f, and f is, for example, 13, or it may be other values.

[0215] After determining Y time domain resources, the first terminal device can determine the time domain resources belonging to the sidelink resource pool from at least Y time domain resources, for example, H time domain resources are determined, where H is an integer less than or equal to Y and greater than or equal to 1, that is, the H time domain resources are part of or all of the Y time domain resources. Figure 13A , is a schematic diagram of H time domain resources, Figure 13A Take H=4 as an example, where the rectangular box with “\” represents H time domain resources. Each of the H time domain resources can correspond to one or more candidate resources. In other words, the candidate resource is a concept of time domain plus frequency domain. Due to the difference in frequency domain, one time domain resource can correspond to one or more time-frequency resources. These one or more time-frequency resources are the candidate resources. For example, a candidate resource can be represented as R x,y , where x represents the candidate resource R x,y The frequency domain position of the candidate resource R x,y For example, the number of candidate resources corresponding to H time domain resources is M total .

[0216] S122. The first terminal device determines a first time domain resource among H time domain resources.

[0217] For example, if the first terminal device wants to select the first candidate resource to send data, or send control information, or send data and control information, the first terminal device needs to monitor the time domain resources that have a first interval with each time domain resource or any one or more time domain resources in H time domain resources to determine whether the first candidate resource is available.

[0218] The first candidate resource is a time-frequency resource. For example, for one of the H time-domain resources, if divided in the frequency domain, the time-domain resource may correspond to multiple time-frequency resources, that is, the time-domain positions of the multiple time-frequency resources are the same as the time-domain position of the time-domain resource. The first candidate resource is the time-frequency resource corresponding to the first time-domain resource, that is, the time-domain position of the first candidate resource is the time-domain position of the first time-domain resource. For example, the first candidate resource is the candidate resource R mentioned above. x,y . Therefore, in S122, it can be considered that the first terminal device has actually determined the first candidate resource, but because the resource to be listened to is mainly determined based on the time domain position of the candidate resource, it can also be considered that the first terminal device has determined the first time domain resource. It can be understood that S122 can also be replaced by the first terminal device determining the first candidate resource corresponding to the first time domain resource among H time domain resources. The first time domain resource can be any one of the H time domain resources.

[0219] by Figure 13A For example, the first time domain resource can be Figure 13A One of the four time domain resources shown.

[0220] S123. The first terminal device listens to the time domain resources that are separated in time domain by a first interval from each time domain resource or any one or more time domain resources in the H time domain resources to determine whether the first time domain resource can be selected to send data, or send control information, or send data and control information.

[0221] It should be noted that the time domain resources that are separated in the time domain by the first interval from one of the H time domain resources include both time domain resources that are located before the time domain resource and time domain resources that are located after the time domain resource. In the embodiments of the present application, the time domain resources that are monitored are those that are located before the time domain resource. For example, the time domain resources that are separated in the time domain by the first interval from the first time domain resource among the H time domain resources include both time domain resources that are located before the first time domain resource and time domain resources that are located after the first time domain resource. In the embodiments of the present application, the time domain resources that are monitored are those that are located before the first time domain resource.

[0222] For example, the first time domain resource is a time slot The first interval is P gap Indicates that the time domain resource with the first interval in the time domain is a time slot You can continue to refer to Figure 13A , Figure 13A The blank rectangular box represents the time domain resources to be monitored determined by the first terminal device according to the H time domain resources and the first interval. The first terminal device monitors all of these time domain resources to be monitored.

[0223] The first interval may be determined based on one or more of the following: a period of the time slot configuration, the number of time domain units for the sidelink included in one period of the time slot configuration, a first period, or a first value. For example, the first interval is determined based on the period of the time slot configuration; or the first interval is determined based on the number of time domain units for the sidelink included in one period of the time slot configuration; or the first interval is determined based on the first period; or the first interval is determined based on the period of the time slot configuration and the number of time domain units for the sidelink included in one period of the time slot configuration; or the first interval is determined based on the number of time domain units for the sidelink included in one period of the time slot configuration and the first period; or the first interval is determined based on the period of the time slot configuration and the first period; or the first interval is determined based on the period of the time slot configuration, the number of time domain units for the sidelink included in one period of the time slot configuration, and the first period; or the first interval is determined based on the period of the time slot configuration, the number of time domain units for the sidelink included in one period of the time slot configuration, the first value, and the first period, and so on. In the embodiment of the present application, the time domain unit is, for example, a subframe, or a time slot, or a symbol, etc. For example, a time domain resource may include one or more time domain units.

[0224] The first value may be configured via a fifth higher-layer parameter. The fifth higher-layer parameter may, for example, be preconfigured in the terminal device or included in signaling. For example, a network device sends fifth signaling to the first terminal device, the fifth signaling including the fifth higher-layer parameter. The first terminal device may obtain the fifth higher-layer parameter upon receiving the fifth signaling. The fifth signaling may, for example, be RRC signaling or a system message. The first value may be an integer greater than or equal to 1.

[0225] The period of the time slot configuration can also be understood as a frame structure, that is, the configuration of multiple time domain resources changes according to the period. For example, in the process of configuring the frame structure of the system frame through four steps described above, the period corresponding to the first layer configuration (the period is {0.5, 0.625, 1, 1.25, 2, 2.5, 5, 10} ms) can be the period of the time slot configuration. Figure 10 The 10 time slots shown can be a period of time slot configuration. Figure 10 This is just one way to configure time slots. For example, the period of the time slot configuration can be indicated by a third high-level parameter, such as a downlink-uplink-transmission period (dl-UL-TransmissionPeriodicity) parameter. For example, the network device sends a third signaling to the first terminal device, and the first terminal device receives the third signaling from the network device. The third high-level parameter can be included in the third signaling. Alternatively, the third high-level parameter can also be pre-configured in the terminal device. The third signaling is, for example, RRC signaling or a system message.

[0226] The number of time domain units used for the sidelink included in one period of the time slot configuration, that is, the number of time domain units belonging to the sidelink resource pool included in one period, where the time domain unit is, for example, a time slot. Figure 10 Represents a period of time slot configuration, Figure 10 The U in the time domain unit may represent a time domain unit belonging to the sidelink resource pool.

[0227] The first period is the physical period of the sidelink transmission. The so-called physical period is the period determined when various time domain resources are included (that is, when determining the physical period, all time domain resources exist, that is, time domain resources belonging to the sidelink resource pool exist, and time domain resources that do not belong to the sidelink resource pool also exist). In addition to the physical period, the sidelink transmission also has a logical period. The so-called logical period is the period determined when only the time domain resources belonging to the sidelink resource pool are included. For example, if the time domain resource is a time slot, the unit of the physical period is, for example, ms, including all uplink time slots, downlink time slots, and sidelink time slots, etc., and the unit of the logical period is, for example, time slots, including only sidelink time slots. Among them, the logical period can also have other names, such as sideline period, sideline transmission period, sidelink period, or sidelink transmission period, etc. The name does not constitute a limitation on the characteristics.

[0228] In the NR system, uplink time slots may include uplink time slots (or uplink subframes) that can be used for sidelink transmission, and uplink time slots (or uplink subframes) that cannot be used for sidelink transmission; flexible time slots may include uplink time slots (or flexible subframes) that can be used for sidelink transmission, and flexible time slots (or flexible subframes) that cannot be used for sidelink transmission; downlink time slots (or downlink subframes) generally cannot be used for sidelink transmission. For example, refer to Figure 13B , Figure 13B The U in the figure represents an uplink subframe, the D represents a downlink subframe, and the F represents a flexible subframe. Figure 13B Taking the subcarrier spacing of 15kHz as an example, the length of a subframe is equal to the length of a time slot, so it can also be considered that U represents the uplink time slot, D represents the downlink time slot, and F represents the flexible time slot. Figure 13BIn the example, the first transmission of a PSSCH occurs in the first uplink subframe of the first frame, and the second transmission occurs in the first uplink subframe of the third frame. Therefore, the physical period of the PSSCH is 20ms. It can be seen that when calculating the physical period, various types of time domain resources are taken into account, namely, uplink subframes (including uplink subframes that can be used for sidelink transmission and uplink subframes that cannot be used for sidelink transmission), downlink subframes (not used for sidelink transmission), and flexible subframes.

[0229] For example, Figure 13B The subframes that cannot be used for sidelink transmission are excluded ( Figure 13B Taking the flexible subframe as an example, if it cannot be used for sidelink transmission, then all downlink subframes and flexible subframes are excluded, leaving only the subframes belonging to the sidelink resource pool, that is, the subframes represented by U, which can be continued for reference. Figure 7 , Figure 7 The subframes indicated by U in FIG can all be used for sidelink transmission. Figure 7 Subframes in Corresponding to the first uplink subframe of the first frame, subframe Corresponding to the first uplink subframe of the third frame, the interval between these two subframes in the sidelink resource pool is 4, which is the logical period of PSSCH. Figure 7 This example also takes the case where the time domain resource is a subframe or time slot. It can be seen that when calculating the logical period, other time domain resources except the sidelink time domain resource are excluded, such as Figure 7 This means that only uplink subframes that can be used for sidelink transmission are included, and uplink subframes, downlink subframes, and flexible subframes that cannot be used for sidelink transmission are excluded. Therefore, the physical meaning of the logical period can also be interpreted as the product of the number of uplink time domain resources in the next system frame of a certain frame structure configuration and the number of system frames included in the physical period.

[0230] As an optional implementation, the first period can be determined based on a first high-level parameter. The first high-level parameter is, for example, gapCandidateSensing. For example, the network device sends a first signaling to the first terminal device, and the first terminal device receives the first signaling from the network device. The first high-level parameter gapCandidateSensing may be included in the first signaling. Alternatively, the first high-level parameter may also be pre-configured in the terminal device. The first signaling is, for example, RRC signaling or a system message. The third signaling may be the same signaling as the first signaling, or may be different signalings.

[0231] The first high-level parameter may indicate a third value, which may be the length of the first period. The first high-level parameter may indicate one or more third values, and each of the one or more third values may serve as the length of the first period. For example, if the third value indicated by the first high-level parameter is 200ms and 600ms, the lengths of the first period are 200ms and 600ms, respectively; or, if the third value indicated by the first high-level parameter is 400ms, 500ms, and 700ms, the lengths of the first period are 400ms, 500ms, and 600ms, respectively, and so on.

[0232] Alternatively, the first high-level parameter may indicate a sequence, for example, called a first sequence, and the first sequence may include only elements whose values are the second numerical value, or only elements whose values are the fifth numerical value, or may also include elements whose values are the second numerical value and elements whose values are the fifth numerical value. For example, the second numerical value is "1" and the fifth numerical value is "0", or the second numerical value is "0" and the fifth numerical value is "1". The length of the first sequence is, for example, 16, or may be other lengths. Each element in the first sequence may have a corresponding index, and the index of an element may represent the position of the element in the first sequence. The index values of each element in the first sequence may be numbered starting from 0 or starting from 1. For example, if the first sequence is 0011001111001110, then the index of the first "0" from left to right may be 1, the index of the second "0" from left to right may be 2, the index of the first "1" from left to right may be 3, and so on. Alternatively, for example, if the first sequence is 0011001111001110, then the index of the first "0" from left to right can be 0, the index of the second "0" from left to right can be 1, the index of the first "1" from left to right can be 2, and so on. The period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence can be the first period, or in other words, the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence in the preset corresponding relationship can be the first period. The preset corresponding relationship is the corresponding relationship between the index and the period, where the period is the physical period of the sidelink transmission.

[0233] For example, the preset correspondence can be indicated by a fourth high-level parameter, and the fourth high-level parameter is, for example, a sideline-resource reservation period table (sl-ResourceReservePeriodList) parameter, or it can be other parameters. For example, the network device sends a fourth signaling to the first terminal device, and the first terminal device receives the fourth signaling from the network device. The fourth high-level parameter sl-ResourceReservePeriodList can be included in the fourth signaling. Alternatively, the fourth high-level parameter can also be pre-configured in the terminal device. The fourth signaling is, for example, an RRC signaling or a system message. The fourth signaling, the third signaling, and the first signaling can be the same signaling, or they can be three different signalings, or any two of them can be the same signaling.

[0234] For example, the fourth high-level parameter may indicate the correspondence between the index and the physical period; or, the fourth high-level parameter may indicate at least one physical period, and the index corresponding to each physical period of the at least one physical period may be the default of both the terminal device and the network device, that is, the correspondence between the index and the physical period may be the default of both the terminal device and the network device, so the first terminal device can clearly understand the correspondence between the index and the physical period based on the at least one physical period indicated by the fourth high-level parameter.

[0235] For example, the preset correspondence indicated by the fourth higher-level parameter sl-ResourceReservePeriodList may refer to Table 4.

[0236] Table 4

[0237]

[0238]

[0239] Table 4 takes the configuration of 16 physical periods as an example. The reserved period therein represents the physical period of the sidelink transmission, for example, in ms. For example, if the length of the first sequence indicated by the first high-level parameter is 16, then the elements in the first sequence correspond one-to-one to the physical periods in Table 4 through the index in the first sequence. For example, the first sequence is 0000000110011001, and the second value is "1" as an example. It can be seen that the values of the 8th element, the 9th element, the 12th element, the 13th element, and the 16th element in the first sequence are 1, and the values of the remaining elements are 0. The first period is respectively the reserved period corresponding to index 8, the reserved period corresponding to index 9, the reserved period corresponding to index 12, the reserved period corresponding to index 13, and the reserved period corresponding to index 16 in Table 4, that is, the first period is 200ms, 300ms, 600ms, 700ms, and 1000ms respectively.

[0240] For another example, the preset correspondence indicated by the fourth higher-layer parameter sl-ResourceReservePeriodList may refer to Table 5.

[0241] index reservation period 1 0 2 10 3 100 4 200 5 300 6 400 7 500 8 600 9 700 10 800 11 900 12 1000

[0242] Table 5 uses the configuration of 12 physical periods as an example. For example, if the length of the first sequence indicated by the first high-level parameter is 16, then the first 12 elements in the first sequence correspond one-to-one with the physical periods in Table 5 through their indices in the first sequence, or the last 12 elements in the first sequence correspond one-to-one with the physical periods in Table 5 through their indices in the first sequence. Here, the example uses the one-to-one correspondence between the first 12 elements in the first sequence and the physical periods in Table 5 through their indices in the first sequence. Assume that the first sequence is 0001000110010000, and the second value is "1" as an example. It can be seen that the values of the 4th, 8th, 9th, and 12th elements in the first sequence are 1, and the values of the remaining elements are 0. The first period is then the reserved period corresponding to index 4, index 8, index 9, and index 12 in Table 5, respectively. That is, the first period is 200ms, 600ms, 700ms, and 1000ms, respectively.

[0243] In addition, if the length of the first sequence is less than the length of the preset corresponding relationship, then the corresponding physical period can be determined from the preset corresponding relationship based on the elements in the first sequence whose values are the second numerical value. The physical periods corresponding to the indexes in the preset corresponding relationship that exceed the length of the first sequence can be ignored. For example, if the length of the first sequence is 12, the indexes are 1 to 12, and the preset corresponding relationship includes indexes 1 to 16, these 16 indexes correspond to 16 physical periods. In this case, the corresponding physical period can be determined from the preset corresponding relationship based on the elements in the first sequence whose values are the second numerical value. The physical periods corresponding to the indexes in the preset corresponding relationship that exceed the length of the first sequence, such as the physical periods corresponding to indexes 13 to 16, can be ignored.

[0244] Taking the first interval as an example, in which the first interval is determined according to the period of the time slot configuration, the number of time domain units for the sidelink included in one period of the time slot configuration, the first value, and the first period, as an optional implementation manner, the first interval may satisfy the following relationship:

[0245] P gap =[q×S×P rsvp_k / P] (Formula 1)

[0246] In formula 1, P gaprepresents the first interval, S represents the number of time domain units for the side link included in one period of the time slot configuration, and P rsvp_k represents the first period, P represents the period of the time slot configuration, q represents the first value, q can be an integer greater than or equal to 1, and [x] represents rounding up or rounding down x. For example, the first interval is the logical period of the sidelink transmission.

[0247] Alternatively, if the first interval is determined based on the first period, for example, if the first interval is equal to the length of the first period, then the first interval can also be considered to be the physical period of the sidelink transmission. Alternatively, the first interval can also satisfy other relationships, or if the first interval is determined based on other factors, then the first interval can also satisfy other corresponding relationships.

[0248] If the first interval is a logical period of sidelink transmission, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is the first interval, it is sufficient to count the first interval of sidelink time domain resources forward from the time domain position of the first time domain resource. Alternatively, if the first interval is a physical period of sidelink transmission, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is the first interval, it is sufficient to count the first interval forward from the starting time domain position of the first time domain resource. When counting forward, the time domain resources experienced include both sidelink time domain resources and other time domain resources (such as downlink time domain resources, etc.). For example, if the first interval is a physical period of sidelink transmission and the first interval is 100ms, then to determine the time domain resource whose time domain interval with the first time domain resource is the first interval, it is sufficient to count 100ms forward from the starting time domain position of the first time domain resource.

[0249] Among them, if the first interval is a logical period of sidelink transmission, then for one of the H time domain resources, the time domain resource whose time domain interval with the time domain resource is the first interval is the time domain resource belonging to the sidelink resource pool. However, if the first interval is a physical period of sidelink transmission, then for one of the H time domain resources, the time domain resource whose time domain interval with the time domain resource is the first interval may be a time domain resource belonging to the sidelink resource pool (i.e., a sidelink time domain resource) or a time domain resource not belonging to the sidelink resource pool. For example, the time domain resource whose time domain interval with the time domain resource is the first interval is called time domain resource 1. If time domain resource 1 is a time domain resource that does not belong to the sidelink resource pool, then it is only necessary to listen to the first time domain resource belonging to the sidelink resource pool, counted forward and / or backward from the starting time domain position of time domain resource 1. Among them, if counting forward from the time domain, the monitored time domain resources are located before time domain resource 1; or, if counting backward from the time domain, the monitored time domain resources are located after time domain resource 1; or, if counting forward and backward from the time domain, the monitored time domain resources include the time domain resources located before time domain resource 1 and the time domain resources located after time domain resource 1.

[0250] In addition, according to the introduction above, the first period can have one value or multiple values. If the first period has multiple values, then substitute the multiple values of the first period into formula 1 to get P gap The corresponding multiple values, according to P gap Each value of can determine a time domain resource to be monitored, thereby determining multiple time domain resources to be monitored, and all of these time domain resources are monitored.

[0251] After determining the time domain resources to be monitored based on H time domain resources and the first interval, the first terminal device can monitor the determined time domain resources, thereby determining whether the first candidate resource is available based on the monitoring results, or determining whether the first time domain resource is available. In an embodiment of the present application, the first terminal device monitors the determined time domain resources, which should actually be to obtain the previous monitoring results. Because the determined time domain resources are already past time domain resources, the actual monitoring process of the first terminal device has been completed. Here, it is necessary to obtain the previous monitoring results and process the monitoring results to determine whether the first candidate resource is available. The following text is similar and will not be repeated. For example, the first terminal device can continue to execute steps 3, 4, 5 and 7 of the resource selection method based on partial perception introduced above, thereby completing the resource monitoring and selection process, wherein, when the first terminal device executes step 4 in the above text, condition (3) in step 4 can be changed to the following conditions:

[0252] According to the subframe Received SCI and expected The time-frequency resources determined by the received SCI and the candidate resources R x,y+j×P′rsvp_TX Overlap. Among them, P′ rsvp_RX =[S×P rsvp_RX / P], [x] means rounding up or rounding down x. That is, according to the subframe Received SCI and expected The received SCI can determine the resources reserved by the terminal device that sent the SCI. This is equivalent to determining the periodic resources reserved by other terminal devices and the retransmission resources within a period. x,y+j×P′rsvp_TX , means that the sending terminal device must x,y The services sent on the network are also periodic services, which also require reservation of periodic resources and retransmission resources within a period. x,y+j×P′rsvp_TX Refers to the periodic resources to be reserved by the sending terminal device. rsvp_TX =[S×P rsvp_TX / P].

[0253] Condition 3 is to ensure that the periodic resources reserved by other terminal devices and the periodic resources reserved by the transmitting terminal device are overlapping, or in other words, the same resources. resel -1, P rsvp_TX is the physical period of the data to be sent by the sending terminal device. rsvp_RX ≤1 and y′-m≤P′ rsvp_RX +S*K, where K can be any value, for example, it can be equal to P, Q=1 / P rsvp_RX , where y′ is the last subframe among H subframes, or the last subframe among Y subframes; otherwise, Q=1. resel Indicates the number of cycles reserved by the terminal device that sent the SCI. rsvp_TX Indicates the logical period of data to be sent by the sending terminal device.

[0254] If the listening result indicates that the first candidate resource has been reserved by another terminal device, the first candidate resource is determined to be unavailable. Alternatively, if the listening result indicates that the first candidate resource has not been reserved by another terminal device, the first candidate resource is determined to be available. If the first candidate resource is available, the first terminal device may transmit data, control information, or both data and control information to the second terminal device via the first candidate resource. Alternatively, if the first candidate resource is unavailable, the first terminal device may continue to determine whether other candidate resources are available, with the determination method being similar.

[0255] In this embodiment of the present application, the partial sensing-based resource selection scheme in NR-V2X mode 2 considers the relationship between the interval design of the listening slot and candidate resources and the NR frame structure. This solves the problem that the existing partial sensing-based resource selection scheme is not forward compatible with the NR frame structure, and further improves the overall design of the mode 2 mechanism.

[0256] Consider another question. The time domain interval between the listening subframe and the candidate resource is k*P step It can also be understood as the logical period corresponding to the physical period of the periodic service. Since there are only periodic services in the LTE-V2X system, and the period selection range is 100ms, 200ms, ..., 1000ms, when the period is k×100ms, the kth bit of the high-level parameter gapCandidateSensing can be set to 1 and the rest to 0, so k*P step The logical period of the periodic service is the periodic service that includes only the subframes in the sidelink resource pool. If each bit of the high-level parameter gapCandidateSensing is set to 1, under the premise of LTE periodic service, by listening to the subframe That is, it is possible to determine all the candidate resources R x,y However, in the NR-V2X system, in addition to periodic services, there are also non-periodic services. Obviously, the current resource selection scheme based on partial sensing can only eliminate the occupation of candidate resources by periodic service reservations, but cannot eliminate the occupation of candidate resources by non-periodic service reservations. Therefore, it may cause resource collisions, increase system interference, and thus reduce system throughput.

[0257] In view of this, the embodiment of the present application may further include S124, where the first terminal device monitors a time domain resource that is spaced apart from each time domain resource or any one or more time domain resources in the H candidate resources by a second interval in the time domain. This step may occur before determining whether the first time domain resource can be selected to send data. It can be understood that the first terminal device can comprehensively determine whether the first time domain resource can be selected to send data based on the monitoring results of the time domain resource that is spaced apart from each time domain resource or any one or more time domain resources in the H candidate resources by the first interval in the time domain, and the monitoring results of the time domain resource that is spaced apart from each time domain resource or any one or more time domain resources in the H candidate resources by the second interval in the time domain. The first terminal device monitors the time domain resources that are separated in time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources before monitoring the time domain resources that are separated in time domain by the second interval from each time domain resource or any one or more time domain resources among the H candidate resources; or, the first terminal device monitors the time domain resources that are separated in time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources after monitoring the time domain resources that are separated in time domain by the second interval from each time domain resource or any one or more time domain resources among the H candidate resources; or, the first terminal device monitors the time domain resources that are separated in time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources, and monitors the time domain resources that are separated in time domain by the second interval from each time domain resource or any one or more time domain resources among the H candidate resources, and these two steps may occur simultaneously.

[0258] It should be noted that the time domain resources that are separated in the time domain by the second interval from one of the H candidate resources include both the time domain resources that are located before the time domain resource and the time domain resources that are located after the time domain resource. In the embodiment of the present application, the time domain resources that are monitored are those that are located before the time domain resource. For example, the time domain resources that are separated in the time domain by the second interval from the first time domain resource include both the time domain resources that are located before the first time domain resource and the time domain resources that are located after the first time domain resource. In the embodiment of the present application, the time domain resources that are monitored are those that are located before the first time domain resource.

[0259] The second interval can be configured by a second high-level parameter, and the second high-level parameter is, for example, a retransmission interval candidate listening (retransGapCandidateSensing) parameter, or it can be other parameters. For example, the network device sends a second signaling to the first terminal device, and the first terminal device receives the second signaling from the network device, and the second high-level parameter can be included in the second signaling. Alternatively, the second high-level parameter can also be pre-configured in the terminal device. The second signaling is, for example, RRC signaling or a system message. The fourth signaling, the third signaling, the second signaling and the first signaling can be the same signaling, or can be four different signalings, or any two of the signalings can be the same signaling, or any three of the signalings can be the same signaling.

[0260] For example, the second higher layer parameter may indicate a fourth value, which may be the length of the second interval. The number of fourth values indicated by the second higher layer parameter may be one or more, and the one or more fourth values may serve as the length of the second interval.

[0261] Alternatively, the second high-level parameter may indicate a sequence, such as a second sequence. The second sequence may include only elements whose values are the second numerical value, or only elements whose values are the fifth numerical value, or elements whose values are the second numerical value and elements whose values are the fifth numerical value. For example, the second numerical value is "1" and the fifth numerical value is "0", or the second numerical value is "0" and the fifth numerical value is "1". The length of the second sequence may be, for example, w, i.e., the length of the second sequence may be numerically the same as the length of the second interval. For example, the length of the second sequence may be 32, or it may be another numerical value. Each element in the second sequence may have a corresponding index, and the index of an element may represent the position of the element in the second sequence. The index values of each element in the second sequence may be numbered starting from 0 or starting from 1. For examples of element indexes, please refer to the above description of the first sequence. The duration corresponding to the index of an element in the second sequence whose value is the second numerical value in the second sequence can be the second interval. The duration corresponding to the index of an element in the second sequence whose value is the second numerical value in the second sequence may be the duration that is numerically the same as the index of the element in the second sequence whose value is the second numerical value in the second sequence. Assuming the second sequence is 00000001100110010000000110011001, we can see that the values of the 8th, 9th, 12th, 13th, 16th, 24th, 25th, 28th, 29th, and 32nd elements in the second sequence are 1, and the values of the remaining elements are 0. So the second interval can be 8, 9, 12, 13, 16, 24, 25, 28, 29, and 32 respectively.

[0262] For example, the second interval is determined based on the maximum duration for which resources can be reserved for a service. For example, the second interval can be equal to the maximum duration for which resources can be reserved for a service, or it can be less than or greater than the maximum duration for which resources can be reserved for a service. Alternatively, the second interval can be a function of the maximum duration for which resources can be reserved for a service. The maximum duration for which resources can be reserved for a service can be the maximum time-domain distance between resources indicated by the SCI. The service here can refer to either aperiodic or periodic services. The second interval can be a physical interval (i.e., a duration determined by taking into account sidelink time-domain resources and other time-domain resources) or a logical interval (i.e., a duration determined by considering only sidelink time-domain resources and excluding other time-domain resources). Generally speaking, resources cannot be reserved for an unlimited period of time for a service; there is a specified maximum duration, and the second interval can be determined based on this maximum duration. For example, if resources for a service are reserved for a maximum duration of 100 ms, and resources beyond 100 ms cannot be reserved, then the second interval can be determined based on 100 ms. This is an example of the second interval being a physical duration. For periodic services and non-periodic services, the second intervals can be equal or unequal. The second interval can be configured by network equipment or specified by a protocol. For example, for non-periodic services, when reserving resources, a maximum of resources within the second interval can be reserved. Therefore, by monitoring each time domain resource among the H candidate resources, or any one or more time domain resources whose time domain interval is the second interval, it is possible to eliminate the situation where the non-periodic service reservations occupy the candidate resources, reduce the probability of resource collisions, minimize system interference, and thus improve system throughput.

[0263] The second interval can be a logical interval or a physical interval. The second interval is represented by w. If w is a logical interval, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is w, it is sufficient to count w sidelink time domain resources forward from the time domain position of the first time domain resource. Or, if w is a physical interval, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is w, it is sufficient to count w forward from the starting time domain position of the first time domain resource. When counting forward, the time domain resources experienced include both sidelink time domain resources and other time domain resources (such as downlink time domain resources, etc.). For example, the second interval is the physical period of the sidelink transmission, and the second interval is 50ms. Then, to determine the time domain resource whose time domain interval with the first time domain resource is the second interval, it is sufficient to count 50ms forward from the starting time domain position of the first time domain resource.

[0264] If the second interval is a logical interval, then for one of the H time domain resources, the time domain resource that is separated from the time domain resource by the second interval in the time domain is a time domain resource belonging to the sidelink resource pool. However, if the second interval is a physical interval, then for one of the H time domain resources, the time domain resource that is separated from the time domain resource by the second interval in the time domain may be a time domain resource belonging to the sidelink resource pool or may not be a time domain resource belonging to the sidelink resource pool. For example, the time domain resource that is separated from the time domain resource by the second interval in the time domain is called time domain resource 2. If time domain resource 2 is a time domain resource that does not belong to the sidelink resource pool, then it is only necessary to listen to the first time domain resource belonging to the sidelink resource pool, counted forward and / or backward from the starting time domain position of time domain resource 1. Among them, if counting forward from the time domain, the monitored time domain resources are located before time domain resource 2; or, if counting backward from the time domain, the monitored time domain resources are located after time domain resource 2; or, if counting forward and backward from the time domain, the monitored time domain resources include the time domain resources located before time domain resource 2 and the time domain resources located after time domain resource 2.

[0265] For example, the first time domain resource is a time slot The first interval is P gap The second interval is represented by w, then the time domain resource with the first interval in the time domain is the time domain resource of the first interval is the time slot The time domain resource with a time domain interval of the second interval from the first time domain resource is a time slot For reference Figure 14 , Figure 14 The rectangular box with " / " in the middle represents the time domain resources to be monitored determined by H time domain resources and the second interval, the blank rectangular box represents the time domain resources to be monitored determined by H time domain resources and the first interval, and the rectangular box with "\" represents H time domain resources. In addition, according to Figure 14 The time domain resources represented by the two rightmost blank rectangular boxes and the time domain resources determined by the second interval are not located in the resource listening window, so there is no need to listen. In addition, the first terminal device listens to all the determined time domain resources that need to be listened.

[0266] In addition, according to the introduction in the previous article, the second interval can have one value or multiple values. If the second interval has multiple values, multiple values corresponding to w can be obtained. According to each value of w, a time domain resource to be listened to can be determined, thereby determining multiple time domain resources to be listened to, and all these time domain resources can be listened to.

[0267] After determining the time domain resource to be monitored based on the H time domain resources and the second interval, the first terminal device may also monitor the determined time domain resource, thereby determining whether the first candidate resource is available, or determining whether the first time domain resource is available, based on the monitoring result. For example, the first terminal device may continue to execute steps 3, 4, 5, and 7 of the resource selection method based on partial perception described above, thereby completing the resource monitoring and selection process. When the first terminal device executes step 4 above, condition (3) in step 4 may be changed. The change method can refer to the above description of the first interval.

[0268] The first terminal device can comprehensively determine whether the first candidate resource is available based on the listening results of the time domain resources determined at the first interval and the listening results of the time domain resources determined at the second interval. If the listening result shows that the first candidate resource has been reserved by other terminal devices, it is determined that the first candidate resource is unavailable. Alternatively, if the listening result shows that the first candidate resource has not been reserved by other terminal devices, it is determined that the first candidate resource is available. If the first candidate resource is available, the first terminal device can send data, control information, or data and control information to the second terminal device through the first candidate resource; alternatively, if the first candidate resource is unavailable, the first terminal device can continue to determine whether other candidate resources are available, and the determination method is similar.

[0269] In this embodiment, the partial sensing-based resource selection scheme in NR-V2X Mode 2 takes into account the impact of non-periodic services. This addresses the problem that existing partial sensing-based resource selection schemes can only be applied to periodic services and cannot exclude non-periodic services from reserving candidate resources. This reduces the probability of resource collisions, minimizes system interference, and further improves the overall design of the Mode 2 mechanism.

[0270] Next, let’s consider another question. The resource selection scheme based on partial sensing in the LTE-V2X system does not take into account the situation of missed SCI detection in periodic services. When missed detection occurs, that is, in the subframe There was originally an SCI from another terminal device, but the first terminal device did not detect the SCI due to factors such as channel fading. In the case of missed SCI detection, it will be impossible to exclude the reservation of periodic services from occupying candidate resources, resulting in resource collision.

[0271] In view of this, an embodiment of the present application may further include S125, the first terminal device listens to a time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the third interval, or the first terminal device listens to a time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the fourth interval, or the first terminal device listens to a time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the third interval, and listens to a time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the fourth interval. This step may occur before determining whether the first time domain resource can be selected to send data. It can be understood that the first terminal device can comprehensively determine whether the first time domain resource can be selected to send data based on the listening results of the time domain resources that are spaced apart in the time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources, and the listening results of the time domain resources that are spaced apart in the time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources. The first terminal device monitors the time domain resources whose time domain interval is the first interval with each time domain resource or any one or more time domain resources among the H candidate resources, which may occur before monitoring the time domain resources whose time domain interval is the third interval and / or the fourth interval with each time domain resource or any one or more time domain resources among the H candidate resources; or, the first terminal device monitors the time domain resources whose time domain interval is the first interval with each time domain resource or any one or more time domain resources among the H candidate resources, which may occur after monitoring the time domain resources whose time domain interval is the third interval and / or the fourth interval with each time domain resource or any one or more time domain resources among the H candidate resources; or, the first terminal device monitors the time domain resources whose time domain interval is the first interval with each time domain resource or any one or more time domain resources among the H candidate resources, and monitors the time domain resources whose time domain interval is the third interval and / or the fourth interval with each time domain resource or any one or more time domain resources among the H candidate resources, and these two steps may occur simultaneously.

[0272] Alternatively, the first terminal device monitors the time domain resources that are separated in time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources, and there may be corresponding execution conditions. For example, if the first terminal device does not hear the SCI from other terminal devices when listening to the time domain resources that are spaced apart in the time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources, or the listening fails, then the first terminal device may listen to the time domain resources that are spaced apart in the time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources; and if the first terminal device hears the SCI from other terminal devices when listening to the time domain resources that are spaced apart in the time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources, or the listening is successful, then the first terminal device may not need to listen to the time domain resources that are spaced apart in the time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources.

[0273] It should be noted that the time domain resource that is separated in the time domain by the third interval from one of the H candidate resources includes the time domain resource that is located before the time domain resource in the time domain, and also includes the time domain resource that is located after the time domain resource in the time domain. In the embodiment of the present application, the time domain resource that is located before the time domain resource in the time domain is monitored. For example, the time domain resource that is separated in the time domain by the third interval from the first time domain resource includes the time domain resource that is located before the first time domain resource in the time domain, and also includes the time domain resource that is located after the first time domain resource in the time domain. In the embodiment of the present application, the time domain resource that is located before the first time domain resource in the time domain is monitored. Similarly, it should be noted that the time domain resource that is separated in the time domain by the fourth interval from one of the H candidate resources includes the time domain resource that is located before the time domain resource in the time domain, and also includes the time domain resource that is located after the time domain resource in the time domain. In the embodiment of the present application, the time domain resource that is located before the time domain resource in the time domain is monitored. For example, the time domain resources that are separated from the first time domain resource by the fourth interval in the time domain include time domain resources that are located before the first time domain resource in the time domain, and also include time domain resources that are located after the first time domain resource in the time domain. In the embodiment of the present application, the time domain resources monitored are those that are located before the first time domain resource in the time domain.

[0274] In addition, the first terminal device listens to the time domain resources that are spaced apart in the time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources, and the first terminal device listens to the time domain resources that are spaced apart in the time domain by the second interval from each time domain resource or any one or more time domain resources among the H candidate resources. Both steps may be performed, or either one of them may be performed. If both steps are executed, the first terminal device listens to the time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the first interval (step A), the first terminal device listens to the time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the second interval (step B), and the first terminal device listens to the time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the third interval and / or the fourth interval (step C). These three steps can be executed simultaneously; or, the execution order of these three steps can be step A-step B-step C; or, the execution order of these three steps can be step A-step C-step B; or, the execution order of these three steps can be step B-step A-step C; or, the execution order of these three steps can be step B-step C-step A; or, the execution order of these three steps can be step C-step A-step B; or, the execution order of these three steps can be step C-step B-step A.

[0275] The third interval can be configured using a sixth higher-layer parameter. For example, the network device sends a sixth signaling to the first terminal device, and the first terminal device receives the sixth signaling from the network device. The sixth higher-layer parameter can be included in the sixth signaling. Alternatively, the sixth higher-layer parameter can be pre-configured in the terminal device. The sixth signaling can be, for example, RRC signaling or a system message.

[0276] Alternatively, the third interval can also be determined based on the first duration and the second duration. For example, the third interval is a function of the first duration and the second duration. The first duration can be determined based on one or more of the following: the period of the time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, the first period, or the first numerical value. It can be considered that the first duration corresponds to the first interval. The second duration can be configured through the second high-level parameter. For how to configure the second high-level parameter, please refer to the previous text. It can be considered that the second duration corresponds to the second interval. Therefore, it can also be understood that the third interval can be determined based on the first interval and the second interval. For the explanation of the first interval and the second interval, please refer to the previous text.

[0277] The fourth interval can be configured using a seventh higher-layer parameter. For example, the network device sends a seventh signaling to the first terminal device, and the first terminal device receives the seventh signaling from the network device. The seventh higher-layer parameter can be included in the seventh signaling. Alternatively, the seventh higher-layer parameter can be pre-configured in the terminal device. The seventh signaling can be, for example, RRC signaling or a system message.

[0278] Alternatively, the fourth interval may also be determined based on the first duration and the second duration. For example, the fourth interval is a function of the first duration and the second duration. Therefore, it can also be understood that the fourth interval may be determined based on the first interval and the second interval.

[0279] The third interval can be a logical interval or a physical interval. If the third interval is a logical interval, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is the third interval, it is sufficient to count the third interval of sidelink time domain resources from the time domain position of the first time domain resource. Alternatively, if the third interval is a physical interval, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is the third interval, it is sufficient to count the third interval forward from the starting time domain position of the first time domain resource. When counting forward, the time domain resources experienced include both sidelink time domain resources and other time domain resources (such as downlink time domain resources, etc.). For example, the third interval is the physical period of the sidelink transmission, and the third interval is 30ms. Then, to determine the time domain resource whose time domain interval with the first time domain resource is the third interval, it is sufficient to count 30ms forward from the starting time domain position of the first time domain resource.

[0280] If the third interval is a logical interval, then for one of the H time domain resources, the time domain resource whose time domain interval with the time domain resource is the third interval is the time domain resource belonging to the sidelink resource pool. However, if the third interval is a physical interval, then for one of the H time domain resources, the time domain resource whose time domain interval with the time domain resource is the third interval may be a time domain resource belonging to the sidelink resource pool, or may be a time domain resource not belonging to the sidelink resource pool. For example, the time domain resource whose time domain interval with the time domain resource is the third interval is called time domain resource 3. If time domain resource 3 is a time domain resource that does not belong to the sidelink resource pool, then it is only necessary to listen to the first time domain resource belonging to the sidelink resource pool, counting forward and / or backward from the starting time domain position of time domain resource 3. Among them, if counting forward from the time domain, the monitored time domain resources are located before time domain resource 3; or, if counting backward from the time domain, the monitored time domain resources are located after time domain resource 3; or, if counting forward and backward from the time domain, the monitored time domain resources include the time domain resources located before time domain resource 3 and the time domain resources located after time domain resource 3.

[0281] Similarly, the fourth interval can be a logical interval or a physical interval. If the fourth interval is a logical interval, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is the fourth interval, it is sufficient to count the fourth interval of sidelink time domain resources from the time domain position of the first time domain resource. Alternatively, if the fourth interval is a physical interval, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is the fourth interval, it is sufficient to count the fourth interval forward from the starting time domain position of the first time domain resource. When counting forward, the time domain resources experienced include both sidelink time domain resources and other time domain resources (such as downlink time domain resources, etc.). For example, the fourth interval is the physical period of the sidelink transmission, and the fourth interval is 30ms. Then, to determine the time domain resource whose time domain interval with the first time domain resource is the fourth interval, it is sufficient to count 30ms forward from the starting time domain position of the first time domain resource.

[0282] If the fourth interval is a logical interval, then for one of the H time domain resources, the time domain resource that is separated from the time domain resource by the fourth interval in the time domain is a time domain resource belonging to the sidelink resource pool. However, if the fourth interval is a physical interval, then for one of the H time domain resources, the time domain resource that is separated from the time domain resource by the fourth interval in the time domain may be a time domain resource belonging to the sidelink resource pool or may not be a time domain resource belonging to the sidelink resource pool. For example, the time domain resource that is separated from the time domain resource by the fourth interval in the time domain is referred to as time domain resource 4. If time domain resource 4 is a time domain resource that does not belong to the sidelink resource pool, then it is only necessary to listen to the first time domain resource belonging to the sidelink resource pool, counted forward and / or backward from the starting time domain position of time domain resource 4. Among them, if counting forward from the time domain, the monitored time domain resources are located before time domain resource 4; or, if counting backward from the time domain, the monitored time domain resources are located after time domain resource 4; or, if counting forward and backward from the time domain, the monitored time domain resources include the time domain resources located before time domain resource 4 and the time domain resources located after time domain resource 4.

[0283] For example, the first duration is P′ gap The second duration is represented by w′, then optionally, the third interval can satisfy b×(P′ gap +w′), for example, the third interval may be equal to b×(P′ gap +w′). b represents the sixth value, and b can be an integer greater than or equal to 1. This can also be understood as the third interval being determined based on the first duration, the second duration, and the sixth value. Of course, the third interval can also satisfy other relationships related to the first duration and the second duration. The fourth interval can satisfy c×(P′ gap -w′), for example, the fourth interval may be equal to c×(P′ gap -w′). c represents the seventh value, and c can be an integer greater than or equal to 1. This can also be understood as the fourth interval being determined based on the first duration, the second duration, and the seventh value. Of course, the fourth interval can also satisfy other relationships related to the first duration and the second duration. If the first duration is numerically equal to the first interval, and the second duration is numerically equal to the second interval, then the third interval can also satisfy b×(P gap +w), the fourth interval can satisfy c×(P gap -w).

[0284] For example, the first time domain resource is a time slot The first interval is P gap The second interval is represented by w, then the time domain resource with the first interval in the time domain is the time slot The time domain resource with a time domain interval of the third interval from the first time domain resource is a time slot (Take b=1 as an example), the time domain resource with a time domain interval of the fourth interval from the first time domain resource is a time slot (Take c=1 as an example). Figure 15 , Figure 15 The rectangular box with horizontal lines in the middle represents the time domain resources to be listened to determined by H time domain resources and the fourth interval, the rectangular box with squares represents the time domain resources to be listened to determined by H time domain resources and the third interval, the blank rectangular box represents the time domain resources to be listened to determined by H time domain resources and the first interval, and the rectangular box with “\” represents H time domain resources, taking H=2 as an example. Figure 15 Taking the example of the first terminal device listening to the time domain resources determined based on H time domain resources and the first interval, listening to the time domain resources determined based on H time domain resources and the third interval, and listening to the time domain resources determined based on H time domain resources and the fourth interval, if the first terminal device also wants to listen to the time domain resources determined based on H time domain resources and the second interval, then the time domain resources determined based on H time domain resources and the second interval can be added to the figure.

[0285] As previously described, the first interval can have one or more values, and the second interval can also have one or more values. Accordingly, one or more third intervals can be determined, thereby determining one or more time domain resources to be monitored. Similarly, one or more fourth intervals can be determined, thereby determining one or more time domain resources to be monitored.

[0286] After determining the time domain resource to be monitored based on the H time domain resources and the third interval, the first terminal device may also monitor the determined time domain resource, thereby determining whether the first candidate resource is available, or determining whether the first time domain resource is available, based on the monitoring result. For example, the first terminal device may continue to execute steps 3, 4, 5, and 7 of the resource selection method based on partial perception described above, thereby completing the resource monitoring and selection process. When the first terminal device executes step 4 above, condition (3) in step 4 may be changed. The change method can refer to the above description of the first interval.

[0287] Similarly, after determining the time domain resources to be monitored based on the H time domain resources and the fourth interval, the first terminal device can also monitor the determined time domain resources, thereby determining whether the first candidate resource is available based on the monitoring result, or determining whether the first time domain resource is available. For example, the first terminal device can continue to execute steps 3, 4, 5, and 7 of the resource selection method based on partial perception described above, thereby completing the resource monitoring and selection process, wherein when the first terminal device executes step 4 in the above text, condition (3) in step 4 can be changed accordingly, and the change method can refer to the above description of the first interval. The first terminal device can comprehensively determine whether the first candidate resource is available based on the monitoring results of the time domain resources determined by the first interval and the monitoring results of the time domain resources determined by the third interval and / or the fourth resource. If the monitoring result shows that the first candidate resource has been reserved by other terminal devices, it is determined that the first candidate resource is unavailable, or if the monitoring result shows that the first candidate resource has not been reserved by other terminal devices, it is determined that the first candidate resource is available. If the first candidate resource is available, the first terminal device may send data, control information, or data and control information to the second terminal device via the first candidate resource; alternatively, if the first candidate resource is not available, the first terminal device may continue to determine whether other candidate resources are available, and the determination method is similar.

[0288] Among them, S124 and S125 are optional steps and are not required to be executed. Figure 12 Indicated by a dotted box.

[0289] In an embodiment of the present application, the impact of missed periodic service detection is taken into account in the partial sensing-based resource selection scheme in mode 2 of the NR-V2X system, thereby solving the problem of increased system interference due to resource collision when SCI is missed in the listening time slot of the existing partial sensing-based resource selection scheme, and further improving the overall design of the mode 2 mechanism.

[0290] Next, consider a question. The time domain interval between the listening subframe and the candidate resource is k*P step It can also be understood as the logical period corresponding to the physical period of the periodic service. Since there are only periodic services in the LTE-V2X system, and the period selection range is 100ms, 200ms, ..., 1000ms, when the period is k×100ms, the kth bit of the high-level parameter gapCandidateSensing can be set to 1 and the rest to 0, so k*P step The logical period of the periodic service is the periodic service that includes only the subframes in the sidelink resource pool. If each bit of the high-level parameter gapCandidateSensing is set to 1, under the premise of LTE periodic service, by listening to the subframe That is, it is possible to determine all the candidate resources R x,v However, in the NR-V2X system, in addition to periodic services, there are also non-periodic services. Obviously, the current resource selection scheme based on partial sensing can only eliminate the occupation of candidate resources by periodic service reservations, but cannot eliminate the occupation of candidate resources by non-periodic service reservations. Therefore, it may cause resource collisions, increase system interference, and thus reduce system throughput.

[0291] In view of this, the embodiment of the present application provides a second communication method, which can exclude resources reserved for non-periodic services. Figure 16 , which is the flow chart of this method. In the following introduction, this method is applied to Figure 11 The network architecture shown is taken as an example.

[0292] For the sake of convenience, the following takes the method executed by the first terminal device and the second terminal device as an example. Figure 11 As an example, the network architecture shown in FIG. 1 is used. Therefore, the first terminal device described below may be Figure 11 The terminal device 1 in the network architecture shown in the figure may be a chip system set in the terminal device 1; the second terminal device described below may be Figure 11 The terminal device 2 in the network architecture shown may be a chip system set in the terminal device 2.

[0293] S161: The first terminal device determines H time-domain resources within a resource selection window, where H is an integer greater than or equal to 1.

[0294] In the embodiment of the present application, the time domain resource is, for example, a subframe, a time slot, or a symbol, etc. That is, the first terminal device may determine H subframes, H time slots, or H symbols within the resource selection window.

[0295] If the first terminal device needs to send data to the second terminal device, the first terminal device needs to select resources. For example, the first terminal device selects resources according to a resource selection method based on partial perception.

[0296] For more information about S161, such as how to determine H time domain resources, etc., please refer to the introduction to S121.

[0297] S162. The first terminal device determines a first time domain resource among H time domain resources.

[0298] For example, if the first terminal device wants to select the first candidate resource to send data, or send control information, or send data and control information, the first terminal device needs to listen to the time domain resource that has a first interval with each time domain resource or any one or more time domain resources in H time domain resources.

[0299] The first candidate resource is a time-frequency resource. For example, for one of the H time-domain resources, if divided in the frequency domain, the time-domain resource may correspond to multiple time-frequency resources, that is, the time-domain positions of the multiple time-frequency resources are the same as the time-domain position of the time-domain resource. The first candidate resource is the time-frequency resource corresponding to the first time-domain resource, that is, the time-domain position of the first candidate resource is the time-domain position of the first time-domain resource. For example, the first candidate resource is the candidate resource R mentioned above. x,y . Therefore, in S162, it can be considered that the first terminal device has actually determined the first candidate resource. However, since the resource to be monitored is mainly determined based on the time domain position of the candidate resource, it can also be considered that the first terminal device has determined the first time domain resource. It can be understood that S162 can also be replaced by the first terminal device determining the first candidate resource corresponding to the first time domain resource among the H time domain resources. The first time domain resource can be any one of the H time domain resources.

[0300] by Figure 13A For example, the first time domain resource can be Figure 13A One of the four time domain resources shown.

[0301] S163. The first terminal device listens to the time domain resource that is separated in time domain by a second interval from each time domain resource or any one or more time domain resources in the H time domain resources to determine whether the first time domain resource can be selected to send data, or send control information, or send data and control information.

[0302] It should be noted that the time domain resources that are separated in the time domain by the second interval from one of the H time domain resources include both the time domain resources that are located before the time domain resource and the time domain resources that are located after the time domain resource. In the embodiments of the present application, the time domain resources that are monitored are those that are located before the time domain resource. For example, the time domain resources that are separated in the time domain by the second interval from the first time domain resource among the H time domain resources include both the time domain resources that are located before the first time domain resource and the time domain resources that are located after the first time domain resource. In the embodiments of the present application, the time domain resources that are monitored are those that are located before the first time domain resource.

[0303] The second interval can be configured by a second high-level parameter, and the second high-level parameter is, for example, a retransmission interval candidate listening (retransGapCandidateSensing) parameter, or it can be other parameters. For example, the network device sends a second signaling to the first terminal device, and the first terminal device receives the second signaling from the network device, and the second high-level parameter can be included in the second signaling. Alternatively, the second high-level parameter can also be pre-configured in the terminal device. The second signaling is, for example, RRC signaling or a system message. The fourth signaling, the third signaling, the second signaling and the first signaling can be the same signaling, or can be four different signalings, or any two of the signalings can be the same signaling, or any three of the signalings can be the same signaling.

[0304] For example, the second higher layer parameter may indicate a fourth value, which may be the length of the second interval. The number of fourth values indicated by the second higher layer parameter may be one or more, and the one or more fourth values may serve as the length of the second interval.

[0305] Alternatively, the second high-level parameter may indicate a sequence, such as a second sequence. The second sequence may include only elements whose values are the second numerical value, or only elements whose values are the fifth numerical value, or elements whose values are the second numerical value and elements whose values are the fifth numerical value. For example, the second numerical value is "1" and the fifth numerical value is "0", or the second numerical value is "0" and the fifth numerical value is "1". The length of the second sequence may be, for example, w, i.e., the length of the second sequence may be numerically the same as the length of the second interval. For example, the length of the second sequence may be 32, or it may be another numerical value. Each element in the second sequence may have a corresponding index, and the index of an element may represent the position of the element in the second sequence. The index values of each element in the second sequence may be numbered starting from 0 or starting from 1. For examples of element indexes, please refer to the above description of the first sequence. The duration corresponding to the index of an element in the second sequence whose value is the second numerical value in the second sequence may be the second interval. The duration corresponding to the index of an element in the second sequence whose value is the second numerical value in the second sequence may be the duration numerically the same as the index of the element in the second sequence whose value is the second numerical value in the second sequence. Assuming the second sequence is 00000001100110010000000110011001, we can see that the values of the 8th, 9th, 12th, 13th, 16th, 24th, 25th, 28th, 29th, and 32nd elements in the second sequence are 1, and the values of the remaining elements are 0. So the second interval can be 8, 9, 12, 13, 16, 24, 25, 28, 29, and 32 respectively.

[0306] For example, the second interval is determined based on the maximum duration for which resources can be reserved for a service. For example, the second interval can be equal to the maximum duration for which resources can be reserved for a service, or it can be less than or greater than the maximum duration for which resources can be reserved for a service. Alternatively, the second interval can be a function of the maximum duration for which resources can be reserved for a service. The maximum duration for which resources can be reserved for a service can be the maximum distance between resources indicated by the SCI. The service here can refer to either a non-periodic service or a periodic service. The second interval can be a physical interval (i.e., a duration determined by taking into account sidelink time domain resources and other time domain resources) or a logical interval (i.e., a duration determined by considering only sidelink time domain resources and excluding other time domain resources). Generally speaking, resources cannot be reserved for an unlimited period of time for a service; there is a specified maximum duration, and the second interval can be determined based on this maximum duration. For example, if resources for a service are reserved for a maximum duration of 100 ms, and resources beyond 100 ms cannot be reserved, then the second interval can be determined based on 100 ms. This is an example of the second interval being a physical duration. For periodic services and non-periodic services, the second intervals can be equal or unequal. The second interval can be configured by network equipment or specified by a protocol. For example, for non-periodic services, when reserving resources, a maximum of resources within the second interval can be reserved. Therefore, by monitoring each time domain resource among the H candidate resources, or any one or more time domain resources whose time domain interval is the second interval, it is possible to eliminate the situation where the non-periodic service reservations occupy the candidate resources, reduce the probability of resource collisions, minimize system interference, and thus improve system throughput.

[0307] The second interval can be a logical interval or a physical interval. The second interval is represented by w. If w is a logical interval, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is w, it is sufficient to count w sidelink time domain resources forward from the time domain position of the first time domain resource. Or, if w is a physical interval, then for example, for the first time domain resource, to determine the time domain resource whose time domain interval with the first time domain resource is w, it is sufficient to count w forward from the starting time domain position of the first time domain resource. When counting forward, the time domain resources experienced include both sidelink time domain resources and other time domain resources (such as downlink time domain resources, etc.). For example, the second interval is the physical period of the sidelink transmission, and the second interval is 50ms. Then, to determine the time domain resource whose time domain interval with the first time domain resource is the second interval, it is sufficient to count 50ms forward from the starting time domain position of the first time domain resource.

[0308] If the second interval is a logical interval, then for one of the H time domain resources, the time domain resource that is separated from the time domain resource by the second interval in the time domain is a time domain resource belonging to the sidelink resource pool. However, if the second interval is a physical interval, then for one of the H time domain resources, the time domain resource that is separated from the time domain resource by the second interval in the time domain may be a time domain resource belonging to the sidelink resource pool or may not be a time domain resource belonging to the sidelink resource pool. For example, the time domain resource that is separated from the time domain resource by the second interval in the time domain is called time domain resource 2. If time domain resource 2 is a time domain resource that does not belong to the sidelink resource pool, then it is only necessary to listen to the first time domain resource belonging to the sidelink resource pool, counted forward and / or backward from the starting time domain position of time domain resource 2. Among them, if counting forward from the time domain, the monitored time domain resources are located before time domain resource 2; or, if counting backward from the time domain, the monitored time domain resources are located after time domain resource 2; or, if counting forward and backward from the time domain, the monitored time domain resources include the time domain resources located before time domain resource 2 and the time domain resources located after time domain resource 2.

[0309] For example, the first time domain resource is a time slot The second interval is represented by w, and the time domain resource with the second interval in the time domain from the first time domain resource is a time slot For reference Figure 17 , Figure 17 The rectangular box with “ / ” in the middle represents the time domain resources to be monitored determined by H time domain resources and the second interval, and the rectangular box with “\” represents H time domain resources. Figure 17 The time domain resources represented by the two rightmost blank rectangular boxes and the time domain resources determined by the second interval are not located in the resource listening window, so there is no need to listen. In addition, the first terminal device listens to all the determined time domain resources that need to be listened.

[0310] In addition, according to the introduction in the previous article, the second interval can have one value or multiple values. If the second interval has multiple values, multiple values corresponding to w can be obtained. According to each value of w, a time domain resource to be listened to can be determined, thereby determining multiple time domain resources to be listened to, and all these time domain resources can be listened to.

[0311] After determining the time domain resource to be monitored based on the H time domain resources and the second interval, the first terminal device may also monitor the determined time domain resource, thereby determining whether the first candidate resource is available, or determining whether the first time domain resource is available, based on the monitoring result. For example, the first terminal device may continue to perform steps 3 to 7 of the resource selection method based on partial perception described above, thereby completing the resource monitoring and selection process, wherein the first terminal device replaces the P in steps 3 to 7 above. step Replace with the second interval. In addition, when executing step 4 above, condition 3 in step 4 can be changed. The change method can be referred to Figure 12 The corresponding description in the illustrated embodiment.

[0312] The first terminal device may determine whether the first candidate resource is available based on the listening result of the time domain resource determined at the second interval. If the listening result indicates that the first candidate resource has been reserved by another terminal device, the first candidate resource is determined to be unavailable. Alternatively, if the listening result indicates that the first candidate resource has not been reserved by another terminal device, the first candidate resource is determined to be available. If the first candidate resource is available, the first terminal device may send data, control information, or both data and control information to the second terminal device via the first candidate resource; alternatively, if the first candidate resource is unavailable, the first terminal device may continue to determine whether other candidate resources are available, and the determination method is similar.

[0313] In this embodiment, the partial sensing-based resource selection scheme in NR-V2X Mode 2 takes into account the impact of non-periodic services. This solves the problem of excluding non-periodic services from reserving candidate resources, thereby reducing the probability of resource collisions, minimizing system interference, and further improving the overall design of the Mode 2 mechanism.

[0314] Consider another issue. In addition to excluding resources reserved for non-periodic services, it is also necessary to exclude resources reserved for periodic services. To this end, an embodiment of the present application may further include S164, where the first terminal device listens to a time domain resource that is separated from each time domain resource or any one or more time domain resources in the H time domain resources by a first interval in the time domain. This step may occur before determining whether the first time domain resource can be selected to send data. It can be understood that the first terminal device can comprehensively determine whether the first time domain resource can be selected to send data based on the listening results of the time domain resource that is separated from each time domain resource or any one or more time domain resources in the H time domain resources by a first interval in the time domain, and the listening results of the time domain resource that is separated from each time domain resource or any one or more time domain resources in the H time domain resources by a second interval in the time domain. The first terminal device monitors the time domain resources whose time domain interval is the first interval with each time domain resource or any one or more time domain resources among the H time domain resources, which may occur before monitoring the time domain resources whose time domain interval is the second interval with each time domain resource or any one or more time domain resources among the H time domain resources; or, the first terminal device monitors the time domain resources whose time domain interval is the first interval with each time domain resource or any one or more time domain resources among the H time domain resources, which may occur after monitoring the time domain resources whose time domain interval is the second interval with each time domain resource or any one or more time domain resources among the H time domain resources; or, the first terminal device monitors the time domain resources whose time domain interval is the first interval with each time domain resource or any one or more time domain resources among the H time domain resources, and monitors the time domain resources whose time domain interval is the second interval with each time domain resource or any one or more time domain resources among the H time domain resources, and these two steps may occur simultaneously.

[0315] It should be noted that the time domain resources that are separated in the time domain by the first interval from one of the H time domain resources include both time domain resources that are located before the time domain resource and time domain resources that are located after the time domain resource. In the embodiments of the present application, the time domain resources that are monitored are those that are located before the time domain resource. For example, the time domain resources that are separated in the time domain by the first interval from the first time domain resource among the H time domain resources include both time domain resources that are located before the first time domain resource and time domain resources that are located after the first time domain resource. In the embodiments of the present application, the time domain resources that are monitored are those that are located before the first time domain resource.

[0316] The first interval may be determined according to one or more of the following: a period of the time slot configuration, the number of time domain units for the sidelink included in one period of the time slot configuration, a first period, or a first value. For example, the first interval is determined according to the period of the time slot configuration; or, the first interval is determined according to the number of time domain units for the side link included in one period of the time slot configuration; or, the first interval is determined according to the first period of the time slot configuration; or, the first interval is determined according to the period of the time slot configuration and the number of time domain units for the side link included in one period of the time slot configuration; or, the first interval is determined according to the number of time domain units for the side link included in one period of the time slot configuration and the first period; or, the first interval is determined according to the period of the time slot configuration and the first period; or, the first interval is determined according to the period of the time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, and the first period; or, the first interval is determined according to the period of the time slot configuration and the first period; or, the first interval is determined according to the period of the time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, the first value, and the first period, etc. For more information about the first interval, such as the concept and determination method of the first period, please refer to Figure 12 The embodiment shown is an introduction to S121.

[0317] For example, you can continue to refer to Figure 14 , Figure 14 It includes time domain resources to be monitored determined according to H time domain resources and the first interval, and time domain resources to be monitored determined according to H time domain resources and the second interval.

[0318] The first cycle can have one value or multiple values. If the first cycle has multiple values, substitute the multiple values of the first cycle into formula 1 to get P gap The corresponding multiple values, according to P gap Each value of can determine a time domain resource to be monitored, thereby determining multiple time domain resources to be monitored, and all of these time domain resources are monitored.

[0319] After determining the time domain resource to be monitored based on the H time domain resources and the first interval, the first terminal device may also monitor the determined time domain resource, thereby determining whether the first candidate resource is available, or determining whether the first time domain resource is available, based on the monitoring result. For example, the first terminal device may continue to execute steps 3, 4, 5, and 7 of the resource selection method based on partial perception described above, thereby completing the resource monitoring and selection process. When the first terminal device executes step 4 in the above text, condition (3) in step 4 may be changed. The changing method may refer to Figure 12 The corresponding description in the embodiment shown.

[0320] The first terminal device can comprehensively determine whether the first candidate resource is available based on the listening results of the time domain resources determined at the first interval and the listening results of the time domain resources determined at the second interval. If the listening result shows that the first candidate resource has been reserved by other terminal devices, it is determined that the first candidate resource is unavailable. Alternatively, if the listening result shows that the first candidate resource has not been reserved by other terminal devices, it is determined that the first candidate resource is available. If the first candidate resource is available, the first terminal device can send data, control information, or data and control information to the second terminal device through the first candidate resource; alternatively, if the first candidate resource is unavailable, the first terminal device can continue to determine whether other candidate resources are available, and the determination method is similar.

[0321] In this embodiment of the present application, the partial sensing-based resource selection scheme in NR-V2X mode 2 considers the relationship between the interval design of the listening slot and candidate resources and the NR frame structure. This solves the problem that the existing partial sensing-based resource selection scheme is not forward compatible with the NR frame structure, and further improves the overall design of the mode 2 mechanism.

[0322] Next, let’s consider another question. The resource selection scheme based on partial sensing in the LTE-V2X system does not take into account the situation of missed SCI detection in periodic services. When missed detection occurs, that is, in the subframe There was originally an SCI from another terminal device, but the first terminal device did not detect the SCI due to factors such as channel fading. In the case of missed SCI detection, it will be impossible to exclude the reservation of periodic services from occupying candidate resources, resulting in resource collision.

[0323] In view of this, an embodiment of the present application may further include S165, the first terminal device listens to a time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the third interval, or the first terminal device listens to a time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the fourth interval, or the first terminal device listens to a time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the third interval, and listens to a time domain resource whose time domain interval with each time domain resource or any one or more time domain resources among the H candidate resources is the fourth interval. This step may occur before determining whether the first time domain resource can be selected to send data. It can be understood that the first terminal device can comprehensively determine whether the first time domain resource can be selected to send data based on the listening results of the time domain resources that are spaced apart in the time domain by the second interval from each time domain resource or any one or more time domain resources among the H candidate resources, and the listening results of the time domain resources that are spaced apart in the time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources. The first terminal device monitors the time domain resources that are separated in time domain by the second interval from each time domain resource or any one or more time domain resources among the H candidate resources before monitoring the time domain resources that are separated in time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources; or, the first terminal device monitors the time domain resources that are separated in time domain by the second interval from each time domain resource or any one or more time domain resources among the H candidate resources after monitoring the time domain resources that are separated in time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources; or, the first terminal device monitors the time domain resources that are separated in time domain by the second interval from each time domain resource or any one or more time domain resources among the H candidate resources, and monitors the time domain resources that are separated in time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources, and these two steps may occur simultaneously.

[0324] It should be noted that the time domain resource that is separated in the time domain by the third interval from one of the H candidate resources includes the time domain resource that is located before the time domain resource in the time domain, and also includes the time domain resource that is located after the time domain resource in the time domain. In the embodiment of the present application, the time domain resource that is located before the time domain resource in the time domain is monitored. For example, the time domain resource that is separated in the time domain by the third interval from the first time domain resource includes the time domain resource that is located before the first time domain resource in the time domain, and also includes the time domain resource that is located after the first time domain resource in the time domain. In the embodiment of the present application, the time domain resource that is located before the first time domain resource in the time domain is monitored. Similarly, it should be noted that the time domain resource that is separated in the time domain by the fourth interval from one of the H candidate resources includes the time domain resource that is located before the time domain resource in the time domain, and also includes the time domain resource that is located after the time domain resource in the time domain. In the embodiment of the present application, the time domain resource that is located before the time domain resource in the time domain is monitored. For example, the time domain resources that are separated from the first time domain resource by the fourth interval in the time domain include time domain resources that are located before the first time domain resource in the time domain, and also include time domain resources that are located after the first time domain resource in the time domain. In the embodiment of the present application, the time domain resources monitored are those that are located before the first time domain resource in the time domain.

[0325] In addition, the first terminal device listens to the time domain resources that are separated in time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources, and the first terminal device listens to the time domain resources that are separated in time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources. These two steps may be both performed, or one of them may be performed selectively. If both steps are performed, then the first terminal device listens to the time domain resources that are separated in time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources, the first terminal device listens to the time domain resources that are separated in time domain by the second interval from each time domain resource or any one or more time domain resources among the H candidate resources, and the first terminal device listens to the time domain resources that are separated in time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources. The execution order of these three steps can be referred to. Figure 12 Introduction of S125 in the illustrated embodiment.

[0326] Alternatively, the first terminal device monitors the time domain resources that are separated in time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources, and there may be corresponding execution conditions. For example, if the first terminal device does not hear the SCI from other terminal devices when listening to the time domain resources that are spaced apart in the time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources, or the listening fails, then the first terminal device may listen to the time domain resources that are spaced apart in the time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources; and if the first terminal device hears the SCI from other terminal devices when listening to the time domain resources that are spaced apart in the time domain by the first interval from each time domain resource or any one or more time domain resources among the H candidate resources, or the listening is successful, then the first terminal device may not need to listen to the time domain resources that are spaced apart in the time domain by the third interval and / or the fourth interval from each time domain resource or any one or more time domain resources among the H candidate resources.

[0327] The third interval can be configured using a sixth higher-layer parameter. For example, the network device sends a sixth signaling to the first terminal device, and the first terminal device receives the sixth signaling from the network device. The sixth higher-layer parameter can be included in the sixth signaling. Alternatively, the sixth higher-layer parameter can be pre-configured in the terminal device. The sixth signaling can be, for example, RRC signaling or a system message.

[0328] Alternatively, the third interval can also be determined based on the first duration and the second duration. For example, the third interval is a function of the first duration and the second duration. The first duration can be determined based on one or more of the following: the period of the time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, the first period, or the first numerical value. It can be considered that the first duration corresponds to the first interval. The second duration can be configured through the second high-level parameter. For how to configure the second high-level parameter, please refer to the previous text. It can be considered that the second duration corresponds to the second interval. Therefore, it can also be understood that the third interval can be determined based on the first interval and the second interval. For the explanation of the first interval and the second interval, please refer to the previous text.

[0329] The fourth interval can be configured using a seventh higher-layer parameter. For example, the network device sends a seventh signaling to the first terminal device, and the first terminal device receives the seventh signaling from the network device. The seventh higher-layer parameter can be included in the seventh signaling. Alternatively, the seventh higher-layer parameter can be pre-configured in the terminal device. The seventh signaling can be, for example, RRC signaling or a system message.

[0330] Alternatively, the fourth interval may also be determined based on the first duration and the second duration. For example, the fourth interval is a function of the first duration and the second duration. Therefore, it can also be understood that the fourth interval may be determined based on the first interval and the second interval.

[0331] For more information about the third and fourth intervals, such as the relationships satisfied by the third and fourth intervals, please refer to Figure 12 S125 in the embodiment shown.

[0332] For example, the first time domain resource is a time slot The first interval is P gap The second interval is represented by w, then the time domain resource with the second interval in the time domain as the first time domain resource is a time slot The time domain resource with a time domain interval of the third interval from the first time domain resource is a time slot The time domain resource that is separated from the first time domain resource by a fourth interval in the time domain is a time slot For reference Figure 18 , Figure 18 The rectangular box with horizontal lines in the middle represents the time domain resources to be listened to determined by H time domain resources and the fourth interval, the rectangular box with squares represents the time domain resources to be listened to determined by H time domain resources and the third interval, the rectangular box with “ / ” represents the time domain resources to be listened to determined by H time domain resources and the second interval, and the rectangular box with “\” represents H time domain resources. Figure 18 Taking the example of the first terminal device listening to the time domain resources determined according to the second interval, listening to the time domain resources determined according to the third interval, and listening to the time domain resources determined according to the fourth interval, if the first terminal device also wants to listen to the time domain resources determined according to the first interval, the time domain resources determined according to the first interval can be added to the figure.

[0333] The first interval can have one or more values, and the second interval can also have one or more values. Accordingly, one or more third intervals can be determined, thereby determining one or more time domain resources to be monitored. Similarly, one or more fourth intervals can be determined, thereby determining one or more time domain resources to be monitored.

[0334] After determining the time domain resource to be monitored based on the H time domain resources and the third interval, the first terminal device may also monitor the determined time domain resource, thereby determining whether the first candidate resource is available, or determining whether the first time domain resource is available, based on the monitoring result. For example, the first terminal device may continue to execute steps 3, 4, 5, and 7 of the resource selection method based on partial perception described above, thereby completing the resource monitoring and selection process. When the first terminal device executes step 4 in the above text, condition (3) in step 4 may be changed. The changing method may refer to Figure 12 The corresponding description in the embodiment shown.

[0335] Similarly, after determining the time domain resource to be monitored according to the fourth interval, the first terminal device may also monitor the determined time domain resource, thereby determining whether the first candidate resource is available, or determining whether the first time domain resource is available, based on the monitoring result. For example, the first terminal device may continue to execute steps 3, 4, 5, and 7 of the resource selection method based on partial perception described above, thereby completing the resource monitoring and selection process. When the first terminal device executes step 4 in the above text, condition (3) in step 4 may be changed. The changing method may refer to Figure 12 The corresponding description in the embodiment shown.

[0336] The first terminal device can comprehensively determine whether the first candidate resource is available based on the listening results of the time domain resources determined by the second interval and the listening results of the time domain resources determined by the third interval and / or the fourth resource. If the listening result shows that the first candidate resource has been reserved by other terminal devices, it is determined that the first candidate resource is unavailable, or if the listening result shows that the first candidate resource has not been reserved by other terminal devices, it is determined that the first candidate resource is available. If the first candidate resource is available, the first terminal device can send data, or control information, or data and control information to the second terminal device through the first candidate resource; or, if the first candidate resource is unavailable, the first terminal device can continue to determine whether other candidate resources are available, and the determination method is similar.

[0337] Among them, S164 and S165 are optional steps and are not required to be executed. Figure 12 Indicated by a dotted box.

[0338] In an embodiment of the present application, the impact of missed periodic service detection is taken into account in the partial sensing-based resource selection scheme in mode 2 of the NR-V2X system, thereby solving the problem of increased system interference due to resource collision when SCI is missed in the listening time slot of the existing partial sensing-based resource selection scheme, and further improving the overall design of the mode 2 mechanism.

[0339] The following describes the device used to implement the above method in the embodiment of the present application in conjunction with the accompanying drawings. Therefore, the above content can be used in subsequent embodiments, and repeated content will not be repeated.

[0340] Figure 19 This is a schematic block diagram of a communication device 1900 provided in an embodiment of the present application. Exemplarily, the communication device 1900 is, for example, a first terminal device 1900 .

[0341] The first terminal device 1900 includes a processing module 1910 and a transceiver module 1920. Exemplarily, the first terminal device 1900 may be a terminal device, or a chip used in a terminal device, or other combined device or component having the aforementioned terminal device functions. When the first terminal device 1900 is a terminal device, the transceiver module 1920 may be a transceiver, which may include an antenna and a radio frequency circuit, etc., and the processing module 1910 may be a processor, such as a baseband processor, which may include one or more central processing units (CPUs). When the first terminal device 1900 is a component having the aforementioned terminal device functions, the transceiver module 1920 may be a radio frequency unit, and the processing module 1910 may be a processor, such as a baseband processor. When the first terminal device 1900 is a system-on-chip (SoC), the transceiver module 1920 may be the input / output interface of the chip (e.g., a baseband chip), and the processing module 1910 may be the SoC's processor, which may include one or more CPUs. It should be understood that the processing module 1910 in the embodiment of the present application can be implemented by a processor or a processor-related circuit component, and the transceiver module 1920 can be implemented by a transceiver or a transceiver-related circuit component.

[0342] For example, the processing module 1910 can be used to perform Figure 12 In the embodiment shown, all operations except the transceiver operations performed by the first terminal device, such as S121 to S125, and / or other processes for supporting the technology described herein. The transceiver module 1920 can be used to perform Figure 12 All transceiver operations performed by the first terminal device in the illustrated embodiment, such as operations of sending data and / or control information to the second terminal device through selected resources, and / or other processes for supporting the technology described herein.

[0343] In addition, the transceiver module 1920 may be a functional module that can perform both sending and receiving operations. For example, the transceiver module 1920 may be used to perform Figure 12In the embodiment shown, all sending operations and receiving operations performed by the first terminal device, for example, when performing a sending operation, the transceiver module 1920 can be considered as a sending module, and when performing a receiving operation, the transceiver module 1920 can be considered as a receiving module; or, the transceiver module 1920 can also be two functional modules, and the transceiver module 1920 can be considered as a general term for the two functional modules, which are a sending module and a receiving module respectively. The sending module is used to complete the sending operation, for example, the sending module can be used to perform Figure 12 In any of the embodiments shown, the first terminal device performs all the sending operations, and the receiving module is used to complete the receiving operation. For example, the receiving module can be used to perform Figure 12 The embodiment shown shows that all receiving operations are performed by the first terminal device.

[0344] Among them, the transceiver module 1920 is used to communicate with other devices;

[0345] The processing module 1910 is configured to determine H time domain resources within a resource selection window, where H is an integer greater than or equal to 1;

[0346] The processing module 1910 is further configured to determine a first time domain resource among the H time domain resources;

[0347] Processing module 1910 is also used to listen to time domain resources that are separated in time domain by a first interval from each time domain resource or any one or more time domain resources among the H time domain resources to determine whether the first time domain resource can be selected to send data, and the first interval is determined based on one or more of the following: the period of the time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, the first period, or a first value, where the first period is the physical period of the side link transmission.

[0348] As an optional implementation, the first interval is a logical period of sidelink transmission.

[0349] As an optional implementation manner, the first period is determined according to a first high-level parameter, wherein:

[0350] The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or

[0351] The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

[0352] As an optional implementation, the processing module 1910 is also used to listen to the time domain resources that are separated in time domain by a second interval from each time domain resource or any one or more time domain resources among the H time domain resources before determining whether the first time domain resource can be selected to send data.

[0353] As an optional implementation manner, the second interval is determined according to a maximum duration for which resources can be reserved for the service.

[0354] As an optional implementation manner, the second interval is determined according to a second high-level parameter, wherein:

[0355] The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or,

[0356] The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

[0357] As an optional embodiment, the processing module 1910 is also used to listen to a time domain resource whose time domain interval with each time domain resource of the H time domain resources or any one or more time domain resources is a third interval before determining whether the first time domain resource can be selected to send data, and / or listen to a time domain resource whose time domain interval with each time domain resource of the H time domain resources or any one or more time domain resources is a fourth interval, the third interval and the fourth interval are both determined based on a first time length and a second time length, the first time length is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in a period of the time slot configuration, a first period, or a first value, and the first period is a physical period of side link transmission.

[0358] As an optional implementation, the third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

[0359] As an optional implementation, the fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

[0360] For other functions that can be realized by the first terminal device 1900, please refer to Figure 12 The relevant introduction of the illustrated embodiment will not be repeated in detail.

[0361] Figure 20This is a schematic block diagram of a communication device 2000 provided in an embodiment of the present application. Exemplarily, the communication device 2000 is, for example, a first terminal device 2000.

[0362] The first terminal device 2000 includes a processing module 2010 and a transceiver module 2020. Exemplarily, the first terminal device 2000 may be a terminal device, or a chip used in a terminal device, or other combined devices, components, etc. having the functions of the aforementioned terminal device. When the first terminal device 2000 is a terminal device, the transceiver module 2020 may be a transceiver, which may include an antenna and a radio frequency circuit, etc., and the processing module 2010 may be a processor, such as a baseband processor, which may include one or more CPUs. When the first terminal device 2000 is a component having the functions of the aforementioned terminal device, the transceiver module 2020 may be a radio frequency unit, and the processing module 2010 may be a processor, such as a baseband processor. When the first terminal device 2000 is a chip system, the transceiver module 2020 may be the input and output interface of the chip (such as a baseband chip), and the processing module 2010 may be the processor of the chip system, which may include one or more central processing units. It should be understood that the processing module 2010 in the embodiment of the present application can be implemented by a processor or a processor-related circuit component, and the transceiver module 2020 can be implemented by a transceiver or a transceiver-related circuit component.

[0363] For example, the processing module 2010 can be used to perform Figure 16 In the embodiment shown, all operations except the transceiver operation performed by the first terminal device, such as S161 to S165, and / or other processes for supporting the technology described herein. The transceiver module 2020 can be used to perform Figure 16 All transceiver operations performed by the first terminal device in the illustrated embodiment, such as operations of sending data and / or control information to the second terminal device through selected resources, and / or other processes for supporting the technology described herein.

[0364] In addition, the transceiver module 2020 can be a functional module that can perform both sending and receiving operations. For example, the transceiver module 2020 can be used to perform Figure 16 In the embodiment shown, all sending operations and receiving operations performed by the first terminal device, for example, when performing a sending operation, the transceiver module 2020 can be considered as a sending module, and when performing a receiving operation, the transceiver module 2020 can be considered as a receiving module; or, the transceiver module 2020 can also be two functional modules, and the transceiver module 2020 can be regarded as a general term for the two functional modules, which are respectively a sending module and a receiving module. The sending module is used to complete the sending operation, for example, the sending module can be used to perform Figure 16In any of the embodiments shown, the first terminal device performs all the sending operations, and the receiving module is used to complete the receiving operation. For example, the receiving module can be used to perform Figure 16 The embodiment shown shows that all receiving operations are performed by the first terminal device.

[0365] The transceiver module 2020 is used to communicate with other devices;

[0366] The processing module 2010 is configured to determine H time domain resources within the resource selection window, where H is an integer greater than or equal to 1;

[0367] The processing module 2010 is further configured to determine a first time domain resource among the H time domain resources;

[0368] The processing module 2010 is further configured to monitor a time domain resource that is separated from each time domain resource or any one or more time domain resources in the H time domain resources by a second interval in the time domain.

[0369] As an optional implementation manner, the second interval is determined according to a maximum duration for which resources can be reserved for the service.

[0370] As an optional implementation manner, the second interval is determined according to a second high-level parameter, wherein:

[0371] The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or,

[0372] The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

[0373] As an optional implementation, the processing module 2010 is also used to listen to a time domain resource that is separated in time domain by a first interval from each time domain resource or any one or more time domain resources among the H time domain resources before determining whether the first time domain resource can be selected to send data, wherein the first interval is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first value, wherein the first period is a physical period of side link transmission.

[0374] As an optional implementation, the first interval is a logical period of sidelink transmission.

[0375] As an optional implementation manner, the first period is determined according to a first high-level parameter, wherein:

[0376] The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or

[0377] The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

[0378] As an optional embodiment, the processing module 2010 is also used to listen to a time domain resource whose time domain interval with each time domain resource of the H time domain resources or any one or more time domain resources is a third interval before determining whether the first time domain resource can be selected to send data, and / or to listen to a time domain resource whose time domain interval with each time domain resource of the H time domain resources or any one or more time domain resources is a fourth interval, the third interval and the fourth interval are both determined based on a first time length and a second time length, the first time length is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in a period of the time slot configuration, a first period, or a first value, and the first period is a physical period of side link transmission.

[0379] As an optional implementation, the third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

[0380] As an optional implementation, the fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

[0381] For other functions that can be realized by the first terminal device 2000, please refer to Figure 16 The relevant introduction of the illustrated embodiment will not be repeated in detail.

[0382] The present application also provides a communication device, which can be a terminal device or a circuit, and can be used to execute the actions executed by the first terminal device in the above method embodiment.

[0383] When the communication device is a terminal device, Figure 21 The following is a simplified schematic diagram of the terminal device. Figure 21 In this article, the terminal device is a mobile phone. Figure 21As shown, the terminal device includes a processor, a memory, a radio frequency circuit, an antenna, and input and output devices. The processor is mainly used to process communication protocols and communication data, as well as to control the terminal device, execute software programs, process software program data, etc. The memory is mainly used to store software programs and data. The radio frequency circuit is mainly used to convert baseband signals into radio frequency signals and process radio frequency signals. The antenna is mainly used to transmit and receive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, displays, keyboards, etc., are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal devices may not have input and output devices.

[0384] When data needs to be sent, the processor performs baseband processing on the data to be sent and outputs the baseband signal to the RF circuit. The RF circuit performs RF processing on the baseband signal and then transmits the RF signal to the outside in the form of electromagnetic waves through the antenna. When data is sent to the terminal device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor. The processor converts the baseband signal into data and processes the data. For the sake of explanation, Figure 21 Only one memory and processor are shown. In actual terminal device products, one or more processors and one or more memories may exist. Memory may also be referred to as a storage medium or storage device. The memory may be provided independently of the processor or integrated with the processor, and this is not limited in the embodiments of the present application.

[0385] In the embodiment of the present application, the antenna and radio frequency circuit with transceiver functions can be regarded as the transceiver unit of the terminal device (the transceiver unit can be a functional unit that can realize the sending function and the receiving function; or the transceiver unit can also include two functional units, namely a receiving unit that can realize the receiving function and a sending unit that can realize the sending function), and the processor with processing function can be regarded as the processing unit of the terminal device. Figure 21 As shown, the terminal device includes a transceiver unit 2110 and a processing unit 2120. The transceiver unit may also be referred to as a transceiver, transceiver, or transceiver device. The processing unit may also be referred to as a processor, processing board, processing module, or processing device. Optionally, the device in the transceiver unit 2110 that implements the receiving function may be considered a receiving unit, and the device in the transceiver unit 2110 that implements the transmitting function may be considered a transmitting unit, i.e., the transceiver unit 2110 includes a receiving unit and a transmitting unit. The transceiver unit may also be referred to as a transceiver, transceiver, or transceiver circuit. The receiving unit may also be referred to as a receiver, receiver, or receiving circuit. The transmitting unit may also be referred to as a transmitter, transmitter, or transmitting circuit.

[0386] It should be understood that the transceiver unit 2110 is used to perform sending and receiving operations on the terminal device side in the above method embodiment, and the processing unit 2120 is used to perform other operations on the terminal device except for the sending and receiving operations in the above method embodiment.

[0387] For example, in one implementation, the processing unit 2120 may be configured to execute Figure 12 In the embodiment shown, all operations except the transceiver operations performed by the first terminal device, such as S121 to S125, and / or other processes for supporting the technology described herein. The transceiver unit 2110 may be used to perform Figure 12 All transceiver operations performed by the first terminal device in the illustrated embodiment, such as operations of sending data and / or control information to the second terminal device through selected resources, and / or other processes for supporting the technology described herein.

[0388] For example, in one implementation, the processing unit 2120 may be configured to execute Figure 16 In the embodiment shown, all operations except the transceiver operations performed by the first terminal device, such as S161 to S165, and / or other processes for supporting the technology described herein. The transceiver unit 2110 may be used to perform Figure 16 All transceiver operations performed by the first terminal device in the illustrated embodiment, such as operations of sending data and / or control information to the second terminal device through selected resources, and / or other processes for supporting the technology described herein.

[0389] When the communication device is a chip-type device or circuit, the device may include a transceiver unit and a processing unit, wherein the transceiver unit may be an input / output circuit and / or a communication interface; and the processing unit may be an integrated processor, microprocessor, or integrated circuit.

[0390] When the communication device in this embodiment is a terminal device, you can refer to Figure 22 As an example, the device can perform similar Figure 19 As another example, the device can perform similar Figure 20 The function of the processing module 2010 is Figure 22 The device includes a processor 2210, a sending data processor 2220, and a receiving data processor 2230. The processing module 1910 in the above embodiment can be Figure 22 The processor 2210 in the embodiment can be used to perform the corresponding functions; the transceiver module 1920 in the embodiment can be used to perform the corresponding functions; Figure 22Alternatively, the processing module 2010 in the above embodiment may be Figure 22 The processor 2210 in the embodiment can be used to perform the corresponding functions; the transceiver module 220 in the embodiment can be used to perform the corresponding functions; Figure 22 The sending data processor 2220 and / or receiving data processor 2230 in the embodiment of the present invention complete the corresponding functions. Figure 22 A channel encoder and a channel decoder are shown in FIG. 1 , but it can be understood that these modules do not constitute a limitative description of this embodiment and are merely illustrative.

[0391] Figure 23 Another form of this embodiment is shown. Processing device 2300 includes modules such as a modulation subsystem, a central processing subsystem, and a peripheral subsystem. The communication device in this embodiment can serve as the modulation subsystem. Specifically, the modulation subsystem may include a processor 2303 and an interface 2304. Processor 2303 performs the functions of processing module 1910, and interface 2304 performs the functions of transceiver module 1920. Alternatively, processor 2303 performs the functions of processing module 2010, and interface 2304 performs the functions of transceiver module 2020. As another variation, the modulation subsystem includes memory 2306, processor 2303, and a program stored on memory 2306 and executable by the processor. When processor 2303 executes the program, the terminal device side method of the above-mentioned method embodiment is implemented. It should be noted that memory 2306 can be non-volatile or volatile, and can be located within the modulation subsystem or within processing device 2300, as long as memory 2306 can be connected to processor 2303.

[0392] The embodiment of the present application provides a first communication system. The first communication system may include the above Figure 12 The first terminal device involved in the embodiment shown is, for example, Figure 19 The first terminal device 1900 in FIG.

[0393] The embodiment of the present application provides a second communication system. The second communication system may include the above Figure 16 The first terminal device involved in the embodiment shown is, for example, Figure 10 The first terminal device 2000 in FIG.

[0394] The embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the computer can implement the method provided in the embodiment of the above method. Figure 12The illustrated embodiment is a process related to the first terminal device.

[0395] The embodiment of the present application further provides a computer-readable storage medium for storing a computer program. When the computer program is executed by a computer, the computer can implement the method provided in the embodiment of the method. Figure 16 The illustrated embodiment is a process related to the first terminal device.

[0396] The embodiment of the present application further provides a computer program product, which is used to store a computer program. When the computer program is executed by a computer, the computer can implement the method provided in the embodiment of the above method. Figure 12 The process related to the first terminal device in the embodiment shown is shown.

[0397] The embodiment of the present application further provides a computer program product, which is used to store a computer program. When the computer program is executed by a computer, the computer can implement the method provided in the embodiment of the above method. Figure 16 The illustrated embodiment is a process related to the first terminal device.

[0398] It should be understood that the processor mentioned in the embodiments of the present application may be a CPU, or may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0399] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0400] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated into the processor.

[0401] It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.

[0402] It should be understood that in the 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.

[0403] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0404] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

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

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

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

[0408] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned computer-readable storage medium can be any available medium that can be accessed by a computer. By way of example and not limitation, computer-readable media may include random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), universal serial bus flash disk, mobile hard disk, or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.

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

Claims

1. A communication method, characterized in that: include: Determine H time domain resources within the resource selection window, where H is an integer greater than or equal to 1; Determining a first time domain resource among the H time domain resources; A time domain resource that is separated in time domain by a first interval from each of the H time domain resources is monitored to determine whether the first time domain resource can be selected to send data, wherein the first interval is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first value, where the first period is a physical period of side link transmission.

2. The method according to claim 1, characterized in that The first interval is a logical period of sidelink transmission.

3. The method according to claim 1 or 2, characterized in that The first period is determined according to a first high-level parameter, wherein: The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

4. The method according to claim 1 or 2, characterized in that Before determining whether the first time domain resource can be selected to send data, the method further includes: A time domain resource that is spaced apart from each time domain resource of the H time domain resources by a second interval in the time domain is monitored.

5. The method according to claim 4, characterized in that The second interval is determined according to the maximum duration for which resources can be reserved for the service.

6. The method according to claim 4, characterized in that The second interval is determined according to a second high-level parameter, wherein: The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or, The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

7. The method according to any one of claims 1, 2, 5 and 6, characterized in that: Before determining whether the first time domain resource can be selected to send data, the method further includes: Listen to a time domain resource that is separated from each of the H time domain resources by a third interval in the time domain, and / or listen to a time domain resource that is separated from each of the H time domain resources by a fourth interval in the time domain, wherein the third interval and the fourth interval are both determined based on a first duration and a second duration, wherein the first duration is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first value, wherein the first period is a physical period of side link transmission.

8. The method according to claim 7, characterized in that The third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

9. The method according to claim 7, characterized in that The fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

10. A communication method, characterized in that: include: Determine H time domain resources within the resource selection window, where H is an integer greater than or equal to 1; Determining a first time domain resource among the H time domain resources; monitoring a time domain resource that is spaced apart from each of the H time domain resources by a second interval in the time domain; Before determining whether the first time domain resource can be selected to send data, the method further includes: Listen to a time domain resource that is separated from each of the H time domain resources by a third interval in the time domain, and / or listen to a time domain resource that is separated from each of the H time domain resources by a fourth interval in the time domain, wherein the third interval and the fourth interval are both determined based on a first duration and a second duration, wherein the first duration is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first value, wherein the first period is a physical period of side link transmission.

11. The method according to claim 10, characterized in that The second interval is determined according to the maximum duration for which resources can be reserved for the service.

12. The method according to claim 10 or 11, characterized in that The second interval is determined according to a second high-level parameter, wherein: The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or, The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

13. The method according to claim 10 or 11, characterized in that The second interval is a physical period of sidelink transmission.

14. The method according to claim 13, characterized in that The first period is determined according to a first high-level parameter, wherein: The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

15. The method according to any one of claims 10, 11 and 14, characterized in that: The third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

16. The method according to any one of claims 10, 11 and 14, characterized in that: The fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

17. A terminal device, characterized in that: include: a transceiver module for communicating with other devices; a processing module, configured to determine H time domain resources within a resource selection window, where H is an integer greater than or equal to 1; The processing module is further configured to determine a first time domain resource among the H time domain resources; The processing module is also used to listen to a time domain resource that is separated in time domain by a first interval from each of the H time domain resources to determine whether the first time domain resource can be selected to send data, wherein the first interval is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in one period of the time slot configuration, a first period, or a first numerical value, where the first period is a physical period of side link transmission.

18. The terminal device according to claim 17, wherein: The first interval is a logical period of sidelink transmission.

19. The terminal device according to claim 17 or 18, characterized in that The first period is determined according to a first high-level parameter, wherein: The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

20. The terminal device according to claim 17 or 18, characterized in that The processing module is further configured to, before determining whether the first time domain resource can be selected to send data, monitor a time domain resource that is spaced a second interval apart from each of the H time domain resources in the time domain.

21. The terminal device according to claim 20, characterized in that The second interval is determined according to the maximum duration for which resources can be reserved for the service.

22. The terminal device according to claim 20, characterized in that The second interval is determined according to a second high-level parameter, wherein: The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or, The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

23. The terminal device according to any one of claims 17, 18, 21 and 22, characterized in that: The processing module is also used to listen to a time domain resource that is separated from each of the H time domain resources by a third interval in the time domain, and / or to listen to a time domain resource that is separated from each of the H time domain resources by a fourth interval in the time domain, before determining whether the first time domain resource can be selected to send data. The third interval and the fourth interval are both determined based on a first duration and a second duration, and the first duration is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in a period of the time slot configuration, a first period, or a first value, and the first period is a physical period of side link transmission.

24. The terminal device according to claim 23, wherein: The third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

25. The terminal device according to claim 23, characterized in that The fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

26. A terminal device, characterized in that: include: a transceiver module for communicating with other devices; a processing module, configured to determine H time domain resources within a resource selection window, where H is an integer greater than or equal to 1; Determining a first time domain resource among the H time domain resources; monitoring a time domain resource that is spaced apart from each of the H time domain resources by a second interval in the time domain; The processing module is also used to listen to a time domain resource that is separated from each of the H time domain resources by a third interval in the time domain, and / or to listen to a time domain resource that is separated from each of the H time domain resources by a fourth interval in the time domain, before determining whether the first time domain resource can be selected to send data. The third interval and the fourth interval are both determined based on a first duration and a second duration, and the first duration is determined based on one or more of the following: a period of time slot configuration, the number of time domain units for the side link included in a period of the time slot configuration, a first period, or a first value, and the first period is a physical period of side link transmission.

27. The terminal device according to claim 26, characterized in that The second interval is determined according to the maximum duration for which resources can be reserved for the service.

28. The terminal device according to claim 26 or 27, characterized in that The second interval is determined according to a second high-level parameter, wherein: The second high-level parameter is used to indicate a second sequence, and the duration corresponding to the index of an element in the second sequence whose value is a second numerical value in the second sequence is the second interval; or, The second high-level parameter is used to indicate a fourth value, where the fourth value is the length of the second interval.

29. The terminal device according to claim 26 or 27, characterized in that The second interval is a physical period of sidelink transmission.

30. The terminal device according to claim 29, wherein The first period is determined according to a first high-level parameter, wherein: The first high-level parameter is used to indicate a first sequence, and the period corresponding to the index of the element in the first sequence whose value is the second numerical value in the first sequence is the first period; or The first high-layer parameter is used to indicate a third value, where the third value is the length of the first cycle.

31. The terminal device according to any one of claims 26, 27, and 30, characterized in that: The third interval satisfies P gap +w, where P gap represents the first duration, and w represents the second duration.

32. The terminal device according to any one of claims 26, 27, and 30, characterized in that: The fourth interval satisfies P gap -w, where P gap represents the first duration, and w represents the second duration.

33. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program. When the computer program is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 9, or the computer is caused to execute the method according to any one of claims 10 to 16.

34. A chip, characterized in that: The method comprises a processor and a communication interface, wherein the processor is used to read instructions to execute the method according to any one of claims 1 to 9, or execute the method according to any one of claims 10 to 16.