Resource sensing method and communication device

By utilizing the resource perception and selection mechanisms of the first and second perception windows in NR V2X communication, the problem of inaccurate resource perception and high collision of terminal devices under RA mode-2 is solved, and communication efficiency and accuracy are improved , especially when resource usage is unclear or the terminal equipment is far from the base station.

CN114071405BActive Publication Date: 2024-12-06HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In NR V2X communication, when the terminal device performs resource perception in resource scheduling mode 2 (RA mode-2), there are problems such as resource perception inaccuracy and high collision probability, especially when the resource usage is unclear or the terminal device is not connected with When the base station is far away, communication efficiency is ineffective.

Method used

By performing resource perception and resource selection between the first perception window and the second perception window, the first terminal device not only perceives resources for itself, but also perceives resources for the second terminal device, and transmits the perception results. Select appropriate resources for transmission based on the perceived results, thereby improving the accuracy of resource perception and communication efficiency.

Benefits of technology

It effectively improves the accuracy of resource perception, reduces the probability of resource collision, and improves communication efficiency. Especially when resource occupation is unclear or the terminal equipment is far from the base station, ensuring the reliability and efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114071405B_ABST
    Figure CN114071405B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a resource sensing method and a communication device, wherein the resource sensing method may include: a first terminal device determines a first candidate resource set for sidelink transmission in a first selection window, the first terminal device determines a second candidate resource set based on the resource sensing result in the first sensing window, the second candidate resource set is the full set or a subset of the first candidate resource set; the first terminal device senses the sidelink resource in the second sensing window, and sends the resource sensing result in the second sensing window to the second terminal device at a first moment, the first moment being determined based on the second candidate resource set. By adopting the embodiment of the present application, the accuracy of resource sensing can be improved and the probability of resource collision can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In NR V2X, two resource scheduling modes are supported, one is resource scheduling mode 1 (Resource Allocation Mode-1, RA mode-1) based on base station scheduling, and the other is resource scheduling mode 2 (Resource Allocation Mode-2, RA mode-2) based on the perception and selection of the terminal device on the (pre) configured resources. When the terminal device uses RA mode-1 for resource scheduling, the resources for sending the physical sidelink control channel (Pysical Sidelink Control Channel, PSCCH) or the physical sidelink shared channel (Pysical Sidelink Share Channel, PSSCH) on the sidelink are scheduled and controlled by the base station. When using RA mode-2 for resource scheduling, the terminal device will sense the available resources on the sidelink resources configured by the base station or network equipment, or pre-defined, and select the resources to send PSCCH or PSSCH. When RA mode-2 is used for resource scheduling, there are two time windows: a sensing window and a selection window. The terminal device senses the occupancy of sidelink resources in the sensing window and selects appropriate resources in the selection window to send PSSCH / PSCCH based on the sensing results. Summary of the invention

[0003] The embodiments of the present application provide a resource perception method and a communication device, which can be applied to vehicle networks, such as V2X communication, long-term evolution-vehicle (LTE-V) communication, vehicle-to-vehicle (V2V) communication, etc., or can be used in intelligent driving, intelligent connected vehicles and other fields, which can improve the accuracy of resource perception, avoid the probability of resource collision, and improve communication efficiency.

[0004] In a first aspect, an embodiment of the present application provides a resource sensing method, wherein the method can be executed by a first terminal device, or can be executed by a component of the first terminal device (such as a processor, a chip, or a chip system, etc.). The resource sensing method may include: the first terminal device determines a first candidate resource set for side transmission in a first selection window, and the first terminal device determines a second candidate resource set based on the resource sensing result in the first sensing window, and the second candidate resource set is the full set or a subset of the first candidate resource set. For example, the first terminal device excludes the side transmission resources occupied in the first selection window from the first candidate resource set based on the resource sensing result in the first sensing window, and obtains an unoccupied second candidate resource set.

[0005] The first terminal device further senses the sidelink resource within the second perception window, and sends the resource perception result within the second perception window to the second terminal device at a first moment, wherein the first moment may be determined according to the second candidate resource set. For example, the first moment is the starting moment of the resource for sidelink transmission selected by the first terminal in the second candidate resource set, and the resource for sidelink transmission is used to send the resource perception result within the second perception window.

[0006] Correspondingly, the second terminal device can determine a third candidate resource set for sidelink transmission in the second selection window, and the second terminal device further determines a fourth candidate resource set based on the resource perception result within the second perception window sent by the first terminal device and / or the second terminal's own resource perception result, thereby determining the sidelink resources for sending data based on the fourth candidate resource set.

[0007] By implementing the method described in the first aspect, the first terminal device can not only sense resources for its own side transmission within the first perception window, but also sense resources for the side transmission of the second terminal device within the second perception window, and send the resource perception result within the second perception window to the second terminal device, so that the second terminal device can determine the fourth candidate resource set according to the resource perception result within the second perception window, and further determine the side link resource for sending data according to the fourth candidate resource set. In some scenarios, the second terminal device senses resources incompletely. For example, when other terminal devices send side control information (SCI) and side data, the second terminal device sends data but does not receive the SCI and side data. For example, the second terminal device is far away from the terminal device that sends SCI and side data, and does not receive the SCI and side data, and so on. The second terminal device can determine the side link resource for sending data with the help of the result of resource perception performed by the first terminal device for the second terminal device within the second perception window. Thereby improving the accuracy of resource perception, avoiding the probability of resource collision, and improving communication efficiency.

[0008] In a possible implementation of the first aspect, the starting time domain position of the second perception window may be determined according to the first moment and the first offset, and the ending time domain position of the second perception window may be determined according to the first moment and the second offset. The first offset is greater than the second offset. For example, the first offset is T y , the second offset is T proc,y , the first time when the first terminal device sends PSSCH / PSCCH is time m, then the starting time domain position of the second perception window can be mT y , and the end time position of the second perception window can be mT proc,y .

[0009] By implementing this method, the second perception window is determined according to the first moment when the first terminal device sends data, which can facilitate the second terminal device to determine the position of the second perception window.

[0010] In a possible implementation manner of the first aspect, the first offset and / or the second offset is determined according to the first perception window.

[0011] The first offset and / or the second offset may be determined according to configuration parameters of the first perception window.

[0012] By implementing this method, the second perception window can be determined with the help of the configuration parameters of the first perception window, without the need to specifically configure parameters for the second perception window, that is, the first perception window and the second perception window share the same set of configuration parameters, saving signaling overhead.

[0013] In a possible implementation manner of the first aspect, the first offset may be T0+C, and the second offset may be T proc,0 +C.

[0014] Wherein, T0 is the offset of the starting time domain position of the first perception window relative to the second moment, T proc,0 It is the offset of the end domain position of the first perception window relative to the second moment, and the second moment is the moment when the first terminal device triggers resource selection; C can be a constant greater than or equal to zero.

[0015] By implementing this method, the second perception window can be determined with the help of the configuration parameters of the first perception window, without the need to specifically configure parameters for the second perception window, that is, the first perception window and the second perception window share the same set of configuration parameters, saving signaling overhead.

[0016] In a possible implementation manner of the first aspect, the second offset is T proc,0 , the T proc,0 It is the offset of the end domain position of the first perception window relative to the second moment, and the second moment is the moment when the first terminal device triggers resource selection.

[0017] Among them, the first offset can be determined by the proportional relationship between the length of the first perception window and the length of the second perception window; or, the first offset can be determined by the data priority sent by the first terminal device and / or the data priority sent by the second terminal device, for example, different priorities correspond to different perception window lengths, and the first offset is determined by the length of the second perception window and the end domain position of the second perception window.

[0018] By implementing this method, the position of the second perception window can be determined by defining the proportional relationship between the length of the first perception window and the length of the second perception window. There is no need to configure parameters specifically for the second perception window, thus saving signaling overhead.

[0019] The position of the second perception window may be determined by the data priority sent by the first terminal device and / or the data priority sent by the second terminal device to ensure the transmission of high priority data.

[0020] In a possible implementation manner of the first aspect, the first offset and / or the second offset may be configured by a network device; or, the first offset and / or the second offset may be sent by the second terminal device to the first terminal device.

[0021] By implementing this method, the parameters of the second perception window can be configured for the second perception window, so that the first terminal device can perform resource perception in the second perception window in a targeted manner.

[0022] In a possible implementation of the first aspect, the perceived side link resources may be located in one or more resource pools, and the side link resources contained in the resource pools may be divided into at least one time-frequency resource region, and a time-frequency resource region is composed of one or more time slots and one or more sub-channels.

[0023] The resource sensing result may include one or more of the following information: resource occupation information and / or resource non-occupied information;

[0024] The resource occupancy information may include an identifier of an unavailable time-frequency resource region in at least one time-frequency resource region.

[0025] The resource unoccupied information may include an identifier of an available time-frequency resource region in at least one time-frequency resource region.

[0026] In some optional embodiments, resource occupation information and resource unoccupied information may be represented using a bit map, which may include at least one bit, where one bit corresponds to one time-frequency resource region in at least one time-frequency resource region, and the value of the bit may be used to indicate whether the time-frequency resource region corresponding to the bit is available.

[0027] By implementing this method, the resource perception result within the second perception window can be fed back at the granularity of the time-frequency resource area, thereby reducing the bit overhead of the resource perception result.

[0028] In a possible implementation manner of the first aspect, the first terminal device may receive one or more priorities from the second terminal device; further, the first terminal device may determine the first priority according to the one or more priorities.

[0029] The first terminal device may receive a reference signal reception power threshold or a reference signal reception power threshold range from the second terminal device; further, the first terminal device may determine a first reference signal reception power threshold based on the reference signal reception power threshold or the reference signal reception power threshold range.

[0030] When the first terminal device senses the sidelink resources within the second perception window, it can use the first priority and the first reference signal receiving power threshold to sense the sidelink resources within the second perception window.

[0031] By implementing this method, the first terminal device can clearly know the priority and reference signal receiving power threshold used when performing resource perception within the second perception window.

[0032] In a possible implementation manner of the first aspect, the first priority is a priority whose value among one or more priorities sent by the second terminal device is the same as the value of the second priority; or,

[0033] The first priority is the priority with the smallest value among the multiple priorities; or,

[0034] The first priority is the priority with the smallest value among the second priority and one or more priorities sent by the second terminal device;

[0035] Among them, the second priority is used for the first terminal device to perform resource perception within the first perception window.

[0036] In a possible implementation manner of the first aspect, the first reference signal received power threshold is M+Δa*k; and the first reference signal received power threshold meets a target condition.

[0037] The target condition may include: the ratio of the number of available time-frequency resource areas sensed in the second perception window using the second reference signal received power threshold to the total number of the at least one time-frequency resource area is less than the first threshold, and the ratio of the number of available time-frequency resource areas sensed in the second perception window using the first reference signal received power threshold to the total number of the at least one time-frequency resource area is greater than or equal to the first threshold, and the second reference signal received power threshold is M+Δa*(k-1);

[0038] Among them, M is the reference signal receiving power threshold or the minimum value of the reference signal receiving power threshold range, Δa is the power increment, k is an integer greater than or equal to 0, and the first reference signal receiving power threshold M+Δa*k is within the reference signal receiving power threshold range.

[0039] In a possible implementation manner of the first aspect, the first terminal device sends the first priority and / or the first reference signal receiving power threshold to the second terminal device.

[0040] By implementing this method, the second terminal device can clearly understand the priority and reference signal receiving power threshold used by the first terminal device when performing resource perception within the second perception window.

[0041] In a second aspect, an embodiment of the present application provides a resource sensing method, wherein the method may be executed by a second terminal device, or may be executed by a component of the second terminal device (e.g., a processor, a chip, or a chip system, etc.). The resource sensing method may include: the second terminal device receives a resource sensing result within a second sensing window from the first terminal device at a first moment, the first moment is determined according to a second candidate resource set, the second candidate resource set is determined by the first terminal device according to the resource sensing result within the first sensing window, and the second candidate resource set is the full set or a subset of the first candidate resource set, and the first candidate resource set is a resource set for sideline transmission determined by the first terminal device in a first selection window.

[0042] The second terminal device determines a third candidate resource set for side transmission in the second selection window, and the second terminal device determines a fourth candidate resource set based on the resource perception result in the second perception window, and the fourth candidate resource set is the entire set or a subset of the third candidate resource set.

[0043] The second terminal device determines the side link resources for sending data based on the fourth candidate resource set.

[0044] In a possible implementation of the second aspect, the starting time domain position of the second perception window is determined based on the first moment and the first offset, and the ending time domain position of the second perception window is determined based on the first moment and the second offset, and the first offset is greater than the second offset.

[0045] In a third aspect, an embodiment of the present application provides a communication device, comprising various modules or units for executing the method of the first aspect or the second aspect.

[0046] In a fourth aspect, an embodiment of the present application provides a communication device, including a processor. The processor is coupled to a memory and can be used to execute instructions in the memory to implement the method of the first aspect or the second aspect. Optionally, the communication device also includes a memory. Optionally, the communication device also includes a communication interface, and the processor is coupled to the communication interface.

[0047] In a fifth aspect, an embodiment of the present application provides a processor, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is used to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method of the first aspect or the second aspect.

[0048] In the specific implementation process, the processor can be one or more chips, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a trigger, and various logic circuits. The input signal received by the input circuit can be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to a transmitter and transmitted by the transmitter, and the input circuit and the output circuit can be the same circuit, which is used as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation methods of the processor and various circuits.

[0049] In a sixth aspect, an embodiment of the present application provides a processing device, including a processor and a memory. The processor is used to read instructions stored in the memory, and can receive signals through a receiver and transmit signals through a transmitter to execute the method of the first aspect or the second aspect.

[0050] Optionally, the number of the processors is one or more, and the number of the memories is one or more.

[0051] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

[0052] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated with the processor on the same chip or can be set on different chips respectively. The embodiments of the present application do not limit the type of memory and the setting method of the memory and the processor.

[0053] It should be understood that the related data interaction process, such as sending the resource perception result, can be a process of outputting the resource perception result from the processor, and receiving the resource perception result can be a process of receiving the resource perception result by the processor. Specifically, the data output by the processor can be output to the transmitter, and the input data received by the processor can come from the receiver. Among them, the transmitter and the receiver can be collectively referred to as a transceiver.

[0054] The processing device in the sixth aspect may be one or more chips. The processor in the processing device may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated in the processor or located outside the processor and exist independently.

[0055] In the seventh aspect, an embodiment of the present application provides a computer program product, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute the method of the first aspect or the second aspect.

[0056] In an eighth aspect, an embodiment of the present application provides a readable storage medium, which stores a computer program (also referred to as code, or instruction). When the computer program is run on a computer, the method of the first aspect or the second aspect is implemented.

[0057] In a ninth aspect, an embodiment of the present application provides a communication system, comprising the aforementioned first terminal device and second terminal device.

[0058] In a tenth aspect, a chip system is provided, the chip system includes a processor and an interface circuit, the processor is used to call and run a computer program (also referred to as code, or instruction) stored in the memory from a memory to implement the functions involved in the first aspect or the second aspect, in a possible design, the chip system also includes a memory, the memory is used to store necessary program instructions and data. The chip system can be composed of a chip, or it can include a chip and other discrete devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1a It is a network system architecture diagram provided by this application;

[0060] Figure 1b It is another network system architecture diagram provided by this application;

[0061] Figure 2 It is a flowchart of a resource perception method provided by this application;

[0062] Figure 3 is a schematic diagram of a first sensing window and a second sensing window provided by the present application;

[0063] Figure 4 is a schematic diagram of another first perception window and a second perception window provided by the present application;

[0064] Figure 5 It is a schematic diagram of a time-frequency resource area provided by this application;

[0065] Figure 6 is a schematic diagram of another time-frequency resource area provided by this application;

[0066] Figure 7 is a schematic block diagram of a communication device provided in an embodiment of the present application;

[0067] Figure 8is a schematic block diagram of another communication device provided in an embodiment of the present application;

[0068] Fig. 9 It is a schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0069] The technical solutions of the embodiments of the present application can be applied to vehicle networks, such as V2X communication, long-term evolution-vehicle (LTE-V) communication, vehicle-to-vehicle (V2V) communication, etc., or can be used in the fields of intelligent driving, intelligent connected vehicles, etc., and can also be used in other wireless networks, such as WiFi networks, long-term evolution (LTE) networks, fifth-generation (5G) networks, new radio (NR) networks, device-to-device (D2D) networks, future networks, etc., as well as other new networks that emerge with the development of technology.

[0070] Figure 1a A schematic diagram of a network system applicable to the present application is shown. The network system may include a terminal device 1 and a terminal device 2. The terminal device 1 may communicate with the terminal device 2 in a unicast manner.

[0071] Figure 1b A schematic diagram of another network system applicable to the present application is shown. The network system may include multiple terminal devices. Figure 1b In the example, four terminal devices are included, namely terminal device 1, terminal device 2, terminal device 3 and terminal device 4. It can be understood that the communication system can also include other terminal devices, which is not limited in the embodiment of the present application. Among them, the terminal device 1 can communicate with the terminal device 2, terminal device 3 and terminal device 4 in a multicast manner, or the terminal device 1 can also communicate with each terminal device in a unicast manner.

[0072] Terminal equipment may also be referred to as user equipment UE, access terminal, terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless network equipment, vehicle-mounted terminal, user agent, user device, access point, and other vehicles with V2V communication capabilities, etc. The terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication capabilities, a computing device or other device connected to a wireless modem, a vehicle-mounted device, a wearable device or the Internet of Things, a terminal device in a vehicle network, and any form of terminal device in a future network, etc. The terminal device may communicate with one or more core networks (CN) via a network device. It is understandable that in some possible application scenarios, the terminal device of the embodiment of the present application may also be a virtual reality (VR) terminal device with wireless transceiver function, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical, a wireless terminal device in smart grid, a wireless terminal in transportation safety, a wireless terminal device in smart city, and a wireless terminal in smart home. The terminal device can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water (such as a ship, etc.); it can also be deployed in the air (such as an airplane, a balloon, and a satellite, etc.).

[0073] It should be understood that the embodiments of the present application are not limited to application only in Figure 1a and Figure 1b For example, a communication system to which the resource sensing method of the embodiment of the present application can be applied may include more or fewer network elements or devices.

[0074] In the embodiment of the present application, the first terminal device may be Figure 1a and Figure 1b In the system architecture shown, the terminal device 1 and the second terminal device may be Figure 1a and Figure 1bA terminal device in terminal device 2, terminal device 3 or terminal device 4 in the system architecture shown.

[0075] The first terminal device can sense and obtain a set of candidate resources for the transmission of its own data (for example, PSCCH / PSSCH), and select corresponding resources from the candidate resource set to send PSCCH / PSSCH. Similarly, the second terminal device can also sense and select resources for the transmission of its own data. However, in some scenarios, the second terminal device does not perceive resources comprehensively. For example, when other terminal devices are sending SCI and data, the second terminal device is sending data, resulting in the second terminal device not receiving the SCI and data. For example, the second terminal device is far away from the terminal device sending SCI, resulting in the second terminal device not receiving the SCI, and so on.

[0076] In the embodiment of the present application, the first terminal device can not only sense resources for its own data transmission within the first perception window, but also sense resources for the data transmission of the second terminal device within the second perception window. Furthermore, the first terminal device can send the resource perception result within the second perception window to the second terminal device in a unicast or multicast manner. This improves the accuracy of the second terminal device's resource perception, avoids the probability of resource collision, and improves communication efficiency.

[0077] Please refer to Figure 2 , is a flow chart of a resource perception method provided in an embodiment of the present application, Figure 1a and Figure 1b This may be an example of a network architecture to which the resource perception method of the embodiment of the present application can be applied. Figure 2 As shown, the method may include: S101, S102 and S103, and optionally, the method may also include S104 and S105. The execution order of S101, S102, S103, S104 and S105 is not limited by the embodiment of the present application. As shown in the figure, the resource perception method of the embodiment of the present application includes but is not limited to the following steps:

[0078] S101, a first terminal device determines a first candidate resource set for side transmission in a first selection window, and the first terminal device determines a second candidate resource set based on a resource perception result in a first perception window, wherein the second candidate resource set is the entire set or a subset of the first candidate resource set.

[0079] S102, the first terminal device senses the side link resources within the second perception window, and sends the resource perception result within the second perception window to the second terminal device at a first moment, and the first moment is determined according to the second candidate resource set.

[0080] In one embodiment, when the first terminal device adopts RAmode-2 for resource scheduling, the first terminal device can sense the occupancy of sidelink resources within a first perception window, and select sidelink resources for sending PSSCH / PSCCH for the first terminal device in a first selection window based on the resource perception results within the first perception window.

[0081] like Figure 3 and Figure 4 As shown, in the embodiment of the present application, the starting time domain position of the first perception window may be n-T0, and the ending time domain position of the first perception window may be nT proc,0 The starting time domain position of the first selection window may be n+T1, and the ending time domain position of the first selection window may be n+T2, where n is the second moment when the terminal device triggers resource selection.

[0082] Specifically, optionally, the first terminal device may sense the side link resources configured by the base station or network device, or the predefined side link resources, within the first perception window to obtain the resource perception results within the first perception window. Optionally, the side link resources may be located in one or more resource pools.

[0083] Optionally, the first terminal device may use a second priority and a second reference signal reception power threshold to sense the sidelink resources within the first perception window, the second priority may be the priority of the data to be sent by the first terminal device, and the second reference signal reception power threshold may be the reference signal reception power threshold configured by the network device for the first terminal device. The resource perception process of the first terminal device within the first perception window may include: the first terminal device may measure the reference signal reception power of the sidelink resources, and the first terminal device may parse the SCI carried on the sidelink resources, the SCI may include the priority of the data carried on the sidelink resources and the transmission period of the data, etc. Further, the terminal device may also compare the measured reference signal received power with the second reference signal received power threshold to obtain a reference signal received power comparison result; and calculate the priority contained in the SCI with the second priority, and compare the priority calculation result with the priority threshold to obtain a priority comparison result; further, the first terminal device may obtain a resource perception result within the first perception window based on the reference signal received power comparison result, the priority comparison result and the transmission period of the data parsed in the SCI. Optionally, the resource perception result may include occupied side link resources and / or unoccupied side link resources. For example, if the measured reference signal received power is less than the second reference signal received power threshold, and the priority calculation result and the priority threshold meet specific conditions, the corresponding side link resource is determined to be an unoccupied side link resource within the first perception window, otherwise it is an occupied side link resource.

[0084] The first terminal device can determine a first candidate resource set for sidelink transmission in a first selection window. For example, the first terminal device can determine the resource size to be sensed based on the size of the resources to be sensed, and the resource size to be sensed can be determined based on the size of the resources occupied by the data to be sent. Optionally, the first terminal device divides the sidelink resources to be sensed (for example, the sidelink resources in one or more resource pools) into multiple resource blocks, and the multiple resource blocks constitute the first candidate resource set, and each resource block is the size of the resource for sending data. For example, the resource size to be sensed is 1 time slot and 1 subchannel, and a resource block consists of 1 time slot and 1 subchannel. If the size of the sidelink resources to be sensed is 10 time slots and 5 subchannels, the sidelink resources to be sensed can be divided into 50 resource blocks, and the 50 resource blocks can constitute the first candidate resource set.

[0085] The first terminal device can determine a second candidate resource set from the first candidate resource set based on the resource perception result within the first perception window, and the second candidate resource set is the full set or a subset of the first candidate resource set. Among them, the side link resources in the second candidate resource set can be unoccupied resources determined based on the resource perception result within the first perception window. For example, the first terminal device can exclude resource blocks that may be occupied from the first candidate resource set based on the resource perception result within the first perception window, and refer to the set consisting of the remaining resource blocks in the first candidate resource set as the second candidate resource set. The first terminal device can further select suitable resources from the second candidate resource set to send PSSCH / PSCCH. Exemplarily, the first terminal device can choose to send PSSCH / PSCCH at the first moment m.

[0086] In an embodiment of the present application, in addition to sensing resources for its own data transmission within the first perception window and selecting resources for its own data transmission within the first selection window based on the resource perception results within the first perception window, the first terminal device can also sense resources for the data transmission of a second terminal device within the second perception window, and send the resource perception results within the second perception window to the second terminal device, so that the second terminal device can select side link resources for sending PSSCH / PSCCH for the second terminal device based on the resource perception results within the second perception window.

[0087] The starting time domain position of the second perception window may be determined according to the first moment and the first offset, and the ending time domain position of the second perception window may be determined according to the first moment and the second offset, and the first offset is greater than the second offset. y , the second offset is T proc,y , the first time when the first terminal device sends PSSCH / PSCCH is time m, such as Figure 3 As shown, the starting time domain position of the second perception window can be mT y , and the end time position of the second perception window can be mT proc,y , the length of the second perception window is T y -T proc,y The value of the second offset may be greater than the preparation time of the PSSCH, and the preparation time of the PSSCH may be equal to the preparation time for sending the uplink data PUSCH, and the preparation time for sending the uplink data PUSCH may be:

[0088] T proc,SL =max((N SL +d SL )(2048+144)·κ·2 -μ ·T C ,d BWP,SL )

[0089] or

[0090] N2+N

[0091] N SL is the number of symbols related to the subcarrier spacing and UE capability, d SL Related to the number or pattern of DMRS of PSSCH, T c is the first time unit, T s is the second time unit, κ is T s With T c The ratio of μ is the subcarrier spacing, and the first time unit T c Specifically, it can refer to the basic time unit of NR, the second time unit T s Specifically, it may refer to the basic time unit of LTE. N is a constant that may be equal to zero. The value of N may be agreed upon by the protocol or configured through signaling. For example, the value of N may be indicated by RRC or DCI. N may represent a specific number of time units or a specific duration, for example, N=0.5ms.

[0092] In an embodiment of the present application, the second perception window is determined with reference to the first moment when the first terminal device sends the PSSCH / PSCCH, thereby facilitating the second terminal device to confirm the position of the second perception window.

[0093] In a first optional implementation, the first offset and / or the second offset may be determined according to the first perception window, that is, the first offset and / or the second offset may be determined according to the configuration parameters T0 and / or T proc,0 Determine. Among them, T0 and T proc,0 It can be configured by high-level parameters. By implementing the embodiment of the present application, the second perception window can be determined with the help of the configuration parameters of the first perception window, and there is no need to configure parameters specifically for the second perception window, saving signaling overhead. The following is an introduction to determining the second perception window based on the first perception window in combination with Example 1, Example 2 and Example 3.

[0094] Example 1: The first offset may be T0+C, and the second offset may be T proc,0 +C. For example, the first time when the first terminal device sends PSSCH / PSCCH is time m, then Figure 4 As shown, the starting time domain position of the second perception window may be m-T0-C, and the ending time domain position of the second perception window may be mT proc,0-C, C is a constant greater than or equal to zero. The constant C may be agreed upon by the protocol or configured through signaling, for example, it may be indicated through radio resource control (RRC) signaling or downlink control information (DCI). C may be a specific number of time units, for example, the value of C may be a time slot, or the value of C may also be a specific duration. In some optional implementations, the value of C may be 0, then the lengths of the first perception window and the second perception window are the same.

[0095] Example 2: The second offset can be T proc,0 For example, the first time when the first terminal device sends PSSCH / PSCCH is time m, then the end time domain position of the second perception window can be mT proc,0 , and the starting time domain position of the second perception window can be determined by the data priority sent by the first terminal device and / or the data priority sent by the second terminal device. For example, the higher the data priority sent by the first terminal device and / or the data priority sent by the second terminal device, the longer the length of the second perception window, and correspondingly, the larger the first offset can be. Optionally, the correspondence between various priorities and various perception window lengths can be predefined. When the data priority sent by the first terminal device and / or the data priority sent by the second terminal device is determined, the perception window length corresponding to the priority can be found from the correspondence, and the perception window length can be determined as the length of the second perception window. The first terminal device can further determine the starting time domain position of the second perception window based on the ending time domain position of the second perception window and the length of the second perception window.

[0096] Example 3: The second offset can be T proc,0 For example, the first time when the first terminal device sends PSSCH / PSCCH is time m, then the end time domain position of the second perception window can be mT proc,0 , and the starting time domain position of the second perception window can be determined by the proportional relationship between the length of the first perception window and the length of the second perception window. For example, the proportional relationship between the length of the first perception window and the length of the second perception window is P, and the P can be agreed upon by the protocol or can be configured through signaling. The first terminal device can determine the starting time domain position of the second perception window according to the length of the first perception window, the ending time domain position of the second perception window, and the proportional relationship P.

[0097] In a second optional implementation, the first offset T y and / or a second offset T proc,y It can be configured by the network device; or, the first offset T yand / or a second offset T proc,y It may be sent by the second terminal device to the first terminal device. The following describes how to determine the second perception window in combination with Example 4 and Example 5.

[0098] Example 4, T y and T proc,y It can be indicated by the network device through high-level signaling or dynamic signaling. y Can be the same as T0, T proc,y Can be used with T proc,0 Same, or T y Can be different from T0, T proc,y Can be used with T proc,0 Different, etc., the present application embodiment is not limited. It can be understood that if T y is the same as T0, T proc,y is with T proc,0 If the first perception window and the second perception window are the same, the same set of configuration parameters can be shared with the first perception window to save signaling overhead.

[0099] Example 5, T y and T proc,y It can be sent by the second terminal device to the first terminal device. y and T proc,y It can be sent by the second terminal device to the first terminal device via SCI. Specifically, T y and T proc,y It can be sent to the first terminal device through the first-level SCI or the second-level SCI. Or, T y and T proc,y The second terminal device may send the information to the first terminal device through data, or control access layer control element (MAC control element, MAC CE), or RRC signaling. y and T proc,y It can be sent by the second terminal device to the first terminal device through PSCCH or PSSCH.

[0100] It should be noted that the first optional implementation and the second optional implementation can be referenced and combined with each other. For example, the first offset can be determined by the first perception window, and the second offset can be configured by the network device or sent by the second terminal device to the first terminal device. Alternatively, the second offset can be determined by the first perception window, and the first offset can be configured by the network device or sent by the second terminal device to the first terminal device, and so on.

[0101] Optionally, the first terminal device may sense the sidelink resources contained in the time-frequency resource area within the second perception window. Specifically, the first terminal device may use the first priority and the first reference signal receiving power threshold to sense the sidelink resources within the second perception window. Among them, the first priority may be determined based on one or more priorities received from the second terminal device, and the first reference signal receiving power threshold may be determined based on a reference signal receiving power threshold or a reference signal receiving power threshold range received from the second terminal device. The following specifically describes the process of determining the first priority and the process of determining the first reference signal receiving power threshold.

[0102] The process of determining the first priority: the first terminal device can determine the first priority through one or more of the following methods: method 1, method 2 and method 3. For example, if the first priority cannot be determined through method 1, the first priority can continue to be determined through method 2 or method 3 until the first priority is determined.

[0103] Method 1: Select a priority having the same priority value as the second priority used in the first perception window from one or more priorities sent by the second terminal device.

[0104] Method 2: From among the multiple priorities sent by the second terminal device, select the priority with the highest priority as the first priority, where the highest priority is the priority with the smallest priority value.

[0105] Method three: selecting the priority with the smallest value between the second priority used by the first terminal device in the first perception window and one or more priorities sent by the second terminal device as the first priority.

[0106] It is understandable that if the second terminal device sends a priority to the first terminal device, the first terminal device may also determine the priority as the first priority, or the first terminal device may also determine the first priority in the above three ways.

[0107] Determination process of the first reference signal receiving power threshold: When determining the first reference signal receiving power threshold, you can start from the reference signal receiving power threshold M, which can be the minimum value of the reference signal receiving power threshold range sent by the second terminal device, or can be a reference signal receiving power threshold sent by the second terminal device. If the reference signal receiving power threshold M is used to sense the side link resources contained in at least one time-frequency resource area of ​​the resource pool, if the ratio between the determined number of available time-frequency resource areas and the total number of time-frequency resource areas contained in the resource pool is less than the first threshold, then the power increment Δa is added to the reference signal receiving power threshold M to obtain the reference signal receiving power threshold M+Δa; of course, if the determined number of available time-frequency resource areas is greater than or equal to the first threshold, then M is determined as the first reference signal receiving power threshold. Among them, the definition of the time-frequency resource area can refer to the description of the subsequent embodiments and will not be repeated for the time being.

[0108] When the reference signal receiving power threshold M+Δa is obtained, if the reference signal receiving power threshold M+Δa is used to sense the side link resources contained in at least one time-frequency resource area of ​​the resource pool, if the ratio between the number of available time-frequency resource areas determined and the total number of time-frequency resource areas contained in the resource pool is less than the first threshold, then the power increment Δa is increased on the basis of the reference signal receiving power threshold M+Δa to obtain the reference signal receiving power threshold M+2*Δa, and so on, until the number of available time-frequency resource areas determined is greater than or equal to the first threshold, thereby determining the corresponding M+Δa*k as the first reference signal receiving power threshold, where k is an integer greater than or equal to 0. Optionally, Δa can be 3dB. Optionally, M+Δa*k is less than or equal to the maximum value of the reference signal receiving power threshold range.

[0109] It can be understood that if the second terminal device sends a reference signal receiving power threshold to the first terminal device, the first terminal device may also determine the reference signal receiving power threshold as the first reference signal receiving power threshold instead of using the above-mentioned accumulation method to determine the first reference signal receiving power threshold, or the first terminal device may also use the above-mentioned accumulation method to determine the first reference signal receiving power threshold.

[0110] In some optional implementations, if the first terminal device uses the reference signal receiving power threshold sent by the second terminal device to sense the sidelink resource within the second perception window, even if the number of available time-frequency resource areas determined is less than the first threshold, the first terminal device may send the resource sensing result to the second terminal device; or, the first terminal device may wait for a time interval T gap,mIn this way, the complexity of the first terminal device can be reduced and reliable perception results can be provided.

[0111] Specifically and optionally, the first terminal device may use the first priority and the first reference signal receiving power threshold to sense the sidelink resource within the second perception window. The specific perception process may refer to the process of the first terminal device sensing the sidelink resource within the first perception window, which will not be described in detail here. It can be understood that if this perception method is adopted, the resource perception result within the second perception window sent by the first terminal device to the second terminal device may include the data transmission period parsed from the SCI, so that the second terminal device can select an unoccupied sidelink resource at the second terminal device.

[0112] Alternatively, the first terminal device may also use the first priority, the first reference signal receiving power threshold and the first period to sense the sidelink resource within the second perception window. The first period may be a period used by the second terminal for resource reservation or a service period of the second terminal. The first terminal device may obtain the first period in the following manner: the second terminal may send one or more resource reservation periods to the first terminal, the first terminal device may determine the first period based on the one or more resource reservation periods, the first period may be a period in multiple resource reservation periods that is the same as the second period, the second period is the period used by the first terminal device when performing resource perception within the first perception window, that is, it may be the period in which the first terminal device sends data, and the period may be included in the PSCCH sent by the first terminal device. Alternatively, the first terminal may select a resource reservation period from the multiple resource reservation periods as the first period. Optionally, the first terminal device may send the first period to the second terminal so that the second terminal device may know the period used by the first terminal device when performing resource perception within the second perception window.

[0113] Specifically, optionally, the process in which the first terminal device uses the first priority, the first reference signal received power threshold and the first period to perceive the sidelink resource in the second perception window may be: the first terminal device may measure the reference signal received power of the sidelink resource, and the first terminal device may parse the SCI carried on the sidelink resource, and the SCI may include the priority of the data carried on the sidelink resource and the transmission period of the data. Further, the terminal device may also compare the measured reference signal received power with the first reference signal received power threshold to obtain a reference signal received power comparison result; and calculate the priority included in the SCI with the first priority, and compare the priority calculation result with the priority threshold to obtain a priority comparison result; and compare the transmission period of the data obtained by parsing in the SCI with the first period to determine whether there is an intersection; further, the first terminal device may obtain the resource perception result in the second perception window according to the reference signal received power comparison result, the priority comparison result and the period comparison result. Optionally, the resource perception result may include occupied sidelink resources and / or unoccupied sidelink resources. For example, if the measured reference signal received power is less than the first reference signal received power threshold, and the priority operation result and the priority threshold meet specific conditions, and the resources determined according to the transmission period of the data parsed from the SCI do not overlap with the resources determined according to the first period, the corresponding sidelink resources are determined as unoccupied sidelink resources within the second perception window, otherwise they are occupied sidelink resources. It should be noted that the resources determined according to the transmission period of the data parsed from the SCI do not overlap with the resources determined according to the first period means that there is no overlap within the current second perception window and in the future.

[0114] It is understandable that the first terminal device can send the first reference signal receiving power threshold and / or the first priority, and the first period to the second terminal device, so that the second terminal device can know the reference signal receiving power threshold, priority and period used by the first terminal device when performing resource perception in the second perception window. Optionally, the first reference signal receiving power threshold and / or the first priority, and the first period can be sent to the second terminal device together with the resource perception result in the second perception window.

[0115] Exemplarily, the sidelink resources sensed by the first terminal device within the second perception window may be located in one or more resource pools, and the sidelink resources contained in the resource pool may be divided into at least one time-frequency resource region. For example, a time-frequency resource region may be configured at a granularity of X time slots and Y subchannels, that is, a time-frequency resource region may be composed of X time slots and Y subchannels; the value of X is greater than or equal to 1 and less than or equal to the total number of time slots in the resource pool; the value of Y is greater than or equal to 1 and less than or equal to the total number of subchannels in the resource pool. Optionally, the specific values ​​of X and Y may be configured by the base station through high-level signaling, or determined by the first terminal device according to the size of resources that need to be sensed, and the size of resources that need to be sensed may be sent by the second terminal device to the first terminal device. Optionally, the size of a time-frequency resource region may be the size of resources that need to be sensed or may be an integer multiple of the size of resources that need to be sensed. Figure 5 and Figure 6 As shown, taking X=2 and Y=2 as an example, a time-frequency resource region can be composed of 2 sub-channels and 2 time slots.

[0116] In a possible implementation, when the first terminal device senses the sidelink resources in the time-frequency resource region, it may sense the resources at a granularity of a time-frequency resource unit, where the size of the time-frequency resource unit is smaller than the size of the time-frequency resource region. Figure 5 and Figure 6 As shown, a time-frequency resource unit may be composed of a subchannel and a time slot, a time-frequency resource area may be composed of 2 time slots and 2 subchannels, and a time-frequency resource area may include four time-frequency resource units. The first terminal device may use the first reference signal receiving power threshold and the first priority to sense the side link resources in the time-frequency resource units contained in the time-frequency resource area within the second perception window. If the ratio between the number of occupied time-frequency resource units in a time-frequency resource area and the total number of time-frequency resource units contained in a time-frequency resource area is greater than or equal to the second threshold, the time-frequency resource area is determined to be occupied; if the ratio between the number of occupied time-frequency resource units in a time-frequency resource area and the total number of time-frequency resource units contained in a time-frequency resource area is less than the second threshold, the time-frequency resource area is determined to be unoccupied.

[0117] In another possible implementation, when the first terminal device senses the sidelink resources in the time-frequency resource area, it can calculate the average value of the reference signal received power of the sidelink resources in the time-frequency resource area, and the highest priority of the priority of the data carried on the sidelink resources in the time-frequency resource area, that is, the minimum priority value, and determine whether the time-frequency resource area is occupied based on the average value of the reference signal received power and the highest priority.

[0118] Further optionally, the first terminal device may send the resource perception result within the second perception window to the second terminal device. Optionally, the resource perception result within the second perception window may be included in the PSSCH / PSCCH sent by the first terminal device at the first moment. Exemplarily, the resource perception result within the second perception window may be carried in the PSSCH as data information or MAC CE.

[0119] The resource sensing result information in the second sensing window may include resource occupation information and / or resource non-occupied information, etc. The resource occupation information and resource non-occupied information are introduced below respectively:

[0120] The resource occupancy information may include an identifier of an unavailable time-frequency resource region in at least one time-frequency resource region.

[0121] The above-mentioned resource unoccupied information may include an identifier of an available time-frequency resource area in at least one time-frequency resource area.

[0122] Optionally, the first terminal device may be pre-set to send resource occupied information or resource unoccupied information, or the first terminal device may also determine to send resource occupied information or resource unoccupied information based on a comparison between the number of unavailable time-frequency resource regions and the number of available time-frequency resource regions.

[0123] Exemplarily, if the number of unavailable time-frequency resource areas in the at least one time-frequency resource area of ​​the resource pool is less than the number of available time-frequency resources, the first terminal device may send resource occupancy information. Figure 6 As shown, the side link resources of the time-frequency resource areas 6, 8, 10, and 12 are occupied, and the first terminal reports and sends the identifiers of the time-frequency resource areas 6, 8, 10, and 12 to the second terminal device.

[0124] Exemplarily, if the number of available time-frequency resource areas in the at least one time-frequency resource area of ​​the resource pool is less than the number of unavailable time-frequency resources, the first terminal device may send resource unoccupied information. Figure 5 As shown, the side link resources of the time-frequency resource areas 3, 5, 7, and 9 are not occupied, and the first terminal reports and sends the identifiers of the time-frequency resource areas 3, 5, 7, and 9 to the second terminal device.

[0125] It should be noted that if the first terminal device determines to send resource occupation information or resource non-occupied information based on the comparison between the number of unavailable time-frequency resource areas and the number of available time-frequency resources, the resource perception result may include indication information, and the indication information is used to indicate that the first terminal device sends resource occupation information or resource non-occupied information. For example, the indication information can be represented by the bit value of 1 bit in the SCI, or the indication information can be represented by the bit value of the first bit in the resource perception result.

[0126] The resource occupation information and resource non-occupied information may be represented by a bit map, and the bit map may include at least one bit, one bit corresponding to one time-frequency resource region in the at least one time-frequency resource region, and the value of the bit is used to indicate whether the time-frequency resource region corresponding to the bit is available. If the time-frequency resource region is occupied, the bit of the corresponding bit is set to 1, otherwise it is set to 0.

[0127] S103, the second terminal device receives a resource perception result within a second perception window from the first terminal device at a first moment.

[0128] Optionally, S104 and S105 may also be included:

[0129] S104, the second terminal device determines a third candidate resource set for side transmission in the second selection window, and the second terminal device determines a fourth candidate resource set based on the resource perception result in the second perception window, and the fourth candidate resource set is the full set or a subset of the third candidate resource set.

[0130] S105, the second terminal device determines the side link resources for sending data according to the fourth candidate resource set.

[0131] In one embodiment, the second terminal device determines a third candidate resource set for side transmission in a second selection window, wherein the manner in which the second terminal device determines the third candidate resource set can refer to the manner in which the first terminal device determines the first candidate resource set, which will not be repeated here.

[0132] The second terminal device can determine a fourth candidate resource set based on the resource perception result within the second perception window, and the fourth candidate resource set can be the full set or a subset of the third candidate resource set. The side link resources in the fourth candidate resource set can be resources that are determined to be unoccupied. For example, the second terminal device can exclude side link resources that may be occupied from the third candidate resource set based on the resource perception result within the second perception window, and refer to the set consisting of the remaining side link resources in the third candidate resource set as the fourth candidate resource set. The second terminal device can further select a suitable side link resource from the fourth candidate resource set to send PSSCH / PSCCH.

[0133] In some optional implementation scenarios, the second terminal device may also sense the sidelink resources within a third perception window, and the third perception window may be the same as or different from the second perception window; and / or, other terminal devices (excluding the second terminal device and the first terminal device) may also sense the sidelink resources within a fourth perception window, and the fourth perception window may be determined according to the time when the other terminal device sends data, and specifically, reference may be made to the determination method of the second perception window. Further, the second terminal device may determine a fourth candidate resource set based on the resource perception results within the second perception window; and / or; the resource perception results within the third perception window; and / or, the resource perception results within the fourth perception window. The second terminal device selects the sidelink resources for sending data based on the perception results of the sidelink resources by each terminal device, which can improve the accuracy of resource perception and reduce the probability of collision.

[0134] Above, combined Figures 2 to 6 The method provided by the embodiment of the present application is described in detail. Figures 7 to 9 The device provided in the embodiments of the present application is described in detail.

[0135] It is understandable that, in order to implement the functions in the above embodiments, the first terminal device and the second terminal device include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware, software, or a combination of hardware and software. Whether a function is executed in the form of hardware, software, or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0136] Figure 7 is a schematic block diagram of a communication device provided in an embodiment of the present application. Figure 7 As shown, the communication device 900 may include a processing unit 910 and a transceiver unit 920. The processing unit 910 and the transceiver unit 920 may be software, hardware, or a combination of software and hardware.

[0137] The transceiver unit 920 may include a sending unit and a receiving unit. The sending unit is used to implement a sending function, and the receiving unit is used to implement a receiving function. The transceiver unit 920 may implement a sending function and / or a receiving function. The transceiver unit may also be described as a communication unit.

[0138] Optionally, the transceiver unit 920 may be used to receive information sent by other devices, and may also be used to send information to other devices. The processing unit 910 may be used to perform internal processing of the device.

[0139] In a possible design, the communication device 900 may correspond to the first terminal device in the above method embodiment, such as the communication device 900 may be the first terminal device, or may be a chip in the first terminal device. The communication device 900 may include a unit for executing the operations performed by the first terminal device in the above method embodiment, and each unit in the communication device 900 is respectively for implementing the operations performed by the first terminal device in the above method embodiment.

[0140] Exemplarily, the processing unit 910 is configured to determine a first candidate resource set for sidelink transmission in a first selection window; and determine a second candidate resource set according to a resource sensing result in the first sensing window, wherein the second candidate resource set is a full set or a subset of the first candidate resource set;

[0141] The processing unit 910 is further configured to sense the sidelink resource within the second sensing window;

[0142] The transceiver unit 920 is used to send the resource perception result within the second perception window to the second terminal device at a first moment, and the first moment is determined according to the second candidate resource set.

[0143] Optionally, the starting time domain position of the second perception window is determined based on the first moment and a first offset, and the ending time domain position of the second perception window is determined based on the first moment and the second offset, and the first offset is greater than the second offset.

[0144] Optionally, the first offset and / or the second offset is determined based on the first perception window.

[0145] Optionally, the first offset is T0+C, and the second offset is T proc,0 +C;

[0146] Wherein, T0 is the offset of the starting time domain position of the first perception window relative to the second moment, and T proc,0is the offset of the end domain position of the first perception window relative to the second moment, and the second moment is the moment when the first terminal device triggers resource selection; C is a constant greater than or equal to zero.

[0147] Optionally, the second offset is T proc,0 , the T proc,0 is an offset of the end domain position of the first perception window relative to a second moment, where the second moment is a moment when the first terminal device triggers resource selection;

[0148] The first offset is determined by a proportional relationship between the length of the first perception window and the length of the second perception window; or, the first offset is determined by a data priority sent by the first terminal device and / or a data priority sent by the second terminal device.

[0149] Optionally, the first offset and / or the second offset is configured by a network device; or, the first offset and / or the second offset is sent by the second terminal device to the first terminal device.

[0150] Optionally, the sidelink resources are located in one or more resource pools, and the sidelink resources contained in the resource pools are divided into at least one time-frequency resource region, and one time-frequency resource region is composed of one or more time slots and one or more sub-channels;

[0151] The resource sensing result includes resource occupation information and / or resource non-occupied information;

[0152] The resource occupancy information includes an identifier of an unavailable time-frequency resource area in the at least one time-frequency resource area;

[0153] The resource unoccupied information includes an identifier of an available time-frequency resource region in the at least one time-frequency resource region.

[0154] Optionally, the resource occupation information and the resource unoccupied information are represented using a bit map, and the bit map includes at least one bit, one bit corresponds to one time-frequency resource area in the at least one time-frequency resource area, and the value of the bit is used to indicate whether the time-frequency resource area corresponding to the bit is available.

[0155] Optionally, the transceiver unit 920 is further configured to receive one or more priorities from the second terminal device;

[0156] The processing unit 910 is further configured to determine a first priority according to the one or more priorities;

[0157] The transceiver unit 920 is further configured to receive a reference signal received power threshold or a reference signal received power threshold range from the second terminal device;

[0158] The processing unit 910 is further configured to determine a first reference signal received power threshold according to the one reference signal received power threshold or the reference signal received power threshold range;

[0159] The processing unit 910 is further configured to sense the sidelink resources within the second sensing window using the first priority and the first reference signal receiving power threshold.

[0160] Optionally, the first priority is a priority whose value among the one or more priorities is the same as the value of the second priority; or,

[0161] The first priority is a priority with the smallest value among the multiple priorities; or

[0162] The first priority is the priority with the smallest value among the second priority and the one or more priorities;

[0163] The second priority is used by the first terminal device to perform resource perception within the first perception window.

[0164] Optionally, the first reference signal received power threshold is M+Δa*k; the first reference signal received power threshold meets the target condition;

[0165] The target conditions include:

[0166] The ratio between the number of available time-frequency resource areas sensed in the second perception window using the second reference signal received power threshold and the total number of the at least one time-frequency resource areas is less than the first threshold, and the ratio between the number of available time-frequency resource areas sensed in the second perception window using the first reference signal received power threshold and the total number of the at least one time-frequency resource areas is greater than or equal to the first threshold, and the second reference signal received power threshold is M+Δa*(k-1);

[0167] Among them, M is the reference signal receiving power threshold or the minimum value of the reference signal receiving power threshold range, Δa is the power increment, k is an integer greater than or equal to 0, and the first reference signal receiving power threshold M+Δa*k is within the reference signal receiving power threshold range.

[0168] Optionally, the transceiver unit 920 is further used to send the first priority and / or the first reference signal receiving power threshold to the second terminal device.

[0169] In a possible design, the communication device 900 may correspond to the second terminal device, or may be a chip in the second terminal device. Optionally, the communication device 900 may be the second terminal device or a chip in the second terminal device. The communication device 900 may include a unit for performing the operations performed by the second terminal device in the above method embodiment, and each unit in the communication device 900 is respectively for implementing the operations performed by the second terminal device in the above method embodiment.

[0170] The transceiver unit 920 is configured to receive, at a first moment, a resource perception result within a second perception window from a first terminal device, where the first moment is determined based on a second candidate resource set, where the second candidate resource set is determined by the first terminal device based on the resource perception result within the first perception window, and the second candidate resource set is a full set or a subset of the first candidate resource set, where the first candidate resource set is a resource set for sideline transmission determined by the first terminal device in a first selection window;

[0171] The processing unit 910 is configured to determine a third candidate resource set for sidelink transmission in a second selection window, and determine a fourth candidate resource set according to the resource sensing result in the second sensing window, wherein the fourth candidate resource set is a full set or a subset of the third candidate resource set;

[0172] The processing unit 910 is further configured to determine a side link resource for sending data according to the fourth candidate resource set.

[0173] Optionally, the starting time domain position of the second perception window is determined based on the first moment and a first offset, and the ending time domain position of the second perception window is determined based on the first moment and the second offset, and the first offset is greater than the second offset.

[0174] It should be understood that when the communication device 900 is a chip configured in the first terminal device or the second terminal device, the transceiver unit 920 in the communication device 900 may be an input / output interface.

[0175] It should be understood that when the communication device 900 is a first terminal device or a second terminal device, the transceiver unit 920 in the communication device 900 may correspond to Figure 8 The communication interface 1010 shown in FIG. 1 may correspond to the processing unit 910 Figure 8 The processor 1020 is shown in FIG.

[0176] Please refer to Figure 8 , is a schematic structural diagram of a communication device according to an embodiment of the present application. It should be understood that Figure 8The communication device 1000 shown is only an example. The communication device of the embodiment of the present application may also include other modules or units, or include Figure 8 modules that have similar functions to the modules in the Figure 8 All modules in .

[0177] The communication device 1000 includes a communication interface 1010 and at least one processor 1020 .

[0178] The communication device 1000 may correspond to a first terminal device or a second terminal device. At least one processor 1020 executes program instructions so that the communication device 1000 implements the corresponding process of the method executed by the corresponding terminal device in the above method embodiment.

[0179] In one possible design, the communication device 1000 may correspond to the first terminal device in the above method embodiment, such as the communication device 100 may be the first terminal device, or may be a chip in the first terminal device. The communication device 1000 may include components for performing the operations performed by the first terminal device in the above method embodiment.

[0180] Exemplarily, the processor 1020 is configured to determine a first candidate resource set for sidelink transmission in a first selection window; and determine a second candidate resource set according to a resource sensing result in the first sensing window, wherein the second candidate resource set is a full set or a subset of the first candidate resource set;

[0181] The processor 1020 is further configured to sense the sidelink resource within the second sensing window;

[0182] The communication interface 1010 is used to send the resource perception result within the second perception window to the second terminal device at a first moment, and the first moment is determined according to the second candidate resource set.

[0183] In a possible design, the communication device 1000 may correspond to a second terminal device, or may be a chip in the second terminal device. The communication device 1000 may include components for performing the operations performed by the second terminal device in the above method embodiment, and each component in the communication device 1000 is respectively for implementing the operations performed by the second terminal device in the above method embodiment.

[0184] The communication interface 1010 is used to receive a resource perception result within a second perception window from a first terminal device at a first moment, where the first moment is determined according to a second candidate resource set, where the second candidate resource set is determined by the first terminal device according to the resource perception result within the first perception window, and the second candidate resource set is a full set or a subset of the first candidate resource set, where the first candidate resource set is a resource set for sideline transmission determined by the first terminal device in a first selection window;

[0185] The processor 1020 is configured to determine a third candidate resource set for sidelink transmission in a second selection window, and determine a fourth candidate resource set according to a resource sensing result in the second sensing window, wherein the fourth candidate resource set is a full set or a subset of the third candidate resource set;

[0186] The processor 1020 is further configured to determine a side link resource for sending data according to the fourth candidate resource set.

[0187] Optionally, the communication device 1000 may further include a memory. The memory may store program instructions, and the at least one processor 1020 may read the program instructions stored in the memory and execute the program instructions.

[0188] For the case where the communication device may be a chip or a chip system, see Fig. 9 Schematic diagram of the chip structure shown. Fig. 9 The chip 2000 shown includes a processor 2001 and an interface 2002. The number of the processors 2001 may be one or more, and the number of the interfaces 2002 may be multiple. It should be noted that the functions corresponding to the processor 2001 and the interface 2002 may be implemented by hardware design, software design, or a combination of hardware and software, which is not limited here.

[0189] In one possible design, for the case where the chip is used to implement the function of the first terminal device in the embodiment of the present application: the processor 2001 is used to determine a first candidate resource set for sidelink transmission in a first selection window; and, determine a second candidate resource set based on the resource perception result within the first perception window, the second candidate resource set being the full set or a subset of the first candidate resource set; the processor 2001 is also used to sense the sidelink resources within the second perception window; the interface 2002 is used to send the resource perception result within the second perception window to the second terminal device at a first moment, and the first moment is determined based on the second candidate resource set.

[0190] For the case where the chip is used to implement the function of the second terminal device in the embodiment of the present application: the interface 2002 is used to receive the resource perception result within the second perception window from the first terminal device at a first moment, the first moment is determined based on the second candidate resource set, the second candidate resource set is determined by the first terminal device based on the resource perception result within the first perception window, and the second candidate resource set is the full set or a subset of the first candidate resource set, the first candidate resource set is the resource set for side transmission determined by the first terminal device in the first selection window; the processor 2001 is used to determine the third candidate resource set for side transmission in the second selection window, and, determine the fourth candidate resource set based on the resource perception result within the second perception window, the fourth candidate resource set is the full set or a subset of the third candidate resource set; and determine the side link resources for sending data based on the fourth candidate resource set.

[0191] Optionally, the chip further includes a memory 2003, and the memory 2003 is used to store necessary program instructions and data.

[0192] The processor in the embodiment of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0193] According to the method provided in the embodiments of the present application, the present application also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes the method on the first terminal device side or the second terminal device side in any of the aforementioned method embodiments.

[0194] In another embodiment of the present application, a communication system is further provided, the communication system comprising a first terminal device and a second terminal device. Figure 2 The first terminal device and the second terminal device provided in the embodiment are used to execute Figure 2 The steps performed by the corresponding network elements in the embodiment.

[0195] An embodiment of the present application also provides a processing device, including a processor and an interface; the processor is used to execute the method in any of the above method embodiments.

[0196] It should be understood that the above-mentioned processing device can be a chip. For example, the processing device can be a field programmable gate array (FPGA), a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor are combined to be executed. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0197] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can 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 can 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 SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

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

[0199] The first terminal device and the second terminal device in each of the above-mentioned apparatus embodiments completely correspond to the first terminal device and the second terminal device in the method embodiment, and the corresponding modules or units perform the corresponding steps. For example, the communication unit (transceiver) performs the steps of receiving or sending in the method embodiment, and other steps except sending and receiving can be performed by the processing unit (processor). The functions of the specific units can refer to the corresponding method embodiments. Among them, the processor can be one or more.

[0200] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process or an execution thread, and a component may be located on a computer or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may communicate, for example, through local or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).

[0201] It should be understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.

[0202] It should be understood that in the embodiments of the present application, the numbers "first", "second"... are only for distinguishing different objects, such as distinguishing different network devices, and do not constitute a limitation on the scope of the embodiments of the present application. The embodiments of the present application are not limited to this.

[0203] It should also be understood that in the present application, "when", "if" and "if" all mean that the network element will take corresponding actions under certain objective circumstances, and do not limit the time, nor do they require the network element to have a judgment action when implementing it, nor do they mean that there are other limitations.

[0204] It should also be understood that in each embodiment of the present application, "A corresponds to B" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0205] It should also be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0206] The meaning of expressions similar to "the project includes one or more of the following: A, B, and C" in this application, unless otherwise specified, generally means that the project can be any of the following: A; B; C; A and B; A and C; B and C; A, B and C; A and A; A, A and A; A, A and B; A, A and C, A, B and B; A, C and C; B and B, B, B and B, B, B and C, C and C; C, C and C, and other combinations of A, B and C. The above is an example of three elements, A, B and C, to illustrate the optional items of the project. When it is expressed as "the project includes at least one of the following: A, B, ..., and X", that is, when there are more elements in the expression, the items that can be applied to the project can also be obtained according to the above rules.

[0207] It is understandable that in the embodiment of the present application, the first terminal device and the second terminal device can perform some or all of the steps in the embodiment of the present application, and these steps or operations are only examples. The embodiment of the present application can also perform other operations or variations of various operations. In addition, the various steps can be performed in different orders presented in the embodiment of the present application, and it is possible that not all operations in the embodiment of the present application need to be performed.

[0208] Those of ordinary skill 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 to be beyond the scope of this application.

[0209] Those skilled in the art can 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.

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

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

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

[0213] 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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories ROM, random access memories RAM, magnetic disks or optical disks.

[0214] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A resource perception method, characterized in that: include: The first terminal device determines a first candidate resource set for sidelink transmission in a first selection window, and the first terminal device determines a second candidate resource set according to a resource perception result in the first perception window, where the second candidate resource set is a full set or a subset of the first candidate resource set; The first terminal device senses the sidelink resource within a second perception window, and sends a resource perception result within the second perception window to the second terminal device at a first moment, where the first moment is determined according to the second candidate resource set; The starting time domain position of the second perception window is determined according to the first moment and the first offset, and the ending time domain position of the second perception window is determined according to the first moment and the second offset, and the first offset is greater than the second offset; The second offset is T proc,0 , the T proc,0 is an offset of the end domain position of the first perception window relative to a second moment, where the second moment is a moment when the first terminal device triggers resource selection; The first offset is determined by a proportional relationship between the length of the first perception window and the length of the second perception window; or, the first offset is determined by a data priority sent by the first terminal device and / or a data priority sent by the second terminal device.

2. The method according to claim 1, characterized in that The first offset and / or the second offset is determined according to the first perception window.

3. The method according to claim 1, characterized in that The sidelink resources are located in one or more resource pools, the sidelink resources contained in the resource pools are divided into at least one time-frequency resource region, and one time-frequency resource region is composed of one or more time slots and one or more sub-channels; The resource sensing result includes resource occupation information and / or resource non-occupied information; The resource occupancy information includes an identifier of an unavailable time-frequency resource area in the at least one time-frequency resource area; The resource unoccupied information includes an identifier of an available time-frequency resource region in the at least one time-frequency resource region.

4. The method according to claim 3, characterized in that The resource occupation information and the resource unoccupied information are represented by a bit map, and the bit map includes at least one bit, one bit corresponds to one time-frequency resource area in the at least one time-frequency resource area, and the value of the bit is used to indicate whether the time-frequency resource area corresponding to the bit is available.

5. The method according to claim 3 or 4, characterized in that The method further comprises: The first terminal device receives one or more priorities from the second terminal device; The first terminal device determines a first priority according to the one or more priorities; The first terminal device receives a reference signal reception power threshold or a reference signal reception power threshold range from the second terminal device; The first terminal device determines a first reference signal received power threshold according to the one reference signal received power threshold or the reference signal received power threshold range; The first terminal device senses the sidelink resource within the second sensing window, including: The first terminal device senses the sidelink resources within the second perception window using the first priority and the first reference signal receiving power threshold.

6. The method according to claim 5, characterized in that The first priority is a priority whose value among the one or more priorities is the same as the value of the second priority; or The first priority is a priority with the smallest priority value among the multiple priorities; or, The first priority is the priority with the smallest value among the second priority and the one or more priorities; The second priority is used by the first terminal device to perform resource perception within the first perception window.

7. The method according to claim 5, characterized in that The first reference signal received power threshold is M+Δa*k; the first reference signal received power threshold meets the target condition; The target condition includes: a ratio between the number of available time-frequency resource areas sensed in the second perception window using the second reference signal received power threshold and the total number of the at least one time-frequency resource area is less than a first threshold, and a ratio between the number of available time-frequency resource areas sensed in the second perception window using the first reference signal received power threshold and the total number of the at least one time-frequency resource area is greater than or equal to the first threshold, and the second reference signal received power threshold is M+Δa*(k-1); Among them, M is the reference signal receiving power threshold or the minimum value of the reference signal receiving power threshold range, Δa is the power increment, k is an integer greater than or equal to 0, and the first reference signal receiving power threshold M+Δa*k is within the reference signal receiving power threshold range.

8. The method according to claim 5, characterized in that The method further comprises: The first terminal device sends the first priority and / or the first reference signal receiving power threshold to the second terminal device.

9. A resource perception method, characterized in that: include: The second terminal device receives a resource perception result within a second perception window from the first terminal device at a first moment, the first moment is determined according to a second candidate resource set, the second candidate resource set is determined by the first terminal device according to the resource perception result within the first perception window, and the second candidate resource set is the full set or a subset of the first candidate resource set, and the first candidate resource set is a resource set for side transmission determined by the first terminal device in the first selection window; The second terminal device determines a third candidate resource set for sidelink transmission in a second selection window, and the second terminal device determines a fourth candidate resource set according to a resource sensing result in the second sensing window, where the fourth candidate resource set is a full set or a subset of the third candidate resource set; The second terminal device determines a side link resource for sending data according to the fourth candidate resource set; The starting time domain position of the second perception window is determined according to the first moment and the first offset, and the ending time domain position of the second perception window is determined according to the first moment and the second offset, and the first offset is greater than the second offset; The second offset is T proc,0 , the T proc,0 is an offset of the end domain position of the first perception window relative to a second moment, where the second moment is a moment when the first terminal device triggers resource selection; The first offset is determined by a proportional relationship between the length of the first perception window and the length of the second perception window; or, the first offset is determined by a data priority sent by the first terminal device and / or a data priority sent by the second terminal device.

10. A communication device comprising a module for executing the method as claimed in any one of claims 1 to 8 or 9.

11. A communication device, characterized in that: The method comprises a processor and a memory, wherein the processor and the memory are coupled, and the processor is configured to implement the method according to any one of claims 1 to 8 or 9.

12. A communication device, characterized in that: The invention comprises a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor or send signals from the processor to other communication devices outside the communication device, and the processor is used to implement the method as described in any one of claims 1 to 8 or 9 through a logic circuit or executing code instructions.

13. A computer-readable storage medium, characterized in that: The storage medium stores a computer program or instruction, and when the computer program or instruction is executed by the communication device, the method according to any one of claims 1 to 8 or 9 is implemented.