Patent Description:
In a discontinuous reception (Discontinuous Reception, DRX for short) mechanism of a Uu interface (an interface between UE and a terrestrial radio access network) in related technologies, user equipment (User Equipment, UE) monitors a physical downlink control channel (Physical Downlink Control Channel, PDCCH for short) in all subframes within DRX-On Duration (duration), and enters a power saving mode in a DRX-off phase and does not monitor a PDCCH subframe. However, in a sidelink (sidelink, SL), a resource pool of receiving UE may include a resource that cannot be used in sidelink transmission, for example, a slot used for a synchronization signal, a slot used for non-uplink transmission, or a reserved slot. If there are not sufficient effective resources that can be used in sidelink transmission within DRX on duration due to existence of such slot, there is no resource for transmitting UE to select. As a result, timely and reliable service transmission cannot be ensured. Therefore, in consideration of impacts on data reception of UE from resources that can be actually used in SL transmission in the resource pool, when the DRX mechanism is introduced into the sidelink, a resource selection mechanism and the DRX mechanism need to be enhanced to save power and further ensure reliable service transmission. <CIT> provides a method to support discontinuous channel/SCI monitoring (DRX) over Sidelink in mobile communication system. When a V2X-UE would like to perform sidelink communication with its peer UE, but does not know whether its peer UE is monitoring SCI or is in non-active time (e.g. turn off the radio for PC5 interface), UE send a ping message to check the status of its peer UE. If there is no response to the ping message, the UE assumes that its peer UE is not in active time, and therefore postpone the sidelink communication until the start of the next sidelink on duration of its peer UE.

To make the technical problems to be resolved, technical solutions, and advantages of the present disclosure clearer, the present disclosure is described following in detail with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the present disclosure. In addition, for clarity and simplicity, descriptions of known functions and constructions are omitted.

It should be understood that, "one embodiment" or "an embodiment" throughout this specification means that specific features, structures, or characteristics related to the embodiments may be included in at least one embodiment of the present disclosure. Therefore, descriptions of "in one embodiment" or "in an embodiment" throughout this specification do not necessarily indicate a same embodiment. In addition, the specific features, structures, or characteristics may be combined in one or more embodiments in any appropriate manner.

In the embodiments of the present disclosure, it should be understood that, sequence numbers of the following processes do not mean execution sequences. The execution sequences of the processes should be determined according to functions and internal logic of the processes, and should not be construed as any limitation on the implementation processes of the embodiments of the present disclosure.

In addition, terms "system" and "network" in this specification may often be used interchangeably.

In the embodiments of the present application, it should be understood that, "B that is corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should be further understood that determining B based on A does not mean that B is determined based on only A. B may alternatively be determined based on A and/or other information.

In the embodiments of the present disclosure, a form of an access network is not limited, and may be an access network including a macro base station (Macro Base Station), a pico base station (Pico Base Station), nodeB (a name of a mobile base station in 3rd generation (3rd-Generation, <NUM>) mobile communication technologies), an enhanced nodeB (eNB), a home enhanced nodeB (Femto eNB, Home eNodeB, Home eNB, or HeNB), a relay station, an access point, an RRU (Remote Radio Unit, remote radio unit), an RRH (Remote Radio Head, remote radio head), and the like. A user terminal may be a mobile phone (or a smart phone), or another device that can transmit or receive a wireless signal, including user equipment, a personal digital assistant (Personal Digital Assistant, PDA), a wireless modem, a wireless communication apparatus, a handheld apparatus, a laptop computer, a cordless phone, a wireless local loop (Wireless Local Loop, WLL) station, CPE (Customer Premise Equipment, customer premise equipment) or a mobile smart hotspot that can convert a mobile signal into a Wi-Fi signal, a smart home appliance, or a device that can communicate with a mobile communication network spontaneously without being operated by anyone.

The following first describes related content of the solutions provided in the embodiments of the present application.

The basic principle of DRX is shown in <FIG>. On duration (on duration) indicates a time period in which terminal UE monitors a control channel. In this time period, a radio frequency channel is enabled, and the control channel is continuously monitored. In a time other than the on duration, the UE may no longer monitor the control channel, to save power. The on duration appears periodically (Cycle). A specific cycle is configured by a base station/preconfigured/configured by transmitting UE.

In a DRX mechanism of a Uu interface, an arrival model of a data service is considered. In other words, data packets arrive in a bursting manner (it may be understood as that a large quantity of packets arrive consecutively in a short time period once a data packet arrives). To adapt to this service arrival feature, a plurality of timers are used in a Uu DRX process, and the Uu DRX process is combined with a hybrid automatic repeat request (Hybrid Automatic Repeat reQuest, HARQ) process, to achieve better power saving performance.

At a present stage, similar to Uu DRX, SL DRX also uses a plurality of timers. However, specific definitions of the timers related to the SL DRX are still under discussion currently. The following describes the timers related to Uu DRX as a reference.

Currently, SL DRX is determined. If any timer of drx-onDurationTimer, drx-RetransmissionTimer, and drx-Inactivity Timer runs currently, the UE monitors a PSCCH and 2nd sidelink control information (Sidelink Control Information, SCI). A time in which the UE monitors the PSCCH and the 2nd SCI is also referred to as an active time.

In an LTE system, an active time in Uu DRX is affected by other factors in addition to the DRX timer. However, currently, in addition to the foregoing timers, other factors that affect an active time in SL DRX are not determined in SL DRX.

An active time of the UE in LTE Rel-<NUM> includes the following times:.

A higher layer may configure one or more SL resource pools for the UE. The SL resource pool may be used for PSSCH transmission or PSSCH reception.

A slot set that may belong to a PSSCH resource pool in time domain may be represented as <MAT>, where <MAT>, <NUM> ≤ i < Tmax. A slot index is related to slot#<NUM> (a slot <NUM>) of a radio frame, and is corresponding to a system frame number sFN0 or DFN0 of a serving cell. Logical slots (slots) belonging to the set may be obtained by excluding the following three types of slots from all physical slots (slots determined based on a radio frame) in time domain:.

The reserved slots lr are evenly distributed to SFNs according to the following formula. Herein, m = <NUM>,<NUM>, ··· , Nreserved - <NUM>.

In the logical slots (that is, slots that can be used for sidelink transmission) obtained after the foregoing three types of slots are excluded, the UE determines, according to the following steps, a set of slots allocated to a resource pool.

Herein, µ is a conversion parameter, that is, a parameter used for converting a time length into a quantity of slots, and is uniquely determined based on a subcarrier spacing (Sub-Carrier Spacing, SCS) of the resource pool. For details, refer to the following Table <NUM>:.

A relationship between a subcarrier spacing (SCS) Δf and µ is as follows:Δf = <NUM>µ × <NUM> [kHz].

In frequency domain, the SL resource pool includes numSubchannel consecutive subchannels. Each subchannel includes subchannelsize consecutive physical resource blocks (Physical Resource Block, PRB). Herein, numSubchannel and subchannelsize are parameters configured by the higher layer, and numSubchannel may take a value from {<NUM>,. , <NUM>}, and subchannelsize may take a value from <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, and <NUM>.

The following describes the embodiments of the present application.

Specifically, the embodiments of the present disclosure provide a resource selection method and apparatus, and a terminal, to resolve a problem that timely and reliable service transmission cannot be ensured in related technologies.

As shown in <FIG>, an embodiment of the present disclosure provides a resource selection method. The method is applied to a transmitting device and specifically includes the following steps.

Step <NUM>: performing first processing before transmission corresponding to a selected sidelink grant is performed, so that the transmission is in a time in which a receiving device is capable of performing sidelink reception.

The receiving device includes one or more of following:.

In this step, when the receiving device enables a sidelink DRX operation, the transmitting device may perform first processing before performing the transmission corresponding to the selected sidelink grant, to determine whether the transmission corresponding to the selected sidelink grant is in the time of the sidelink reception; and perform resource reselection based on a result of the determining. Resource reselection may include resource reselection for transmission or reselection of a resource pool.

It should be noted that the transmission is corresponding to a transport block (transport block, TB for short) at a physical layer, a MAC PDU at a MAC layer, a PDCP service data unit (SDU, Service Data Unit) at a packet data convergence protocol (Packet Data Convergence Protocol, PDCP for short) layer, and a data packet at an application layer.

Specifically, performing first processing may include following four cases:.

Transmission resource reselection is triggered if the transmission corresponding to the selected sidelink grant is not in a discontinuous reception DRX active time of the receiving device.

Specifically, in this case, for different transmissions corresponding to sidelink grants, triggered resource reselection may include the following six manners.

In a first manner, if the transmission is corresponding to a current to-be-transmitted first MAC PDU, transmission resource reselection for the transmission of the first MAC PDU is triggered.

In this manner, if the current to-be-transmitted first MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, transmission resource reselection for the first MAC PDU is triggered.

For example, with reference to <FIG>, the transmitting device (TX UE) determines that a transmission resource of the current to-be-transmitted first MAC PDU cannot fall within the DRX active time (active time) of the receiving UE, for example, cannot fall within on duration (on duration) in <FIG>. In this case, the transmitting device triggers resource reselection, so that a reselected resource can fall within the DRX active time of the receiving UE.

In a second manner, if the transmission is corresponding to a current to-be-transmitted first MAC PDU, reselection of a resource not in the DRX active time in a transmission resource corresponding to the first MAC PDU is triggered.

In this manner, if the current to-be-transmitted first MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, reselection of the resource not in the DRX active time in the transmission resource corresponding to the first MAC PDU is triggered.

For example, the TX UE determines that at least one transmission of the current to-be-transmitted first MAC PDU cannot fall within the DRX active time of the receiving UE, for example, a third transmission cannot fall within on duration. In this case, resource reselection is set to be performed for the third transmission when the first MAC PDU is available, so that a reselected resource can fall within the DRX active time of the receiving UE.

In a third manner, if the transmission is corresponding to a next to-be-transmitted second MAC PDU, a value of a sidelink resource reselection counter is set to <NUM>, and transmission resource reselection for the second MAC PDU is triggered when the second MAC PDU is available.

In this manner, if the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, the value of the sidelink resource reselection counter is set to <NUM>, and transmission resource reselection for the second MAC PDU is triggered when the second MAC PDU is available.

For example, as shown in <FIG>, the TX UE determines that the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using a periodically reserved resource cannot fall within the DRX active time of the receiving UE, for example, cannot fall within on duration in <FIG>. Then the transmitting UE resets the value of the counter (counter) to <NUM>, and sets resource reselection to be performed when the next MAC PDU is available. For example, a value of a resource retention probability P is set to <NUM>, or a random number is not selected, and the resource retention probability P is directly compared with <NUM>, so that a reselected resource can fall within the DRX active time of the receiving UE.

In a fourth manner, if the transmission is corresponding to a next to-be-transmitted second MAC PDU, a value of a sidelink resource reselection counter is set to <NUM>, and reselection of a resource not in the DRX active time in a transmission resource of the second MAC PDU is triggered.

In this manner, if the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, the value of the sidelink resource reselection counter is set to <NUM>, and reselection of a resource not in the DRX active time in the transmission resource of the second MAC PDU is triggered.

For example, with reference to <FIG>, the TX UE determines that at least one transmission of the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using a periodically reserved resource cannot fall within the DRX active time of the receiving UE. For example, a third transmission cannot fall within on duration in <FIG>. In this case, the transmitting UE resets the value of the counter to <NUM>, and sets resource reselection to be performed for the third transmission when the second MAC PDU is available, so that a reselected resource can fall within the DRX active time of the receiving UE.

In a fifth manner, if the transmission is corresponding to a next to-be-transmitted second MAC PDU, transmission resource reselection for the second MAC PDU is triggered when the second MAC PDU is available.

In this manner, if the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, transmission resource reselection for the second MAC PDU is triggered when the second MAC PDU is available.

For example, as shown in <FIG>, the TX UE determines that the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using a periodically reserved resource cannot fall within the DRX active time of the receiving UE, for example, cannot fall within on duration in <FIG>. Resource reselection is set to be performed when a next MAC PDU is available, so that a reselected resource can be in the DRX active time of the receiving UE.

In a sixth manner, if the transmission is corresponding to a next to-be-transmitted second MAC PDU, reselection of a resource not in the DRX active time in a transmission resource corresponding to the second MAC PDU is performed.

In this manner, if the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, reselection of the resource not in the DRX active time in the transmission resource corresponding to the second MAC PDU is performed.

For example, with reference to <FIG>, the TX UE determines that at least one transmission of the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using a periodically reserved resource cannot fall within the DRX active time of the receiving UE, for example, a third transmission cannot fall within on duration in <FIG>. In this case, resource reselection is set for the third transmission when the second MAC PDU is available, so that a reselected resource can fall within the DRX active time of the receiving UE.

Transmission resource reselection is triggered if at least M transmission resources of the transmission corresponding to the selected sidelink grant are not in a DRX active time of the receiving device. Herein, N ≥ M ≥ <NUM>, and N is a total quantity of transmissions of the transmission corresponding to the selected sidelink grant.

In this case, the selected sidelink grant is corresponding to a plurality of MAC PDUs. One MAC PDU includes N transmissions in total, that is, includes N transmission resources. Transmission resource reselection is triggered if the at least M transmission resources in the N transmission resources are not in the DRX active time of the receiving device. Herein, a value of M may be preconfigured.

In a first manner, if the transmission is corresponding to a current to-be-transmitted first MAC PDU, transmission resource reselection for the first MAC PDU is triggered.

In this manner, if at least M transmission resources of the current to-be-transmitted first MAC PDU corresponding to the selected sidelink grant are not in the discontinuous reception DRX active time of the receiving device, transmission resource reselection for the first MAC PDU is triggered.

In this manner, if at least M transmission resources of the current to-be-transmitted first MAC PDU corresponding to the selected sidelink grant are not in the discontinuous reception DRX active time of the receiving device, reselection of the resource not in the DRX active time in the transmission resource corresponding to the first MAC PDU is triggered.

In this manner, if at least M transmission resources of the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant are not in the discontinuous reception DRX active time of the receiving device, the value of the sidelink resource reselection counter is set to <NUM>, and transmission resource reselection for the second MAC PDU is triggered when the second MAC PDU is available.

In this manner, if at least M transmission resources of the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant are not in the discontinuous reception DRX active time of the receiving device, the value of the sidelink resource reselection counter is set to <NUM>, and reselection of a resource not in the DRX active time in the transmission resource of the second MAC PDU is triggered.

In this manner, if at least M transmission resources of the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant are not in the discontinuous reception DRX active time of the receiving device, transmission resource reselection for the second MAC PDU is triggered when the second MAC PDU is available.

In this manner, if at least M transmission resources of the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant are not in the discontinuous reception DRX active time of the receiving device, reselection of the resource not in the DRX active time in the transmission resource corresponding to the second MAC PDU is performed.

Transmission resource reselection is triggered if the transmission corresponding to the selected sidelink grant is not in a DRX active time of the receiving device, and a priority of the transmission is higher than or equal to a preset priority.

Specifically, in this case, for different transmissions corresponding to selected sidelink grants, triggered resource reselection may include the following six manners.

In this manner, if the current to-be-transmitted first MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, and a priority of the first MAC PDU is higher than or equal to a preset priority, transmission resource reselection for the first MAC PDU is triggered.

For example, with reference to <FIG>, the transmitting device (TX UE) determines that a transmission resource of the current to-be-transmitted first MAC PDU cannot fall within the DRX active time (active time) of the receiving UE, for example, cannot fall within on duration (on duration) in <FIG>. In this case, the transmitting UE further determines whether the priority of the first MAC PDU is higher than or equal to a preset threshold (the preset priority). If the priority of the first MAC PDU is higher than or equal to the preset threshold, the transmitting device triggers resource reselection to make a reselected resource fall within the DRX active time of the receiving UE, else the transmitting UE gives up this transmission.

In this manner, if the current to-be-transmitted first MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, and a priority of the first MAC PDU is higher than or equal to a preset priority, reselection of the resource not in the DRX active time in the transmission resource corresponding to the first MAC PDU is triggered.

For example, the TX UE determines that at least one transmission of the current to-be-transmitted first MAC PDU cannot fall within the DRX active time of the receiving UE, for example, a third transmission cannot fall within on duration. In this case, the transmitting UE further determines whether the priority of the first MAC PDU is higher than or equal to a preset threshold (the preset priority). If the priority of the first MAC PDU is higher than or equal to the preset threshold, resource reselection is set to be performed for the third transmission when the first MAC PDU is available to make a reselected resource fall within the DRX active time of the receiving UE, else the transmitting UE gives up this transmission.

In this manner, if the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, and the priority of the second MAC PDU is higher than or equal to a preset priority, the value of the sidelink resource reselection counter is set to <NUM>, and transmission resource reselection for the second MAC PDU is triggered when the second MAC PDU is available.

For example, with reference to <FIG>, the TX UE determines that the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using a periodically reserved resource cannot fall within the DRX active time of the receiving UE, for example, cannot fall within on duration in the figure. The transmitting UE further determines whether the priority of the second MAC PDU is higher than or equal to a preset threshold (the preset priority). If the priority of the second MAC PDU is higher than or equal to the preset threshold, the transmitting UE resets the value of the counter to <NUM>, and sets resource reselection to be performed when the next MAC PDU is available. For example, a value of a resource retention probability P is set to <NUM>, or a random number is not selected, and the resource retention probability P is directly compared with <NUM>, so that a reselected resource can be in the DRX active time of the receiving UE. If the priority of the second MAC PDU is not higher than or not equal to the preset threshold, the transmitting UE gives up the transmission of the second MAC PDU.

In this manner, if the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, and a priority of the second MAC PDU is higher than or equal to a preset priority, the value of the sidelink resource reselection counter is set to <NUM>, and reselection of a resource not in the DRX active time in a transmission resource of the second MAC PDU is triggered.

For example, with reference to <FIG>, the TX UE determines that at least one transmission of the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using a periodically reserved resource cannot fall within the DRX active time of the receiving UE, for example, a third transmission cannot fall within on duration in the figure. The transmitting UE further determines whether the priority of the second MAC PDU is higher than or equal to a preset threshold. If the priority of the second MAC PDU is higher than or equal to the preset threshold, the transmitting UE resets the value of the counter to <NUM>, and sets resource reselection to be performed for the third transmission when the second MAC PDU is available, so that a reselected resource can fall within the DRX active time of the receiving UE. If the priority of the second MAC PDU is not higher than or not equal to the preset threshold, the transmitting UE gives up the transmission not in the DRX active time of the receiving UE.

In this manner, if the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, and a priority of the second MAC PDU is higher than or equal to a preset priority, transmission resource reselection for the second MAC PDU is triggered when the second MAC PDU is available. Otherwise, the transmitting UE gives up the transmission of the second MAC PDU.

For example, as shown in <FIG>, the TX UE determines that the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using a periodically reserved resource cannot fall within the DRX active time of the receiving UE, for example, cannot fall within on duration in <FIG>. The transmitting UE further determines whether the priority of the second MAC PDU is higher than or equal to a preset threshold. If the priority of the second MAC PDU is higher than or equal to the preset threshold, resource reselection is set to be performed when the next MAC PDU is available, so that a reselected resource can be in the DRX active time of the receiving UE.

In this manner, if the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant is not in the discontinuous reception DRX active time of the receiving device, and a priority of the second MAC PDU is higher than or equal to a preset priority, reselection of the resource not in the DRX active time in the transmission resource corresponding to the second MAC PDU is performed.

For example, with reference to <FIG>, the TX UE determines that at least one transmission of the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using a periodically reserved resource cannot fall within the DRX active time of the receiving UE, for example, a third transmission cannot fall within on duration in <FIG>. The transmitting UE further determines whether the priority of the second MAC PDU is higher than or equal to a preset threshold. If the priority of the second MAC PDU is higher than or equal to the preset threshold, the transmitting UE performs resource reselection for the third transmission when the second MAC PDU is available to make a reselected resource fall within the DRX active time of the receiving UE, else the transmitting UE gives up the transmission of the second MAC PDU.

Transmission resource reselection is triggered if the transmission corresponding to the selected sidelink grant is not in an available transmission resource pool of the transmitting device.

In this case, the transmission includes: all or a part of a quantity of transmissions of a current to-be-transmitted first MAC PDU, and/or all or a part of a quantity of transmissions of at least one subsequent to-be-transmitted second MAC PDU.

In this case, transmission resource reselection is triggered if one or more of the current to-be-transmitted first MAC PDU and the next to-be-transmitted second MAC PDU corresponding to the selected sidelink grant are not in the available transmission resource pool of the transmitting device. Resource reselection in this case includes resource pool reselection or resource reselection in the resource pool.

Specifically, in an embodiment, triggering transmission resource reselection includes one of following:.

The candidate resource pool is a resource pool that includes a logical slot in the DRX active time. The logical slot is a slot that can be used for sidelink transmission. As shown in <FIG>, UL represents a slot that can be used for SL transmission according to a TDD configuration. If a bitmap value is <NUM>, it indicates that the slot is a logical slot in the resource pool. The transmitting UE sets a resource pool including a logical slot in a resource pool in on-duration of the receiving UE, that is, a resource pool <NUM> and a resource pool <NUM>, as a candidate resource pool.

For example, with reference to <FIG>, the TX UE determines that one or more of the current to-be-transmitted first MAC PDU and the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using a periodically reserved resource are not in the available transmission resource pool of the transmitting device as shown in <FIG>, the TX UE originally performs service transmission in the resource pool <NUM>, but the transmitting UE triggers resource pool reselection because the next MAC PDU cannot fall into a logical slot of a resource pool in on duration shown in the figure, so that the next MAC PDU may fall into a logical slot of a resource pool in a reselected resource pool. For example, the reselected resource pool is the resource pool <NUM>.

The available transmission resource pool of the transmitting device indicates that a resource pool is an available transmission resource pool if the transmission corresponding to the sidelink grant can be in a logical slot of the resource pool.

Transmission resource reselection is triggered if the transmission corresponding to the selected sidelink grant is not in an available transmission resource pool of the transmitting device, and a priority of the transmission is higher than or equal to a preset priority.

In this case, the transmission corresponding to the sidelink grant includes: all or a part of a quantity of transmissions of a current to-be-transmitted first MAC PDU, and/or all or a part of a quantity of transmissions of at least one subsequent to-be-transmitted second MAC PDU. Resource reselection in this case includes resource pool reselection or resource reselection in the resource pool.

It should be noted that transmission of the second MAC PDU is given up when there is no optional resource for the second MAC PDU in DRX on duration.

For example, as shown in <FIG>, when the TX UE determines that the next MAC PDU (the second MAC PDU) that is expected to be transmitted by using the periodically reserved resource cannot fall within the DRX active time of the receiving UE, optionally, if any on-duration or any DRX active time is not included between an available moment (for example, n) of the second MAC PDU to a latest transmitting moment (for example, n+PDB) of the second MAC PDU, the TX UE gives up a next transmission.

The following describes a configuration of DRX.

In an embodiment, before the first processing is performed, the method further includes:
The transmitting device configures a DRX configuration parameter of the receiving device based on a time division duplex TDD slot configuration.

The TDD slot configuration is indicated by a physical sidelink broadcast channel (Physical sidelink broadcast channel, PSBCH for short) load, and may include a slot configuration mode, a slot configuration period, and a slot that can be used for uplink transmission. The slot configuration period may take a value from <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, <NUM>, or another value. The DRX configuration includes one or more groups of DRX configuration parameters. Each group of DRX configuration parameters includes at least: a time period (for example, a drx-onDurationTimer running period) in which the receiving UE monitors a sidelink, and a DRX cycle (drx-Cycle).

In an embodiment, that the transmitting device configures a DRX configuration parameter of the receiving device based on a time division duplex TDD slot configuration includes one of following two manners.

When a quantity of slots that can be used for uplink transmission in a slot configuration period in the time division duplex TDD slot configuration is equal to the slot configuration period or is not less than a first threshold, a value of a timer related to a DRX active time is configured.

For example, the timer related to the DRX active time may include a DRX on duration timer (drx-onDurationTimer), a DRX retransmission timer (drx-RetransmissionTimer), and a DRX inactivity timer (drx-InactivityTimer).

In this embodiment, a quantity of slots that can be used for uplink transmission in the slot configuration period is equal to the slot configuration period, that is, all slots in the TDD slot configuration period are sidelink slots. In this case, when the transmitting UE or a network side configures a DRX configuration for the receiving UE, the TDD configuration may be not considered, and a value of drx-cycle and/or a timer such as drx-onDurationTimer may be set to enable the receiving UE to be in the active time.

Further, to ensure that on duration of a timer such as drx-onDurationTimer to enable the receiving UE to be in the active time can include sufficient available slots for SL transmission, in an embodiment, configuring the value of the timer related to the DRX active time includes:
configuring the value of the timer related to the DRX active time to be at least greater than or equal to a first value, a second value, or a sum of a first value and a second value, where the first value is a quantity of slots used for transmitting a sidelink synchronization signal S-SS or a physical sidelink broadcast channel PSBCH in each synchronization signal transmission period (for example, <NUM>), and the second value is a quantity of slots occupied for completing transmission of a service packet.

When a quantity of slots that can be used for uplink transmission in the slot configuration period is not equal to the slot configuration period or is less than the first threshold, one of following is configured.

In a configuration <NUM>, a value of a timer related to a DRX active time is configured to be greater than or equal to the slot configuration period.

For example, with reference to <FIG>, the transmitting UE or a network side considers a TDD slot configuration, and sets a value of a timer such as drx-onDurationTimer to enable the receiving UE to be in the active time. Specifically, when the transmitting UE or the network side configures a DRX configuration for the receiving UE, a TDD slot configuration is considered. As shown in <FIG>, a TDD slot configuration period is <NUM>/<NUM> physical slots (every <NUM> physical slots are <NUM>), and a quantity of slots that can be used for uplink transmission in each period is <NUM>. It is assumed that a preset threshold is <NUM>/<NUM> physical slots, and the quantity of slots that can be used for uplink transmission in each period is less than the threshold. To ensure that the DRX active time includes sufficient sidelink slots (SL slots), the transmitting UE sets, the value of the timer such as drx-onDurationTimer to enable the receiving UE to be in the active time, to be greater than or equal to the slot configuration period. For example, a value of drx-onDurationTimer is set to be <NUM>.

In a configuration <NUM>, a DRX cycle is configured to be greater than or equal to a second threshold.

The second threshold may be greater than, or less than or equal to a TDD slot period.

In a configuration <NUM>, a DRX cycle is configured to be greater than or equal to the slot configuration period.

For example, when the transmitting UE or the network side configures a DRX configuration for the receiving UE, a TDD slot configuration is considered. As shown in <FIG>, a TDD slot configuration period is <NUM>/<NUM> physical slots (every <NUM> physical slots are <NUM>), a quantity of slots that can be used for uplink transmission in each period is <NUM>, and <NUM> is less than the slot configuration period. To ensure that the DRX active time can include an SL slot, the transmitting UE sets a value of the DRX cycle (drx-cycle) to be greater than or equal to the slot configuration period. For example, a value of drx-cycle is set to be <NUM>.

Further, the transmitting UE or the network side may configure a DRX start offset (drx-startoffset) and/or a DRX slot offset (drx-slotoffset), so that on duration (on-Duration) can start in a sidelink SL slot; and configure a value of a timer such as drx-onDurationTimer to enable the receiving UE to be in the active time, so that the DRX active time can include SL slots as many as possible and non-sidelink slots (non-SL slots) as few as possible.

In a configuration <NUM>, a value of a timer related to a DRX active time is configured to be greater than or equal to a third threshold.

The third threshold may be greater than, equal to, or less than a TDD slot period.

In the foregoing embodiment, when configuring the DRX cycle and/or the timer related to the DRX active time of the receiving UE, the transmitting device or the network side considers impact of a slot that cannot be used for sidelink transmission, to ensure that there is a resource that can be used for SL transmission in the DRX active time of the receiving device. In addition, the transmitting device performs an operation such as resource reselection/resource pool reselection or counter value reset when a reserved resource does not meet a requirement, to ensure that a resource selected by the transmitting device can be monitored by the receiving device, so that the receiving device can ensure reliable service reception and also meet a power saving requirement. This is more applicable to a discontinuous reception operation of a sidelink device with a power saving requirement.

The present disclosure further provides a resource selection process. This is specifically described as follows:.

In an embodiment, before the transmission corresponding to the selected sidelink grant is performed, the following is further included:.

In this embodiment, before performing resource selection, the transmitting UE needs to learn of the DRX configuration information of the receiving UE. The DRX configuration is one or more groups of DRX parameters. Each group of DRX parameters includes at least: a time period (for example, a running period of drx-onDurationTimer) in which the UE monitors a PSCCH (physical sidelink control channel) and 2nd SCI (sidelink control information), and a DRX cycle (drx-Cycle).

In an embodiment, a manner in which the transmitting device obtains the DRX configuration information of the receiving device includes but is not limited to one or more of the following:.

After learning of the DRX configuration information of the receiving device, if there is a service packet to be transmitted, the transmitting device performs resource selection for the to-be-transmitted service packet according to the DRX configuration of the receiving device.

Specifically, performing resource selection based on the DRX configuration information of the receiving device includes the following three cases.

In an embodiment, if a MAC entity chooses to create a selected sidelink grant corresponding to transmission of a single MAC PDU, when the transmitting device performs resource selection, the transmitting UE determines that at least first M' transmissions of the single MAC PDU are in the time in which the receiving UE is capable of performing sidelink reception. Herein, N' ≥ M' ≥ <NUM>, and N' is a total quantity of transmissions of the MAC PDU.

Specifically, in an embodiment, the time in which sidelink reception can be performed may include at least one of following:.

In an embodiment, if a MAC entity chooses to create a selected sidelink grant corresponding to transmission of multiple MAC PDUs, when performing resource selection, the transmitting UE determines that at least first M" transmissions of a first MAC PDU of the multiple MAC PDUs are in the time in which the receiving UE is capable of performing sidelink reception. Herein, N" ≥ M" ≥ <NUM>, and N" is a total quantity of transmissions of each MAC PDU.

Optionally, as shown in <FIG>, in an embodiment, for a periodically reserved MAC PDU, when performing resource selection, the transmitting UE tries best to enable any transmission of a subsequent to-be-transmitted MAC PDU to be in the time in which the receiving UE is capable of performing sidelink reception.

In this embodiment, for the periodically reserved MAC PDU, it is best to enable a selected resource to fall within the DRX active time when resource selection is initially performed. If the selected resource cannot fall within the DRX active time, first processing is performed in this application before the transmission corresponding to the selected sidelink grant is performed, so that the transmission is in the time in which the receiving device is capable of performing sidelink reception.

Specifically, the time in which sidelink reception can be performed may include at least one of following:.

As shown in <FIG>, an embodiment of the present disclosure provides a resource selection apparatus <NUM>. The apparatus is used in a transmitting device and includes:
a first processing module <NUM>, configured to perform first processing before transmission corresponding to a selected sidelink grant is performed, so that the transmission is in a time in which a receiving device is capable of performing sidelink reception.

Optionally, the first processing module <NUM> includes:
a first processing submodule, configured to trigger transmission resource reselection if the transmission corresponding to the selected sidelink grant is not in a discontinuous reception DRX active time of the receiving device.

The first processing module <NUM> includes:
a second processing submodule, configured to trigger transmission resource reselection if at least M transmission resources of the transmission corresponding to the selected sidelink grant are not in a DRX active time of the receiving device.

Herein, N≥M≥<NUM>, and N is a total quantity of transmissions of the transmission corresponding to the selected sidelink grant.

Optionally, the first processing module <NUM> includes:
a third processing submodule, configured to trigger transmission resource reselection if the transmission corresponding to the selected sidelink grant is not in a DRX active time of the receiving device, and a priority of the transmission is higher than or equal to a preset priority.

Optionally, the first processing module <NUM> includes:
a fourth processing submodule, configured to trigger transmission resource reselection if the transmission corresponding to the selected sidelink grant is not in an available transmission resource pool of the transmitting device.

Optionally, the first processing module <NUM> includes:
a fifth processing submodule, configured to trigger transmission resource reselection if the transmission corresponding to the selected sidelink grant is not in an available transmission resource pool of the transmitting device, and a priority of the transmission is higher than or equal to a preset priority.

Optionally, the first processing module <NUM> includes:
a sixth processing submodule, configured to: if the transmission is corresponding to a current to-be-transmitted first MAC PDU, trigger transmission resource reselection for the first MAC PDU.

Optionally, the first processing module <NUM> includes:
a seventh processing submodule, configured to if the transmission is corresponding to a current to-be-transmitted first MAC PDU, trigger reselection of a resource not in the DRX active time in a transmission resource corresponding to the first MAC PDU.

Optionally, the first processing module <NUM> includes:
an eighth processing submodule, configured to: if the transmission is corresponding to a next to-be-transmitted second MAC PDU, set a value of a sidelink resource reselection counter to <NUM>, and trigger transmission resource reselection for the second MAC PDU when the second MAC PDU is available.

Optionally, the first processing module <NUM> includes:
a ninth processing submodule, configured to: if the transmission is corresponding to a next to-be-transmitted second MAC PDU, set a value of a sidelink resource reselection counter to <NUM>, and trigger reselection of a resource not in the DRX active time in a transmission resource of the second MAC PDU.

Optionally, the first processing module <NUM> includes:
a tenth processing submodule, configured to: if the transmission is corresponding to a next to-be-transmitted second MAC PDU, trigger transmission resource reselection for the second MAC PDU when the second MAC PDU is available.

Optionally, the first processing module <NUM> includes:
an eleventh processing submodule, configured to: if the transmission is corresponding to a next to-be-transmitted second MAC PDU, perform reselection of a resource not in the DRX active time in a transmission resource corresponding to the second MAC PDU.

Optionally, the apparatus <NUM> further includes:
a second processing module, configured to configure, by the transmitting device, a DRX configuration parameter of the receiving device based on a time division duplex TDD slot configuration.

Optionally, the second processing module includes:.

Optionally, the thirteenth processing submodule includes:
a first processing unit, configured to configure the value of the timer related to the DRX active time to be at least greater than or equal to a first value, a second value, or a sum of a first value and a second value, where the first value is a quantity of slots used for transmitting a sidelink synchronization signal S-SS or a physical sidelink broadcast channel PSBCH in each synchronization signal transmitting period, and the second value is a quantity of slots occupied for completing transmission of a service packet.

Optionally, the fourth processing submodule and the fifth processing submodule are further specifically configured to perform one of following:.

Embodiment <NUM> of the present disclosure is corresponding to the method in Embodiment <NUM>. All implementation means in Embodiment <NUM> are applicable to embodiments of the resource selection apparatus, and same technical effect can be achieved.

To better implement the foregoing objectives, as shown in <FIG>, Embodiment <NUM> of the present disclosure further provides a terminal. The terminal includes:
a processor <NUM>, and a memory <NUM> connected to the processor <NUM> by using a bus interface, where the memory <NUM> is configured to store a program and data that are used when the processor <NUM> performs operations, and the processor <NUM> invokes and executes the program and data that are stored in the memory <NUM>.

A transceiver <NUM> is connected to the bus interface, and is configured to receive and transmit data under control of the processor <NUM>. The processor <NUM> is configured to read a program in the memory <NUM>.

Specifically, the processor <NUM> is configured to perform first processing before transmission corresponding to a selected sidelink grant is performed, so that the transmission is in a time in which a receiving device is capable of performing sidelink reception.

Optionally, the processor <NUM> is configured to trigger transmission resource reselection if the transmission corresponding to the selected sidelink grant is not in a discontinuous reception DRX active time of the receiving device.

The processor <NUM> is configured to trigger transmission resource reselection if at least M transmission resources of the transmission corresponding to the selected sidelink grant are not in a DRX active time of the receiving device.

Herein, N ≥ M ≥ <NUM>, and N is a total quantity of transmissions of the transmission corresponding to the selected sidelink grant.

Optionally, the processor <NUM> is configured to trigger transmission resource reselection if the transmission corresponding to the selected sidelink grant is not in a DRX active time of the receiving device, and a priority of the transmission is higher than or equal to a preset priority.

Optionally, the processor <NUM> is configured to trigger transmission resource reselection if the transmission corresponding to the selected sidelink grant is not in an available transmission resource pool of the transmitting device.

Optionally, transmission resource reselection is triggered if the transmission corresponding to the selected sidelink grant is not in an available transmission resource pool of the transmitting device, and a priority of the transmission is higher than or equal to a preset priority.

Optionally, the processor <NUM> is configured to: if the transmission is corresponding to a current to-be-transmitted first MAC PDU, trigger transmission resource reselection for the transmission of the first MAC PDU.

Optionally, the processor <NUM> is configured to: if the transmission is corresponding to a current to-be-transmitted first MAC PDU, trigger reselection of a resource not in the DRX active time in a transmission resource corresponding to the first MAC PDU.

Optionally, the processor <NUM> is configured to: if the transmission is corresponding to a next to-be-transmitted second MAC PDU, set a value of a sidelink resource reselection counter to <NUM>, and trigger transmission resource reselection for the second MAC PDU when the second MAC PDU is available.

Optionally, the processor <NUM> is configured to: if the transmission is corresponding to a next to-be-transmitted second MAC PDU, set a value of a sidelink resource reselection counter to <NUM>, and trigger reselection of a resource not in the DRX active time in a transmission resource of the second MAC PDU.

Optionally, the processor <NUM> is configured to: if the transmission is corresponding to a next to-be-transmitted second MAC PDU, trigger transmission resource reselection for the second MAC PDU when the second MAC PDU is available.

Optionally, the processor <NUM> is configured to: if the transmission is corresponding to a next to-be-transmitted second MAC PDU, perform reselection of a resource not in the DRX active time in a transmission resource corresponding to the second MAC PDU.

Optionally, the processor <NUM> is configured to configure, by the transmitting device, a DRX configuration parameter of the receiving device based on a time division duplex TDD slot configuration.

Optionally, the processor <NUM> is configured to: when a quantity of slots that can be used for uplink transmission in a slot configuration period in the time division duplex TDD slot configuration is equal to the slot configuration period or is not less than a first threshold, configure a value of a timer related to a DRX active time; or
when a quantity of slots that can be used for uplink transmission in the slot configuration period is not equal to the slot configuration period or is less than the first threshold, configure one of following:.

Optionally, the processor <NUM> is configured to configure the value of the timer related to the DRX active time to be at least greater than or equal to a first value, a second value, or a sum of a first value and a second value, where the first value is a quantity of slots used for transmitting a sidelink synchronization signal S-SS or a physical sidelink broadcast channel PSBCH in each synchronization signal transmitting period, and the second value is a quantity of slots occupied for completing transmission of a service packet.

Optionally, the processor <NUM> is configured to: randomly select a resource pool from a candidate resource pool; or
select a resource pool with most logical slots from the candidate resource pool.

In <FIG>, a bus architecture may include any quantity of interconnected buses and bridges, and specifically interconnect various circuits of one or more processors represented by the processor <NUM> and a memory represented by the memory <NUM>. The bus architecture may further interconnect various other circuits such as a peripheral device, a voltage regulator, and a power management circuit. These are all well known in the art, and therefore are not further described in this specification. A bus interface provides an interface. The transceiver <NUM> may be a plurality of components, that is, includes a transmitter and a transceiver; and provides units for communicating with various other apparatuses on a transmission medium. For different terminals, a user interface <NUM> may alternatively be an interface capable of externally or internally connecting a required device, and the connected device includes, but is not limited to, a keypad, a display, a speaker, a microphone, a joystick, and the like. The processor <NUM> is responsible for management of the bus architecture and general processing, and the memory <NUM> may store data for use by the processor <NUM> when the processor <NUM> performs operations.

When configuring the timer related to the DRX cycle and/or the DRX active time of the receiving UE, the terminal provided in the present disclosure considers impact of a slot that cannot be used for sidelink transmission, to ensure that there is a resource that can be used for SL transmission in the DRX active time of the receiving device. In addition, the transmitting device performs an operation such as resource reselection/resource pool reselection or counter value reset when a reserved resource does not meet a requirement, to ensure that a resource selected by the transmitting device can be monitored by the receiving device, so that the receiving device can ensure reliable service reception and also meet a power saving requirement. This is more applicable to a discontinuous reception operation of a sidelink device with a power saving requirement.

A person skilled in the art may understand that all or some of the steps of the foregoing embodiments may be implemented by hardware, or may be implemented by a computer program indicating related hardware, and the computer program includes instructions for executing some or all of the steps of the foregoing methods. In addition, the computer program may be stored in a readable storage medium, and the storage medium may be any form of storage medium.

In addition, a specific embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, steps of the method in Embodiment <NUM> are implemented. A same technical effect can be achieved. To avoid repetition, details are not described herein again.

In addition, it should be noted that, in the apparatus and method of the present disclosure, it is obvious that each component or step may be decomposed and/or recombined. In addition, the steps for performing the foregoing series of processing may be performed in a chronological order as described, but do not necessarily need to be performed in a chronological order, and some of the steps may be performed in parallel or independently of one another. A person of ordinary skill in the art can understand that all or any of the steps or components of the methods and apparatuses of the present disclosure may be implemented in any computing apparatus (including a processor, a storage medium, or the like) or a network of a computing apparatus by using hardware, firmware, software, or a combination thereof, which can be implemented by a person of ordinary skill in the art by using their basic programming skills when reading the description of the present disclosure.

Claim 1:
A resource selection method, applied to a transmitting device, comprising:
performing (<NUM>) first processing before transmission corresponding to a selected sidelink grant is performed, so that the transmission is in a time in which a receiving device is capable of performing sidelink reception,
wherein resource selection method is characterized in that
the performing first processing comprises:
triggering transmission resource reselection if at least M transmission resources of the transmission corresponding to the selected sidelink grant are not in a DRX active time of the receiving device,
wherein N ≥ M ≥ <NUM>, and N is a total quantity of transmission resources of the transmission corresponding to the selected sidelink grant.