A communication method and apparatus

By prioritizing the selection of high-priority reception time slots for listening in the new wireless NR-V2X system and excluding candidate time slots based on configuration information, the problem of increased power consumption of terminal devices in resource selection mode 2 is solved, achieving higher energy-saving effect.

CN115604791BActive Publication Date: 2026-05-29HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2021-06-28
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

In the new wireless NR-V2X system, when the terminal device performs partial listening in resource selection mode 2, there is a problem of increased power consumption due to unnecessary resource listening.

Method used

By determining the receive time slots and data packet transmission period within the listening time window, high-priority receive time slots are selected for listening first, and candidate time slots are excluded based on configuration information, thereby reducing additional listening time slots.

Benefits of technology

It improves the energy efficiency of terminal devices, reduces unnecessary resource snooping, and lowers power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604791B_ABST
    Figure CN115604791B_ABST
Patent Text Reader

Abstract

The application provides a communication method and device, which is suitable for V2X, Internet of Vehicles, intelligent driving, auxiliary driving, networked vehicle and the like. The method comprises the following steps: determining N receiving time slots in a listening time window and determining a first set according to the N receiving time slots and a data packet sending period, resources on the N receiving time slots are used for receiving data, and the first set comprises at least one time slot in a resource selection window; selecting T time slots in the resource selection window according to priorities of time slots in the first set and priorities of time slots in a second set, resources on the T time slots are used as candidate resources for sending data, the second set is a complement of the first set in the resource selection window, the priorities of the time slots in the first set are higher than the priorities of the time slots in the second set, and N and T are integers greater than 0. Through the above method, the terminal device can listen to the time slots that need to receive data, thereby reducing the additional listening time slots and improving the energy saving efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a communication method and apparatus. Background Technology

[0002] In New Radio (NR) – Vehicle to Everything (V2X) systems, there are two transmission modes for sidelink resource allocation: Mode-1, where resources are allocated to network devices, and Mode-2, where users select resources themselves. In Mode-2, the transmitting terminal device listens for resources within a resource listening window and then selects resources for communication within a resource selection window based on the listening results. Currently, a common resource selection method involves the transmitting terminal device continuously listening to all time slots belonging to the sidelink resource pool within the listening window, excluding those used for data transmission, and then excluding resources based on the listening results. This can result in significant computational overhead and is detrimental to power efficiency. To reduce power consumption, a resource selection method based on partial sensing is defined in the Long Term Evolution (LTE)-V2X system. Under this method, the transmitting terminal only needs to listen to a subset of subframes within the listening time window and exclude corresponding resources based on the listening results. Because fewer resources are listened to, this helps reduce the power consumption of the transmitting terminal.

[0003] In the resource selection method based on partial sensing, the transmitting terminal device determines Y subframes within the resource selection window. If it is necessary to select subframe t from the Y subframes... y To send data, the sending terminal device needs to monitor the subframes within the listening time window. Listen to determine subframe t y Is it available? Where k is determined by higher-level parameters, P... step It is related to the frame structure of LTE.

[0004] When terminal devices have energy-saving needs, unnecessary eavesdropping should be minimized as much as possible. However, the current resource selection method based on partial eavesdropping in terminal devices is implemented by themselves, which may lead to unnecessary eavesdropping and thus impair energy-saving effects. Summary of the Invention

[0005] This application provides a communication method and apparatus for improving the energy-saving effect of terminal equipment.

[0006] Firstly, this application provides a communication method, the execution subject of which can be a terminal device, a chip, or a circuit. The method includes: determining N receiving time slots within a listening time window and determining a first set based on the N receiving time slots and a data packet transmission period, wherein resources on the N receiving time slots are used for receiving data, and N is an integer greater than 0; the first set includes at least one time slot within a resource selection window. T time slots are selected in the resource selection window according to the priority of time slots in the first set and the priority of time slots in the second set, and the resources on the T time slots are used as candidate resources, which can be used for transmitting data. The second set is the complement of the first set within the resource selection window, and the priority of time slots in the first set is higher than the priority of time slots in the second set; T is an integer greater than 0.

[0007] In this embodiment of the application, the terminal device can determine the time slot t where the candidate resources being monitored are located based on the data reception time. y This allows terminal devices to listen during data reception, thereby reducing additional listening time slots and improving energy efficiency.

[0008] In one possible design, the time slot t in the first set y With at least one of the N receive time slots t m Satisfy: y = m + k × P reserve,j y represents time slot t y The time slot index, m is the receive time slot t m The time slot index, k is an integer greater than 0, P reserve,j The data packet transmission period is defined as follows. In the above design, by prioritizing the selection of candidate time slots that include the receive time slot within the corresponding listening time slot, the number of additional listening time slots can be reduced.

[0009] In one possible design, when selecting T time slots in the resource selection window according to the priority of time slots in the first set and the priority of time slots in the second set, selection can be prioritized from the first set. When the number of time slots in the first set is less than T, time slots are then selected from the second set. In the above design, by prioritizing the selection of time slots in the first set as candidate time slots, the receiving time slots can be used for eavesdropping more efficiently, thereby reducing the number of additional eavesdropping time slots.

[0010] In one possible design, the first set includes m1 time slots, where m1 is an integer greater than or equal to 0. T time slots are selected from the resource selection window according to the priority of time slots in the first set and the priority of time slots in the second set. This includes: if m1 is greater than or equal to T, then T time slots are selected from the first set; or, if m1 is less than T, then the m1 time slots included in the first set are selected, and m2 time slots are selected from the second set, where m1 + m2 = T. This design prioritizes selection from the first set, allowing for preferential use of the receiving time slots for eavesdropping, thereby reducing the need for additional eavesdropping time slots.

[0011] In one possible design, the priorities of time slots in the first set can be different. The priority of a time slot in the first set can be related to the number of receiving time slots corresponding to that time slot. For example, the priority of a time slot in the first set can be positively correlated with the number of receiving time slots corresponding to that time slot. Furthermore, the receiving time slot corresponding to the h-th time slot in the first set satisfies the following relationship with the h-th time slot: y = m + k × P reserve,j Where y is the slot index of the h-th slot, m is the slot index of the receiving slot corresponding to the h-th slot, k is a positive integer, and P reserve,j This refers to the data packet sending cycle.

[0012] In one possible design, if m1 is greater than or equal to T, the T time slots are the first T time slots of the m1 time slots included in the first set, sorted from highest to lowest priority. In the above method, time slots with a larger number of corresponding receive time slots are preferentially selected in the resource selection window, thus utilizing more receive time slots for listening. This reduces the need for additional listening time slots, thereby improving energy efficiency.

[0013] In one possible design, k is at least one value in the set {1, 2, ..., K}, where K is the maximum multiple of the period interval for resource pool configuration.

[0014] In one possible design, determining the N receive time slots within the listening time window includes: determining the N receive time slots based on discontinuous reception (DRX) configuration and / or time slot scheduling parameters. This method allows the determination of the time slot locations (i.e., the locations of the receive time slots) where the terminal device needs to receive data.

[0015] In one possible design, the N receive time slots comprise the intersection of the receive time slots determined according to the DRX configuration and / or time slot scheduling parameters and the listening time window. This method allows the determination of the receive time slots within the listening time window where data needs to be received, thus enabling the use of these receive time slots for listening.

[0016] Secondly, this application provides a communication method, the execution subject of which can be a terminal device, a chip, or a circuit. The method includes: selecting Y candidate time slots in a resource selection window, and determining whether to include candidate time slots t based on configuration information. y Exclude from the candidate time slot set (or determine whether to include candidate time slot t) y Any candidate resource R on x,y (Excluding from the candidate resource set), wherein the configuration information is used to determine the location of the receiving time slot, and the resources on the receiving time slot are used to receive data. In this embodiment of the application, when the terminal device performs eavesdropping (such as full eavesdropping or partial eavesdropping), it can preferentially select the time slot that needs to be received for eavesdropping, thereby reducing additional eavesdropping time slots and improving energy efficiency.

[0017] In one possible design, the configuration information may include at least one of the following: discontinuous reception (DRX) configuration and time slot scheduling parameters.

[0018] In one possible design, the decision on whether to include candidate time slot t is based on configuration information. y Exclude from the candidate time slot set (or determine whether to include candidate time slot t) y Any candidate resource R on x,y When excluding from the candidate resource set, the receiving time slots within the listening time window can be determined based on the configuration information, and the position of the receiving time slots can be compared with t. y The relationship between the positions of the corresponding listening time slots determines whether to include the candidate time slot t. y Exclude from the candidate time slot set (or determine whether to include candidate time slot t) y Any candidate resource R on x,y Excluded from the candidate resource set).

[0019] In one possible design, based on the position of the receiving time slot and t y The relationship between the positions of the corresponding listening time slots determines whether to include the candidate time slot t. y Exclude from the candidate time slot set (or determine whether to include candidate time slot t) y Any candidate resource R on x,y When excluding from the candidate resource set, if t y If the corresponding listening time slot meets the first condition, then the possibility of t cannot be ruled out. y Or t y Any candidate resource R on x,y If t y If the corresponding listening slot does not meet the first condition, then that slot is excluded from the candidate slot set. y Alternatively, exclude t from the candidate resource set. y Any candidate resource R onx,y The first condition is related to the location of the receiving time slot.

[0020] In one possible design, the first condition could be: all corresponding listening time slots overlap with the receiving time slots. Alternatively, the first condition could be: at least one of the corresponding listening time slots overlaps with the receiving time slot. Or, the first condition could be: the number of listening time slots that overlap with the receiving time slot is greater than a threshold.

[0021] In one possible design, the decision on whether to include candidate time slot t is based on configuration information. y Exclude from the candidate time slot set (or determine whether to include candidate time slot t) y Any candidate resource R on x,y After excluding from the candidate resource set, if the remaining candidate resources in the candidate resource set equal M*SA, then the elimination of the remaining resources in the candidate resource set (or the remaining time slots in the candidate time slot set) can be stopped. Here, M can be the resource filtering ratio configured for the resource pool, and SA is the total number of candidate resources in the candidate resource set. This design ensures that there are sufficient candidate resources to choose from.

[0022] In one possible design, if the remaining candidate resources in the candidate resource set equal M*SA, the elimination of the remaining resources in the candidate resource set (or the remaining time slots in the candidate time slot set) can be stopped. Listening can then be performed on the listening time slots that overlap with the receiving time slots in the corresponding listening time slot set (or candidate resource set). For listening time slots that do not overlap with the receiving time slots, it can be assumed by default that there is no resource reservation information on those listening time slots. In this approach, by defaulting to no resource reservation information on listening time slots that do not overlap with the receiving time slots, the terminal device does not need to add additional listening time slots, thereby improving the energy-saving effect of the terminal device.

[0023] In one possible design, if the remaining candidate resources in the candidate resource set equal M*SA, the elimination of the remaining resources in the candidate resource set (or the remaining time slots in the candidate time slot set) can be stopped. Then, listening can be performed on both the listening time slots that overlap with the receiving time slot and those that do not overlap with the receiving time slot within the listening time slots corresponding to the candidate time slot set (or candidate resource set). In this approach, by listening to the listening time slots that do not overlap with the receiving time slot, it is possible to ensure that all remaining candidate resources have corresponding listening time slots with listening results, thereby improving the accuracy of resource selection.

[0024] In one possible design, if the remaining candidate resources in the candidate resource set are less than M*SA, then Y candidate time slots can be selected again in the resource selection window.

[0025] Thirdly, embodiments of this application provide a communication device capable of implementing the methods described in the first aspect or any possible design thereof. The device includes corresponding units or components for performing the described methods. The units included in the device can be implemented in software and / or hardware. The device may, for example, be a terminal device, or a component, baseband chip, chip system, or processor that supports the implementation of the described methods in a terminal device.

[0026] For example, the communication device may include a processing unit (or processing module), and may also include modular components such as a transceiver unit (or communication module, transceiver module), which can perform the methods described in the first aspect above or any possible design therein. When the communication device is a terminal device, the transceiver unit may be a transmitter and a receiver, or a transceiver obtained by integrating a transmitter and a receiver. The transceiver unit may include an antenna and radio frequency circuits, etc., and the processing unit may be a processor, such as a baseband chip. When the communication device is a component with the functions of the aforementioned terminal device, the transceiver unit may be a radio frequency unit, and the processing unit may be a processor. When the communication device is a chip system, the transceiver unit may be the input / output interface of the chip system, and the processing unit may be the processor of the chip system, such as a central processing unit (CPU).

[0027] The transceiver unit can be used to perform receiving and / or transmitting actions in the first aspect or any possible design thereof. The processing unit can be used to perform actions other than receiving and transmitting in the first aspect or any possible design thereof, such as determining N receiving time slots within a listening time window and determining a first set based on the N receiving time slots and the data packet transmission period, etc.

[0028] Fourthly, embodiments of this application provide a communication device capable of implementing the methods described in the second aspect above or any possible design thereof. The device includes corresponding units or components for performing the described methods. The units included in the device can be implemented in software and / or hardware. The device may, for example, be a terminal device, or a component, baseband chip, chip system, or processor that supports the implementation of the described methods in a terminal device.

[0029] For example, the communication device may include a processing unit (or processing module), and may also include modular components such as a transceiver unit (or communication module, transceiver module), which can perform the methods described in the second aspect above or any possible design therein. When the communication device is a terminal device, the transceiver unit may be a transmitter and a receiver, or a transceiver obtained by integrating a transmitter and a receiver. The transceiver unit may include an antenna and radio frequency circuits, etc., and the processing unit may be a processor, such as a baseband chip. When the communication device is a component with the functions of the aforementioned terminal device, the transceiver unit may be a radio frequency unit, and the processing unit may be a processor. When the communication device is a chip system, the transceiver unit may be the input / output interface of the chip system, and the processing unit may be the processor of the chip system, such as a central processing unit (CPU).

[0030] The transceiver unit can be used to perform receiving and / or transmitting actions in the second aspect or any possible design thereof. The processing unit can be used to perform actions other than receiving and transmitting in the second aspect or any possible design thereof, such as selecting Y candidate time slots in the resource selection window and determining whether to include candidate time slot t based on configuration information. y Exclude from the candidate time slot set (or determine whether to include candidate time slot t) y Any candidate resource R on x,y (Excluding from the candidate resource set), etc.

[0031] Fifthly, a computer-readable storage medium is provided for storing computer instructions that, when executed on a computer, cause the computer to perform the methods shown in the first aspect or any possible design thereof, or the second aspect or any possible design thereof.

[0032] In a sixth aspect, a computer program product comprising instructions is provided, the computer program product being used to store computer instructions that, when executed on a computer, cause the computer to perform the methods shown in the first aspect or any possible design thereof, or in the second aspect or any possible design thereof.

[0033] A seventh aspect provides a circuit coupled to a memory, the circuit being used to perform the methods shown in the first aspect or any possible design thereof, or in the second aspect or any possible design thereof. The circuit may include a chip circuit. Attached Figure Description

[0034] Figure 1 This is a schematic diagram of a V2X communication embodiment of this application;

[0035] Figure 2This is a schematic diagram of a listening time unit according to an embodiment of this application;

[0036] Figure 3 This is a schematic diagram of a network architecture according to an embodiment of this application;

[0037] Figure 4 This is a schematic diagram of another network architecture according to an embodiment of this application;

[0038] Figure 5 This is a schematic diagram of another network architecture according to an embodiment of this application;

[0039] Figure 6 This is a schematic diagram of the structure of a communication device according to an embodiment of this application;

[0040] Figure 7 This is a schematic diagram of the structure of a terminal device according to an embodiment of this application;

[0041] Figure 8 This is a flowchart illustrating a communication method according to an embodiment of this application;

[0042] Figure 9 This is a schematic diagram illustrating how a candidate time slot is determined based on a receiving time slot, according to an embodiment of this application.

[0043] Figure 10 This is a flowchart illustrating another communication method according to an embodiment of this application;

[0044] Figure 11 This is a schematic diagram illustrating a time slot exclusion / resource exclusion method according to an embodiment of this application. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described in detail below with reference to the accompanying drawings.

[0046] The following explanations of some terms used in the embodiments of this application are provided to facilitate understanding by those skilled in the art.

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

[0048] A terminal device in a V2X technology is a terminal-type roadside unit (RSU). The terminal-type RSU can be a fixed infrastructure entity that supports V2X applications and can exchange messages with other entities that support V2X applications. For example, the terminal-type roadside unit can exchange messages with other entities that support V2X applications through the PC5 port.

[0049] By way of example and not limitation, in this embodiment, the terminal device can also be a wearable device. Wearable devices, also known as wearable smart devices or smart wearable devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not merely hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are feature-rich, large in size, and can achieve complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those that focus on a specific type of application function and require the use of other devices such as smartphones, such as various smart bracelets, smart helmets, and smart jewelry for vital sign monitoring.

[0050] The various terminal devices described above, if located in a vehicle (e.g., placed inside or installed inside a vehicle), can be considered as vehicle-mounted terminal devices, also known as on-board units (OBUs).

[0051] In this embodiment, the terminal device may further include a relay. Alternatively, it can be understood that anything capable of data communication with a base station can be considered a terminal device.

[0052] In this application embodiment, the device for implementing the functions of the terminal device can be the terminal device itself, or it can be a device capable of supporting the terminal device in implementing the functions, such as a chip system, which can be installed in the terminal device. In this application embodiment, the chip system can be composed of chips, or it can include chips and other discrete devices. In the technical solutions provided in this application embodiment, the terminal device is used as an example to describe the technical solutions provided in this application embodiment.

[0053] 2) Network devices, including access network (AN) devices such as base stations (e.g., access points), can refer to devices in the access network that communicate with wireless terminal devices via one or more cells over the air interface, or, for example, a network device in a V2X technology that is a base station-type RSU. The base station can be used to convert received air frames to and from Internet Protocol (IP) packets, acting as a router between the terminal device and the rest of the access network, which may include an IP network. The base station-type RSU can be a fixed infrastructure entity supporting V2X applications and can exchange messages with other entities supporting V2X applications; for example, the base station-type roadside unit can exchange messages with other entities supporting V2X applications via a Uu interface. The network device can also coordinate the management of air interface attributes. For example, network equipment may include evolved base stations (NodeB or eNB or e-NodeB) in LTE systems or long term evolution-advanced (LTE-A), or may include next-generation node B (gNB) in the 5th generation (5G) NR system (also referred to as NR system), or may include centralized units (CU) and distributed units (DU) in cloud radio access network (Cloud RAN) systems. The embodiments of this application are not limited.

[0054] Network devices may also include core network devices, such as those including access and mobility management functions (AMF). Since this application primarily relates to access networks, unless otherwise specified, the network devices mentioned below refer to access network devices.

[0055] In this application embodiment, the device for implementing the function of the network device can be the network device itself, or it can be a device capable of supporting the network device in implementing that function, such as a chip system, which can be installed in the network device. In the technical solutions provided in this application embodiment, the example of a network device being used to implement the function of the network device is used to describe the technical solutions provided in this application embodiment.

[0056] 3) V2X, or vehicle-to-everything (V2X), is the interconnection and interoperability between vehicles and the outside world. It is the foundation and key technology for future intelligent vehicles, autonomous driving, and intelligent transportation systems. V2X will optimize the specific application requirements of V2X based on existing device-to-device (D2D) technology, and further reduce the access latency of V2X devices and resolve resource conflict issues.

[0057] V2X specifically includes several application requirements such as direct communication between vehicles (V2V), between vehicles and roadside infrastructure (V2I), between vehicles and pedestrians (V2P), and communication and interaction between vehicles and networks (V2N). Figure 1 As shown. V2V refers to communication between vehicles; V2P refers to communication between vehicles and people (including pedestrians, cyclists, drivers, or passengers); V2I refers to communication between vehicles and network devices, such as RSUs. There is also a type called V2N that can be included in V2I, which refers to communication between vehicles and base stations / networks.

[0058] 4) Sensing, also known as listening, allows terminal devices to select resources for sideline data transmission in the resource selection window based on the listening results of time slots within the listening time window.

[0059] The listening time window is a set of time slots that serves as the basis for the terminal device's sensing. When the terminal device is triggered to select resources at time n, it determines whether the candidate resources within the resource selection window have already been reserved, i.e., whether they are available, based on the information correctly received by the SCI bearer within the corresponding listening time window. The time range of the listening time window is [n-t0, nt]. proc,0 Where n is the time when resource selection is triggered; t0 is the boundary value of the listening time window, the specific value of which is configured or pre-configured by the network side. For example, the duration of t0 can be 1100ms or 100ms (or other values). Taking a 15kHz subcarrier spacing as an example, t0 = 1100 slots or 100 slots; taking a 60kHz subcarrier spacing as an example, t0 = 4400 slots or 400 slots; t proc,0 The time for the terminal device to process the listening results, t is defined by the standard for different subcarrier intervals. proc,0 The maximum value, depending on the capabilities of the terminal device, can be determined by the terminal device itself while satisfying the maximum value constraint. proc,0 Take values, and t proc,0 ≥0.

[0060] The resource selection window is the time range within which the terminal device selects candidate resources for sending sideline information. It is located after the resource selection trigger time, and the time range of the resource selection window is [n+t1, n+t2]. Here, t1 is determined by the terminal device and represents the processing delay after time n for processing the listening results and determining candidate resources. For example, t1 can satisfy 0≤t1≤t proc,1 , t proc,1 The maximum value of t1 as defined by the standard.

[0061] Specifically, based on the number of time units of listening, it can be divided into full sensing and partial sensing. Full sensing occurs within the listening time window [n-t0, nt]. proc,0 Listening is performed on all time units included in the [n-t0, nt] time window (where the time units used for transmission may not be listened to); partial listening is performed within the listening time window [n-t0, nt]. proc,0 Listening is performed on a portion of the time units within the resource selection window [n+t1, n+t2], and this portion of the time units can be called partial listening time units. These partial listening time units can be determined based on the candidate transmission resources selected by the terminal device within the resource selection window [n+t1, n+t2]. For example, the candidate transmission resources are selected within time unit t... y The method for determining certain listening time units is as follows:

[0062] Sure Among them, P step It can be 100 time units, and the value of k can be determined by a bitmap (assuming the bitmap length = 10). When the k-th bit of the bitmap is 1, the... A time slot is a partial listening time unit. For example, if the bitmap is {11010 00000}, and the first, second, and fourth bits of this bitmap are 1, then the corresponding time slot is t. y Partial listening time unit is and like Figure 2 As shown, this is equivalent to listening for the presence of data with periods of 100, 200, and 400 respectively. and Reservation information is sent on the time unit, and the reservation is made on t. y Data is transmitted over time units. The specific position of time y within [n+t1, n+t2] depends on the implementation of the terminal device; the terminal device needs to select a common M from [n+t1, n+t2]. total One candidate resource R x,y Where x represents candidate resource R x,y The frequency-domain starting sub-channel index containing the resource, where y represents the candidate resource R. x,yThe time slot in which it is located is t y If the frequency domain contains L subCH If there are consecutive sub-channels, then the specific sub-channel index included in the candidate resource is x+j, j=0,…,L subCH -1.

[0063] Finally, based on The received information in the time slot, i.e., the correctly decoded SCI information, is used to determine t. y Candidate resources R in time slots x,y Whether it has been reserved, if no other terminal device (which may include the aforementioned terminal device itself) has reserved the candidate resource R x,y If the candidate resource is available, then it is available; otherwise, the candidate resource R is unavailable. x,y Excluded resources are deemed unusable, thus determining the final set of available resources.

[0064] The terms "system" and "network" in the embodiments of this application are used interchangeably. "At least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0065] Furthermore, unless otherwise stated, the ordinal numbers such as "first" and "second" mentioned in the embodiments of this application are used to distinguish multiple objects and are not used to limit the size, content, order, timing, priority, or importance of multiple objects. For example, "first set" and "second set" are only used to distinguish different sets and do not indicate that the resources, priorities, or importance of these two sets are different.

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

[0067] Currently, to reduce the energy consumption of terminal devices, these devices can perform discontinuous reception, for example, entering a sleep state when data reception is not needed. However, in the current resource selection method based on partial listening, the position of candidate transmission resources in the resource selection window is determined by the device itself. Therefore, the terminal device may be in a sleep state during the listening time unit corresponding to the candidate transmission resource, which can impair energy-saving effects.

[0068] Based on this, embodiments of this application provide a communication method and apparatus. In embodiments of this application, the terminal device can determine the time slot t where some candidate resources being monitored are located based on the data reception time. y This allows terminal devices to listen during data reception, thereby reducing additional listening time slots and improving energy efficiency. The method and apparatus are based on the same inventive concept. Since the principles by which the method and apparatus solve the problem are similar, their implementations can be mutually referenced, and repeated details will not be elaborated further.

[0069] The technical solutions provided in this application can be applied to D2D scenarios, including NR D2D and LTE D2D scenarios, or to V2X scenarios, including NR V2X and LTE V2X scenarios. For example, they can be applied to vehicle-to-everything (V2X), LTE-V, and V2V networks, or to fields such as intelligent driving and intelligent connected vehicles. Alternatively, they can be applied to other scenarios or other communication systems, such as for resource selection of the Uu interface in LTE or NR systems; no specific limitations are imposed.

[0070] The technical solutions provided in this application can be applied to user-selectable resource modes in communication scenarios with or without network coverage. The network architecture used in this application is described below. Please refer to... Figures 3-5 This is a network architecture used in the embodiments of this application.

[0071] Figures 3-5 This includes network equipment and two terminal devices, namely Terminal Device 1 and Terminal Device 2. Both terminal devices can be within the coverage area of ​​the network equipment, such as... Figure 3 As shown; or, alternatively, only terminal device 1 may be within the coverage area of ​​the network device, while terminal device 2 may not be within the coverage area of ​​the network device, such as... Figure 4 As shown; or both terminal devices are not within the coverage area of ​​the network device, such as Figure 5 As shown. These two terminal devices can communicate via a sidelink. Of course... Figures 3-5 The number of terminal devices mentioned is just an example. In actual applications, network devices can provide services to multiple terminal devices.

[0072] Figures 3-5Network devices in this context include, for example, access network devices such as base stations. The term "access network device" can refer to different devices in different systems. For instance, in fourth-generation (4G) mobile communication systems, it might correspond to an eNB; in 5G systems, it might correspond to 5G access network devices such as a gNB; or it could refer to access network devices in subsequent evolved communication systems.

[0073] in, Figures 3-5 The terminal device in this embodiment is an in-vehicle terminal device or a vehicle, but the terminal device in this application is not limited to this.

[0074] The possible structure of the terminal device is described below with reference to the accompanying drawings.

[0075] For example, Figure 6 A schematic diagram of one possible structure of the device is shown. Figure 6 The device shown can be a terminal device, or a chip, module, telematics box (TBOX), or other combined device, component (or assembly) with the functions of the terminal device shown in this application, applied within the terminal device. The device may include a processing module 610 and a transceiver module 620. The transceiver module 620 can be a single functional module capable of both transmitting and receiving operations. For example, the transceiver module 620 can execute all transmitting and receiving operations performed by the terminal device; for instance, when performing a transmitting operation, the transceiver module 620 can be considered the transmitting module, and when performing a receiving operation, it can be considered the receiving module. Alternatively, the transceiver module 620 can be two functional modules, collectively referred to as the transmitting module and the receiving module. The transmitting module performs the transmitting operation; for example, the transmitting module can execute all transmitting operations performed by the terminal device, and the receiving module performs the receiving operation; the receiving module can execute all receiving operations performed by the terminal device.

[0076] For example, when the device is a terminal device, the transceiver module 620 may include a transceiver and / or a communication interface. The transceiver may include an antenna and radio frequency circuitry, etc. The communication interface may be, for example, a fiber optic interface. The processing module 610 may be a processor, such as a baseband processor, which may include one or more central processing units (CPUs).

[0077] When the device is a component with the terminal equipment functions shown in this application, the transceiver module 620 may be a radio frequency unit, and the processing module 610 may be a processor, such as a baseband processor.

[0078] When the device is a chip system, the transceiver module 620 can be the input / output interface of the chip (e.g., a baseband chip), and the processing module 610 can be the processor of the chip system, which may include one or more central processing units.

[0079] It should be understood that the processing module 610 in the embodiments of this application can be implemented by a processor or processor-related circuit components, and the transceiver module 620 can be implemented by a transceiver or transceiver-related circuit components.

[0080] In one implementation, the processing module 610 can be used to execute all operations performed by the terminal device in this embodiment of the application, except for the sending and receiving operations, such as processing operations, and / or other processes to support the technology described herein, such as determining N receiving time slots within a listening time window, determining a first set based on the N receiving time slots and the data packet transmission period, selecting T time slots in a resource selection window according to the priority of time slots in the first set and the priority of time slots in the second set, and processing messages, information, and / or signaling received by the transceiver module 620, etc. The transceiver module 620 can be used to execute all receiving and sending operations performed by the terminal device in this embodiment of the application, and / or other processes to support the technology described herein.

[0081] Figure 7 A schematic diagram of another possible structure for the terminal device is shown. For example... Figure 7 As shown, the terminal device includes a processor, and may also include a memory, a radio frequency (RF) unit (or RF circuit), an antenna, or input / output devices. The processor is mainly used for processing communication protocols and data, controlling the device, executing software programs, and processing software program data. The memory is mainly used to store software programs and data. The RF unit is mainly used for converting baseband signals to RF signals and processing RF signals. The antenna is mainly used for transmitting and receiving RF signals in the form of electromagnetic waves. Input / output devices, such as touchscreens, displays, and keyboards, are mainly used to receive user input data and output data to the user. It should be noted that some types of terminal devices may not have input / output devices.

[0082] When data needs to be sent, the processor performs baseband processing on the data to be sent and outputs the baseband signal to the radio frequency (RF) circuit. The RF circuit then processes the baseband signal and transmits it outward as electromagnetic waves through the antenna. When data is sent to the terminal device, the RF circuit receives the RF signal through the antenna, converts it into a baseband signal, and outputs the baseband signal to the processor. The processor then converts the baseband signal back into data and processes it. For ease of explanation, Figure 7Only one memory and processor are shown in the illustration. In actual terminal device products, there may be one or more processors and one or more memories. Memory may also be referred to as storage medium or storage device, etc. Memory may be set up independently of the processor or integrated with the processor; this application does not limit this.

[0083] In this embodiment, the antenna and radio frequency circuit with transceiver functions can be regarded as the transceiver unit of the terminal device (the transceiver unit can be a single functional unit capable of transmitting and receiving functions; or, the transceiver unit can include two functional units, namely a receiving unit capable of receiving and a transmitting unit capable of transmitting), and the processor with processing functions can be regarded as the processing unit of the terminal device. Figure 7 As shown, the terminal device includes a processing unit 720 and may also include a transceiver unit 710. The transceiver unit can also be called a transceiver, transceiver machine, transceiver device, etc. The processing unit can also be called a processor, processing board, processing module, processing device, etc. Optionally, the device in the transceiver unit 710 used to implement the receiving function can be considered as a receiving unit, and the device in the transceiver unit 710 used to implement the transmitting function can be considered as a transmitting unit; that is, the transceiver unit 710 includes a receiving unit and a transmitting unit. The transceiver unit may sometimes be called a transceiver, transceiver, or transceiver circuit, etc. The receiving unit may sometimes be called a receiver, receiver, or receiving circuit, etc. The transmitting unit may sometimes be called a transmitter, transmitter, or transmitting circuit, etc.

[0084] It should be understood that the transceiver unit 710 may correspond to the transceiver module 620, or in other words, the transceiver module 620 may be implemented by the transceiver unit 710. The transceiver unit 710 is used to execute the sending and receiving operations of the terminal device in the embodiments shown in this application, and / or to support other processes of the technology described herein. The processing unit 720 may correspond to the processing module 610, or in other words, the processing module 610 may be implemented by the processing unit 720. The processing unit 720 is used to execute other operations on the terminal device in the embodiments shown in this application besides the sending and receiving operations, for example, to execute all the receiving and sending operations performed by the terminal device in the embodiments shown in this application, and / or to support other processes of the technology described herein.

[0085] The network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0086] It should be noted that the embodiments in this application only use time slots as the time unit for description. In specific embodiments, other time units such as frames, subframes, half frames, symbols, etc. may also be used. There is no limitation on the time unit here.

[0087] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.

[0088] Example 1:

[0089] See Figure 8 This is a flowchart illustrating a communication method provided in this application. The method includes:

[0090] S801 determines N receiving time slots within the listening time window. The resources on the N receiving time slots are used to receive data. N is an integer greater than 0. S801 can be executed by the terminal device.

[0091] In step S801, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0092] The receive time slot can be the time slot in which the terminal device needs to perform receiving operations according to the configuration information. The received content can be information, PSCCH / PSSCH, etc. For example, the terminal device can determine multiple time slots according to the configuration information, and determine the N receive time slots by the intersection of these multiple time slots and the listening time window.

[0093] For example, the above configuration information may include, but is not limited to, discontinuous reception (DRX) configuration, time slot scheduling parameters, etc. The DRX configuration can be used to indicate the periodic active time and inactive time of the terminal device. During the active time, receiving operations are required; that is, the terminal device needs to receive signals and decode them. During the inactive time, the terminal device does not require receiving operations. Thus, the terminal device can determine the time slots within the active time as receiving time slots based on the DRX configuration. The time slot scheduling parameters can be time slot scheduling parameters carried in the SCI sent by other terminal devices. For example, the time slot position indicated by the time resource indicator value (TRIV) in the SCI and periodic resource reservation indication information. For instance, if the SCI sent by UE1 indicates that data (e.g., PSSCH) is to be sent to UE2 in certain time slots, then these certain time slots can be the receiving time slots of UE2.

[0094] In addition, time slot scheduling parameters can also be other information, such as other forms of resource reservation indication information, etc., which are not specifically limited here.

[0095] It should be understood that the embodiments of this application are merely illustrative examples of possible forms of configuration information. In specific implementations, the configuration information may also be other information. As long as the information can indicate the time slot for data reception by the terminal device, the information can be considered as the configuration information described in this application.

[0096] Taking DRX configuration as an example, the terminal device can determine the N receiving time slots within the listening time window in the following way: The terminal device determines multiple time slots according to the DRX configuration, and the intersection of these multiple time slots and the listening time window is determined as the N receiving time slots. The terminal device needs to perform receiving operations on these receiving time slots. For example, the listening time window includes time slots 2 to 10. The terminal device determines that it needs to perform receiving on time slots 1, 4, 7, 8, and 11 according to the DRX configuration. Since time slots 4, 7, and 8 are within the listening time window, the N receiving time slots can be determined to include time slots 4, 7, and 8.

[0097] Alternatively, the terminal device can determine the N time slots within the listening time window that need to be used for receiving operations based on the DRX configuration. For example, if the listening time window includes time slots 2 to 10, and the terminal device determines that time slots 4, 7, and 8 in time slots 2 to 10 need to receive data based on the DRX configuration, then the N receiving time slots can be determined to include time slots 4, 7, and 8.

[0098] S802, determine a first set based on N receive time slots and data packet transmission period, wherein the first set includes at least one time slot within the resource selection window, and S802 can be executed by the terminal device.

[0099] In step S802, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0100] Among them, time slot t in the first set y With at least one of the N receive time slots t m Satisfy: y = m + k × P reserve,j y is t y The time slot index, m is t m The time slot index. It should be noted that, in this embodiment, time slot t... i The subscript i represents time slot t i The index, for example, y is t y The time slot index, m is t m The time slot index, m+k×P reserve,jfor The time slot index, etc., will not be repeated below.

[0101] k is an integer greater than 0. For example, k can be at least one value from the set {1, 2, ..., K}, where K is the maximum multiple of the period interval configured for the resource pool. For instance, K can represent the time slot t where the candidate resource is located in partial listening. y The maximum multiple of the period interval that has reference significance. Alternatively, k can also be a parameter configured by a higher layer. In one example, the value of k is determined by a bitmap; if the nth bit of the bitmap is 1, then the value of k is n. Taking a bitmap of length 10 as an example, assuming the bitmap is {11010 00000}, where the 1st, 2nd, and 4th bits are 1, then the values ​​of k are 1, 2, and 4.

[0102] P reserve,j Let P be the data packet transmission period, j = 0, ..., J-1, where P reserve,j The value and quantity J can be configured to the resource pool. For example, the resource pool may be configured with multiple periods, such as any value within 1 to 99 ms. Alternatively, these multiple periods can also be values ​​in milliseconds, such as 100, 200, 500, etc. Or, these multiple periods can also include: any value within 1 to 99 ms, and values ​​in milliseconds, such as 100, 200, 500, etc.

[0103] According to step S802 above, the terminal device can determine at least one condition satisfying: y=m+k×P within the listening time window based on the position of the receiving time slot. reserve,j The time slot.

[0104] In one implementation, the terminal device can receive data based on N time slots t. m Determine time slot like If it is located within the listening time window, then it can be determined that It belongs to the first set. For example, suppose k = {1, 2}, m = 1, P reserve,j If the value is 100, the terminal device can determine the value based on the receiving time slot t. m=1 Determine time slot t 1+1×100 t 1+2×100 Whether it is within the listening time window, if it is, it belongs to the first set; if it is not, it belongs to the second set.

[0105] For example, such as Figure 9 As shown, there are 3 receiving time slots within the listening time window, namely t m0 , t m1 , t m2 Assume the resource pool is configured with two packet sending cycles, i.e., P. reserve,jIncludes P1 and P2, and k = 1, where m0 + 1 × P1 = y1, m0 + 1 × P2 = y2, m1 + 1 × P1 = y3, m1 + 1 × P 21 =y4, m2+1×P1=y5, m2+1×P2=y3, where t y1 and t y3 Located in the resource selection window, then, t y1 and t y3 Belonging to the first set, other time slots within the resource selection window can belong to the second set. According to... Figure 9 As shown, for time slot t within the resource selection window y1 t y6 and t y3 , t y1 The two corresponding listening slots (i.e., t) m0 )and As can be seen, for t within the resource selection window y1 An additional time slot needs to be monitored. t y6 The two corresponding listening slots and Among them, two listening slots are not answering slots, indicating that for the t within the resource selection window... y6 Two additional time slots need to be monitored. y3 The two corresponding listening time slots (i.e., t) m1 )and (i.e., t) m2 As can be seen, for t within the resource selection window y3 Therefore, it is not necessary to listen to two additional time slots. It is evident that t from the first set is preferred. y1 and t y3 This can reduce the need for additional listening slots.

[0106] Through the above step S801, the time slots within the listening time window can be divided into two categories: one category consists of N receiving time slots that satisfy y = m + k × P. reserve,j Another type of time slot relationship is when the N receiving time slots do not satisfy y=m+k×P reserve,j The time slots in the relationship. For ease of description, the following will be related to N receiving time slots satisfying y = m + k × P. reserve,j The time slots related to the relationship are assigned to the first set, and will not satisfy y = m + k × P with the N receiving time slots. reserve,j The time slots of the relationships are assigned to the second set, which shows that the second set is the complement of the first set within the resource selection window.

[0107] S803: Select T time slots from the resource selection window according to the priority of time slots in the first set and the priority of time slots in the second set. The resources on the T time slots are used as candidate resources, which can be used to send data. The priority of time slots in the first set is higher than the priority of time slots in the second set, and T is an integer greater than 0. S803 can be executed by the terminal device.

[0108] In step S803, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0109] The statement "the priority of time slots in the first set is higher than the priority of time slots in the second set" can be understood as the first set having a higher priority than the second set. That is, when selecting T time slots, the terminal device can preferentially choose from the first set. If the number of time slots in the first set is less than T, then time slots are selected from the second set. For example, suppose the first set contains m1 time slots, where m1 is an integer greater than or equal to 0. If m1 is greater than or equal to T, then T time slots are selected from the first set. If m1 is less than T, then the m1 time slots from the first set are selected, and then m2 time slots are selected from the second set, where m1 + m2 = T. Alternatively, "the priority of time slots in the first set is higher than the priority of time slots in the second set" can also be understood as any time slot in the first set having a higher priority than a time slot in the second set.

[0110] Furthermore, time slots within the same set can have the same priority or different priorities.

[0111] For example, time slots in the first set have different priorities. The priority of a time slot in the first set can be related to the number of receiving time slots it corresponds to. For instance, the priority of a time slot in the first set can be positively correlated with the number of receiving time slots it corresponds to; that is, the more receiving time slots a time slot corresponds to, the higher its priority. The time slot index of the receiving time slot corresponding to the time slot and the time slot index of the time slot itself satisfy y = m + k × P. reserve,j Where y is the time slot index and m is the corresponding receive time slot index. In the above method, the time slot with the most corresponding receive time slots is selected first in the resource selection window, so that more receive time slots can be used for listening. In this way, the number of additional listening time slots can be reduced, thereby improving energy saving.

[0112] based on Figure 9 As shown in the example, t y3 For the two receiving time slots, t y1 Corresponding to one receive time slot, therefore t y3 Priority than t y1 High priority, choose t firsty3 This can reduce at least one additional listening slot. Therefore, based on the above method, additional listening slots can be further reduced, thereby improving energy efficiency.

[0113] In implementations where time slots have different priorities in the first set, when selecting time slots from the first set, the time slots can be selected according to their priority from high to low. For example, if time slot T is selected from the first set, the first T time slots in the first set, sorted by priority from high to low, can be chosen. It is understood that in this example, the number of time slots in the first set is not less than T.

[0114] To better understand the method provided in the embodiments of this application, the following description uses a terminal device executing the above implementation as an example, combined with some eavesdropping scenarios, to illustrate the eavesdropping process. The eavesdropping process may include:

[0115] Step 1: The terminal device triggers partial listening.

[0116] In step 1, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0117] In one implementation, the higher layer of the terminal device sends partial listener selection resource triggering information to the physical layer in time slot n. This partial listener selection resource triggering information instructs the physical layer to select resources for data packet transmission.

[0118] Optionally, the higher layers of the terminal device may also send at least one of the following data packet information to the physical layer:

[0119] Resource pool index, which is used to indicate the resource pool from which some listeners make resource selections;

[0120] Physical layer priority of the data packet to be sent (prio) TX ;

[0121] The remaining packet delay budget (PDB) for the data to be sent;

[0122] The number L of consecutive sub-channels used to transmit data packets in a single SL time slot subCH ;

[0123] A service cycle refers to a periodic service period that a higher layer can send to the physical layer when a data packet to be sent corresponds to a periodic service. The unit of a service cycle can be P. rsvp_TX .

[0124] Step 2: The terminal device determines the N receiving time slots within the listening time window.

[0125] In step 2, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0126] For example, the N receive time slots can be determined based on configuration information such as DRX configuration and time slot scheduling parameters. For instance, the terminal device determines multiple time slots based on the configuration information and determines the N receive time slots by the intersection of these multiple time slots and the listening time window. For details, please refer to the relevant description of step S801 above, which will not be repeated here.

[0127] Step 3: The terminal device determines the first set and the second set in the resource selection window.

[0128] In step 3, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0129] Among them, time slot t in the first set y With at least one of the N receive time slots t m Satisfy: y = m + k × P reserve,j The second set is the complement of the first set within the resource selection window.

[0130] Specifically, the method for determining the first set and the second set can be found in the relevant description of step S802, which will not be repeated here.

[0131] Step 4: The terminal device selects T candidate time slots and the corresponding candidate resource set SA in the resource selection window, where SA includes candidate resources on the T candidate time slots.

[0132] In step 4, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0133] Specifically, the terminal device can first select T candidate time slots from the first set. If the number of time slots in the first set is less than T, it can continue to select time slots from the second set until T candidate time slots are selected.

[0134] In one implementation, the terminal device can determine T candidate time slots based on the minimum number of candidate resource time slots minNumCandidateSF configured by the higher layer.

[0135] Step 5: The terminal device determines the listening time slots corresponding to the T candidate time slots.

[0136] In step 5, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0137] Among the T candidate time slots, t y The corresponding listening time slot is It may belong to N receiving time slots, or it may not belong to N time slots.

[0138] Step 6: The terminal device determines the available resources based on the PDCCH received on the listening time slot and the measured S-RSSI information.

[0139] In step 6, the receiving action performed by the terminal device (i.e., receiving the PDCCH in the listening time slot) can be performed by... Figure 6 The transceiver module 620 in the illustrated device performs the determining action (i.e., determining available resources based on the PDCCH received in the listening time slot and the measured S-RSSI information) which can be executed by the terminal device. Figure 6 The processing module 610 in the device shown executes the operation.

[0140] Specifically, for candidate time slot t y Any candidate resource R on x,y Where x represents candidate resource R x,y The frequency domain starting subchannel index containing the resource, where y represents t y The time slot index. If it contains L in the frequency domain. subCH If there are consecutive sub-channels, then t y The specific sub-channel index of the candidate resources is x+j, j=0,…,L subCH -1. If R x,y If at least one of the following conditions is met, then R will be... x,y Exclude from SA, where R x,y Contains continuous L subCH Sub-channels:

[0141] Condition 1, the user is in a time slot The system receives the PSCCH and obtains resource reservation information and data packet priority information.

[0142] Condition 2, the user is in the time slot If the PSSCH measurement (e.g., S-RSSI) corresponding to the received PSCCH is greater than the threshold TH (prio) TX ,prio RX ), where TH(prio) TX ,prio RX ) is prio TX and prio RX Function, TH(prio) TX ,prio RX )=prio TX +(prio RX-1)*8.

[0143] Among them, prio TX The physical layer priority of the data packet to be sent, prio RX This is the physical layer priority of the data packets to be received.

[0144] It should be noted that the above conditions for excluding candidate resources are only illustrative examples. In actual implementation, candidate resources in SA can also be excluded based on other conditions.

[0145] Step 7: If the number of remaining candidate resources in SA is less than x*M total The terminal device can execute step 6, and during the execution of step 6, TH(prio) TX ,prio RX Increase p dB until the number of candidate resources in SA is greater than M. total .

[0146] In step 7, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0147] Where x can be the scaling factor configured for the resource pool, and the value of x can be greater than 0 and less than 1. M total This represents the sum of candidate resources across T candidate time slots. p is greater than 0; for example, p equals 3, meaning TH(prio) = ... TX ,prio RX Increased by 3dB.

[0148] It should be understood that the threshold for repeatedly executing step 6 is not limited to x*M. total Furthermore, the adjustment method when repeating step 6 is not limited to adjusting TH(prio) TX ,prio RX Increasing p dB can be achieved through other adjustments, such as adjusting TH(prio) TX ,prio RX Multiply by a scaling factor greater than 1, etc.

[0149] It should be noted that the above process is only an illustrative example, and steps 1, 5, 6, and 7 may be optional.

[0150] In this embodiment of the application, the terminal device can determine the time slot t where the candidate resources being monitored are located based on the data reception time. y This allows terminal devices to listen during data reception, thereby reducing additional listening time slots and improving energy efficiency.

[0151] Furthermore, by sorting the time slots according to the number of corresponding receiving time slots, the terminal device can prioritize selecting the time slot with the most corresponding receiving time slots when selecting candidate time slots, thereby making the most of the receiving time slots for listening and further improving energy saving.

[0152] Example 2:

[0153] See Figure 10 The diagram shown illustrates another communication method provided in this application. The method includes:

[0154] S1001, select Y candidate time slots in the resource selection window, where Y is an integer greater than 0. The resources on the Y candidate time slots are used as candidate resources, which can be used to send data. Step S1001 can be executed by the terminal device.

[0155] In step S1001, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0156] In one implementation, the Y candidate time slots can be a portion of the candidate time slots in the resource selection window. The Y candidate time slots can be selected by the terminal device based on its own implementation, or they can be selected by other means, such as determining the Y candidate time slots by determining the T time slots in Embodiment 1. Here, the selection method of the Y candidate time slots is not limited.

[0157] In another implementation, the Y candidate time slots can also be all candidate time slots within the resource selection window. In this implementation, the terminal device can traverse all candidate time slots within the resource selection window.

[0158] For ease of description, the set including Y candidate time slots will be called the candidate time slot set, and the set including candidate resources on Y candidate time slots will be called the candidate resource set.

[0159] S1002, determine whether to include candidate time slot t based on configuration information. y Exclude from the candidate time slot set (or determine whether to include candidate time slot t) y Any candidate resource R on x,y (Excluding from the candidate resource set), step S1002 can be performed by the terminal device.

[0160] In step S1002, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0161] Where x represents the candidate resource R x,y The frequency domain starting subchannel index containing the resource, where y represents t yThe time slot index, R x,y In the frequency domain, it includes L subCH A series of consecutive sub-channels, namely R x,y The specific sub-channel index is x+j, j=0,…,L subCH -1. The configuration information is used to indicate the time slot (hereinafter referred to as the receiving time slot) for the terminal device to perform the receiving operation. The configuration information can be referred to in the relevant description of "configuration information" in S801 of the above embodiment. The terminal device determines the position of the receiving time slot according to the configuration information. For details, please refer to the relevant description of S801 in the above embodiment, which will not be repeated here.

[0162] One implementation of step S1002 is that the terminal device can determine the receiving time slot within the listening time window based on the configuration information, and determine the position of the receiving time slot relative to t. y The relationship between the positions of the corresponding listening time slots determines whether to include the candidate time slot t. y Exclude from the candidate time slot set (or determine whether to include candidate time slot t) y Any candidate resource R on x,y (Excluded from the candidate resource set). For example, the receive time slot may include the receive time slot when the terminal device is in DRX state, that is, the time slot when DRX configuration is active. The terminal device receives data or performs reception during the DRX activation time, which includes the DRX on duration, the DRX hybrid automatic repeat request (HARQ) round-trip time (RTT) timer, and other time intervals. The receive time slot may also include the time slot for signal reception performed by the terminal device according to periodic or non-periodic resource reservations indicated by the SCI.

[0163] Specifically, if t y If the corresponding listening time slot meets the first condition, then the possibility of t cannot be ruled out. y Or t y Any candidate resource R on x,y If t y If the corresponding listening slot does not meet the first condition, then that slot is excluded from the candidate slot set. y Alternatively, exclude t from the candidate resource set. y Any candidate resource R on x,y The first condition is related to the location of the receiving time slot.

[0164] For example, the first condition could be: all corresponding listening time slots overlap with the receiving time slot. Alternatively, the first condition could be: at least one of the corresponding listening time slots overlaps with the receiving time slot. Or, the first condition could be: the number of listening time slots overlapping with the receiving time slot is greater than a threshold. This threshold can be configured in the resource pool. Alternatively, the threshold can be determined based on the channel busy ratio (CBR), or it can be related to the physical layer priority of the data packet to be transmitted. TX Related.

[0165] The following describes three possible implementations of step S1002, using three exemplary examples of the first condition as examples.

[0166] In the first implementation, the terminal device determines t based on the configuration information. y (or t) y Any candidate resource R on x,y If t is available, then t y Corresponding listening time slot If at least one listening time slot does not overlap with the receiving time slot, then t can be... y Exclude from the candidate time slot set (or remove R) x,y Excluded from the candidate resource set), i.e., t y (or t) y Any candidate resource R on x,y (Not available)

[0167] In the second implementation, the terminal device determines t based on the configuration information. y (or t) y Any candidate resource R on x,y If the candidate time slot t is available, then... y Corresponding listening time slot If none of the candidate time slots overlap with the receiving time slot, then the candidate time slot t is selected. y Exclude from the candidate time slot set (or remove R) x,y Excluded from the candidate resource set), i.e., t y (or t) y Any candidate resource R on x,y (Not available)

[0168] In the third implementation method, the terminal device determines t based on the configuration information. y (or t) y Any candidate resource R on x,y Whether it is available can be determined based on t. y The number of listening time slots that overlap with the receiving time slot in the corresponding listening time slot is determined by t. y Is it available, for example, if ty If the number of listening time slots that overlap with the receiving time slot in the corresponding listening time slot is less than the threshold, then t can be set as follows: y Exclude from the candidate time slot set (or remove R) x,y Excluded from the candidate resource set), i.e., t y (or t) y Any candidate resource R on x,y (Not available)

[0169] In the three implementation methods mentioned above, k and P reserve,j The meaning of "will" can be found in the relevant description in the above embodiment one, and will not be repeated here.

[0170] The following provides examples illustrating the three implementation methods described above. In these examples, the terminal device receives data within the DRX activation time window. Assume that, based on step S1001, the terminal device determines three candidate time slots t... y1 , t y2 , t y3 That is, the candidate time slot set includes t y1 , t y2 , t y3 The candidate resource set includes t y1 Candidate resources on, t y2 Candidate resources on, t y3 Candidate resources on the [database]. Among them, t y1 , t y2 , t y3 The corresponding listening time slots are t y1-P1 , t y1-P2 , t y2-P1 , t y2-P2 , t y3-P1 , t y3-P2 P1 and P2 can be configured for the service cycle (i.e., data transmission cycle) of the resource pool, which is P reserve,j Let {P1, P2} be the coordinates.

[0171] Based on the above assumptions, one example of the first implementation method described above is as follows: for t y1 If t y1 Corresponding listening time slot t y1-P1 and t y1-P2 If at least one listening time slot does not overlap with the receiving time slot, then the candidate time slot t is selected. y1 Exclude from the candidate time slot set (or remove t) y1 Candidate resources on t are excluded from the candidate resource set. y2 , t y3 Terminal devices can also use the same method to exclude time slots (or resources). For example, according to Figure 11 As shown, ty1 Corresponding listening time slot t y1-P1 and t y1-P2 Both overlap with the receiving time slot, then t y1 It can be retained in the candidate time slot set (i.e., t) y1 Candidate resources can be retained in the candidate resource set. y2 Corresponding listening time slot t y2-P2 If there is no overlap with the receiving time slot, then t y2 Exclude from the candidate time slot set (i.e., t) y2 Candidate resources on the list are excluded from the candidate resource set. y3 Corresponding listening time slot t y3-P1 , t y3-P2 If none of them overlap with the receiving time slot, then t y3 Exclude from the candidate time slot set (i.e., t) y3 Candidate resources are excluded from the candidate resource set.

[0172] Based on the above assumptions, one example of the second implementation method is as follows: for t y1 If t y1 Corresponding listening time slot t y1-P1 and t y1-P2 If none of the candidate time slots overlap with the receiving time slot, then the candidate time slot t is selected. y1 Excluded from the candidate time slot set. For t y2 , t y3 Terminal devices can also use the same method to exclude time slots (or resources). For example, according to Figure 11 As shown, t y1 Corresponding listening time slot t y1-P1 and t y1-P2 Both overlap with the receiving time slot, then t y1 It can be retained in the candidate time slot set (i.e., t) y1 Candidate resources can be retained in the candidate resource set. y2 Corresponding listening time slot t y2-P2 It does not overlap with the receiving time slot, while t y2-P1 If it overlaps with the receiving time slot, then t y2 It can be retained in the candidate time slot set (i.e., t) y2 Candidate resources can be retained in the candidate resource set. y3 Corresponding listening time slot t y3-P1 , t y3-P2 If none of them overlap with the receiving time slot, then t y3 Exclude from the candidate time slot set (i.e., t) y3 Candidate resources are excluded from the candidate resource set.

[0173] Based on the above assumptions, one example of the third implementation method is as follows: assuming the threshold is 1, for t... y1 If t y1 Corresponding listening time slot t y1-P1 and t y1-P2 All of them do not overlap with the receiving time slot, that is, t y1 If the number of listening time slots that overlap with the receiving time slot in the corresponding listening time slot is 0, then the candidate time slot t is... y1 Excluded from the candidate time slot set. For t y2 , t y3 Terminal devices can also use the same method to exclude time slots (or resources). For example, according to Figure 11 As shown, t y1 Corresponding listening time slot t y1-P1 and t y1-P2 All overlap with the receiving time slot, that is, t y1 If the number of listening time slots that overlap with the receiving time slot in the corresponding listening time slot is 2, and this number is greater than the threshold (i.e., the number is greater than 1), then t y1 It can be retained in the candidate time slot set (i.e., t) y1 Candidate resources can be retained in the candidate resource set. y2 Corresponding listening time slot t y2-P2 It does not overlap with the receiving time slot, while t y2-P1 Overlapping with the receiving time slot, that is, t y2 If the number of listening time slots that overlap with the receiving time slot in the corresponding listening time slot is 1, and this number is equal to the threshold (i.e., the number equals 1), then t y2 It can be retained in the candidate time slot set (i.e., t) y2 Candidate resources can be retained in the candidate resource set. y3 Corresponding listening time slot t y3-P1 , t y3-P2 All of them do not overlap with the receiving time slot, that is, t y3 If the number of listening time slots that overlap with the receiving time slot in the corresponding listening time slot is 0, and this number is less than the threshold (i.e., the number equals 0), then t y3 Exclude from the candidate time slot set (i.e., t) y3 Candidate resources are excluded from the candidate resource set.

[0174] The above describes the process of excluding unavailable candidate time slots (or unavailable candidate resources) from the candidate time slot set based on the receiving time slot. However, during the process of excluding candidate time slots (or candidate resources), it is very likely that the number of remaining candidate time slots (or candidate resources) will be insufficient. Based on this, Embodiment 2 of this application provides several possible implementation methods to ensure that the number of candidate time slots (or candidate resources) meets the requirements. In the following implementation methods, M can be the resource filtering ratio configured for the resource pool, and SA is the total number of candidate resources in the candidate resource set.

[0175] In one possible implementation, when performing time slot exclusion or resource exclusion based on S1002, if the remaining candidate resources in the candidate resource set are equal to M*SA, the terminal device can stop excluding the remaining resources in the candidate resource set (or the remaining time slots in the candidate time slot set). Furthermore, the terminal device can listen to the listening time slots that overlap with the receiving time slots in the listening time slots corresponding to the candidate time slot set (or candidate resource set), while for listening time slots that do not overlap with the receiving time slots, the terminal device can assume by default that there is no resource reservation information on those listening time slots. For example, with... Figure 11 Taking an example, let's assume the terminal device receives t based on the receiving time slot. y3 After eliminating a candidate time slot from the candidate time slot set, the number of remaining candidate resources in the candidate resource set equals M*SA, at which point the terminal device can stop eliminating candidate time slots (or candidate resources). Furthermore, during eavesdropping, the terminal device can listen to time slots that overlap with the receiving time slot, i.e., t... y1-P1 t y1-P2 t y2-P1 Eavesdropping is conducted on eavesdropping time slots t that do not coincide with the receiving time slot. y2-P2 It can be assumed that no resource reservation information was detected, thus, the terminal device can further determine the appropriate method based on t. y1-P1 and t y1-P2 The results of the listening determined t y1 Whether the corresponding candidate resource is available depends on t. y2-P1 The results of the listening determined t y2 Are the corresponding candidate resources available (because t)? y2-P2 By default, no resource reservation information was detected, so only t needs to be considered. y2-P1 (Results of the eavesdropping).

[0176] In the above embodiments, by defaulting to no resource reservation information on the listening time slots that do not overlap with the receiving time slots, the terminal device does not need to add additional listening time slots, thereby improving the energy-saving effect of the terminal device.

[0177] In another possible implementation, when performing time slot exclusion or resource exclusion based on S1002, if the remaining candidate resources in the candidate resource set are equal to M*SA, the terminal device can stop excluding the remaining resources in the candidate resource set. Furthermore, during listening, the terminal device can listen to both the listening time slots that overlap with the receiving time slot and the listening time slots that do not overlap with the receiving time slot within the listening time slots corresponding to the candidate time slot set (or candidate resource set). For example, using... Figure 11 Taking an example, let's assume the terminal device receives t based on the receiving time slot. y3 After eliminating a candidate time slot from the candidate time slot set, the number of remaining candidate resources in the candidate resource set equals M*SA, at which point the terminal device can stop eliminating candidate time slots (or candidate resources). Furthermore, during eavesdropping, the terminal device can listen to time slots that overlap with the receiving time slot, i.e., t... y1-P1 t y1-P2 t y2-P1 Eavesdropping is conducted on eavesdropping time slots t that do not coincide with the receiving time slot. y2-P2 It also listens, so that the terminal device can further... y1-P1 and t y1-P2 The results of the listening determined t y1 Whether the corresponding candidate resource is available depends on t. y2-P1 and t y2-P2 The results of the listening determined t y2 Are the corresponding candidate resources available?

[0178] In the above embodiments, by using listening time slots where the listening and receiving time slots do not overlap, it is possible to ensure that all remaining candidate resources have listening results in their corresponding listening time slots, thereby improving the accuracy of resource selection.

[0179] In another possible implementation, after slot or resource exclusion in S1002, if the remaining candidate resources in the candidate resource set are less than M*SA, the terminal device can also re-execute S1001.

[0180] Optionally, after step S1002, the terminal device can listen to the remaining candidate time slots in the candidate time slot set to further exclude candidate resources. Specifically, refer to steps 6 and 7 in Embodiment 1, which will not be repeated here. The candidate time slot set in this process is the candidate time slot set after time slot exclusion (or resource exclusion) in S1002.

[0181] To better understand the method provided in this application's embodiments, the following description uses a terminal device executing the method described in Embodiment 2 above as an example, combined with some eavesdropping scenarios, to illustrate the eavesdropping process. The eavesdropping process may include:

[0182] Step 1: The terminal device triggers partial listening.

[0183] Specifically, step 1 in embodiment 2 of this application can be referred to the relevant description of step 1 in embodiment 1 above, and will not be repeated here.

[0184] Step 2: The terminal device selects Y candidate time slots and the corresponding candidate resource set SA in the resource selection window, wherein SA includes candidate resources on the Y candidate time slots.

[0185] In step 2, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0186] In one implementation, the terminal device can select Y time slots from a resource selection window, where the Y time slots are greater than or equal to the minimum number of candidate resource time slots (minNumCandidateSF) configured by the higher layer. For example, the terminal device can randomly select Y time slots from the resource selection window.

[0187] In another implementation, the terminal device can determine Y candidate time slots according to the method for determining T time slots in Embodiment 1.

[0188] The candidate resource set SA contains all R values ​​from the Y candidate time slots. x,y , where R x,y Indicates time slot t y L with initial PRB of x subCH A series of consecutive sub-channels.

[0189] Step 3: The terminal device determines the listening time slots corresponding to the Y candidate time slots.

[0190] In step 3, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0191] Among the Y candidate time slots, t y The corresponding listening time slot is P reserve,j j = 0, 1, ..., N, where N represents the number of data packet transmission periods configured for the resource pool, and k represents the relationship between the listening time slots and the period configured for the resource pool. If the resource pool is configured to start from time slot t y If we listen for one cycle forward, then k = 1; if the resource pool configuration starts from time slot t... y If we listen forward for a maximum of two cycles, then k = 1, 2. And so on.

[0192] Step 4, the terminal device determines whether to include R. x,y Excluded from the candidate resource set SA.

[0193] In step 4, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0194] For details on step 4, please refer to the relevant description of step S1002 above, which will not be repeated here.

[0195] Step 5: The terminal device determines the available resources based on the PDCCH received on the listening time slot and the measured S-RSSI information.

[0196] In step 5, the receiving action performed by the terminal device (i.e., receiving the PDCCH in the listening time slot) can be performed by... Figure 6 The transceiver module 620 in the illustrated device performs the determining action (i.e., determining available resources based on the PDCCH received in the listening time slot and the measured S-RSSI information) which can be executed by the terminal device. Figure 6 The processing module 610 in the device shown executes the operation.

[0197] Step 6: If the number of remaining candidate resources in SA is less than x*M total The terminal device can execute step 5, and during the execution of step 5, TH(prio) TX ,prio RX Increase p dB until the number of candidate resources in SA is greater than M. total .

[0198] In step 6, the action performed by the terminal device can be determined by... Figure 6 The processing module 610 in the device shown executes the operation.

[0199] Steps 5 and 6 in Embodiment 2 of this application can be specifically referred to steps 6 and 7 in Embodiment 1 above, and will not be repeated here.

[0200] In this embodiment of the application, when the terminal device is listening (such as full listening or partial listening), it can prioritize the time slots that need to be received, thereby reducing additional listening time slots and improving energy efficiency.

[0201] This application provides a communication device. This communication device can be used to implement the functions of the terminal device involved in Embodiment 1 or Embodiment 2. For example, the communication device can be the terminal device itself, such as an integrated terminal device like a vehicle-mounted terminal device or a roadside unit. Alternatively, the communication device can be a device capable of supporting the terminal device in implementing this function, such as a chip, module, TBOX, or other combined device or component (or assembly) with the terminal device functions shown in this application. For example, the communication device can be a chip, module, or component within a vehicle-mounted terminal device or roadside unit. The communication device may include... Figure 6 and / or Figure 7 The structure shown.

[0202] This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a computer, the computer can implement the processes related to the terminal device in Embodiment 1 or Embodiment 2 described above.

[0203] This application also provides a computer program product for storing computer programs. When the computer program is executed by a computer, the computer can implement the processes related to the terminal device in Embodiment 1 or Embodiment 2 described above.

[0204] This application also provides a chip or chip system. The chip may include a processor, which can be used to call programs or instructions in memory to execute the processes related to the terminal device in Embodiment 1 or Embodiment 2 described above. The chip system may include the chip, as well as other components such as memory or transceivers.

[0205] This application also provides a circuit that can be coupled to a memory and can be used to execute the processes related to the terminal device in Embodiment 1 or Embodiment 2 described above. The chip system may include this chip, as well as other components such as a memory or a transceiver.

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

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

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

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

[0210] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0211] Those skilled in the art will recognize that the modules and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0212] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0213] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0214] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the objectives of the embodiments of this application, depending on actual needs.

[0215] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0216] If this function is implemented as a software module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the contributing part, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned computer-readable storage medium can be any available medium that a computer can access. For example, but not limited to: computer-readable media may include random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), universal serial bus flash disk, portable hard disk, or other optical disc storage, disk storage media, or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer.

[0217] The above descriptions are merely specific embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.

Claims

1. A communication method, characterized in that, The method includes: N receiving time slots are determined within the listening time window, and the resources on the N receiving time slots are used to receive data, where N is an integer greater than 0; A first set is determined based on the N receive time slots and the data packet transmission period, wherein the first set includes at least one time slot within the resource selection window; According to the priority of time slots in the first set and the priority of time slots in the second set, T time slots are selected in the resource selection window. The resources on the T time slots are used as candidate resources. The candidate resources can be used to send data. The second set is the complement of the first set in the resource selection window. The priority of time slots in the first set is higher than the priority of time slots in the second set. T is an integer greater than 0.

2. The method as described in claim 1, characterized in that, Time slots in the first set With at least one of the N receiving time slots satisfy: y is the time slot The time slot index, where m is the receiving time slot. The time slot index, the The integer is greater than 0. The data packet sending period is defined as follows.

3. The method as described in claim 1 or 2, characterized in that, The first set includes m1 time slots, where m1 is an integer greater than or equal to 0; The step of selecting T time slots in the resource selection window according to the priority of time slots in the first set and the priority of time slots in the second set includes: If m1 is greater than or equal to T, then T time slots are selected from the first set; or If m1 is less than T, then m1 time slots included in the first set are selected, and m2 time slots are selected in the second set, where m1 + m2 = T.

4. The method as described in claim 3, characterized in that, If m1 is greater than or equal to T, the T time slots are the first T time slots of the m1 time slots included in the first set, sorted from high to low according to the priority of the time slots; In the first set, the priority of the h-th time slot is proportional to the number of receiving time slots corresponding to the h-th time slot, where h = {1, 2, 3, ..., m1}, and the receiving time slots corresponding to the h-th time slot satisfy the following condition: ,in, The time slot index of the h-th time slot, the The time slot index is the receiving time slot corresponding to the h-th time slot. The integer is greater than 0. The data packet sending period is defined as follows.

5. The method as described in claim 2 or 4, characterized in that, The k is at least one value in the set {1, 2, ..., K}, where K is the maximum multiple of the period interval configured for the resource pool.

6. The method as described in claim 1, characterized in that, The determination of the N reception time slots within the listening time window includes: The N receive time slots are determined based on the discontinuous reception DRX configuration and / or time slot scheduling parameters.

7. The method as described in claim 6, characterized in that, The N receive time slots include the intersection of the receive time slots determined according to the DRX configuration and / or the time slot scheduling parameters and the listening time window.

8. A communication device, characterized in that, The device includes: The processing module is used to determine N receive time slots within a listening time window, wherein the resources on the N receive time slots are used to receive data, and N is an integer greater than 0; and The processing module is further configured to determine a first set based on the N receive time slots and the data packet transmission period, wherein the first set includes at least one time slot within a resource selection window; and The processing module is further configured to select T time slots in the resource selection window according to the priority of time slots in the first set and the priority of time slots in the second set, wherein the resources on the T time slots are candidate resources and the candidate resources can be used to send data, wherein the second set is the complement of the first set in the resource selection window, the priority of time slots in the first set is higher than the priority of time slots in the second set, and T is an integer greater than 0.

9. The apparatus as claimed in claim 8, characterized in that, Time slot t in the first set y With at least one of the N receiving time slots t m satisfy: y is the time slot t y The time slot index, where m is the receiving time slot t. m The time slot index, the The integer is greater than 0. The data packet sending period is defined as follows.

10. The apparatus as claimed in claim 8 or 9, characterized in that, The first set includes m1 time slots, where m1 is an integer greater than or equal to 0; When the processing module selects T time slots in the resource selection window according to the priority of time slots in the first set and the priority of time slots in the second set, it is specifically used for: If m1 is greater than or equal to T, then T time slots are selected from the first set; or If m1 is less than T, then m1 time slots included in the first set are selected, and m2 time slots are selected in the second set, where m1 + m2 = T.

11. The apparatus as claimed in claim 10, characterized in that, If m1 is greater than or equal to T, the T time slots are the first T time slots of the m1 time slots included in the first set, sorted from high to low according to the priority of the time slots; In the first set, the priority of the h-th time slot is proportional to the number of receiving time slots corresponding to the h-th time slot, where h = {1, 2, 3, ..., m1}, and the receiving time slots corresponding to the h-th time slot satisfy the following condition: ,in, The time slot index of the h-th time slot, the The time slot index is the receiving time slot corresponding to the h-th time slot. The integer is greater than 0. The data packet sending period is defined as follows.

12. The apparatus as claimed in claim 9 or 11, characterized in that, The k is at least one value in the set {1, 2, ..., K}, where K is the maximum multiple of the period interval configured for the resource pool.

13. The apparatus as claimed in claim 8, characterized in that, The processing module, when determining the N receiving time slots within the listening time window, is specifically used for: The N receive time slots are determined based on the discontinuous reception DRX configuration and / or time slot scheduling parameters.

14. The apparatus as claimed in claim 13, characterized in that, The N receive time slots include the intersection of the receive time slots determined according to the DRX configuration and / or the time slot scheduling parameters and the listening time window.

15. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program that, when run on a computer, causes the computer to perform the method as described in any one of claims 1 to 7.

16. A chip, characterized in that, It includes a processor and a communication interface, wherein the processor is used to read instructions to execute the method according to any one of claims 1 to 7.