METHOD FOR PRESENTING A REPORT ON THE STATUS OF INTERMEDIATE MEMORY AND COMMUNICATION APPARATUS
Patent Information
- Application Number
- MX2022003828
- Authority / Receiving Office
- MX · MX
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2026-02-25
- Estimated Expiration
- 2039-09-30
AI Technical Summary
Current solutions fail to efficiently manage the transmission of uplink and sidelink data in scenarios where both are activated simultaneously, leading to delays in transmitting high-priority data due to inaccurate priority comparisons between UL BSR and SL BSR.
A method for determining the priority of UL BSR and SL BSR based on the actual priority of the corresponding services, ensuring that high-priority data is transmitted by comparing the priority of sidelink and uplink services that have data, rather than relying on predefined or static priorities of logical channels.
This approach improves the efficiency of transmitting uplink and sidelink data by prioritizing high-priority data transmissions, reducing delays and optimizing resource allocation.
Smart Images

Figure MX431004B0
Abstract
Description
METHOD FOR PRESENTING A REPORT ON THE STATUS OF INTERMEDIATE MEMORY AND COMMUNICATION APPARATUS FIELD OF INVENTION This application relates to the field of communication technologies, and in particular to a method for submitting a buffer status report and a communication apparatus. BACKGROUND OF THE INVENTION In the Internet of Vehicles (IoT), a network where vehicles are interconnected, moving vehicles are used as information objects to implement network connections between vehicles and everything else (i.e., between vehicles, people, roads, or service platforms), relying on next-generation information and communication technologies. This can enhance a vehicle's overall intelligent driving capabilities, provide users with a safe, comfortable, intelligent, and efficient driving experience and traffic services, improve traffic operational efficiency, and enhance the level of social traffic services.In a new vehicle internet solution, vehicle-to-everything (V2X) communication means that information about a vehicle is provided via a sensor, in-vehicle terminal, and similar devices mounted on the vehicle. Vehicle-to-vehicle (V2V) communication, vehicle-to-pedestrian (V2P) communication, vehicle-to-infrastructure (V2I) communication, and vehicle-to-network (V2N) communication are implemented using various communication technologies. These communication scenarios are illustrated in Figure 1. There are two air communication interfaces in V2X: a PC5 interface and a Uu interface. The PC5 interface is primarily used for direct communication between terminals, and the Uu interface is primarily used for communication between a terminal and a network. On the Uu interface, a terminal can send uplink data to a base station via an uplink (UL) as shown in Figure 2. Before the terminal sends the uplink data, it sends a UL buffer status report (BSR) to the base station over the UL. The UL BSR indicates the amount of data to be sent that exists in the terminal's uplink buffer, allowing the base station to allocate an uplink resource (UL lease) to the terminal based on the UL BSR, enabling them to transmit the uplink data (UL data).In the PC5 interface, terminals can communicate directly with each other via a sidelink (SL) shown in FIGURE 2. In one possible implementation, before the terminals communicate directly with each other. ML / I IOO via SL, one of the terminals sends an SL BSR to a base station via a UL shown in FIGURE 2, where the SL BSR is used to indicate an amount of data to be sent that exists in a sidelink buffer of the terminal, so that the base station allocates, to the terminal based on the SL BSR, a sidelink resource (SL grant) to transmit the sidelink data (SL data). Currently, in a scenario where a terminal simultaneously activates an UL BSR and an SL BSR, there is no effective solution to improve the efficiency of sending uplink and sidelink data. BRIEF DESCRIPTION OF THE INVENTION The modalities of this application provide a method for submitting a buffer status report and an apparatus for improving the uplink and / or sidelink data transmission efficiency. To achieve the above objective, the following technical solutions are used in the modalities of this application. According to a first aspect, one embodiment of this application provides a method for submitting a buffer status report. The method applies to a terminal device, a component (for example, a system-on-a-chip) of a terminal device, or another component having a terminal function. The method includes: The terminal device obtains a first parameter corresponding to a side-link buffer status report (BSR) from SL and a second parameter corresponding to an up-link buffer status report (BSR) from UL, and determines, based on the first and second parameters, whether a priority of the SL BSR is higher than a priority of the UL BSR, or whether a priority of the UL BSR is higher than a priority of the SL BSR.The first parameter relates to a priority of a side-link service that carries data, and the second parameter relates to a priority of an uplink service that carries data. Alternatively, the first parameter is determined based on a priority corresponding to a side-link service that carries data, and the second parameter is determined based on a priority of an uplink service that carries data. In one possible implementation, the first parameter could be a priority (for example, a priority of a side-link service with a higher priority) in one or more priorities corresponding to one or more side-link services that carry data, and the second parameter could be a priority (for example, a higher priority) in one or more priorities corresponding to one or more uplink services that carry data. In the existing solution, a terminal device can preferably continuously encapsulate a media access control element (MAC CE) of an SL BSR or a MAC CE of an UL BSR, and then uplink or sidelink data transmission is delayed because a priority of a UL BSR and a priority of an SL BSR are determined by comparing a priority of an LCH with a higher priority in the priorities that correspond to the LCHs to activate the UL BSR with a priority of an LCH with a higher priority in the priorities that correspond to the LCHs to activate the SL BSR.Compared to the existing solution, in the technical solutions under the modalities of this application, the UL BSR priority and the SL BSR priority are determined based on the priority of a sidelink service that actually carries sidelink data and / or the priority of an uplink service that actually carries uplink data. The resulting priority comparison best satisfies a service requirement. This allows the terminal device to preferentially send high-priority uplink data or high-priority sidelink data subsequently. This improves the efficiency of uplink or sidelink data transmission. In a possible solution, the first parameter is a priority of a side-link service with a higher priority in one or more priorities that correspond to one or more side-link services that have side-link data; and / or the second parameter is a priority of an uplink service with a higher priority in one or more priorities that correspond to one or more uplink services that have uplink data. In a possible solution, the sidelink service includes one or more of the following: a sidelink QoS quality of service flow, a sidelink logical channel (LCH), a sidelink data radio carrier (DRB), a sidelink logical channel group (LCG), a sidelink service destination identifier, and a sidelink packet data unit (PDU) session. The uplink service includes one or more of the following: an uplink quality of service flow, an uplink logical channel (LCH), an uplink data radio carrier (DRB), an uplink logical channel group (LCG), an uplink service destination identifier, and an uplink packet data unit session. In a possible solution, the sidelink service is the SL LCG, the first parameter is a priority of an SL LCG with a higher priority in one or more priorities that correspond to one or more SL LCGs that have sidelink data; and / or if the uplink service is the UL LCG, the second parameter is a priority of a UL LCG with a higher priority in one or more priorities that correspond to one or more UL LCGs that have uplink data. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ In a possible solution, if the sidelink service is the SL LCH, the first parameter is a priority of an SL LCH with a higher priority in one or more priorities that correspond to one or more SL LCHs that have sidelink data; and / or if the uplink service is the UL LCH, the second parameter is a priority of a UL LCH with a higher priority in one or more priorities that correspond to one or more UL LCHs that have uplink data. In a possible solution, the terminal device determining, based on the first and second parameters, that an SL BSR priority is higher than a UL BSR priority, or that a UL BSR priority is higher than an SL BSR priority, includes: If the first parameter is greater than the second parameter, the terminal device determines that the SL BSR priority is greater than the UL BSR priority; or if the first parameter is less than the second parameter, the terminal device determines that the UL BSR priority is greater than the SL BSR priority. In one possible solution, the method also includes: If there is a service that satisfies a first condition, the terminal device generates a first BSR, where the first BSR includes buffer state information of the service that satisfies the first condition. The terminal device sends the first BSR. The first condition is that a service priority is greater than or equal to a first threshold. In one possible solution, the terminal device sends the first BSR on a first uplink resource. In one possible solution, the first BSR does not include buffer state information for a service that does not meet the first condition. In other words, the first BSR only includes buffer state information for a service whose priority is greater than or equal to the first threshold. In one possible solution, the first threshold includes any of the following: a preconfigured value, a value configured by a network, a service priority with a higher priority among the services that trigger a lower-priority BSR, or a service priority with a higher priority among one or more services that have data and correspond to a lower-priority BSR. Alternatively, in another possible implementation, the first threshold could be a value determined by the terminal device based on certain parameters. For example, the terminal device determines the first threshold based on the size of the first uplink resource. If the priority of the UL BSR is higher than the priority of the SL BSR, the lower priority BSR is the SL BSR; or if the priority of the UL BSR is lower than the priority of the SL BSR, the lower priority BSR is the UL BSR. The service that satisfies the first condition can include both a sidelink and an uplink service. The uplink service is a logical uplink channel, and the sidelink service is a logical sidelink channel. Figure 11 is used as an example, and a technical solution corresponding to Figure 6(a) is used to compare the service priorities. If the first threshold is 4, the LCHs that have data are SL LCHs, filled in black, with priority values of 2, 7, 8, 4, 6, and 10, and UL LCHs with priority values of 3, 4, 5, and 6. The priority of the first SL LCH in an SL LCG 1, corresponding to a DST 1, and the priority of the third UL LCH in an UL LCG 1 are greater than or equal to the first threshold. In other words, the LCHs that satisfy the first condition are the LCHs indicated by the arrows in FIGURE 11. The service that satisfies the first condition can include both a sidelink and an uplink service. The uplink service is a group of logical uplink channels, and the sidelink service is a group of logical sidelink channels. Figure 11 is used as an example, and a technical solution corresponding to Figure 6(a) is used to compare the service priorities. If the first threshold is 4, there are six LCGs that have data in FIGURE 11. A priority value for an LCG 1 corresponding to a DST 1 is 1. Likewise, a priority value for an LCG 2 corresponding to a DST 1 is 7, a priority value for an LCG 1 corresponding to a DST 2 is 4, and a priority value for an LCG 2 corresponding to a DST 2 is 9. A priority value for an LCG 1 corresponding to a DST 3 is 1, and a priority value for an LCG 1 corresponding to a DST 4 is 4.In other words, the LCGs whose priorities are greater than or equal to the first threshold are four LCGs indicated by the dashed line boxes. In a possible implementation, the service that satisfies the first condition is either a sidelink or an uplink service. In this case, the first threshold can be related to the priority of an upper-level BSR (UL BSR) and the priority of a lower-level BSR (SL BSR). Specifically, when the priority of the UL BSR is greater than the priority of the SL BSR, the service that satisfies the first condition is an uplink service whose service priority is greater than or equal to the first threshold. When the priority of the UL BSR is less than the priority of the SL BSR, the service that satisfies the first condition is a sidelink service whose service priority is greater than or equal to the first threshold. The technical solutions corresponding to Figure 6(a), Figure 6(b), or Figure 6(c), or an existing technology, can be used to compare the priority of the UL BSR with the priority of the SL BSR. IVIA / t / ZUZZ / UO I IOO of the BSRdeSL. In this case, after the terminal device determines the priority of the UL BSR and the priority of the SL BSR, the terminal device can truncate a higher-priority BSR. Specifically, the terminal device limits the amount of LCG buffer state information contained in the higher-priority BSR. In this case, the first threshold can be the priority of the highest-priority service among the priorities corresponding to the activation services of the lower-priority BSR, or the priority of the highest-priority service among one or more priorities corresponding to one or more services that hold data and correspond to the lower-priority BSR. Alternatively, the first threshold can be a preconfigured value, a value configured by a network device, or a value determined by the terminal device. In one possible solution, the method also includes: The terminal device sends a second BSR, which includes buffer state information for the service that does not meet the first condition. In other words, the second BSR includes buffer state information for a service whose priority is less than or equal to the first threshold. Since the terminal device sends the first BSR on the first uplink resource, if there is a remaining resource on the first uplink resource, the terminal device can send the second BSR on the same resource. Alternatively, if there are no remaining resources on the first uplink resource, the terminal device can send the second BSR on a second uplink resource. According to a second aspect, this application provides a method for submitting a buffer status report. The method can be implemented using a terminal device, a component (for example, a system-on-a-chip) of a terminal device, or another component that has a terminal function. The method includes: The terminal device obtains the size of a first uplink resource and determines, based on the size of the first uplink resource, whether a priority of an UL BSR is greater than a priority of an SL BSR, or vice versa. In a possible solution, the terminal device determining, based on the size of the first uplink resource, that a priority of an UL BSR is greater than a priority of an SL BSR includes: If the size of the first uplink resource is greater than or equal to a size of an UL BSR, or the size of the first uplink resource is greater than or equal to the sum of a size of an UL BSR and a size of an SL BSR that includes buffer state information from at least one SL LCG, or the size of the first uplink resource is greater than or equal to a size of an UL BSR and the size of the first uplink resource is less than or equal to a size of an SL BSR, or the size of the first uplink resource is greater than or equal to the sum of a size of an UL BSR and a size of an SL BSR that includes buffer state information from at least one SL LCG,and the size of the first uplink resource is less than or equal to the size of the SL BSR, the terminal device determines that the priority of the UL BSR is greater than the priority of the SL BSR. In a possible solution, the terminal device determining, based on the size of the first uplink resource, that an SL BSR priority is greater than an UL BSR priority includes: If the size of the first uplink resource is greater than or equal to the size of the SL BSR, or the size of the first uplink resource is greater than or equal to the sum of the size of the SL BSR and the size of the UL BSR that includes buffer state information from at least one UL LCG, or the size of the first uplink resource is greater than or equal to the size of the SL BSR and the size of the first uplink resource is less than or equal to the size of the UL BSR, or the size of the first uplink resource is greater than or equal to the sum of the size of the SL BSR and the size of the UL BSR that includes buffer state information from at least one UL LCG,and the size of the first uplink resource is less than or equal to the size of the UL BSR, the terminal device determines that the priority of the SL BSR is greater than the priority of the UL BSR. In one possible solution, the method also includes: The terminal device obtains a first parameter that corresponds to the SL BSR and a second parameter that corresponds to the UL BSR. The first parameter is a priority of a side-link service with a higher priority in one or more priorities that correspond to one or more side-link services that have side-link data; and / or the second parameter is a priority of an uplink service with a higher priority in one or more priorities that correspond to one or more uplink services that have uplink data. Alternatively, the first parameter is a priority of a side-link service with a higher priority in the priorities that correspond to side-link services to activate the SL BSR; and / or the second parameter is a priority of an uplink service with a higher priority in the priorities that correspond to uplink services to activate the UL BSR. That the terminal device determines, based on the size of the first uplink resource, that a priority of an UL BSR is greater than a priority of an SL BSR, or that a priority of an SL BSR is greater than a priority of an UL BSR ML / I IOO includes: The terminal device determines, based on the size of the first uplink resource, the first parameter and the second parameter, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR. In a possible solution, the terminal device determines, based on the size of the first uplink resource, the first parameter, and the second parameter, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR. This includes: If the size of the first uplink resource is less than the size of the SL BSR and less than the size of the UL BSR, the terminal device determines, based on the first parameter and the second parameter, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR.or if the size of the first uplink resource is greater than or equal to the size of the SL BSR and greater than or equal to the size of the UL BSR, the terminal device determines, based on the first parameter and the second parameter, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR. In one possible solution, the terminal device determines, based on the first and second parameters, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR, including: If the first parameter corresponding to the SL BSR is greater than the second parameter corresponding to the UL BSR, the terminal device determines that the priority of the SL BSR is greater than the priority of the UL BSR; or if the first parameter corresponding to the SL BSR is less than the second parameter corresponding to the UL BSR, the terminal device determines that the priority of the UL BSR is greater than the priority of the SL BSR. According to a second aspect, one embodiment of this application provides a method for submitting a buffer status report. The method applies to a terminal device, a component (for example, a system-on-a-chip) of a terminal device, or another component that has a terminal function. The method includes: The terminal device generates a first BSR and sends the first BSR. The first BSR includes buffer status information for a service that satisfies a first condition. The first condition is that a service priority is greater than or equal to a first threshold. In one possible solution, the first BSR does not include buffer state information for a service that does not meet the first condition. In a possible solution, the first threshold includes any of the following: a preconfigured value, a value configured by a network device, a service priority with a higher priority among the services that trigger a lower-priority BSR, or a service priority with a higher priority among one or more services that have data and correspond to a lower-priority BSR. In this case, if a UL BSR priority is higher than a SL BSR priority, the lower-priority BSR is the SL BSR; or if a UL BSR priority is lower than a SL BSR priority, the lower-priority BSR is the UL BSR. In one possible solution, the method further includes: The terminal device sends a second BSR, where the second BSR includes the buffer state information of the service that does not satisfy the first condition. According to a fourth aspect, one modality of this application provides a communication apparatus. The apparatus may be a terminal device, a component (for example, a system-on-a-chip) of a terminal device, or another component having a terminal function. The apparatus includes a processing module and a transceiver module. The processing module is configured to: obtain a first parameter corresponding to a side-link buffer status report (BSR) from SL and a second parameter corresponding to an uplink buffer status report (BSR) from UL, and determine, based on the first and second parameters, whether a priority of the SL BSR is higher than a priority of the UL BSR, or vice versa.The first parameter relates to a priority of a side-link service that has data, and the second parameter relates to a priority of an uplink service that has data. In a possible solution, the first parameter is a priority of a side-link service with a higher priority in one or more priorities that correspond to one or more side-link services that have side-link data; and / or the second parameter is a priority of an uplink service with a higher priority in one or more priorities that correspond to one or more uplink services that have uplink data. In a possible solution, the sidelink service includes one or more of the following: a sidelink QoS quality of service flow, a sidelink logical channel (LCH), a sidelink data radio carrier (DRB), a sidelink logical channel group (LCG), a sidelink service destination identifier, and a sidelink packet data unit (PDU) session. The uplink service includes one or more of the following: an uplink QoS flow, an uplink logical channel (LCH), an uplink data radio carrier (DRB), or an uplink logical channel group (LCG). IVIA / I IOO upstream, an uplink service destination identifier and a data unit session per uplink packet. In a possible solution, the sidelink service is the SL LCG, the first parameter is a priority of an SL LCG with a higher priority in one or more priorities that correspond to one or more SL LCGs that have sidelink data; and / or if the uplink service is the UL LCG, the second parameter is a priority of a UL LCG with a higher priority in one or more priorities that correspond to one or more UL LCGs that have uplink data. In a possible solution, if the sidelink service is the SL LCH, the first parameter is a priority of an SL LCH with a higher priority in one or more priorities that correspond to one or more SL LCHs that have sidelink data; and / or if the uplink service is the UL LCH, the second parameter is a priority of a UL LCH with a higher priority in one or more priorities that correspond to one or more UL LCHs that have uplink data. In one possible solution, the processing module is configured to determine, based on the first and second parameters, whether an SL BSR priority is higher than an UL BSR priority, or whether an UL BSR priority is higher than an SL BSR priority. This includes: If the first parameter is greater than the second parameter, the processing module is configured to determine that the SL BSR priority is higher than the UL BSR priority; or if the first parameter is less than the second parameter, the processing module is configured to determine that the UL BSR priority is higher than the SL BSR priority. In a possible solution, the processing module is further configured to generate a first BSR when there is a service that satisfies a first condition, where the first BSR includes buffer state information of the service that satisfies the first condition. The transceiver module is configured to send the first BSR. The first condition is that a service priority is greater than or equal to a first threshold. In one possible solution, the first BSR does not include buffer state information for a service that does not meet the first condition. In a possible solution, the first threshold includes any of the following: a preconfigured value, a value configured by a network, a service priority with a higher priority in the priorities that correspond to the services to activate a lower-priority BSR, or a service priority with a higher priority in one or more priorities that correspond to one or more services that have data and that correspond to a lower-priority BSR. IVIA / t / ZUZZ / UO I IOO priority. If the priority of the UL BSR is higher than the priority of the SL BSR, the lower priority BSR is the SL BSR; or if the priority of the UL BSR is lower than the priority of the SL BSR, the lower priority BSR is the UL BSR. In one possible solution, the transceiver module is further configured to send a second BSR, where the second BSR includes buffer status information for the service that does not satisfy the first condition. Optionally, the communication apparatus in the fourth aspect may also include a storage module. The storage module stores a program or instruction. When the processing module executes the program or instruction, the communication apparatus in the fourth aspect is enabled to perform the functions of the terminal device in the first aspect. According to a fifth aspect, one modality of this application provides a communication apparatus. The apparatus may be a terminal device, a component (for example, a chipset) of a terminal device, or another component that has a terminal function. The apparatus includes a processing module and a transceiver module. The processing module is configured to: obtain a first uplink resource size and determine, based on the first uplink resource size, whether a priority of an UL BSR is greater than a priority of an SL BSR, or whether a priority of an SL BSR is greater than a priority of an UL BSR. In a possible solution, the processing module is configured to determine, based on the size of the first uplink resource, whether a priority of an UL BSR is greater than a priority of an SL BSR. This includes: If the size of the first uplink resource is greater than or equal to a size of an UL BSR, or if the size of the first uplink resource is greater than or equal to the sum of a size of an UL BSR and a size of an SL BSR that includes buffer state information from at least one SL LCG, or if the size of the first uplink resource is greater than or equal to a size of an UL BSR and the size of the first uplink resource is less than or equal to a size of an SL BSR, or if the size of the first uplink resource is greater than or equal to the sum of a size of an UL BSR and a size of an SL BSR that includes buffer state information from at least one SL LCG.and the size of the first uplink resource is less than or equal to the size of the SL BSR, the processing module is configured to determine that the priority of the UL BSR is greater than the priority of the SL BSR. In one possible solution, the processing module could be configured to determine, based on the size of the first uplink resource, the priority of a BSR. SL's ML / I IÓO is greater than a UL's BSR priority includes: If the size of the first uplink resource is greater than or equal to an SL BSR size, or the size of the first uplink resource is greater than or equal to the sum of an SL BSR size and a UL BSR size that includes buffer state information from at least one UL LCG, or the size of the first uplink resource is greater than or equal to an SL BSR size and the size of the first uplink resource is less than or equal to a UL BSR size, or the size of the first uplink resource is greater than or equal to the sum of an SL BSR size and a UL BSR size that includes buffer state information from at least one UL LCG, and the size of the first uplink resource is less than or equal to the size of the UL BSR,The processing module is configured to determine that the SL BSR priority is higher than the UL BSR priority. In one possible solution, the processing module is further configured to obtain a first parameter that corresponds to the SL BSR and a second parameter that corresponds to a UL BSR. The first parameter is a priority of a side-link service with a higher priority in one or more priorities that correspond to one or more side-link services that have side-link data; and / or the second parameter is a priority of an uplink service with a higher priority in one or more priorities that correspond to one or more uplink services that have uplink data. Alternatively, the first parameter is a priority of a side-link service with a higher priority in the priorities that correspond to side-link services to activate the SL BSR; and / or the second parameter is a priority of an uplink service with a higher priority in the priorities that correspond to uplink services to activate the UL BSR. The processing module is configured to determine, based on the size of the first uplink resource, whether the priority of an UL BSR is greater than the priority of an SL BSR, or whether the priority of an SL BSR is greater than the priority of an UL BSR. In a possible solution, the processing module is configured to determine, based on the size of the first uplink resource, the first parameter, and the second parameter, whether the priority of the UL BSR is greater than the priority of the SL BSR, or whether the priority of the SL BSR is greater than the priority of the UL BSR. This includes: If the size of the first uplink resource is less than the size of the SL BSR and less than the size of the UL BSR, the processing module is configured to determine, based on the first and second parameters, whether the priority of the UL BSR is greater than the priority of the SL BSR, or whether the priority of the SL BSR is greater than the priority of the UL BSR. Alternatively, if the size of the first uplink resource is greater than or equal to one SL BSR size and greater than or equal to one UL BSR size, the terminal device determines, based on the first and second parameters, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR. In one possible solution, the processing module is configured to determine, based on the first and second parameters, whether the priority of the UL BSR is greater than the priority of the SL BSR, or whether the priority of the SL BSR is greater than the priority of the UL BSR. This includes: If the first parameter corresponding to the SL BSR is greater than the second parameter corresponding to the UL BSR, the processing module is configured to determine that the priority of the SL BSR is greater than the priority of the UL BSR; or if the first parameter corresponding to the SL BSR is less than the second parameter corresponding to the UL BSR, the processing module is configured to determine that the priority of the UL BSR is greater than the priority of the SL BSR. Optionally, the communication apparatus in the fifth aspect may also include a storage module. The storage module stores a program or instruction. When the processing module executes the program or instruction, the communication apparatus in the fifth aspect is enabled to perform the functions of the terminal device in the second aspect. According to a sixth aspect, one modality of this application provides a communication apparatus. The apparatus may be a terminal device, a component (for example, a chipset) of a terminal device, or another component that has a terminal function. The apparatus includes a processing module and a transceiver module. The processing module is configured to generate a first BSR. The transceiver module is configured to send the first BSR. The first BSR includes buffer status information for a service that satisfies a first condition. The first condition is that a service priority is greater than or equal to a first threshold. In one possible solution, the first BSR does not include buffer state information for a service that does not meet the first condition. In a possible solution, the first threshold includes any of the following: a value to perform the method to present a buffer status report in accordance with any of the first aspect, the second aspect, or the third aspect. According to an eleventh aspect, a computer program product is provided that includes an instruction. When the computer program product is executed on a computer, the computer is enabled to perform the method for submitting a buffer status report according to any of the first, second, or third aspects. According to a twelfth aspect, a circuit system is provided. The circuit system includes a processing circuit. The processing circuit is configured to perform the method for submitting a buffer status report according to any of the first, second, or third aspects. According to a thirteenth aspect, a chip is provided. The chip includes a processor. The processor is coupled to a memory. The memory stores a program instruction. The processor executes the program instruction stored in the memory, to implement the method for presenting a buffer status report according to any of the first, second, or third aspects. According to the fourteenth aspect, a chip system is provided. The chip system includes a processor and an input / output port. The processor is configured to implement a processing function of the method for submitting a buffer status report according to any of the first through third aspects. The input / output port is configured to implement a transmit / receive function of the method for submitting a buffer status report according to any of the first through third aspects. In one possible solution, the chip system also includes memory. The memory is configured to store a program instruction and data to implement a method function for presenting a buffer status report according to any of the first through third aspects. The chip system may include one chip or may include one chip and another discrete component. For technical effects caused by any form of design in aspects two through fourteen, refer to the technical effects caused by different forms of design in aspect one. Details are not described again herein. BRIEF DESCRIPTION OF THE DRAWINGS FIGURE 1 is a schematic diagram of a V2X communication scenario according to one modality of this application. FIGURE 2 is a schematic diagram of an uplink and a sidelink IVIA / t / ZUZZ / UO I IOO in accordance with a modality of this application. FIGURE 3 is a schematic architectural diagram of a communication system according to one modality of this request. FIGURE 4 is a schematic structural diagram of a communication apparatus according to one modality of this request. FIGURE 5 is a schematic diagram of a priority comparison principle according to one modality of this application. FIGURE 6(a), FIGURE 6(b) and FIGURE 6(c) are schematic flowcharts of methods for submitting a buffer status report in accordance with modalities of this request. FIGURE 7 is a schematic diagram of a priority comparison principle according to one modality of this application. FIGURE 8 and FIGURE 9 are schematic flowcharts of methods for submitting a buffer status report in accordance with the modalities of this request. FIGURE 10(a), FIGURE 10(b) and FIGURE 10(c) are schematic flowcharts of methods for submitting a buffer status report in accordance with modalities of this request. FIGURE 11 is a schematic diagram of a priority comparison principle according to one modality of this application. FIGURE 12 is a schematic structural diagram of a communication apparatus according to one modality of this application. DETAILED DESCRIPTION OF THE MODALITIES The following describes the technical solutions for this application with reference to the accompanying drawings. First, to help readers understand the technical solutions in the modalities of this application, some technical terms related to the modalities of this application are described first. 1. Logical Channel (LCH): A terminal can establish multiple logical channels based on different services. An LCH is used to indicate a channel that carries data. LCHs can be classified as control channels and traffic channels based on their type. 2. Logical Channel Group (LCG): If there is data to send on a logical channel, a Logical Channel Block Scheduler (BSR) is presented. This increases signaling overhead. To avoid this, the concept of an LCG is introduced in LTE. An LCG includes one or more logical channels. The UE presents a BSR based on an LCG. Specifically, the UE specifies, within a BSR, a buffer size for each LCG. 3. BSR MAC Control Element (CE): A BSR is carried in a UL MAC protocol data unit (PDU), and the UL MAC PDU includes one or more BSR MAC CEs. Specifically, on a PC5 interface, a UL MAC PDU includes one or more SL BSR MAC CEs; and on a Uu interface, a UL MAC PDU includes one or more UL BSR MAC CEs. For example, a format of a BSR MAC CE is shown in Table 1. IVIA / I IOO Table 1 Destination index 1 LCG ID 1 octet 1 Buffer size 1 octet 2 Destination index 2 LCG ID 2 octets 3 Buffer size 2 octets 4 Each target index (DST for short) can include one or more LCG IDs, and multiple target indexes can include the same LCG ID. For example, target index 1 can include LCG ID 1 and LCG ID 2, and target index 2 can also include LCG ID 1 and LCG ID 2. A target index and an LCG ID can be used together to uniquely identify an LCG. In the modalities of this application, a terminal device can encapsulate the BSR MAC CE shown in Table 1 in a UL MAC PDU and send the UL MAC PDU to a network device to report a buffer size (i.e., buffer size 1) in an LCG 1 and a buffer size (i.e., buffer size 2) of an LCG 2 to the network device. A UL BSR MAC CE format on the Uu interface may differ from an SL BSR MAC CE format on the PC5 interface. Specifically, the UL BSR MAC CE on the Uu interface has four formats: a short BSR format (with a fixed size), i.e., a short BSR format, a long BSR format (with a variable size), i.e., a long BSR format, a short truncated BSR format (with a fixed size), i.e., a short truncated BSR format, and a long truncated BSR format (with a variable size), i.e., a long truncated BSR format. The SL BSR MAC CE on the PC5 interface has two formats: a BSR format (with a variable size), and a truncated BSR format (with a variable size). 4. Logical Channel Identity (LCID): A BSR format, or BSR MAC CE format, is identified by an LCID in a subheader included in a UL MAC PDU. In one possible implementation, an LCID value and the meanings of different LCID values are shown in Table 2. IVIA / t / ZUZZ / UO I IOO Table 2 LCID Value Meaning 000000 CCCH other than 48 bits 000001 to 100000 Logical Channel Identity 100001 48-bit CCCH 100010 to 110100 Reserved 110101 Bit Rate Recommended Query 110110 Multi-Entry PHR (Four-Octet C1) 110111 Configured Grant Acknowledgement 111000 Multi-Entry PHR (One-Octet C1) 111001 Single-Entry PHR 111010 C-RNTI 111011 Short Truncated BSR 111100 Long Truncated BSR 111101 Short BSR 111110 Long BSR 111111 Padding It can be learned that, according to Table 2, when the LCID values are 111011, 111100, 111101 and 111110, the BSR formats are a short truncated BSR format, a long truncated BSR format, a short BSR format and a long BSR format. Each BSR MAC CE corresponds to an LCID, and the LCID is used to indicate a BSR format of the BSR MAC CE. For example, the BSR MAC CE shown in Table 1 corresponds to an LCID value of 111011, and the LCID value indicates that the BSR MAC CE is in a short truncated BSR format. 5. Pending: Pending means that it is activated and will be sent. For example, pending data is data that will be sent. A pending BSR is a BSR that is activated and will be sent. A pending SR is an SR that is activated and will be sent. 6. Unfilled Buffer Status Report (Unfilled BSR): Based on different activation conditions, BSRs are classified as either a filled buffer status report (filled BSR) or an unfilled buffer status report (unfilled BSR). For example, after a terminal device multiplexes all possible data and signals in a multiplexing sequence, if there is still an uplink resource remaining and the size of the remaining resource is sufficient to accept a BSR and a BSR subheader, the BSR is activated, and this BSR is called a filled BSR. When the terminal device generates data whose priority is higher than a priority of the current data to be transmitted, a BSR is activated, and this BSR is called an unfilled BSR. A higher priority of the previous data can be understood as a priority for an LCH to temporarily store the data. 7. Priority Sequence: Generally, a SL BSR MAC CE and a UL BSR MAC CE have a priority sequence in a multiplexing and encapsulation process of the SL BSR MAC CE or the UL BSR MAC CE to form a MAC PDU. If the priority of the SL BSR MAC CE is higher than the priority of the UL BSR MAC CE, a terminal device preferentially encapsulates the SL BSR MAC CE in the MAC PDU; otherwise, if the priority of the SL BSR MAC CE is lower than the priority of the UL BSR MAC CE, the terminal device preferentially encapsulates the UL BSR MAC CE in the MAC PDU. 8. Quality of Service (QoS) flow: Transmission priorities can be assigned to a type of data flow to identify the relative importance of the data flows. Additionally, mechanisms such as various priority forwarding policies and congestion avoidance mechanisms provided by a device are used to provide special transmission services for data flows. This type of data flow is called a QoS flow. 9. Data Radio Bearer (DRB): Radio carriers are classified into a signaling radio bearer (SRB) and a DRB based on the different content carried. The DRB is used to carry user plane data. The SRB is used to carry control plane data, i.e., signaling. 10. Packet Data Unit Session (PDU Session): A terminal device can establish multiple PDU sessions (Protocol Data Unit Sessions). A PDU session can correspond to multiple QoS flows. Multiple QoS flows corresponding to the same PDU session can be mapped to the same DRB. 11. Service Destination Identifier: Service destination identifiers are used to distinguish between different services. For example, a service destination identifier might be the destination index shown in Table 1. In the forms of this application, BSR and BSR MAC CE may sometimes be used interchangeably. Buffer state, temporary memory state, buffer information, and buffer information are sometimes used interchangeably. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ used interchangeably. For example, a priority in the modalities of this request can be equivalently replaced with a per-packet priority (PPPP), a priority level value, a priority value, a 5G Quality of Service Identifier (5QI), or another parameter that reflects a SL transmission quality requirement. For example, the priority in this request can be replaced with PPPP. The technical solutions described in this application can be applied to various communication systems, such as orthogonal frequency-division multiple access (OFDMA), single-carrier frequency division multiple access (SC-FDMA), and other systems. The terms "system" and "network" are used interchangeably. The OFDMA system can implement wireless technologies such as evolved universal terrestrial radio access (E-UTRA) and ultra-mobile broadband (UMB). E-UTRA is an evolved version of a universal mobile telecommunications system (UMTS).A new version of E-UTRA is used in LTE, and several LTE-based versions were developed under the 3rd Generation Partnership Project (3GPP). A 5G communication system is a next-generation communication system under investigation and may also be referred to as an NR system. A 5G communication system includes a non-standalone (NSA) 5G mobile communication system, a standalone (SA) 5G mobile communication system, or a combination of both. Furthermore, communication systems may also be applied to future-oriented communication technologies, and all are applicable to the technical solutions provided in the modalities of this application.The communication systems listed above for this application are merely examples for illustrative purposes, and are not limited to those applicable. A general overview is provided herein, and details are not described below. All aspects, modes, or characteristics are presented in this application when describing a system that may include a plurality of devices, components, modules, and the like. It should be appreciated and understood that each system may include other devices, components, modules, and the like, and / or may not include all the devices, components, modules, and the like discussed with reference to the accompanying drawings. Furthermore, a combination of these solutions may be used. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ In the descriptive report and accompanying drawings of this application, the terms first, second and similar are intended to distinguish between different objects or to distinguish between different processing of the same object, but are not used to describe a particular order of objects. At least one means one or more. A plurality of means two or more than two. The term and / or describes an association relationship between associated objects and can indicate three relationships. For example, A and / or B can indicate the following cases: Only A exists, both A and B exist, and only B exists, where A and B can be in singular or plural form. The character 7 generally indicates a relationship of or between associated objects. For example, A / B can represent A or B. Furthermore, the terms "includes," "contains," and any other variations thereof mentioned in the descriptions of this application are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that includes a number of steps or units is not limited to the listed steps or units but may optionally include other unlisted steps or units, or optionally include other steps or units inherent in the process, method, product, or device. It should be noted that in the forms of this application, the words "an example," "for instance," or "similar" are used to represent and give an example, illustration, or description. Any form or design scheme described as an example or "for instance" in the forms of this application shall not be explained as being more preferred or having more advantages than any other form or design scheme. Specifically, the use of the words "an example," "for instance," or "similar" is intended to introduce a related concept in a specific way. In the descriptive report and accompanying drawings for this application, "of," "corresponding" (or "relevant"), and "corresponding" may sometimes be used interchangeably. It should be noted that consistent meanings are expressed when differences are not emphasized. In the forms of this application, information, signal, message, channel, and signaling may sometimes be used interchangeably. It should be noted that consistent meanings are expressed when differences are not emphasized. Of, corresponding, relevant, and corresponding may sometimes be used interchangeably. It should be noted that consistent meanings are expressed when differences are not emphasized. In the forms of this application, a subscript, for example, Wi, may sometimes be incorrectly written as W1. Consistent meanings are expressed when they are not ML / t / ZUZZ / UO I IOO emphasize differences. The network architecture and service scenario described in the modalities of this request are intended to clarify the technical solutions provided and do not limit them. A person with ordinary technical experience may know that, with the evolution of network architecture and the emergence of new service scenarios, the technical solutions provided in the modalities of this request are also applicable to similar technical problems. Some scenarios in the modalities of this application are described using a scenario in a communication system shown in FIGURE 3 as an example. It should be noted that the solutions in the modalities of this application can also be applied to another mobile communication system, and a name can be replaced accordingly with the name of a corresponding function in the other mobile communication system. To facilitate understanding of the modalities of this application, a communication system shown in Figure 3 is first used as an example to describe in detail a communication system applicable to the modalities of this application. Figure 3 is a schematic architectural diagram of a communication system to which a method for submitting a buffer status report is applicable according to one modality of this application. As shown in Figure 3, the communication system includes one or more terminal devices, such as terminal device 1 to terminal device 7, and one or more network devices. The terminal device and the network device can communicate with each other through a Uu interface over an uplink (UL) and / or a downlink (DL). Over the UL, the terminal device is a transmitter and the network device is a receiver. Over the DL, the network device is a transmitter and the terminal device is a receiver. It should be understood that the different terminal devices mentioned above can communicate with each other via a PC5 interface over a sidelink (SL). Over the SL, one terminal device is a sender, and another terminal device or devices are receivers. It should be understood that Figure 3 simply shows, as an example, signals between some terminals and signals between some terminals and the network device. Signals can also be sent or received between other terminals, and signals can also be sent or received between other terminals and the network device. It should be understood that both a UL and an SL can satisfy a plurality of standards such as LTE and NR. When the following specific comparison is made between IVIA / t / ZUZZ / UO I IOO a UL and an SL and between SLs, no specific standards are limited. For example, the comparison can be made between an NR UL and an NR SL, or between an NR UL and an LTE SL, or between an LTE UL and an NR SL. For example, for the same interface, the comparison between SLs is limited to the comparison between an NR SL and an LTE SL. In some communication scenarios, when a terminal device has both uplink and downlink data, it may be activated to send an uplink BSR and a downlink BSR to a network device. In this case, the terminal device needs to determine a priority for the uplink BSR and a priority for the downlink BSR; that is, it determines priorities for multiplexing / encapsulating the uplink and downlink BSRs within the same MAC PDU.Specifically, when uplink resources are limited, the uplink resources are insufficient to simultaneously carry a UL BSR MAC CE, a UL BSR MAC CE subheader, an SL BSR MAC CE and an SL BSR MAC CE subheader, or are insufficient to simultaneously carry a UL BSR MAC CE and an SL BSR MAC CE, or are insufficient to simultaneously carry a UL BSR MAC CE, a UL BSR MAC CE subheader and an SL BSR MAC CE, or are insufficient to simultaneously carry a UL BSR MAC CE, an SL BSR MAC CE and an SL BSR MAC CE subheader.Alternatively, in another case, the terminal device needs to determine the UL BSR priority and the SL BSR priority, to determine whether to preferably encapsulate a UL BSR MAC CE and a UL BSR MAC CE subheader in a UL MAC PDU, or preferably encapsulate an SL BSR MAC CE and an SL BSR MAC CE subheader in the UL MAC PDU. In one possible implementation, a fixed priority sequence for UL and SL BSRs is stipulated in a protocol related to the existing LTE logical channel priority. Specifically, it is stipulated that in LTE, the priority of an unpadded SL BSR is always lower than the priority of an unpadded UL BSR. In other words, a UL BSR priority is always higher than an SL BSR priority. In this case, when there is a high-priority sidelink service or high-priority sidelink data to activate the SL BSR, and there is a low-priority uplink service or low-priority uplink data to activate the UL BSR, the terminal device will always preferentially encapsulate the UL BSR MAC CE within the UL MAC PDU.As a result, the UL BSR activated based on the low-priority service replaces the resources used for the SL BSR activated based on the high-priority service, and the transmission of the SL BSR activated based on the high-priority sidelink service may be delayed. Furthermore, the transmission of high-priority sidelink data may be delayed accordingly. In other words, the transmission efficiency of high-priority sidelink data is relatively low. In a possible implementation, a flexible priority solution for UL and SL BSRs is also provided within the existing solution. A priority of an LCH with a higher priority (highest LCH priority) in one or more priorities corresponding to one or more LCHs for activating the SL BSR can be considered the SL BSR priority, and a priority of an LCH with a higher priority in one or more priorities corresponding to one or more LCHs for activating the UL BSR can be considered the UL BSR priority. For example, in the LCHs for activating the SL BSR, the priority value of LCH 1 is 7 and the priority value of LCH 2 is 2. A higher priority value is assumed to indicate a lower priority. Since the priority of LCH 2 is higher than the priority of LCH 1, the priority of LCH 2 can be considered the SL BSR priority.In the LCHs for activating the UL BSR, the priority value of LCH 3 is 7, the priority value of LCH 4 is 2, and the priority value of LCH 5 is 1. LCH 5 has the highest priority, and its priority can be considered the priority of the UL BSR. In this case, the terminal device determines that the UL BSR priority is higher by comparing the SL BSR priority (i.e., the priority of LCH 2, where the value is 2) with the UL BSR priority (i.e., the priority of LCH 5, where the value is 1). In this flexible priority configuration, the resulting priority is imprecise. Specifically, as shown in Figure 5, a black-filled rectangle represents a logical channel carrying data, and a blank rectangle represents a logical channel without data. At time T1, there is data to be sent on logical channels whose priorities are 7, 8 and 10, and an SL 1 BSR is activated.A higher priority among the priorities corresponding to the logical channels is 7, and priority 7 can be considered the priority of the SL 1 BSR. Similarly, at time T2, data is to be sent on logical channels with priorities 7, 8, 10, and 4, and an SL 2 BSR is activated. A higher priority among the priorities corresponding to the logical channels is 4. In this case, the priority of the SL 2 BSR is 4. Likewise, at time T3, the priority of an SL 3 BSR is 2. At time T4, the terminal needs to send a UL 1 MAC PDU to the network device on an uplink lease resource 1 (a UL 1 lease). If the UL 1 lease has a limited size, the terminal needs to compare the SL BSR priority with the UL BSR priority. A higher priority in the priorities corresponding from SL 1 BSR to SL 3 BSR is 2. In this case, the priority of SL BSR is considered to be 2.Likewise, the priority of the UL BSR is 3. If the SL BSR has a higher priority, the terminal preferably encapsulates the SL BSR MAC CE and the SL BSR MAC CE subheader in the UL 1 MAC PDU. If the UL 1 MAC PDU can also carry. In addition to other content, the terminal encapsulates the SL BSR MAC CE and the UL BSR MAC CE subheader in the UL MAC PDU 1. In a scenario shown in FIGURE 5, because the SL BSR MAC CE is relatively large, an SL BSR MAC CE in a truncated BSR format is encapsulated in the UL MAC PDU 1. At time T5, the terminal device obtains a sidelink grant resource (SL grant) allocated by the network device to the terminal device, so the terminal device sends some sidelink data across the SL grant. As shown in the FIGURES, before time T6 is reached, sidelink data has been sent on logical channels with priority values of 2, 7, and 8.In the current mechanism, at time T6, if an uplink grant resource 2 (a UL grant 2) obtained by the terminal device is of limited size, the terminal device needs to compare the SL BSR priority with the UL BSR priority. Furthermore, according to the current BSR reporting mechanism, if an SL BSR MAC CE in a truncated BSR format is encapsulated in a UL MAC PDU at a given time, an SL BSR that is pending before that time cannot be canceled. In other words, the SL BSR that is pending before that time remains in a pending state.At time T6, because the previously activated SL1 through SL3 BSRs remain pending, and no other SL BSR with a higher priority is activated, the terminal device still obtains the highest priority among the priorities corresponding to the LCHs for the activated SL1 through SL3 BSRs, and the value is still 2. Furthermore, as shown in Figure 5, the terminal device obtains a higher priority among the priorities corresponding to the LCHs for activating the UL BSR, which is 3. Thus, the SL BSR's priority is still higher. It can be learned that in this form of priority comparison, a previously pending SL BSR's priority is likely to remain higher, and the terminal device is likely to continuously and preferentially multiplex the SL BSR.However, in reality, the SL BSR includes buffer state information from a low-priority SL LCG or SL LCH. Consequently, the presentation of an UL BSR, which includes buffer state information from a high-priority UL LCH or UL LCG, is delayed, resulting in a delay in uplink data transmission and reduced uplink data transmission efficiency. Furthermore, although the flexible priority form can reduce, to some extent, the probability of always preferentially encapsulating the UL BSR MAC CE, in the flexible priority form, when a BSR priority is determined to be relatively high, for example, a SL BSR priority is relatively high, a BSR MAC CE of ML / I IOO SL is preferably encapsulated in the UL MAC PDU. It is easy to understand that the SL BSR MAC CE can include buffer state information (e.g., a buffer size) corresponding to some high-priority sidelink services, and it can also include buffer state information corresponding to some low-priority sidelink services. The priorities corresponding to these low-priority sidelink services may be lower than the priorities of some uplink services. In other words, the buffer state information of some low-priority sidelink services can appropriate resources used for the buffer state information of some high-priority uplink services.Consequently, the transmission of buffer status information for high-priority uplink services is delayed, and the transmission of high-priority uplink data may be delayed. In a possible solution, when determining the priority of the UL BSR and the SL BSR, the terminal device does not consider the priority of the highest-priority LCH in the priorities corresponding to the LCHs that activate the SL BSR as the priority of the SL BSR; nor does it consider the priority of the highest-priority LCH in the priorities corresponding to the LCHs that activate the UL BSR as the priority of the UL BSR. Instead, the terminal device considers the priority of a sidelink service with a higher priority in one or more priorities corresponding to one or more sidelink services that carry data as the priority of the SL BSR, and it considers the priority of an uplink service with a higher priority in one or more priorities corresponding to one or more uplink services that carry data as the priority of the UL BSR.In this way, the terminal device can determine a priority comparison result between the UL BSR and the SL BSR at a given moment based on data that actually exists at that moment, and the resulting priority comparison better satisfies a service requirement. The "current moment" is not limited to a specific time. For example, the current moment could be a moment to determine the priority of the UL BSR or the priority of the SL BSR, or it could be a moment to encapsulate the UL BSR, or it could be a moment to receive an uplink resource. For example, in Figure 5, at time T6, among SL LCHs with priority values of 4, 6, 10, and 9 and UL LCHs with priority values of 3, 4, 5, and 6, the UL LCH has a higher priority (with a value of 3).In this case, the UL-activated BSR based on the UL LCH must be sent preferentially so that the terminal can subsequently send high-priority uplink data preferentially. This satisfies a service requirement to send high-priority uplink data preferentially. Furthermore, the priority comparison result is not affected by a previously pending BSR. Therefore, the priority comparison result is more accurate. In one possible solution, the terminal device determines the UL BSR priority and the SL BSR priority based on the size of a first uplink resource. In a possible solution, the terminal device generates and sends a first BSR. The first BSR includes buffer state information for a service that satisfies a first condition. The first condition is that the service priority is greater than or equal to a first threshold. In the existing solution, a BSR sent on an uplink resource at one time might include buffer state information for a high-priority service and buffer state information for a low-priority service, with the buffer state information for the low-priority service consuming more resources. Compared to the existing solution, in the modalities of this request, the buffer state information for a higher-priority service can be preferentially sent on an uplink resource.This reduces the likelihood that the buffer state information of a lower-priority service will take up more resources. In a possible solution, optionally, when uplink resources are limited in a given time, the terminal device determines, based on the above method, that a BSR needs to be preferentially multiplexed. It should be noted that the MAC CE can be implemented in one or more of the following ways: a MAC CE preconfigured by the network device, a MAC CE dynamically configured by the network device through signaling, or a MAC CE predefined in a protocol and written to the terminal device's internal memory when the terminal device is manufactured or accesses a network. A specific MAC CE implementation is not specifically limited in this application. It should be noted that the specific implementations of the above design solutions will be described in detail in later versions of the method. No details are described here. Optionally, a network device is a device located on the network side of a communication system that has a wireless transmission-reception function, or a chip or system of chips that may be arranged in the device. A network device includes, but is not limited to: an access point (AP) in a wireless fidelity (Wi-Fi) system, such as a home gateway, router, server, switch, and bridge; an evolved NodeB (eNB); ML / t / ZUZZ / UO I IOO radio network controller (RNC), a NodeB (NB), a base station controller (BSC), a base transceiver station (BTS), a home base station (e.g., a home evolved NodeB, or a home NodeB, HNB), a baseband unit (BBU), a wireless relay node, a wireless reverse path node, a transmit point (transmit and receive point, TRP; or transmit point, TP), or the like. The network device may alternatively be a gNB or a transmit point (TRP or TP) in a 5G system, e.g., an NR system, a base station, or a group of base stations (including a plurality of antenna panels) in a 5G system.The network device can alternatively be a network node, such as a baseband unit (BBU), a distributed unit (DU), or a road side unit (RSU) that has a base station function, constituting a gNB or a transmission point. Optionally, the terminal device can be a vehicle, an in-vehicle communication appliance, or an in-vehicle terminal installed in a vehicle and configured to assist the vehicle's travel, or a chip in an in-vehicle communication appliance or an in-vehicle terminal. The in-vehicle terminal can be a device configured to implement a wireless communication function, for example, a terminal or a chip that can be used in a terminal. The terminal can be user equipment (UE), an access terminal, a terminal unit, a terminal station, a mobile station, a mobile console, a remote station, a remote terminal, a mobile device, a wireless communication device, a terminal agent, a terminal appliance, or similar in a 5G network or a future evolved PLMN. The access terminal can be a cell phone, a cordless phone,A telephone with session initiation protocol (SIP), a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with a wireless communication function, a vehicle-mounted device, a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless industrial control terminal, a wireless self-driving terminal, a wireless telemedicine terminal, a wireless smart grid terminal, a wireless transportation safety terminal, a wireless smart city terminal, a wireless smart home terminal, or similar devices. The vehicle-mounted terminal may be mobile or fixed. It should be understood that FIGURE 3 is only a simplified schematic diagram of an example of the communication system to facilitate understanding. The communication system may also include other network devices and / or other terminal devices not shown in FIGURE 3. Optionally, the network device and the terminal device in the modalities of this application may also be collectively referred to as the communication apparatus. The communication apparatus may be a general-purpose device or a dedicated device. This is not specifically limited to the modalities of this application. Figure 4 is a schematic structural diagram of a communication device 200 according to one embodiment of this application. As shown in Figure 4, the communication device 200 may be a terminal device or a network device, or it may be a chip applied to a terminal device or a network device, or another component, module, subsystem, or the like that has a terminal or network device function. As shown in Figure 4, the communication device 200 may include a processor 201, a memory 202, and a transceiver 203. A signal connection exists between the processor 201, the memory 202, and the transceiver 203. For example, the processor 201, the memory 202, and the transceiver 203 may be connected via a communication bus. The following describes components of the 200 communication apparatus in detail with reference to FIGURE 4. The processor 201 is a control center for the communication apparatus 200 and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 201 may be one or more central processing units (CPUs), or an application-specific integrated circuit (ASIC), or it may be configured as one or more integrated circuits that implement the modalities of this application, for example, one or more microprocessors (digital signal processors, DSPs) or one or more field-programmable gate arrays (FPGAs). The processor 201 can execute various functions of the communication apparatus 200 by running or operating a software program stored in memory 202 and by invoking data stored in memory 202. In a specific implementation, in one mode, the 201 processor may include one or more CPUs, for example, a CPU 0 and a CPU 1 shown in FIGURE 4. In a specific implementation, in one mode, the communication apparatus 200 may alternatively include a plurality of processors, for example, processor 201 and processor 204 shown in FIGURE 4. Each of the processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor herein may be one or more communication devices, circuits, and / or processing cores configured to process data (by IVIA / I IOO (for example, a computer program instruction). Memory 202 can be a read-only memory (ROM) or other type of static storage communication device that can store static information and an instruction; or a random access memory (RAM) or other type of dynamic storage communication device that can store information and an instruction.Memory 23 may alternatively be, but is not limited to, electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other compact disc storage, optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, or the like), magnetic disk storage medium or other magnetic storage communication device, or any other medium that can be used to carry or store the expected program code in the form of an instruction or data structure and is accessible by a computer. Memory 202 may exist independently or may be integrated with the processor 201. Memory 202 is configured to store a software program used to perform the solutions for this request, and processor 201 controls the execution of the software program. For a specific implementation, see the following variations of the method. Details are not described herein. The transceiver 203 is configured to perform communication between the communication device 200 and another communication device. The transceiver 203 may include a receiving unit to implement a receiving function and a transmitting unit to implement a transmitting function. It should be noted that the structure of the communication apparatus 200 shown in FIGURE 4 does not constitute a limitation of the communication apparatus. An actual communication apparatus may include more or fewer components than those shown in FIGURE 4, or combine some components, or have different component arrangements. The following specifically describes a method for submitting a buffer status report provided in the modalities of this application with reference to the accompanying drawings. In the configurations of this request, different sidelink services may correspond to different destination Layer 1 identifiers and / or different destination Layer 2 identifiers (Destination Index), or they may correspond to the same destination Layer 1 identifier and / or the same destination Layer 2 identifier. Different sidelink services may correspond to different destination Layer 1 identifiers + pairs of source Layer 1 identifiers (Source Index pair) and / or different destination Layer 2 identifiers + pairs of source Layer 2 identifiers. Different sidelink services may correspond to the same destination Layer 1 identifier + group of source Layer 1 identifiers, and / or the same destination Layer 2 identifier + group of source Layer 2 identifiers. Figure 6(a) is a schematic flowchart 1 of a method for submitting a buffer status report in accordance with one modality of this application. The method for submitting a buffer status report can be applied to a case in which the terminal device shown in Figure 3 submits an SL BSR and / or an UL BSR to the network device. As shown in FIGURE 6(a), the method for presenting a buffer status report includes the following steps. S601: The terminal device obtains a first parameter that corresponds to the SL BSR and a second parameter that corresponds to the UL BSR. In this application, it should be noted that, optionally, a parameter such as a priority for a SL BSR MAC CE can be predefined. This priority is used to indicate the priority of the SL BSR MAC CE in a logical channel prioritization (LCP) multiplexing process. The priority can be defined as equal to or different from the priorities corresponding to a plurality of pending SL BSRs, or it can be equal to or different from the priorities of the SL LCHs / SL LCGs for activating a plurality of SL BSRs. Additionally, a priority for a UL BSR MAC CE is optionally defined. This priority is used to indicate a priority relationship of the UL BSR MAC CE in an LCP multiplexing process.The priority may be the same as or different from the priorities corresponding to a plurality of pending UL BSRs, or it may be the same as or different from the priorities of the UL LCHs / UL LCGs to activate a plurality of UL BSRs. Alternatively, the priority relates to a PPPP or a 5QI. Alternatively, the priority relates to other parameters. Alternatively, in this application, the priority is not predefined for the SL BSR MAC CE and / or the UL BSR MAC CE, and a priority corresponding to the first parameter and a priority corresponding to the second parameter are considered respectively as an SL BSR priority and a UL BSR priority. Alternatively, a priority corresponding to the first parameter and a priority corresponding to the second parameter are considered respectively as an SL BSR MAC CE priority in a multiplexing and encapsulation process of the SL BSR MAC CE in a MAC PDU and a UL BSR MAC CE priority in a multiplexing and encapsulation process of the UL BSR MAC CE in a MAC PDU. IVIA / I IOO Alternatively, in the present invention, the priority is not predefined for the SL BSR MAC CE and / or the UL BSR MAC CE. Instead, only when it is necessary to determine a sequence relationship (or a relative priority sequence) between the UL BSR MAC CE and the SL BSR MAC CE in an LCP multiplexing and encapsulation process, is the priority determined based on the first parameter related to the SL BSR and the second parameter related to the UL BSR. The first parameter relates to a priority of a sidelink service that carries data, and the second parameter relates to a priority of an uplink service that carries data. Specifically, the first parameter is a priority of a sidelink service with a higher priority in one or more priorities corresponding to one or more sidelink services that carry sidelink data; and / or the second parameter is a priority of an uplink service with a higher priority in one or more priorities corresponding to one or more uplink services that carry uplink data. In another possible implementation, the first parameter is a priority of an SL LCH with a higher priority in the SL LCHs included in an SL LCG that corresponds to an LCG ID included in the SL BSR MAC CE and / or the second parameter is a priority of an UL LCH with a higher priority in the UL LCHs included in a UL LCG that corresponds to an LCG ID included in the UL BSR MAC CE. In the UL BSR MAC CE, each LCG corresponds to an indication bit. An indication bit corresponding to an LCG is used to indicate whether the UL BSR MAC CE includes a buffer size field for the LCG. For example, if the bit is 1, it indicates that the UL BSR MAC CE includes a corresponding buffer size field for the LCG. The second parameter is a priority of a UL LCH with a higher priority in the UL LCHs included in a UL LCG that corresponds to an indication bit 1 in the UL BSR MAC CE or the second parameter is a priority of a UL LCH with a higher priority in the UL LCHs included in a UL LCG that corresponds to a buffer size field in the UL BSR MAC CE. Available data means that there is data to be transmitted, available data, or valid data. A sidelink service includes one or more of the following: an SL QoS flow, an SL LCH, an SL DRB, an SL LCG, an SL service destination identifier (Destination Index), and an SL PDU session. An uplink service includes one or more of the following: an UL QoS flow, an UL LCH, a UL DRB, an UL LCG, a UL service destination identifier, and a UL PDU session. IVIA / t / ZUZZ / UO I IÓO In a possible implementation, if the sidelink service is the SL LCH, the first parameter is a priority of an SL LCH with a higher priority in one or more priorities corresponding to one or more SL LCHs that have sidelink data; and / or if the uplink service is the UL LCH, the second parameter is a priority of an UL LCH with a higher priority in one or more priorities corresponding to one or more UL LCHs that have uplink data. In this modality of this request, priority can be represented by a value. A larger value indicates a lower priority, and a smaller value indicates a higher priority. Alternatively, a larger value indicates a higher priority, and a smaller value indicates a lower priority. A specific magnitude relationship between a priority value and a priority is not limited in this modality of this request.Alternatively, priority can also be represented by a classification. For example, priorities are classified into one or more classifications, such as classification A and classification B. Different priorities have different classifications. It can be predefined or preconfigured that a priority in classification A can be higher than a priority in classification B, or vice versa. The following primarily describes the technical solutions in the modalities of this request by using an example where a priority value represents a specific priority, and a larger priority value indicates a lower priority. A general overview is provided herein, and details are not described below.Certainly, a case in which a classification is used to represent a specific priority or another way is used to represent a specific priority is also applicable to solutions in the following modalities. For example, Figure 5 is used as an example. At time T6, the priority values corresponding to the SL LCHs carrying sidelink data are 4, 6, 10, and 9, and an SL LCH with a priority value of 4 has a higher priority. In this case, the first parameter is the priority of the SL LCH (where the priority value is 4). Similarly, for the UL BSR, the priority values corresponding to the UL LCHs carrying uplink data are 3, 4, 5, and 6, and an UL LCH with a priority value of 3 has a higher priority. In this case, the second parameter is the priority of the UL LCH (where the priority value is 3). The second parameter can be used to indicate a priority of the UL BSR. As an additional example, Figure 7 is used. Figure 7 shows a principle for obtaining a first parameter corresponding to an SL BSR.The priority values corresponding to LCHs carrying sidelink data are 2, 7, 8, 4, 6, and 10, and an LCH with a priority value of 2 has the highest priority. Therefore, in this case, the priority corresponds to the LCH with the highest priority. IVIA / t / ZUZZ / UO I IOO is used as the first parameter corresponding to the SL BSR. In a possible implementation, the sidelink service is the SL LCG. The first parameter is a priority of an SL LCG with a higher priority in one or more priorities corresponding to one or more SL LCGs that have sidelink data (SL data). Alternatively, if the uplink service is the UL LCG, the second parameter is a priority of a UL LCG with a higher priority in one or more priorities corresponding to one or more UL LCGs that have uplink data (UL data). A priority corresponding to an LCG is a priority of an LCH with a higher priority in one or more priorities corresponding to one or more LCHs included in the LCG. Figure 7 is used as an example. Each of the four SL LCGs shown in Figure 7 includes sidelink data.The priority of an LCG 1 corresponding to a DST 1 is 1, the priority of an LCG 2 corresponding to a DST 1 is 7, the priority of an LCG 1 corresponding to a DST 2 is 4, and the priority of an LCG 2 corresponding to a DST 2 is 9. The priority of an LCG 1 corresponding to a DST 1 is the highest. Therefore, in this case, the priority of an LCG 1 corresponding to a DST 1 is used as the first parameter corresponding to the SL BSR. In a possible implementation, the sidelink service is the SL LCG, the first parameter being a priority of an SL LCH with a higher priority in SL LCHs included in one or more SL LCGs that correspond to one or more LCG IDs included in the SL BSR MAC CE; and / or if the uplink service is the UL LCG, the second parameter being a priority of a UL LCH with a higher priority in UL LCHs included in one or more UL LCGs that correspond to one or more indication bits with a value of “1” in the UL BSR MAC CE. In this form of this request, a priority that corresponds to an LCG is a priority of an LCH with a higher priority in one or more priorities that correspond to one or more LCHs included in the LCG. For example, FIGURE 5 is used as an example. When a MAC 2 PDU is constructed, a complete SL BSR MAC CE must include buffer states of an LCG 1 and an LCG 2 corresponding to DST 2. In all SL LCHs included in the two SL LCGs, the priority of an LCH with a higher priority is 4. In this case, the first parameter is 4. A complete UL BSR MAC CE must include buffer states of an LCG 1 and an LCG 3. In all UL LCHs included in the two UL LCGs, the priority of an LCH with a higher priority is 3. In this case, the first parameter is 3. S602: The terminal device determines, based on the first and second parameters, that a SL BSR priority is higher than a BSR priority of ML / E / ZuZz / uOΊ Ί OO UL, or that a UL BSR priority is higher than an SL BSR priority. Specifically, if the first parameter is greater than the second parameter, the terminal device determines that the SL BSR priority is greater than the UL BSR priority; or if the first parameter is less than or equal to the second parameter, the terminal device determines that the UL BSR priority is greater than the SL BSR priority. Figure 5 is used as an example. With reference to the previous examples, if the uplink service is the UL LCH and the downlink service is the SL LCH, at time T6 shown in Figure 5, the first parameter corresponding to the SL BSR is the priority, which corresponds to priority value 4, and the second parameter corresponding to the UL BSR is the priority, which corresponds to priority value 3. In this case, the priority represented by priority value 4 is lower than the priority represented by priority value 3; in other words, the priority of the SL BSR is lower than the priority of the UL BSR.To be specific, when a UL grant size is less than the sum of a UL BSR MAC CE size, a UL BSR MAC CE subheader size, an SL BSR MAC CE size, and an SL BSR MAC CE subheader size, the terminal device preferentially encapsulates the UL BSR MAC CE subheader and the UL BSR MAC CE subheader in a UL MAC PDU, and then encapsulates the SL BSR MAC CE in the UL MAC PDU if there is a remaining resource, to preferentially request that an uplink resource used to transmit uplink data be scheduled. In some modes, the first parameter is a priority value for the highest-priority sidelink service among one or more priority levels corresponding to one or more sidelink services that carry sidelink data; and / or the second parameter is a priority value for the highest-priority uplink service among one or more priority levels corresponding to one or more uplink services that carry uplink data. In this case, if the first parameter (the priority value) corresponding to the SL BSR is greater than the second parameter corresponding to the UL BSR, it indicates that the SL BSR's priority is lower than the UL BSR's priority. In some configurations, the first parameter is a sidelink service priority ranking, with the highest priority among one or more priorities corresponding to one or more sidelink services that hold the sidelink data; and / or the second parameter is an uplink service priority ranking, with the highest priority among one or more priorities corresponding to one or more uplink services that hold the uplink data. In this case, the SL BSR priority and the UL BSR priority can be predefined or configured. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ According to the method for submitting a buffer status report provided in this modality of this application, the terminal device obtains the first parameter corresponding to the SL BSR and the second parameter corresponding to the UL BSR, and determines the priority of the UL BSR and the priority of the SL BSR based on the first and second parameters. The first parameter relates to the priority of a sidelink service that has sidelink data, and the second parameter relates to the priority of an uplink service that has uplink data.In the existing solution, a terminal device can preferably continuously encapsulate an SL BSR MAC CE or an UL BSR MAC CE, and then uplink or sidelink data transmission is delayed because a UL BSR priority and an SL BSR priority are determined by comparing a higher priority LCH in the priorities that correspond to LCHs to activate the UL BSR with a higher priority LCH in the priorities that correspond to LCHs to activate the SL BSR.Compared to the existing solution, in the technical solution described in this application, the UL BSR priority and the SL BSR priority are determined based on the priority of a sidelink service that actually carries sidelink data and / or the priority of an uplink service that actually carries uplink data. The resulting priority comparison best satisfies a service requirement. This allows the terminal device to preferentially send high-priority uplink data or high-priority sidelink data subsequently. This improves the efficiency of uplink or sidelink data transmission. As shown in FIGURE 6(b), one method for presenting a buffer status report includes the following steps. S603: A terminal device obtains a third parameter corresponding to an SL BSR, a fourth parameter corresponding to an UL BSR, and / or a second threshold. In this form of the application, it should be noted that, optionally, a priority is defined for a UL BSR MAC CE. The priority is used to indicate a priority relationship between UL BSR MAC CEs in an LCP multiplexing process. The priority may be the same as, or different from, the priorities corresponding to a plurality of pending UL BSRs, or it may be the same as, or different from, the priorities of the UL LCHs / UL LCGs for activating a plurality of UL BSRs. Alternatively, in this form of this application, a priority is not predefined for an SL BSR MAC CE and / or an UL BSR MAC CE, and a priority corresponding to a first parameter value and a priority corresponding to a second parameter value are considered respectively as an SL BSR priority and a UL BSR priority. Alternatively, a priority corresponding to a first parameter value and a priority corresponding to a second parameter value are considered respectively as an SL BSR MAC CE priority in a multiplexing and encapsulation process of the SL BSR MAC CE in a MAC PDU and a UL BSR MAC CE priority in a multiplexing and encapsulation process of the UL BSR MAC CE in a MAC PDU. Alternatively, in the present invention, a priority is not defined for an SL BSR MAC CE and / or an UL BSR MAC CE. Instead, only when it is necessary to determine a sequence relationship (or a relative priority sequence) between the UL BSR MAC CE and the SL BSR MAC CE in an LCP multiplexing and encapsulation process, is the priority determined based on the third parameter related to the SL BSR and the fourth parameter related to the UL BSR and / or the second threshold. The third parameter relates to a priority of a sidelink service that has data, and the fourth parameter relates to a priority of an uplink service that has data. In a possible implementation, the fourth parameter is an uplink service priority with a higher priority in one or more priorities corresponding to one or more uplink services that have uplink data; or the fourth parameter is a UL LCH priority with a higher priority in the UL LCHs included in a UL LCG that corresponds to an LCG ID included in the UL BSR MAC CE; or the fourth parameter is a UL LCH priority with a higher priority in the UL LCHs included in a UL LCG that corresponds to an indication bit with a value of 1 in the UL BSR MAC CE; or the fourth parameter is a UL LCH priority with a higher priority in the UL LCHs included in a UL LCG that corresponds to a buffer size field in the UL BSR MAC CE. Optionally, the third parameter is a number of sidelink services whose priorities are greater than or equal to the fourth parameter and which are in sidelink services that have the sidelink data. Optionally, the second threshold is a preconfigured value. For example, the second threshold is a predefined value in a protocol. Alternatively, the second threshold is a value preconfigured on the terminal before delivery, and this value can optionally be updated later. Alternatively, the second threshold is a value configured by a network device. Alternatively, the second threshold is the fourth parameter. For example, the network device configures a threshold parameter for each uplink service. If the fourth parameter is associated with an uplink service, a threshold parameter is used in the uplink service configuration as follows: ML / IZ / ZυZZZ / υΟΊΊύΟ the second threshold used to determine the SL BSR priority and the UL BSR priority. For example, the SL LCHs that have valid data are SL LCH 1 through SL LCH 8. The priority of UL LCH 1 is 5, and its threshold parameter is 5. The priority of UL LCH 2 is 4, and its threshold parameter is 3. The priority of UL LCH 3 is 7, and its threshold parameter is 2. If the fourth parameter is the priority of the uplink service with the highest priority in one or more priorities corresponding to one or more uplink services that have the uplink data, and UL LCH 2 is a UL LCH with the highest priority in one or more priorities corresponding to one or more UL LCHs that have uplink data, the priority (with a value of 4) of UL LCH 2 is considered the fourth parameter, and the threshold parameter associated with UL LCH 2 is 3. In this case, the second threshold is 3. A sidelink service includes one or more of the following: an SL QoS flow, an SL LCH, an SL DRB, an SL LCG, an SL service destination identifier (Destination Index), and an SL PDU session. An uplink service includes one or more of the following: an UL QoS flow, an UL LCH, a UL DRB, an UL LCG, a UL service destination identifier, and a UL PDU session. In a possible implementation, the sidelink service is the SL LCH and / or the uplink service is the UL LCH. The third parameter is the number of SL LCHs whose priorities are greater than or equal to the fourth parameter and which are located within SL LCHs that hold sidelink data. The fourth parameter is the priority of the highest-priority uplink service within one or more priority levels corresponding to one or more uplink services that hold the uplink data. For example, the SL LCHs with valid data are SL LCH 1 through SL LCH 8, corresponding to priorities 1 through 8, respectively. The UL LCHs with valid data are UL LCH 1, UL LCH 2, and UL LCH 3. The priority of UL LCH 1 is 5, the priority of UL LCH 2 is 4, and the priority of UL LCH 3 is 7. If the fourth parameter is the priority of the uplink service with the highest priority among one or more priorities corresponding to one or more uplink services that have the uplink data, and UL LCH 2 is a UL LCH with the highest priority among one or more priorities corresponding to one or more UL LCHs that have uplink data, the fourth parameter is 4, and the second threshold configured by a network is 3. If there are four SL LCHs whose priorities are greater than or equal to 4 and that are found in the SL LCHs that have the side link data, the third parameter is 4. In a possible implementation, the side-link service is the SL LCG, the third parameter is a number of SL LCGs whose priorities are greater than or equal to the fourth parameter, and there are one or more SL LCGs that have side-link data (data from SL); and / or if the uplink service is the UL LCG, the fourth parameter is a priority of a UL LCG with a higher priority in one or more priorities that correspond to one or more UL LCGs that have uplink data (UL data). A priority that corresponds to an LCG is a priority of an LCH with a higher priority in one or more priorities that correspond to one or more LCHs included in the LCG. For example, the SL LCGs with valid data are SL LCG 1 through SL LCG 8, corresponding to priorities 1 through 8, respectively. In other words, the highest priorities of the SL LCHs included in the SL LCGs are 1 through 8. The UL LCGs with valid data are UL LCG 1, UL LCG 2, and UL LCG 3. A priority corresponding to UL LCG 1 is 2, a priority corresponding to UL LCG 2 is 4, and a priority corresponding to UL LCG 3 is 7. If the fourth parameter is the priority of the uplink service with the highest priority in one or more priorities corresponding to one or more uplink services that have the uplink data, the fourth parameter is 2, and the second threshold configured by a network is 5. In this case, there are two SL LCHs whose priorities are greater than or equal to 2, and they are They are found in the SL LCHs that have the side link data, that is, the third parameter is 2. S604: The terminal device determines, based on the third parameter and the second threshold, that the SL BSR priority is higher than the UL BSR priority, or that the UL BSR priority is higher than the SL BSR priority. Specifically, if the third parameter is greater than or equal to the second threshold, the terminal device determines that the SL BSR priority is higher than the UL BSR priority. If the third parameter is less than the second threshold, the terminal device determines that the UL BSR priority is higher than the SL BSR priority. For example, with reference to the previous examples, the SL LCHs with valid data are SL LCH 1 through SL LCH 8, corresponding to priorities 1 through 8, respectively. The UL LCHs with valid data are UL LCH 1, UL LCH 2, and UL LCH 3. The priority of UL LCH 1 is 4, the priority of UL LCH 2 is 5, and the priority of UL LCH 3 is 7. If the fourth parameter is the priority of the uplink service with the highest priority among one or more priorities corresponding to one or more uplink services that have the uplink data, and UL LCH 1 is a UL LCH with the highest priority among one or more priorities corresponding to one or more UL LCHs that have uplink data, the fourth parameter is 4, and the second threshold configured by a network is 3.In this case, there are four SL LCHs whose priorities are greater than or equal to 4 and which are found in the SL LCHs that have the side-link data, i.e., the third parameter is 4. MA / t / ZUZZ / UO Ί 1ÚO Because the third parameter (4) is greater than the second threshold (3), the terminal device determines that the SL BSR priority is higher than the UL BSR priority. In other words, when a UL lease size is less than the sum of a UL BSR MAC CE size, a UL BSR MAC CE subheader size, an SL BSR MAC CE size, and an SL BSR MAC CE subheader size, the terminal device preferentially encapsulates the SL BSR MAC CE subheader and the SL BSR MAC CE subheader in a UL MAC PDU, and then encapsulates the UL BSR MAC CE in the UL MAC PDU if a resource remains, to preferentially request that an uplink resource used to transmit uplink data be scheduled. It should be noted that the technical solution corresponding to FIGURE 6(a) and the technical solution corresponding to FIGURE 6(b) are two parallel technical solutions, and S603 and S604 are not steps performed after S601 and S602, but rather independent steps of S601 and S602. For other similar steps, please refer to the descriptions herein. According to the communication method provided in this application, the terminal device obtains the third parameter corresponding to the SL BSR, the fourth parameter corresponding to the UL BSR, and the second threshold, and determines the priority of the UL BSR and the priority of the SL BSR based on the third parameter, the fourth parameter, and the second threshold. The third parameter relates to the priority of a sidelink service that carries sidelink data, and the number of sidelink services, while the fourth parameter relates to the priority of an uplink service that carries uplink data.In the existing solution, a terminal device can preferably continuously encapsulate an SL BSR MAC CE or an UL BSR MAC CE, and then uplink or sidelink data transmission is delayed because a UL BSR priority and an SL BSR priority are determined by comparing a higher priority LCH in the priorities that correspond to LCHs to activate the UL BSR with a higher priority LCH in the priorities that correspond to LCHs to activate the SL BSR.Compared to the existing solution, in the technical solution described in this application, the UL BSR priority and SL BSR priority are determined based on the priority of a sidelink service that actually carries sidelink data and / or the priority of an uplink service that actually carries uplink data. This is achieved by limiting the number of sidelink services that meet a specific condition, and the resulting priority comparison best satisfies a service requirement. In this way, the terminal device can preferentially send either high-priority uplink data or high-priority sidelink data subsequently. This improves the efficiency of uplink or sidelink data transmission. Indeed, as shown in FIGURE 6(c), a method for presenting a buffer status report includes the following steps. S605: A terminal device obtains a fifth parameter corresponding to an SL BSR, and a sixth parameter corresponding to an UL BSR and / or a third threshold. The fifth parameter relates to a priority of a sidelink service that has data, and the sixth parameter relates to a priority of an uplink service that has data. In a possible implementation, the fifth parameter is a priority of a side-link service with a higher priority in one or more priorities that correspond to one or more side-link services that have side-link data; or the fifth parameter is a priority of an SL LCH with a higher priority in the SL LCHs included in an SL LCG that corresponds to an LCG ID included in an SL BSR MAC CE; or the fifth parameter is a priority of an SL LCH with a higher priority in the SL LCHs included in an SL LCG that corresponds to an indication bit with a value of 1 in an SL BSR MAC CE; or the fifth parameter is a priority of an SL LCH with a higher priority in the SL LCHs included in an SL LCG that corresponds to a buffer size field in an SL BSR MAC CE. Optionally, the sixth parameter is a number of uplink services whose priorities are greater than or equal to the fifth parameter and which are in uplink services that have uplink data. Optionally, the third threshold is a preconfigured value. For example, the third threshold is a predefined value in a protocol. Alternatively, the third threshold is a value preconfigured on the terminal before delivery, and this value can optionally be updated later. Alternatively, the third threshold is a value configured by a network device. S606: The terminal device determines, based on the sixth parameter and the third threshold, that an SL BSR priority is higher than an UL BSR priority, or that an UL BSR priority is higher than an SL BSR priority. Specifically, if the sixth parameter is greater than or equal to the third threshold, the terminal device determines that the SL BSR priority is higher than the UL BSR priority. If the sixth parameter is less than the third threshold, the terminal device determines that the UL BSR priority is higher than the SL BSR priority. For a principle of the technical solution corresponding to FIGURE 6(c), refer to that in FIGURE 6(b). Details are not described herein. One version of this application also provides a method for submitting a ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ UL has a higher priority than the SL BSR. The terminal device preferably multiplexes the UL BSR on the first uplink resource, and then optionally multiplexes the SL BSR. In the description of this modality in this application, "preferentially multiplexing the UL BSR" may mean that the priority of the UL BSR is higher than that of the SL BSR in a multiplexing and encapsulation process corresponding to a MAC PDU. Alternatively, "preferentially multiplexing the UL BSR and subsequently multiplexing the SL BSR" may mean that the priority of the UL BSR is higher than that of the SL BSR in a multiplexing and encapsulation process. Optionally, "subsequently multiplexing the SL BSR" may mean that: After the UL BSR is preferentially multiplexed, if there is a remaining resource in the first uplink resource and the remaining resource is sufficient to carry the entire SL BSR or a portion of the SL BSR, the SL BSR is multiplexed. A general description is provided herein. The first uplink resource size being greater than or equal to the UL BSR size means that the first uplink resource size is greater than or equal to the size of a resource required by the full UL BSR. The full UL BSR may include buffer state information for one or more LCGs that currently hold data. The full UL BSR may be in short BSR format, long BSR format, short truncated BSR format, or long truncated BSR format. For example, if the LCGs that currently have data are an LCG 1 and an LCG 2, a UL BSR MAC CE that corresponds to the entire UL BSR includes information indicating buffer size fields for LCG 1 and LCG 2 and information about the buffer sizes of LCG 1 and LCG 2, for example, an indication bit indicating the buffer size fields for LCG 1 and LCG 2 in the UL BSR MAC CE.An indication bit value is 1, and subsequent fields in the UL BSR MAC CE include a buffer size field 1 for LCG 1 and a buffer size field 2 for LCG 2. In case 2, if the size of the first uplink resource is greater than or equal to the size of the UL BSR, and the size of the first uplink resource is less than or equal to the size of the SL BSR, the terminal device determines that the priority of the UL BSR is higher than the priority of the SL BSR. In other words, when the first uplink resource is sufficient to carry the entire UL BSR but insufficient to carry the entire SL BSR, the terminal device preferentially multiplexes the UL BSR onto the first uplink resource and then optionally multiplexes the SL BSR. Unlike Case 1, in Case 1, the terminal device can preferentially compare the size of the first uplink resource with the size of the UL BSR. If the first uplink resource is sufficient to carry the UL BSR, the terminal device no longer considers whether the first uplink resource is sufficient to carry the SL BSR and directly and preferentially sends the UL BSR on the first uplink resource. Only when the size of the first uplink resource is insufficient to carry the UL BSR does the terminal device further determine whether the first uplink resource is sufficient to carry the SL BSR. In case 3, if the size of the first uplink resource is greater than or equal to the sum of the size of the UL BSR and the size of an SL BSR that includes buffer state information for at least one SL LCG, the terminal device determines that the priority of the UL BSR is higher than the priority of the SL BSR. In other words, the terminal device preferentially multiplexes the UL BSR into the first uplink resource and then multiplexes the buffer state information for at least one SL LCG. Alternatively, if the first uplink resource is sufficient to carry the entire UL BSR and the SL BSR, including the buffer state information for at least one SL LCG, the terminal device sends, in the first uplink resource, the entire UL BSR and the SL BSR that includes the buffer state information for at least one SL LCG. Optionally, the terminal device preferably multiplexes the UL BSR into the first uplink resource and then multiplexes it into a remaining uplink resource based on the size of the remaining uplink resource and the number of SL LCGs that have data to be transmitted, including buffer state information from one or more SL LCGs included in the SL BSR as much as possible. In case 4, if the size of the first uplink resource is greater than or equal to the sum of the size of the UL BSR and the size of an SL BSR, including the buffer state information of at least one SL LCG, and the size of the first uplink resource is less than or equal to the size of the SL BSR, the terminal device determines that the priority of the UL BSR is higher than the priority of the SL BSR. In other words, the terminal device preferentially multiplexes the UL BSR into the first uplink resource and then multiplexes the SL BSR, which includes the buffer state information of at least one SL LCG. Optionally, the terminal device preferably multiplexes the UL BSR into the first uplink resource and then multiplexes it into a remaining uplink resource based on the size of the remaining uplink resource and the number of SL LCGs that have data to be transmitted, including buffer state information from one or more SL LCGs included in the SL BSR as much as possible. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ In case 5, if the size of the first uplink resource is greater than or equal to the size of the SL BSR, the terminal device determines that the priority of the SL BSR is greater than the priority of the UL BSR, and preferentially multiplexes the SL BSR into the first uplink resource. In case 6, if the size of the first uplink resource is greater than or equal to the sum of the size of the SL BSR and the size of an UL BSR that includes buffer state information from at least one UL LCG, the terminal device determines that the priority of the SL BSR is higher than the priority of the UL BSR. In other words, the terminal device preferentially multiplexes the SL BSR into the first uplink resource and then multiplexes the UL BSR that includes the buffer state information from at least one UL LCG. In case 7, if the size of the first uplink resource is greater than or equal to the size of the SL BSR, and the size of the first uplink resource is less than or equal to the size of the UL BSR, the terminal device determines that the priority of the SL BSR is higher than the priority of the UL BSR. In other words, the terminal device preferentially multiplexes the SL BSR into the first uplink resource and then multiplexes the UL BSR, which includes the buffer state information of at least one UL LCG. In case 8, if the size of the first uplink resource is greater than or equal to the sum of the SL BSR size and the size of an UL BSR, including the buffer state information of at least one UL LCG, and the size of the first uplink resource is less than or equal to the size of the UL BSR, the terminal device determines that the SL BSR has a higher priority than the UL BSR. In other words, the terminal device preferentially multiplexes the SL BSR into the first uplink resource and then multiplexes the UL BSR, which includes the buffer state information of at least one UL LCG. For the principles in case 4 through case 8, refer to the principles in case 1 through case 3. No details are described again herein. In case 9, the size of the first uplink resource is less than the size of the UL BSR, and the size of the first uplink resource is less than the size of the SL BSR. In this case, in a possible implementation, the terminal device determines that the priority of the SL BSR is higher than the priority of the UL BSR. In other words, the terminal device preferentially multiplexes the SL BSR onto the first uplink resource. Optionally, the terminal device multiplexes the remaining uplink resource onto the first uplink resource based on a size of the IVIA / I IOO remaining uplink resource and a number of SL LCGs that have data to be transmitted, buffer state information of one or more SL LCGs included in the SL BSR as much as possible. In this case, in another possible implementation, the terminal device alternatively determines that the priority of the UL BSR is higher than the priority of the SL BSR. In other words, the terminal device preferentially multiplexes the UL BSR onto the first uplink resource. Alternatively, in another possible implementation, in this case, the terminal determines the SL BSR priority and the UL BSR priority using the method in FIGURE 6(a), FIGURE 6(b) or FIGURE 6(c). In the technical solution corresponding to FIGURE 6(a), the terminal device can determine the priority of the UL BSR and the priority of the SL BSR based on the first parameter corresponding to the UL BSR and the second parameter corresponding to the SL BSR. A further embodiment of this application provides a method for submitting a buffer status report. In this method, the priority of an UL BSR and the priority of an SL BSR can be determined based on the size of a first uplink resource, a first parameter, and a second parameter. Specifically, as shown in FIGURE 9, the method includes the following steps. S901: A terminal device obtains the first parameter corresponding to the SL BSR and the second parameter corresponding to the UL BSR. The first parameter and the second parameter can be, respectively, the first and second parameters in the technical solution corresponding to FIGURE 6(a). To be specific, the first parameter is a priority of a sidelink service with a higher priority in one or more priorities corresponding to one or more sidelink services that have sidelink data; and / or the second parameter is a priority of an uplink service with a higher priority in one or more priorities corresponding to one or more uplink services that have uplink data. Certainly, the first and second parameters can be used interchangeably to indicate priorities in the existing solution. A specific method for obtaining a priority from the terminal device is not limited in this application. In one possible implementation, the first parameter is a priority for a sidelink service with a higher priority among the sidelink services required to activate the SL BSR; and / or the second parameter is a priority for an uplink service with a higher priority among the uplink services required to activate the BSR. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ UL. For example, a priority of an LCH with a higher priority (highest LCH priority) in one or more priorities that correspond to one or more LCHs to activate the SL BSR is considered as the first parameter that corresponds to the SL BSR, and a priority of an LCH with a higher priority in one or more priorities that correspond to one or more LCHs to activate the UL BSR is considered as the second parameter that corresponds to the UL BSR. S902: The terminal device obtains the size of the first uplink resource. For a detailed description of S902, see S801. Details are not described again herein. S901 and S902 are not sequential, or S901 and S902 can be performed simultaneously. In other words, there is no limit to the sequence in which S901 and S902 can be performed. S903: The terminal device determines, based on the size of the first uplink resource, the first parameter, and the second parameter, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR. Specifically, if the size of the first uplink resource is less than one SL BSR size and the size of the first uplink resource is less than one UL BSR size, the terminal device determines, based on the first parameter and the second parameter, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR.Alternatively, if the size of the first uplink resource is greater than or equal to the size of the SL BSR, and the size of the first uplink resource is greater than or equal to the size of the UL BSR, where this case includes a case where the size of the first uplink resource is greater than or equal to the size of the SL BSR and the size of the UL BSR, i.e., a case where the first uplink resource can accommodate both the SL BSR and the UL BSR, and a case where the first uplink resource can accommodate the entire UL BSR or the entire SL BSR, the terminal device determines, based on the first parameter and the second parameter, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR.Alternatively, if the size of the first uplink resource is less than the sum of the size of an UL BSR and the size of an SL BSR, including the buffer state information of an SL LCG, the terminal device determines, based on the first and second parameters, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR. ML / I IOO In other cases, when a relationship between the size of the first uplink resource and the size of the SL BSR and / or the size of the UL BSR fits the solution in FIGURE 8, the priority of the SL BSR and the priority of the UL BSR can be compared according to the solution in FIGURE 8.In other words, when the first uplink resource is sufficient to carry the UL BSR, the terminal device determines that the priority of the UL BSR is higher than the priority of the SL BSR; and / or when the first uplink resource is sufficient to carry both the UL BSR and the SL BSR, including the buffer state information of an SL LCG, the terminal device determines that the priority of the UL BSR is higher than that of the SL BSR; and / or in other cases, the terminal device can determine, based on the second parameter corresponding to the UL BSR and the first parameter corresponding to the SL BSR, that the BSR has a higher priority. For further details, see the technical solution corresponding to FIGURE 6(a). Alternatively, when the first uplink resource is insufficient to carry the entire SL BSR, or insufficient to carry the entire UL BSR, or when the first uplink resource is sufficient to carry both the entire SL and UL BSRs, and it cannot be determined, based solely on the size of the first uplink resource, that the BSR has a higher priority, the terminal device can determine, based on the second parameter corresponding to the UL BSR and the first parameter corresponding to the SL BSR, that the BSR has a higher priority. Specifically, if the first parameter corresponding to the SL BSR is greater than the second parameter corresponding to the UL BSR, the terminal device determines that the SL BSR has a higher priority than the UL BSR.If the first parameter corresponding to the SL BSR is less than or equal to the second parameter corresponding to the UL BSR, the terminal device determines that the priority of the UL BSR is greater than the priority of the SL BSR. One form of this request also provides a method of communication. As shown in FIGURE 10(a), the method includes the following steps. S1004: A terminal device determines that the priority of an SL BSR is higher than the priority of an UL BSR. A priority determination method can be the method corresponding to FIGURE6(a), FIGURE6(b), FIGURE6(c), FIGURES or FIGURE9. S1005: The terminal device determines, based on a first uplink resource size, a UL BSR size and a SL BSR size, an encapsulation sequence of the UL BSR and SL BSR into a MAC PDU, in other words, either it first multiplexes the UL BSR or first multiplexes the SL BSR. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ It is easily understood that, in order to determine that the priority of the SL BSR is higher, the terminal device also needs to preferentially consider encapsulating a specific BSR in the MAC PDU. Specifically, if the size of the first uplink resource is greater than or equal to the size of the UL BSR, the terminal device preferentially encapsulates the UL BSR in the MAC PDU and then multiplexes the SL BSR if there is a remaining resource in the first uplink resource. Alternatively, if the size of the first uplink resource is greater than or equal to the sum of the size of the UL BSR and the size of an SL BSR that includes the buffer state information of an SL LCG, the terminal device preferentially encapsulates the UL BSR in the MAC PDU and then multiplexes the SL BSR if there is a remaining resource. Alternatively, if the size of the first uplink resource does not satisfy either of the above conditions, the terminal device preferentially encapsulates the SL BSR in the MAC PDU.Optionally, the SL BSR presents as much side-link buffer state information as possible. For example, it presents as many destination identifiers and / or SL LCG buffer state information as possible, based on the size of the first uplink resource and / or the SL LCGs that contain data. Of course, the technical solutions in the modalities of this request are not limited to these. One version of this application also provides a method for submitting a buffer status report. As shown in FIGURE 10(b), the method includes the following steps. S1001: If there is a service that meets a first condition, a terminal device generates a first BSR. The first BSR includes buffer state information for the service that satisfies the first condition. The first condition is that a service priority is greater than or equal to a first threshold. In one possible implementation, the first threshold is a preconfigured value. For example, the first threshold is a predefined value in a protocol. Alternatively, the first threshold is a value preconfigured at the terminal before delivery, and optionally, the value can be updated later. Alternatively, the first threshold is a value configured by a network device. Alternatively, the first threshold is the second parameter in the technical solution shown in Figure 6(a). Herein, an existing technology or the technical solution corresponding to Figure 6(a), Figure 6(b), or Figure 6(c) can be used to compare service priorities.Alternatively, other methods of comparing priorities may be used in the modalities of this application. Optionally, the first BSR does not include buffer state information for a service that does not satisfy the first condition. In other words, the first BSR only includes buffer state information for the service that satisfies the first condition. The service that satisfies the first condition can be a side-link service. In this case, the first BSR includes buffer state information for a side-link service whose priority is greater than or equal to the first threshold. Alternatively, the service that satisfies the first condition can be an uplink service. In this case, the first BSR includes buffer state information for an uplink service whose priority is greater than or equal to the first threshold. Alternatively, the services that satisfy the first condition can be a sidelink service and an uplink service. In this case, the first BSR includes buffer state information for an uplink service and a sidelink service whose priorities are greater than or equal to the first threshold. The service that satisfies the first condition includes only one sidelink service. In this case, an uplink service is a logical uplink channel, and the sidelink service is a logical sidelink channel. Figure 11 is used as an example, and the technical solution corresponding to Figure 6(a) is used to compare service priorities. If the first threshold is 4, the LCHs that have data are SL LCHs filled in black, with priority values of 2, 7, 8, 4, 6, and 10. The priority of the first SL LCH in an SL LCG 1 corresponding to a DST 1 and the priority of the first SL LCH in an SL LCG 1 corresponding to a DST 2 are greater than or equal to the first threshold. In other words, the SL LCHs that satisfy the first condition are SL LCHs that are in side-link logical channel groups and are indicated by arrows in FIGURE 11.Alternatively, SL LCGs that satisfy the first condition are SL LCGs that are in side-link logical channel groups and that include SL LCHs indicated by arrows in FIGURE 11. The service that satisfies the first condition can include both a sidelink and an uplink service. The uplink service is a logical uplink channel, and the sidelink service is a logical sidelink channel. Figure 11 is used as an example, and the corresponding technical solution in Figure 6(a) is used to compare service priorities. If the first threshold is 4, the LCHs that have data are SL LCHs, filled in black, with priority values of 2, 7, 8, 4, 6, and 10, and UL LCHs with priority values of 3, 4, 5, and 6. A priority for the first SL LCH in an SL LCG 1 corresponding to a DST 1 and a priority for the third UL LCH in an UL LCG 1 are greater than or equal to the first threshold. In other words, the LCHs that ML / E / ZυZZZ / υΟΊ Ί OO satisfy the first condition are the LCHs indicated by the arrows in FIGURE 11. The service that satisfies the first condition can include both a sidelink and an uplink service. The uplink service is a group of logical uplink channels, and the sidelink service is a group of logical sidelink channels. Figure 11 is used as an example, and the corresponding technical solution in Figure 6(a) is used to compare the service priorities. If the first threshold is 4, there are six LCGs with data in Figure 11. The priority value of an LCG 1 corresponding to a DST 1 is 1. Similarly, the priority value of an LCG 2 corresponding to a DST 1 is 7, the priority value of an LCG 1 corresponding to a DST 2 is 4, and the priority value of an LCG 2 corresponding to a DST 2 is 9. The priority value of an LCG of UL 1 is 1, and the priority value of an LCG 1 corresponding to a DST 4 is 4.In other words, the LCGs whose priorities are greater than or equal to the first threshold are four LCGs indicated by the dashed line boxes. In one possible implementation, the first threshold can alternatively be a value determined by the terminal device based on certain parameters. For example, the terminal device determines the first threshold based on the size of the first uplink resource. For instance, if the first uplink resource is sufficient to carry buffer state information for four LCGs, as shown in Figure 11, the terminal device can compare the priorities of the six LCGs that contain data. The priority values of these LCGs are 1, 7, 4, 9, 1, and 4. In this case, the terminal device can set the first threshold to 4 to ensure that the number of LCGs with priorities greater than the first threshold is less than or equal to 5, so that the first uplink resource is sufficient to carry the buffer state information for these LCGs.Alternatively, the terminal device can compare the priorities of the LCHs that have data. As shown in FIGURE 11, the priority values of these LCHs are 2, 7, 8, 4, 6, 10, 3, 4, 5, and 6. In this case, the terminal device can set the first threshold to 4, to ensure that the number of LCGs whose priorities are greater than the first threshold is less than or equal to 5, so that the first uplink resource is sufficient to carry the buffer state information of these LCGs. In a possible implementation, the service that satisfies the first condition is either a sidelink or an uplink service. In this case, the first threshold can be related to the priority of an upper link BSR and the priority of an upper link BSR. Specifically, when the upper link BSR priority is higher than the upper link BSR priority, the service that satisfies the first condition is an uplink service whose service priority is greater than or equal to the first threshold. When the upper link BSR priority is lower... ML / IZ / ZZZZ / υΟΊΊύΟ that the SL BSR priority, the service that satisfies the first condition is a sidelink service whose service priority is greater than or equal to the first threshold. In the present, the technical solution corresponding to FIGURE 6(a), FIGURE 6(b) or FIGURE 6(c) or an existing technology may be used to compare the UL BSR priority with the SL BSR priority. In this case, after the terminal device determines the priority of the UL BSR and the priority of the SL BSR, the terminal device can truncate a higher-priority BSR. Specifically, the terminal device limits the amount of LCG buffer state information contained in the higher-priority BSR. Consequently, in this case, the first threshold can be a service priority with a higher priority among the priorities corresponding to the activation services of the lower-priority BSR, or a service priority with a higher priority among one or more priorities corresponding to one or more services that hold data and correspond to a lower-priority BSR. Alternatively, the first threshold can be a preconfigured value, a value configured by the network device, or a value determined by the terminal device.If the priority of the UL BSR is higher than the priority of the SL BSR, the lower priority BSR is the SL BSR; or if the priority of the UL BSR is lower than the priority of the SL BSR, the lower priority BSR is the UL BSR. For example, a higher-priority BSR is the SL BSR, and the first threshold is a priority LCH with a higher priority among the LCHs that have data and that correspond to the lowest-priority BSR, i.e., the UL BSR. In Figure 11, the UL LCHs that have data are highlighted in black. A priority of the third LCH in UL 1 LCG is the highest, and therefore the priority (priority value 3) of that LCH is considered the first threshold. The LCH that satisfies the first condition is an SL LCH whose priority is greater than or equal to 3, i.e., the SL LCH with priority value 2 shown in Figure 11. Alternatively, an LCG that satisfies the first condition is an SL LCG that includes an SL LCH whose priority is greater than or equal to 3, i.e., the SL 1 LCG corresponding to DST 1 shown in Figure 11. For example, a higher-priority BSR is the SL BSR, and the first threshold is a priority LCG with a higher priority among the priorities corresponding to LCGs with pending data that correspond to the lowest-priority BSR, namely the UL BSR. In Figure 11, there are two UL LCGs with pending data that correspond to the UL BSR. If a priority (with a value of 1) of UL LCG 1 is greater than a priority (with a value of 4) of LCG 1 corresponding to DST 4, the priority (with a value of 1) of UL LCG 1 is considered the first threshold. An LCG that satisfies the first condition is an SL LCG whose priority is greater than or equal to 1, namely the SL LCG 1 corresponding to DST 1 shown in Figure 11. S1002: The terminal device sends the first BSR. Having the terminal device send the first BSR can be specifically implemented as follows: The terminal device sends the first BSR on the first uplink resource. In a possible implementation, if the terminal device determines that an LCH exists that satisfies the first condition, the terminal device encapsulates, in the first BSR, an LCG that includes the LCH that satisfies the first condition. To be specific, FIGURE 11 is still used as an example, and with reference to the previous examples, the terminal device encapsulates, in the first BSR, the buffer state information of the LCGs (the four LCGs indicated by the dashed boxes) including the four LCHs indicated by the arrows. These LCGs may include both an SL LCG and an UL LCG, or include only SL LCGs, or include only UL LCGs. The terminal device then sends the first BSR. In a possible implementation, if the terminal device determines that a cache-level loop (CLL) exists that satisfies the first condition, the terminal device encapsulates that CLL in the first BSR. Specifically, Figure 11 is still used as an example, and with reference to the previous examples, the terminal device encapsulates buffer state information for the four CLLs indicated by the dashed boxes in the first BSR. The terminal device then sends the first BSR. S1003: If there is no service that meets the first condition, the terminal device generates / multiplexes a third BSR. The third BSR includes a portion of the service buffer state information that does not satisfy the first condition. In one possible implementation, the third BSR includes a portion of the buffer state information for a service whose priority is lower than the first threshold. For example, the first threshold is 4; the priorities of the sidelink services are as follows: a priority corresponding to an SL 1 LCG is 5, and a priority corresponding to an SL 2 LCG is 6; and the priorities of the uplink services are as follows: a priority corresponding to an UL 1 LCG is 5, and a priority corresponding to an UL 2 LCG is 7. In this case, there is no service that satisfies the first condition, and the terminal device generates the third BSR. The third BSR includes buffer state information for all four LCGs. In one possible implementation, the third BSR includes buffer state information in a lower-priority BSR. For example, the SL BSR is assumed to have a higher priority than the UL BSR; these are the priorities of the side-link services. The IVIA / I IOO priorities are as follows: a priority corresponding to the LCG of SL 1 is 5, and a priority corresponding to the LCG of SL 2 is 6; and the priorities of the uplink services are as follows: a priority corresponding to the LCG of UL 1 is 1, and a priority corresponding to the LCG of UL 2 is 7. If the first threshold is an uplink service priority with a higher priority among the uplink service priorities—specifically, if the first threshold is 1—there is no sidelink service that satisfies the first condition because all the priorities corresponding to the SL LCGs are lower than the first threshold. In this case, the terminal device generates the third BSR. The third BSR includes buffer state information from two LCGs corresponding to the lowest-priority BSR, namely, the LCG of UL 1 and the LCG of UL 2, which correspond to the BSR of UL. It should be noted that S1004 and S1005 are not steps performed after S1003, but are independent steps of S1001, S1002 and S1003. In the existing solution, after a SL BSR's priority is determined to be higher than a UL BSR's priority, an SL BSR containing buffer status information from as many SL LCGs as possible is sent on the first uplink resource. This allows the SL BSR activated based on a low-priority service to occupy most of the first uplink resource, preventing the first uplink resource from simultaneously carrying the UL BSR activated based on a high-priority service. Consequently, the UL BSR transmission is delayed, potentially delaying the transmission of higher-priority uplink data.According to the technical solutions in the modalities of this request, the terminal device can send buffer state information from a Linked Logistics Center (LCG) that includes a Linked Logistic Chain (LCH) with a higher service priority on the first uplink resource, or send buffer state information from an LCG with a higher service priority on the first uplink resource. These LCGs can be Upper Link (UL) or Lower Link (SL) LCGs. In other words, the terminal device can preferentially send a Baseline Service Response (BSR) that corresponds to a high-priority service. In this way, the network device preferentially allocates a resource for data with a higher service priority, so that the terminal device can preferentially transmit the higher-priority data over the allocated resource.For example, in FIGURE 11, according to existing technology, if the terminal device determines that the priority of the SL BSR is higher, and the first uplink resource is sufficient to send only buffer state information for two LCGs, the terminal device sends buffer state information that includes as many SL LCGs as possible on the first uplink resource. However, in FIGURE 11, the priority (with a value of 7). MA / t / ZUZZ / UO Ί 1ÚO of the SL 2 LCG corresponding to DST 1 is lower than the priority (with a value of 3) of the UL 1 LCG that is not reported. As a result, a BSR that includes buffer state information for a low-priority service appropriates a resource used for a BSR that includes buffer state information for a high-priority service, and the buffer state information for the high-priority service cannot be preferentially sent.However, according to the technical solutions in the modalities of this application, the terminal device presents buffer state information of an LCG whose service priority is greater than or equal to the first threshold, or presents buffer state information of an LCG that includes an LCH whose service priority is greater than or equal to the first threshold, so that an activated BSR can be preferentially sent based on a high-priority service. In one possible implementation, the terminal device determines whether there exists an LCH or an LCG that satisfies the first condition and corresponds to a higher-priority BSR. The higher-priority BSR being the SL BSR is used as an example. The terminal device determines whether there exists an SL LCH or an SL LCG that satisfies the first condition and corresponds to the SL BSR. Figure 11 is still used as an example, and with reference to the previous examples, the terminal device encapsulates, in the first BSR, the LCG that satisfies the first condition; that is, the buffer state information of the SL 1 LCG that corresponds to DST 1 shown in Figure 11.In this way, the terminal device can present only the buffer state information of a high-priority SL LCG on the first uplink resource, but does not present the buffer state information of a low-priority SL LCG on the first uplink resource. This prevents the buffer state information of the low-priority SL LCG from occupying a resource used for the buffer state information of the high-priority UL LCG. This can decrease the likelihood of delays in the transmission of a BSR activated based on a high-priority service and improve data transmission efficiency. Optionally, the first BSR includes buffer state information for a service that does not satisfy the first condition. In other words, the first BSR includes both the buffer state information of the service that satisfies the first condition and the buffer state information of the service that does not satisfy the first condition. In this case, having a terminal device send and generate a first BSR in S1001 can be specifically implemented as follows: The terminal device multiplexes the first BSR into the first uplink resource based on the size of the first uplink resource and a lower priority BSR size. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ In a possible implementation, upon determining that an LCH exists that satisfies the first condition and generating a first MAC CE of BSR, the terminal device determines, based on the size of the first uplink resource and the size of the lowest-priority BSR, a quantity of buffer state information from an LCG included in the first BSR. For example, the terminal device encapsulates, in the first BSR, the buffer state information of the LCGs, including the LCHs that satisfy the first condition.If there is buffer state information from a total of four LCGs (the four LCGs indicated by the dashed boxes), including the LCHs, because the size of the first uplink resource is greater than the sum of the buffer state information size of the LCGs including the LCHs that satisfy the first condition and the size of the lowest priority BSR, the terminal device continues to include, in the first BSR in a priority order corresponding to the LCGs (in ascending or descending order), buffer state information from the LCGs, including the LCHs, that do not satisfy the first condition. Table 3 First BSR (which includes the buffer state information of the service that satisfies the first condition and a portion of the buffer state information of the service that does not satisfy the first condition) ML / I IOO Optionally, as shown in Table 4, the terminal device multiplexes the lowest priority BSR. Optionally, the terminal device multiplexes a second BSR. Table 4 First BSR Lower priority BSR First BSR In previous implementations, if a resource remains on the first uplink resource, the terminal device can also send buffer state information from another LCG on the first uplink resource. For example, the terminal device sends the second BSR. The second BSR includes buffer state information for the service that does not meet the first condition. Specifically, the second BSR includes buffer state information for a service whose service priority is less than or equal to the first threshold. If no resources remain on the first uplink resource, or if the remaining resources are insufficient to carry the second BSR, the terminal device can send the second BSR on a second uplink resource. Optionally, the format of the first BSR is indicated by a first LCID and the format of the second BSR is indicated by a second LCID. The first LCID can be different from the second LCID. The first BSR is found in, for example, but not limited to, a truncated BSR format, a short BSR format, or a long BSR format. The second BSR is found in, for example, but not limited to, a truncated BSR format, a long BSR format, or a short BSR format. The truncated BSR format can be a long truncated BSR format or a short truncated BSR format. One variant of this request also provides a method for submitting a buffer status report. As shown in FIGURE 10(c), the method includes the following steps. S1101: A terminal device determines that the priority of an SL BSR is higher than the priority of an UL BSR. A priority determination method can be the method corresponding to FIGURE6(a), FIGURE6(b), FIGURE6(c), FIGURES or FIGURE9. S1102: The terminal device determines whether a service exists that satisfies a first condition. S1103(a): If a service exists that satisfies the first condition, the terminal device generates / multiplexes a first BSR on a first uplink resource. The first BSR includes buffer state information from an SL LCG. Specifically, generating / multiplexing a first BSR on a first uplink resource herein means multiplexing a high-priority SL BSR on the first uplink resource. For specific descriptions of the first condition and the first BSR, refer to the related descriptions in the technical solution corresponding to FIGURE 10(b). S1104: Multiplex the UL BSR based on a remaining resource size on the first uplink resource and a UL BSR size. Specifically, after the SL BSR is multiplexed into the first uplink resource, if the remaining resource in the first uplink resource is sufficient to accept the UL BSR, the terminal device multiplexes the UL BSR. If the remaining resource is insufficient to accept the UL BSR, the terminal device multiplexes only the high-priority SL BSR. The SL BSR includes buffer state information for the sidelink services as much as possible in service priority order, until either of the following two conditions is met: The SL BSR includes buffer state information for all services that should be included, or there are no remaining resources in the first uplink resource. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ Additionally, optionally, if the remaining resource exists and is sufficient to accept other data or signaling whose priority is higher than the priority of a second BSR, the terminal device multiplexes the data and / or other signaling, where the priority of the second BSR may be a priority of an LCH with a higher priority in the LCHs included in an LCG included in the second BSR. Additionally, if the remaining resource is available and its size exceeds the size of the SL BSR, a second BSR is generated. This second BSR includes as much buffer information from a service that does not satisfy the first condition as possible. Alternatively, the first BSR may optionally include both the buffer state information of the service that satisfies the first condition and the buffer state information of the service that does not. Specifically, the first BSR includes buffer state information for as many services as possible, in order of priority, until either of the following two conditions is met: the first BSR includes buffer state information for all services that should be included, or there are no uplink resources remaining. In other words, the first BSR may include content from the second BSR.In other words, if the remaining resource is available and the first BSR already includes BS information from an SL LCG / LCH that satisfies the first condition, the terminal device continues to include in the first BSR, BS information from an LCH / LCG that has valid data and whose priority is lower than a first threshold and / or BS information from an LCH / LCG that has valid data. S1103(b): If there is no service that meets the first condition, the terminal device generates / multiplexes the UL BSR. The above steps can be performed in a sequence, or they can be performed simultaneously. In this mode, when the SL BSR priority is higher than the UL BSR priority, the SL BSR includes BSR information from an LCH / LCG whose priority is higher than the first threshold (e.g., the UL BSR priority). If the remaining uplink resource is sufficient to accept the UL BSR, the UL BSR is multiplexed. When a resource is still available, if an SL LCG / LCH remains, BS information from an SL LCH / LCG whose priority is lower than the first threshold (e.g., the UL BSR priority) continues to be included in the SL BSR, to the extent possible. The methods for presenting buffer state information provided in the modalities of this application are described above in detail with reference to FIGURE 5, FIGURE 6(a), FIGURE 6(b), FIGURE 6(c), FIGURE 7, FIGURE 8, FIGURE 9, FIGURE 10(a), FIGURE 10(b), FIGURE 10(c) and FIGURE 11. The following describes in detail a communication apparatus provided in the modalities of this application with reference to FIGURE 12. Figure 12 is a schematic structural diagram of a communication apparatus 600 according to one embodiment of this application. The communication apparatus can be applied to the communication system shown in Figure 3 and perform the functions of the terminal device in the method for submitting a buffer status report shown in Figure 6(a), Figure 6(b), Figure 6(c), Figure 8, Figure 9, Figure 10(a), Figure 10(b), and / or Figure 10(c). For ease of description, Figure 12 simply shows the main components of the communication apparatus. As shown in FIGURE 12, the communication apparatus 600 includes a processing module 601 and a transceiver module 602. In this modality of this application, the communication apparatus 600 is applicable to the communication system shown in FIGURE 3 and performs the functions of the terminal device in the method for submitting a buffer status report shown in FIGURE 6(a). The processing module is configured to obtain a first parameter corresponding to a side-link buffer status report (BSR) from SL and a second parameter corresponding to an uplink buffer status report (BSR) from UL, and to determine, based on the first and second parameters, whether a priority in the SL BSR is higher than a priority in the UL BSR, or vice versa. The first parameter relates to a priority of a side-link service that has data, and the second parameter relates to a priority of an uplink service that has data. In a possible solution, the first parameter is a priority of a side-link service with a higher priority in one or more priorities that correspond to one or more side-link services that have side-link data; and / or the second parameter is a priority of an uplink service with a higher priority in one or more priorities that correspond to one or more uplink services that have uplink data. In a possible solution, the sidelink service includes one or more of the following: a sidelink QoS quality of service flow, a sidelink logical channel (LCH), a sidelink data radio carrier (DRB), a sidelink logical channel group (LCG), a sidelink service destination identifier, and a sidelink packet data unit (PDU) session. The uplink service includes one or more of the following: an uplink quality of service flow, an uplink logical channel (LCH), a carrier ML / IZ / ZZ / ZυZZZ / υΟΊΊύΟ of uplink DRB data radio, an uplink LCG logical channel group, an uplink service destination identifier, and an uplink packet data unit session. In a possible solution, the sidelink service is the SL LCG, the first parameter is a priority of an SL LCG with a higher priority in one or more priorities that correspond to one or more SL LCGs that have sidelink data; and / or if the uplink service is the UL LCG, the second parameter is a priority of a UL LCG with a higher priority in one or more priorities that correspond to one or more UL LCGs that have uplink data. In a possible solution, if the sidelink service is the SL LCH, the first parameter is a priority of an SL LCH with a higher priority in one or more priorities that correspond to one or more SL LCHs that have sidelink data; and / or if the uplink service is the UL LCH, the second parameter is a priority of a UL LCH with a higher priority in one or more priorities that correspond to one or more UL LCHs that have uplink data. In one possible solution, the processing module is configured to determine, based on the first and second parameters, whether an SL BSR priority is higher than an UL BSR priority, or whether an UL BSR priority is higher than an SL BSR priority. This includes: If the first parameter is greater than the second parameter, the processing module is configured to determine that the SL BSR priority is higher than the UL BSR priority; or if the first parameter is less than the second parameter, the processing module is configured to determine that the UL BSR priority is higher than the SL BSR priority. In a possible solution, the processing module is further configured to generate a first BSR when there is a service that satisfies a first condition, where the first BSR includes buffer state information of the service that satisfies the first condition. The transceiver module is configured to send the first BSR. The first condition is that a service priority is greater than or equal to a first threshold. In one possible solution, the first BSR does not include buffer state information for a service that does not meet the first condition. In a possible solution, the first threshold includes any of the following: a preconfigured value, a value configured by a network, a service priority with a higher priority in the priorities corresponding to the services to trigger a lower-priority BSR, or a service priority with a higher priority in one or more priorities that ML / IZ / ZZ / ZυZZ / υΟΊΊύΟ correspond to one or more services that have data and that correspond to a lower priority BSR. If the priority of the UL BSR is higher than the priority of the SL BSR, the lower priority BSR is the SL BSR; or if the priority of the UL BSR is lower than the priority of the SL BSR, the lower priority BSR is the UL BSR. In one possible solution, the transceiver module is further configured to send a second BSR, where the second BSR includes buffer status information for the service that does not satisfy the first condition. In some other modalities, the 600 communication apparatus is applicable to the communication system shown in FIGURE 3 and performs the functions of the terminal device in the method for presenting a buffer status report shown in FIGURE 8 and / or FIGURE 9. The processing module is configured to: obtain a first uplink resource size and determine, based on the first uplink resource size, whether a priority of an UL BSR is greater than a priority of an SL BSR, or whether a priority of an SL BSR is greater than a priority of an UL BSR. In a possible solution, the processing module is configured to determine, based on the size of the first uplink resource, whether a priority of an UL BSR is greater than a priority of an SL BSR. This includes: If the size of the first uplink resource is greater than or equal to a size of an UL BSR, or if the size of the first uplink resource is greater than or equal to the sum of a size of an UL BSR and a size of an SL BSR that includes buffer state information from at least one SL LCG, or if the size of the first uplink resource is greater than or equal to a size of an UL BSR and the size of the first uplink resource is less than or equal to a size of an SL BSR, or if the size of the first uplink resource is greater than or equal to the sum of a size of an UL BSR and a size of an SL BSR that includes buffer state information from at least one SL LCG.and the size of the first uplink resource is less than or equal to the size of the SL BSR, the processing module is configured to determine that the priority of the UL BSR is greater than the priority of the SL BSR. In a possible solution, the processing module is configured to determine, based on the size of the first uplink resource, whether an SL BSR priority is greater than an UL BSR priority. This includes: If the size of the first uplink resource is greater than or equal to the size of the SL BSR, or if the size of the first uplink resource is greater than or equal to the sum of the SL BSR size and the UL BSR size that includes buffer state information from at least one UL LCG, or if the size of the first uplink resource is greater than or equal to the size of the SL BSR and less than or equal to the size of the UL BSR, or if the size of the first uplink resource is greater than or equal to the sum of the SL BSR size and the size of the UL BSR that includes buffer state information from at least one UL LCG.and the size of the first uplink resource is less than or equal to the size of the UL BSR, the processing module is configured to determine that the priority of the SL BSR is greater than the priority of the UL BSR. In one possible solution, the processing module is further configured to obtain a first parameter that corresponds to the SL BSR and a second parameter that corresponds to a UL BSR. The first parameter is a priority of a side-link service with a higher priority in one or more priorities that correspond to one or more side-link services that have side-link data; and / or the second parameter is a priority of an uplink service with a higher priority in one or more priorities that correspond to one or more uplink services that have uplink data. Alternatively, the first parameter is a priority of a side-link service with a higher priority in the priorities that correspond to side-link services to activate the SL BSR; and / or the second parameter is a priority of an uplink service with a higher priority in the priorities that correspond to uplink services to activate the UL BSR. The processing module is configured to determine, based on the size of the first uplink resource, whether the priority of an UL BSR is greater than the priority of an SL BSR, or whether the priority of an SL BSR is greater than the priority of an UL BSR. In a possible solution, the processing module is configured to determine, based on the size of the first uplink resource, the first parameter, and the second parameter, whether the priority of the UL BSR is greater than the priority of the SL BSR, or whether the priority of the SL BSR is greater than the priority of the UL BSR. This includes: If the size of the first uplink resource is less than the size of the SL BSR and less than the size of the UL BSR, the processing module is configured to determine, based on the first and second parameters, whether the priority of the UL BSR is greater than the priority of the SL BSR, or whether the priority of the SL BSR is greater than the priority of the UL BSR. Alternatively, if the size of the first uplink resource is greater than or equal to one SL BSR size and greater than or equal to one UL BSR size, the terminal device determines, based on the first and second parameters, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR. In one possible solution, the processing module is configured to determine, based on the first and second parameters, whether the priority of the UL BSR is greater than the priority of the SL BSR, or whether the priority of the SL BSR is greater than the priority of the UL BSR. This includes: If the first parameter corresponding to the SL BSR is greater than the second parameter corresponding to the UL BSR, the processing module is configured to determine that the priority of the SL BSR is greater than the priority of the UL BSR; or if the first parameter corresponding to the SL BSR is less than the second parameter corresponding to the UL BSR, the processing module is configured to determine that the priority of the UL BSR is greater than the priority of the SL BSR. In some other embodiments, the 600 communication apparatus is applicable to the communication system shown in FIGURE 3 and performs the functions of the terminal device in the method for presenting a buffer status report shown in FIGURE 10(b). The processing module is configured to generate a first BSR. The transceiver module is configured to send the first BSR. The first BSR includes buffer state information for a service that satisfies a first condition. The first condition is that a service priority is greater than or equal to a first threshold. In one possible solution, the first BSR does not include buffer state information for a service that does not meet the first condition. In a possible solution, the first threshold includes any of the following: a preconfigured value, a value configured by a network device, a service priority with a higher priority among the services that trigger a lower-priority BSR, or a service priority with a higher priority among one or more services that have data and correspond to a lower-priority BSR. In this case, if a UL BSR priority is higher than a SL BSR priority, the lower-priority BSR is the SL BSR; or if a UL BSR priority is lower than a SL BSR priority, the lower-priority BSR is the UL BSR. In one possible solution, the transceiver module is further configured to send a second BSR, where the second BSR includes buffer state information. ΜΛ / ΙΖ / ΖυΖΖ / υΟΊΊύΟ of the service that does not satisfy the first condition. Optionally, the communication device 600 in FIGURE 12 may also include a storage module. The storage module stores a program or instruction. When the processing module executes the program or instruction, the communication device 600 is enabled to perform the functions of the terminal device using any of the methods described above to present a buffer status report. It should be noted that the 600 communication apparatus may be a terminal device, a chip or chip system arranged in a terminal device, or another type of component that has a terminal function. This is not limited in this application. In a possible implementation, the processing module may be located in the processor shown in FIGURE 4, or it may include a processor and another necessary component. The transceiver module may be the transceiver 203 shown in FIGURE 4, or it may be another transceiver circuit or similar. The storage module may be the memory 202 shown in FIGURE 4. One embodiment of this application provides a communication apparatus. The communication apparatus is configured to implement the above method for submitting a buffer status report. The communication apparatus may be the terminal device, for example, an in-vehicle communication apparatus; an apparatus that includes the terminal device, for example, various types of vehicles; or an apparatus or component included in the terminal device, for example, a system chip, in the method for submitting a buffer status report in the above embodiments of the method. The communication apparatus includes a corresponding module, unit, or means for implementing the method for submitting a buffer status report. The module, unit, or means may be implemented by hardware, software, or hardware running corresponding software.The hardware or software includes one or more modules or units that correspond to the functions. One embodiment of this application provides a system-on-a-chip. The system-on-a-chip includes a processor and an input / output port. The processor is configured to implement a processing function of the method for submitting a buffer status report in the aforementioned embodiments of the method. The input / output port is configured to implement a transmit-receive function of the method for submitting a buffer status report in the aforementioned embodiments of the method. In one possible solution, the chip system also includes memory. The memory is configured to store a program instruction and data to implement a method function for presenting a buffer status report according to the ML / I IOO first aspect to third aspect. The chip system may include one chip or may include one chip and another discrete component. One form of this application provides a computer-readable storage medium. The computer-readable storage medium stores a computer instruction. When the computer instruction is executed on a computer, the computer is enabled to perform the method for submitting a buffer status report in the preceding forms of the method. One modality of this application provides a computer program product that includes an instruction. The computer program product includes either a computer program or an instruction. When the computer program or instruction is executed on a computer, the computer is enabled to perform the method for submitting a buffer status report in the above modality(ies) of the method. It should be understood that the processor referred to in the modalities of this application may be a central processing unit (CPU), or it may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor or the like. It can be understood that the memory in the modalities of this application may be volatile or non-volatile memory, or may include both. For example, non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable read-only memory (EEPROM), or flash memory. Volatile memory may be random access memory (RAM) and used as an external cache.Through exemplary but not limiting descriptions, random access memory (RAM) can be used in many forms, for example, static RAM (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 link dynamic random access memory (SLDRAM), and direct rambus dynamic random access memory (DR RAM). All or some of the above modalities can be implemented by software, hardware (e.g., a circuit), firmware, or any combination thereof. When software is used to implement the modalities, the above modalities can be implemented wholly or partially in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded and executed on a computer, the procedure or functions according to the modalities of this application are generated wholly or partially. The computer can be a general-purpose computer, a dedicated computer, a computer network, or other programmable devices.Computer instructions can be stored on a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired connection (e.g., infrared, radio, microwave, or similar). A computer storage medium can be any usable medium accessible by a computer or data storage device, such as a server or data center, that comprises one or more usable media. The usable medium can be magnetic (e.g., a floppy disk, hard drive, or magnetic tape), optical (e.g., a DVD), or semiconductor.The semiconductor medium can be a solid-state unit. It should be understood that the term "and / or" in this descriptive record describes only an associative relationship to describe associated objects and represents that three relationships can exist. For example, A and / or B can represent three cases: There is only A, there are both A and B, and there is only B. A and B can be singular or plural. Furthermore, the character 7 in this descriptive record generally represents an "or" relationship between associated objects, or alternatively, it can represent an "and / or" relationship. For details, please refer to the preceding and following descriptions for further understanding. In this application, “at least one” means one or more, and “a plurality of” means two or more. “At least one of the following items” or a similar expression means any combination of the items, including any combination of singular items or plural items. For example, “at least one item” of a, b, oc may mean: a, b, c, ayb, ayc, byc, oa, b, yc, where a, b, and yc may be singular or plural. IVIA / I IOO It should be understood that the sequence numbers of the processes mentioned above do not signify execution sequences in the modalities of this request. The execution sequences of the processes must be determined based on the functions and internal logic of the processes and should not be interpreted as any limitation on the processes for implementing the modalities of this request. A person with ordinary technical expertise may be aware that, in combination with the examples described in the modalities outlined in this specification, the algorithm's units and steps can be implemented using electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on the specific applications and the design constraints of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. It may be clearly understood by a person experienced in the technique that, for the purpose of a convenient and brief description, for a detailed work process of the above system, apparatus and unit, reference may be made to a corresponding process in the modalities of the above method, and details are not described again herein. In the various embodiments provided in this application, it should be understood that the described system, apparatus, and method may be implemented in other ways. For example, the embodiment of the described apparatus is merely an example. For example, the division into units is simply a division of logical functions and may be another division in an actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not implemented. Furthermore, the mutual couplings or couplings visualized or discussed, or the direct couplings or communication connections, may be implemented using certain interfaces. Indirect couplings or communication connections between the apparatus or units may be implemented electronically, mechanically, or otherwise. The units described as separate parts may or may not be physically separate, and the parts shown as units may or may not be physical units; they may be located in one position or distributed across a plurality of network units. Some or all of the units may be selected based on the actual requirements to achieve the objectives of the solution modalities. Furthermore, the functional units in the modalities of this application may be integrated into a processing unit, or each of the units may physically exist alone, or two or more units may be integrated into one unit. When functions are implemented as a functional software unit and sold or used as a standalone product, the functions may be stored on a computer-readable storage medium. Based on this understanding, the technical solutions of this application, or the portion that contributes to the existing solution, or some of the technical solutions, may be implemented as a software product. The software product is stored on a storage medium and includes various instructions for instructing a computing device (which may be a personal computer, a server, or a network device) to perform all or some of the steps of the methods described in the modalities of this application.The above storage medium includes: any medium that can store programming code, such as a USB flash drive, a removable hard drive, read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk. The foregoing descriptions are merely specific implementations of this application, but are not intended to limit the scope of protection of this application. Any variation or replacement readily visualized by a person skilled in the art within the technical scope described herein shall fall within the scope of protection of this application. Therefore, the scope of protection of this application shall be subject to the scope of protection of the claims.
Claims
69 NOVELTY OF THE INVENTION Having described the present invention as above, the following claims are considered novel and are therefore claimed as property: CLAIMS 1. A method for presenting a buffer status report; characterized in that it comprises: obtaining, by means of a terminal device, a size of a first uplink resource; determining, by means of the terminal device based on the size of the first uplink resource, that a priority of an uplink buffer status report, UL BSR, is greater than a priority of an SL BSR, or that a priority of a sidelink buffer status report, SL BSR, is greater than a priority of an UL BSR.
2. The method for presenting the buffer status report according to claim 1, characterized in that the determination, by means of the terminal device based on the size of the first uplink resource, that a priority of an SL BSR is greater than a priority of an UL BSR comprises: when the size of a UL grant is less than a sum of a size of a UL BSR media access control element, MAC CE, a size of a UL BSR CE subheader, a size of an SL BSR MAC CE, and a size of an SL BSR MAC CE subheader, determining, by means of the terminal device, that the priority of the SL BSR is greater than the priority of the UL BSR.
3. The method for presenting the buffer status report according to claim 2, characterized in that as much SL LCG buffer status information is presented as possible based on the size of the first uplink resource and / or the SL LCGs that have data available for transmission.
4. The method for presenting the buffer status report according to any of claims 1-3, characterized in that the method comprises: generating, by means of the terminal device, the SL BSR in response to the existence of a service that satisfies the first condition, wherein the first condition is that a service priority is greater than or equal to a first threshold, the SL BSR comprising the buffer status information of the service.
5. The method for presenting the buffer status report according to claim 1, characterized in that the determination, by means of the terminal device based on the size of the first uplink resource, that a priority of an UL BSR is greater than a priority of an SL BSR comprises: if the size of the first uplink resource is greater than or equal to a size of an UL BSR,or the size of the first uplink resource is greater than or equal to the sum of an UL BSR size and an SL BSR size comprising buffer state information from at least one SL LCG, or the size of the first uplink resource is greater than or equal to a UL BSR size and the size of the first uplink resource is less than or equal to an SL BSR size, or the size of the first uplink resource is greater than or equal to the sum of a UL BSR size and an SL BSR size comprising buffer state information from at least one SL LCG, and the size of the first uplink resource is less than or equal to the size of the SL BSR, determine, by means of the terminal device, that the priority of the UL BSR is greater than the priority of the SL BSR.
6. The method for presenting the buffer status report according to claim 1, characterized in that the determination, by the terminal device based on the size of the first uplink resource, that a priority of an SL BSR is greater than a priority of an UL BSR comprises: if the size of the first uplink resource is greater than or equal to a size of the SL BSR, or the size of the first uplink resource is greater than or equal to a size of the SL BSR and a size of the UL BSR comprising buffer status information of at least one UL LCG, or the size of the first uplink resource is greater than or equal to a size of the SL BSR and the size of the first uplink resource is less than or equal to a size of the UL BSR,or the size of the first uplink resource is greater than or equal to the size of an SL BSR and the size of an UL BSR comprising buffer state information from at least one UL LCG, and the size of the first uplink resource is less than or equal to the size of the UL BSR, determine, using the terminal device, that the priority of the SL BSR is greater than the priority of the UL BSR.
7. The method for presenting the buffer status report according to claim 1, characterized in that the method further comprises: obtaining, by means of the terminal device, a first parameter corresponding to the SL BSR and a second parameter corresponding to the UL BSR, wherein the first parameter is a priority of a sidelink service with a higher priority in one or more priorities corresponding to one or more IVIA / I IOO sidelink services that have sidelink data; and / or the second parameter is a priority of an uplink service with a higher priority in one or more priorities corresponding to one or more uplink services that have uplink data; or the first parameter is a priority of a sidelink service with a higher priority in the priorities corresponding to the sidelink services to activate the SL BSR;and / or the second parameter is a priority of an uplink service with a higher priority in the priorities that correspond to the uplink services to activate the UL BSR; and the determination, by the terminal device based on the size of the first uplink resource, that a priority of a UL BSR is greater than a priority of an SL BSR, or that a priority of an SL BSR is greater than a priority of a UL BSR comprises: determining, by the terminal device based on the size of the first uplink resource, the first parameter and the second parameter, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR.
8. The method for presenting the buffer status report according to claim 7, characterized in that the determination, by means of the terminal device based on the size of the first uplink resource, the first parameter and the second parameter, of whether the priority of the UL BSR is greater than the priority of the SL BSR, or whether the priority of the SL BSR is greater than the priority of the UL BSR comprises: if the size of the first uplink resource is less than a size of the SL BSR and less than a size of the UL BSR, determining, by means of the terminal device based on the first parameter and the second parameter, whether the priority of the UL BSR is greater than the priority of the SL BSR, or whether the priority of the SL BSR is greater than the priority of the UL BSR;or if the size of the first uplink resource is greater than or equal to one SL BSR size and greater than or equal to one UL BSR size, determine, using the terminal device based on the first parameter and the second parameter, that the priority of the UL BSR is greater than the priority of the SL BSR, or that the priority of the SL BSR is greater than the priority of the UL BSR.; 9. The method for presenting the buffer status report according to claim 8, characterized in that the determination, by means of the terminal device based on the first parameter and the second parameter, of whether the priority of the UL BSR is greater than the priority of the SL BSR, or whether the priority of the SL BSR is greater than the priority of the UL BSR comprises: if the first parameter corresponding to the SL BSR is greater than the second parameter corresponding to the UL BSR, determining, by means of the terminal device, that the priority of the SL BSR is greater than the priority of the UL BSR; or if the first parameter corresponding to the SL BSR is less than the second parameter corresponding to the UL BSR, determining, by means of the terminal device, that the priority of the UL BSR is greater than the priority of the SL BSR.
10. A method for presenting a buffer status report; characterized in that it comprises: obtaining, by means of a terminal device, a first parameter corresponding to a side-link buffer status report (SL BSR) of SL and a second parameter corresponding to an uplink buffer status report (UL BSR); and determining, by means of the terminal device based on the first parameter and the second parameter, that a priority of the SL BSR is higher than a priority of the UL BSR, or that a priority of the UL BSR is higher than a priority of the SL BSR.
11. The method for presenting the buffer status report according to claim 10, characterized in that the first parameter is a priority of a side link service with a higher priority in one or more priorities corresponding to one or more side link services that have side link data; and / or the second parameter is a priority of an up link service with a higher priority in one or more priorities corresponding to one or more up link services that have up link data.
12. The method for presenting the buffer status report according to claim 11, characterized in that the sidelink service comprises one or more of the following: a sidelink QoS flow, a sidelink LCH logical channel, a sidelink DRB data radio carrier, a sidelink LCG logical channel group, a sidelink service destination identifier, and a sidelink PDU packet data unit session; and the uplink service comprises one or more of the following: an uplink QoS flow, an uplink LCH logical channel, an uplink DRB data radio carrier, an uplink LCG logical channel group, an uplink service destination identifier, and an uplink PDU packet data unit session. 13.The method according to claim 11 or 12, characterized in that if the sidelink service is the SL LCG, the first parameter is a priority of an SL LCG with a higher priority in one or more priorities corresponding to one or more SL LCGs that have sidelink data; and / or if the uplink service is the UL LCG, the second parameter is a priority of a UL LCG with a higher priority in one or more priorities corresponding to one or more UL LCGs that have uplink data.
14. The method for presenting the buffer status report in accordance with any of claims 11 to 13, characterized in that if the sidelink service is the SL LCH, the first parameter is a priority of an SL LCH with a higher priority in one or more priorities corresponding to one or more SL LCHs that have sidelink data; and / or if the uplink service is the UL LCH, the second parameter is a priority of a UL LCH with a higher priority in one or more priorities corresponding to one or more UL LCHs that have uplink data.
15. The method for presenting the buffer status report according to any of claims 10 to 14, characterized in that the determination, by means of the terminal device based on the first parameter and the second parameter, that a SL BSR priority is greater than a UL BSR priority, or that a UL BSR priority is greater than an SL BSR priority comprises: if the first parameter is greater than the second parameter, determining, by means of the terminal device, that the SL BSR priority is greater than the UL BSR priority; or if the first parameter is less than or equal to the second parameter, determining, by means of the terminal device, that the UL BSR priority is greater than the SL BSR priority.
16. The method for presenting the buffer status report in accordance with any of claims 10 to 15, characterized in that the method further comprises: if there is a service that satisfies a first condition, generating, by means of the terminal device, a first BSR, wherein the first BSR comprises buffer status information of the service that satisfies the first condition; and sending, by means of the terminal device, the first BSR; wherein the first condition is that a priority of the service is greater than or equal to a first threshold.
17. The method for presenting the buffer status report according to claim 16, characterized in that the first BSR does not comprise buffer status information for a service that does not satisfy the first condition.
18. The method for presenting the buffer status report according to claim 16 or 17, characterized in that the first threshold comprises any of the following: a preconfigured value, a value configured by a network, a service priority with a higher priority in the priorities corresponding to services to activate a lower priority BSR, a service priority with a higher priority in one or more priorities corresponding to one or more services that have data and that correspond to a lower priority BSR, or a service priority with a higher priority in one or more priorities corresponding to one or more services that have data and that correspond to a lower priority BSR; and if the priority of the UL BSR is higher than the priority of the SL BSR, the lower priority BSR is the SL BSR;or if the priority of the UL BSR is lower than the priority of the SL BSR, the lower priority BSR is the UL BSR.; 19. The method for submitting the buffer status report in accordance with any of claims 16 to 18, characterized in that the method further comprises: sending, by means of the terminal device, a second BSR, wherein the second BSR comprises the buffer status information of the service that does not satisfy the first condition.
20. A communication apparatus, characterized in that the communication apparatus comprises a processor, wherein the processor is coupled to a memory; the memory is configured to store a computer program; and the processor is configured to execute the computer program stored in the memory, to enable the communication apparatus to perform the method for presenting a buffer status report according to any one of claims 1 to 9.
21. A communication apparatus, characterized in that the communication apparatus comprises a processor, wherein the processor is coupled to a memory; the memory is configured to store a computer program; and the processor is configured to execute the computer program stored in the memory, to enable the communication apparatus to perform the method for presenting a buffer status report according to any of claims 10 to 19.
22. A chip system, characterized in that the chip system comprises a processor and an input / output port, wherein the processor is configured to implement a processing function according to any of the claims