Patent ID: 11956772
Assignee: VIVO MOBILE COMMUNICATION CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 15:
16. A non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a computer program, and the computer program, when executed by a processor of a terminal device, causes the terminal device to perform:
performing configuration based on first configuration information, wherein the terminal device simultaneously works in both a network device scheduling mode Mode 1 and a terminal device autonomous mode Mode 2 based on the configuration;
wherein any one of:
(1) in a case that the Mode 1 and the Mode 2 share a media access control (MAC) entity, the performing configuration based on the first configuration information comprises:
defining that the MAC entity performs at least one of following behaviors:
in response to no buffer data in currently configured SL logical channels, triggering a sidelink buffer status report (SL BSR) in a case that an SL logical channel on which data arrives corresponds to the Mode 1;
in response to buffer data in at least one of the currently configured SL logical channels, triggering an SL BSR in a case that an SL logical channel on which data arrives has a higher logical channel priority or the SL logical channel on which data arrives corresponds to the Mode 1; or
in response to a retransmission SL BSR timer expiring, triggering an SL BSR in a case that there is buffer data in at least one of the currently configured SL logical channels, or an SL logical channel corresponding to the retransmission SL BSR timer corresponds to the Mode 1;

(2) in a case that the Mode 1 and the Mode 2 share a MAC entity, the performing configuration based on the first configuration information comprises:
defining that the MAC entity performs the following behavior:
ignoring buffer data in a target SL logical channel when a buffer size indicated by a BS field of an SL BSR is being calculated, wherein
the target SL logical channel comprises at least one of an SL logical channel corresponding to the Mode 2 or an SL logical channel corresponding to a destination identifier corresponding to the Mode 2;

or
(3) in a case that the Mode 1 and the Mode 2 share a MAC entity, the performing configuration based on the first configuration information comprises:
in response to a first resource corresponding to the Mode 1 conflicting with a second resource corresponding to the Mode 2, selecting a resource according to at least one of following rules:
preferentially using the first resource or preferentially using the second resource;
determining, based on a size relationship between a priority of to-be-transmitted data and a third preset threshold, to use the first resource or the second resource; or
determining, based on a size relationship between a priority of to-be-transmitted data corresponding to the Mode 1 and a priority of to-be-transmitted data corresponding to the Mode 2, to use the first resource or the second resource.