Communication method and apparatus
A communication method and apparatus are provided which relate to the field of communication technologies, to achieve a manner of setting a duration value of a timer in sidelink communication. The method includes: a first terminal receives sidelink control information (SCI) from a second terminal, wherein the SCI indicates a sidelink time domain resource. The first terminal determines a first duration value of a first timer. The first duration value belongs to a duration value set configured for a resource pool or a duration value set configured for a sidelink, and the duration value set includes at least one duration value. The first terminal starts the first timer at a first moment, and monitors sidelink control information and/or sidelink data information in at least one time unit within the first duration value.
1 . A communication method comprising:
receiving, by a first terminal, sidelink control information (SCI) from a second terminal, wherein the SCI indicates a reserved sidelink time domain resource; and
starting or restarting, by the first terminal, a first timer at a first moment, and monitoring sidelink control information and/or sidelink data information within a first duration of the first timer,
wherein the SCI comprises first-level SCI and second-level SCI,
wherein the first moment is a next slot after a slot in which the first-level SCI and the second-level SCI are located,
wherein the reserved time domain resource indicated by the SCI includes a second resource set,
wherein the reserved time domain resource is a periodic resource,
wherein the second resource set includes a periodic first resource set, and
wherein the periodic first resource set includes N time domain resources, where N is an integer greater than or equal to 1.
2 . The method according to claim 1 , wherein the first duration belongs to a duration set configured for a resource pool or a duration set configured for a sidelink, and the duration set comprises at least one duration;
wherein the first duration is determined based on discontinuous reception (DRX) configuration information of the first terminal and/or the sidelink time domain resource indicated by the SCI; and
wherein the first duration is received from a network device or from the second terminal.
3 . The method according to claim 1 , wherein the first terminal is in an active time in a time domain occupied by the reserved time domain resource indicated by the SCI,
and wherein sidelink control information and/or sidelink data information needs to be monitored by the first terminal within the active time.
4 . The method according to claim 1 , wherein the N time domain resources are used to transmit a same data packet or a same transport block.
5 . The method according to claim 1 , wherein the reserved time domain resource in different periods are used to transmit different transport blocks.
6 . The method according to claim 1 , further comprising sending, by the second terminal, the SCI, wherein the SCI indicates the sidelink time domain resource.
7 . A communication apparatus comprising at least one processor, and a memory storing instructions for execution by the at least one processor, wherein, when executed, the instructions cause the communications apparatus to perform operations comprising:
receiving sidelink control information (SCI) from a second terminal, wherein the SCI indicates a reserved sidelink time domain resource; and
starting or restarting a first timer at a first moment, and monitoring sidelink control information and/or sidelink data information within a first duration of the first timer,
wherein the SCI comprises first-level SCI and second-level SCI,
wherein the first moment is a next slot after a slot in which the first-level SCI and the second-level SCI are located,
wherein the reserved time domain resource is a periodic resource,
wherein the reserved time domain resource indicated by the SCI includes a second resource set,
wherein the second resource set includes a periodic first resource set, and
wherein the periodic first resource set includes N time domain resources, where N is an integer greater than or equal to 1.
8 . The communication apparatus according to claim 7 , wherein
the first duration belongs to a duration set configured for a resource pool or a duration set configured for a sidelink, and the duration set comprises at least one duration;
the first duration is determined based on discontinuous reception (DRX) configuration information of the communication apparatus and/or the sidelink time domain resource indicated by the SCI;
the first duration is received from a network device; or
the first duration is received from the second terminal.
9 . The communication apparatus according to claim 7 , wherein the communication apparatus is in an active time in time domain occupied by the reserved time domain resource indicated by the SCI,
and wherein sidelink control information and/or sidelink data information needs to be monitored by the communication apparatus within the active time.
10 . The communication apparatus according to claim 7 , wherein the N time domain resources are used to transmit a same data packet or a same transport block.
11 . The communication apparatus according to claim 7 , wherein the reserved time domain resource in different periods are used to transmit different transport blocks.
12 . A non-transitory computer readable storage medium, storing at least one instruction, which when executed by at least one processor, causes a communication apparatus comprising the at least one processor to:
receive sidelink control information (SCI) from a second terminal, wherein the SCI indicates a reserved sidelink time domain resource; and
start or restart a first timer at a first moment, and monitor sidelink control information and/or sidelink data information within a first duration of the first timer,
wherein the SCI comprises first-level SCI and second-level SCI,
wherein the first moment is a next slot after a slot in which the first-level SCI and the second-level SCI are located,
wherein the reserved time domain resource is a periodic resource,
wherein the reserved time domain resource indicated by the SCI includes a second resource set,
wherein the second resource set includes a periodic first resource set, and
wherein the periodic first resource set includes N time domain resources, where N is an integer greater than or equal to 1.
13 . The non-transitory computer readable storage medium according to claim 12 , wherein the first duration belongs to a duration set configured for a resource pool or a duration set configured for a sidelink, and the duration set comprises at least one duration;
the first duration is determined based on discontinuous reception (DRX) configuration information of the communication apparatus and/or the sidelink time domain resource indicated by the SCI;
the first duration is received from a network device; or
the first duration is received from the second terminal.
14 . The non-transitory computer readable storage medium according to claim 12 , wherein the communication apparatus is in an active time in a time domain occupied by the reserved time domain resource indicated by the SCI,
and wherein sidelink control information and/or sidelink data information needs to be monitored by the communication apparatus within the active time.
15 . The non-transitory computer readable storage medium according to claim 12 , wherein the N time domain resources are used to transmit a same data packet or a same transport block.
16 . The non-transitory computer readable storage medium according to claim 12 , wherein the reserved time domain resource in different periods are used to transmit different transport blocks.