Data processing method and apparatus, communication device, and storage medium
By determining the target UE and generating a MAC PDU based on logical channel priority, the problem of unbalanced data transmission in 5G direct link communication is solved, ensuring priority reception of high-urgency data and improving the reliability and efficiency of communication.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2019-12-13
- Publication Date
- 2026-04-10
AI Technical Summary
In direct link communication in the 5G era, existing technologies may cause data with low logical channel priority to be sent while data with high logical channel priority is not sent, resulting in QoS not being guaranteed, which may cause security risks, especially in vehicle communication.
The target UE is determined based on the priority of the logical channel corresponding to the SL-DRB and SL-SRB of the data to be transmitted, and MAC PDUs are generated in order of logical channel priority to ensure that data with high urgency is transmitted first.
It improved the quality of data services, ensured priority reception of highly urgent business data, reduced security risks, and enhanced the reliability and efficiency of communication.
Smart Images

Figure CN116208985B_ABST
Abstract
Description
[0001] This application is a divisional application, the parent application of which is Chinese application filed on December 13, 2019, with application number 201980003576.4 and invention titled "Data Processing Method and Apparatus, Communication Equipment and Storage Medium". Technical Field
[0002] This application relates to, but is not limited to, the field of wireless communication, and particularly to a data processing method and apparatus, communication equipment and storage medium. Background Technology
[0003] In the fourth-generation (4G) mobile communication era, a sidelink (SL) communication method was introduced to support direct communication between user equipment (UE) and other UEs. The protocol stack for the sidelink communication method can be described as follows: Figure 1 As shown, the interface between UEA and UEB is PC-5U. Direct link transmission uses source and destination identifiers at the Media Access Control (MAC) layer for addressing; no connection establishment is required before transmission. Only Data Radio Bearers (DRBs) are used on the direct link for data transmission, with each DRB corresponding to one logical channel. Multiple logical channels can be established between the source and destination UEs for data transmission. Figure 1 The layers included in UEA and UEB are: Physical (PHY), Media Access Control (MAC), Radio Link Control (RLC), and Packet Data Convergence Protocol (PDCH).
[0004] In the 5G era, to support enhanced Vehicle-to-Everything (V2X) and other services, and to provide higher transmission rates and reliability, unicast connections need to be established on direct links. To support the establishment and management of unicast connections, a Signaling Radio Bearer (SRB) is introduced to transmit control signaling used for establishing and managing unicast connections. Each SRB also corresponds to a logical channel. When the network configures logical channel priorities via broadcast, the logical channel priorities corresponding to the DRB and SRB are fixed values. Data on each logical channel is dynamically changing. In current technologies, it's possible that low logical channel priority data for one destination UE might be transmitted, while high logical channel priority data for other destination UEs might not be transmitted, leading to a failure to guarantee QoS. Summary of the Invention
[0005] This application discloses a data processing method and apparatus, a communication device and a storage medium.
[0006] This application discloses a data processing method, which is applied in a first user equipment (UE) and includes:
[0007] The second UE is determined based on the logical channel priority of the logical channel corresponding to the SL-DRB and / or SL-SRB of the data to be transmitted;
[0008] A MAC Protocol Data Unit (PDU) for transmission to the second UE is determined, wherein the MAC PDU includes: data to be transmitted in one or more SL-RBs determined according to the logical channel priority of the logical channel corresponding to the SL-RB of the second UE, wherein the SL-RB of the second UE includes: the SL-DRB of the second UE and / or the signaling radio bearer SL-SRB of the second UE.
[0009] Based on the above scheme, the logical channel corresponding to the SL-DRB has a logical channel identifier, which is specified by the communication protocol or configured on the network side.
[0010] Based on the above scheme, determining the second UE according to the logical channel priority of the logical channel corresponding to the direct link data radio bearer SL-DRB of the data to be transmitted includes:
[0011] Determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted;
[0012] The UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted is determined to be the second UE.
[0013] Based on the above scheme, determining the second UE according to the logical channel priority of the logical channel corresponding to the direct link data radio bearer SL-DRB of the data to be transmitted includes:
[0014] Determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be sent with a bucket capacity greater than 0;
[0015] The UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be sent with a bucket capacity greater than 0 is determined to be the second UE.
[0016] Based on the above scheme, determining the MAC PDU to be sent to the second UE includes:
[0017] Determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE;
[0018] Data to be transmitted in one or more RBs are determined according to the logical channel priority from high to low.
[0019] Based on the data to be transmitted in one or more SL-RBs, determine the MAC PDU to be sent to the second UE.
[0020] Based on the above scheme, determining the MAC PDU to be sent to the second UE includes:
[0021] Determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE with a bucket capacity greater than 0;
[0022] Data to be transmitted in one or more SL-RBs is determined according to the logical channel priority from high to low.
[0023] Based on the data to be transmitted in one or more SL-RBs, determine the MAC PDU to be sent to the second UE.
[0024] Based on the above scheme, determining the MAC PDU to be sent to the second UE further includes:
[0025] When the data to be transmitted in the radio bearer RB of the second UE with a bucket capacity greater than 0 is carried after the MAC PDU and there is still remaining capacity in the MAC PDU, the data to be transmitted in one or more SL-RBs is determined according to the logical channel priority of the logical channel corresponding to the second UE from high to low.
[0026] Based on the data to be transmitted in one or more SL-RBs, determine the MAC PDU to be sent to the second UE.
[0027] Based on the above scheme, the MAC direct link shared channel SL-SCH subheader of the MAC PDU includes the SL layer 2 identifier of the second UE.
[0028] A second aspect of this application provides a data processing apparatus, which is applied in a first user equipment (UE) and includes:
[0029] The first determining module is configured to determine the second UE based on the logical channel priority of the logical channel corresponding to the direct link data radio bearer SL-DRB and / or the direct link signaling radio bearer SL-SRB of the data to be transmitted.
[0030] The second determining module is configured to determine a Media Access Control (MAC) PDU for transmission to the second UE, wherein the MAC PDU includes: data to be transmitted in one or more SL-RBs determined according to the logical channel priority of the logical channel corresponding to the SL-RB of the second UE, wherein the SL-RB of the second UE includes: the SL-DRB of the second UE and / or the signaling radio bearer SL-SRB of the second UE.
[0031] Based on the above scheme, the logical channel corresponding to the SL-DRB has a logical channel identifier, which is specified by the communication protocol or configured on the network side.
[0032] Based on the above scheme, the first determining module is configured to determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted; and to determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted as the second UE.
[0033] Based on the above scheme, the first determining module is configured to determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted with a bucket capacity greater than 0; and to determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted with a bucket capacity greater than 0 as the second UE.
[0034] Based on the above scheme, the second determining module is configured to determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE; determine the data to be transmitted in one or more RBs according to the logical channel priority from high to low; and determine the MACPDU to be transmitted to the second UE according to the data to be transmitted in the one or more SL-RBs.
[0035] Based on the above scheme, the second determining module is configured to determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE with a bucket capacity greater than 0; determine the data to be transmitted in one or more RBs according to the logical channel priority from high to low; and determine the MAC PDU to be transmitted to the second UE according to the data to be transmitted in the one or more RBs.
[0036] Based on the above scheme, the second determining module is further configured to: when the data to be transmitted in the SL-RBs of the second UE with a bucket capacity greater than 0 are all carried after the MAC PDU and the MAC PDU still has remaining capacity, determine the data to be transmitted in one or more SL-RBs according to the logical channel priority of the logical channel corresponding to the SL-SB of the second UE in descending order; and determine the MAC PDU to be transmitted to the second UE according to the data to be transmitted in the one or more RBs.
[0037] Based on the above scheme, the MAC direct link shared channel SL-SCH subheader of the MAC PDU includes the SL layer 2 identifier of the second UE.
[0038] A third aspect of this application provides a user equipment, comprising:
[0039] transceiver;
[0040] Memory;
[0041] The processor, connected to both the transceiver and the memory, is configured to control the wireless signal transmission and reception of the transceiver by executing computer-executable instructions stored in the memory, and to provide the data processing method provided by any of the technical solutions provided in the first aspect.
[0042] A fourth aspect of this application provides a computer storage medium storing computer-executable instructions; when executed by a processor, the computer-executable instructions can implement the data processing method provided by any of the technical solutions provided in the first aspect.
[0043] The technical solution provided in this application determines the second UE to receive data based on the logical channel priority of the logical channel corresponding to SL-DRB and / or SL-SRB in the SL-RB of the data to be transmitted. In this way, the UE receiving the data according to the logical channel priority of the logical channel corresponding to SL-DRB can receive the data first, thereby reducing the phenomenon that the UE corresponding to the SL-DRB with the lower logical channel priority receives the data first, which is caused by selecting the UE to receive the data according to the logical channel priority of the logical channel corresponding to SL-SRB. This improves the data service quality of the first UE transmitting SL data. Attached Figure Description
[0044] Figure 1 This is a schematic diagram of the communication protocol stack for SL;
[0045] Figure 2 This is a schematic diagram of the structure of a wireless communication system according to an embodiment of this application;
[0046] Figure 3 A schematic diagram of the structure of a MAC SL-SCH provided in an embodiment of this application;
[0047] Figure 4 This is a schematic diagram of the structure of a MAC PDU provided in an embodiment of this application;
[0048] Figure 5 A flowchart illustrating a data processing method provided in an embodiment of this application;
[0049] Figure 6A A flowchart illustrating a data processing method provided in an embodiment of this application;
[0050] Figure 6B A flowchart illustrating a data processing method provided in an embodiment of this application;
[0051] Figure 7A A flowchart illustrating a data processing method provided in an embodiment of this application;
[0052] Figure 7B A flowchart illustrating a data processing method provided in an embodiment of this application;
[0053] Figure 8 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;
[0054] Figure 9 A schematic diagram of the structure of a UE provided in an embodiment of this application;
[0055] Figure 10 This is a schematic diagram of a base station structure provided in an embodiment of this application. Detailed Implementation
[0056] Please refer to Figure 2 This illustrates a schematic diagram of a wireless communication system provided in an embodiment of this application. Figure 2 As shown, the wireless communication system is a communication system based on cellular mobile communication technology. The wireless communication system may include: several terminals 110 and several base stations 120.
[0057] Terminal 110 can be a device that provides voice and / or data connectivity to a user. Terminal 110 can communicate with one or more core networks via a Radio Access Network (RAN). Terminal 110 can be an Internet of Things (IoT) terminal, such as a sensor device, a mobile phone (or "cellular" phone), and a computer with an IoT terminal. For example, it can be a fixed, portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted device. Examples include a station (STA), subscriber unit, subscriber station, mobile station, mobile station, remote station, access point, remote terminal, access terminal, user terminal, user agent, user device, or user equipment. Alternatively, terminal 110 can also be a device for an unmanned aerial vehicle (UAV). Alternatively, terminal 110 can also be a vehicle-mounted device, such as a vehicle computer with wireless communication capabilities, or a wireless terminal connected to an external vehicle computer. Alternatively, terminal 110 can also be a roadside device, such as a street light, traffic light, or other roadside device with wireless communication capabilities.
[0058] Base station 120 can be a network-side device in a wireless communication system. This wireless communication system can be a fourth-generation mobile communication (4G) system, also known as a Long Term Evolution (LTE) system; or it can be a 5G system, also known as a New Radio (NR) system or a 5G NR system. Alternatively, it can be a next-generation system after 5G. In this case, the access network in the 5G system can be called NG-RAN (New Generation-Radio Access Network).
[0059] The base station 120 can be an evolved NB (eNB) used in a 4G system. Alternatively, the base station 120 can also be a gNB (gNB) using a centralized-distributed architecture in a 5G system. When the base station 120 adopts a centralized-distributed architecture, it typically includes a central unit (CU) and at least two distributed units (DUs). The central unit is equipped with a protocol stack of the Packet Data Convergence Protocol (PDCP) layer, the Radio Link Control (RLC) layer, and the Media Access Control (MAC) layer; the distributed units are equipped with a physical (PHY) layer protocol stack. The specific implementation of the base station 120 is not limited in this embodiment.
[0060] Base station 120 and terminal 110 can establish a wireless connection via a wireless air interface. In different implementations, the wireless air interface is a wireless air interface based on the fourth-generation mobile communication network technology (4G) standard; or, the wireless air interface is a wireless air interface based on the fifth-generation mobile communication network technology (5G) standard, such as a new air interface; or, the wireless air interface can also be a wireless air interface based on a next-generation mobile communication network technology standard based on 5G.
[0061] In some embodiments, E2E (End to End) connections can also be established between terminals 110. Examples include V2V (vehicle to vehicle), V2I (vehicle to Infrastructure), and V2P (vehicle to pedestrian) communication scenarios in vehicle-to-everything (V2X) communication.
[0062] In some embodiments, the wireless communication system described above may further include a network management device 130.
[0063] Several base stations 120 are connected to network management device 130. Network management device 130 can be a core network device in a wireless communication system, such as a Mobility Management Entity (MME) in an Evolved Packet Core (EPC). Alternatively, it can be other core network devices, such as a Serving Gateway (SGW), Public Data Network Gateway (PGW), Policy and Charging Rules Function (PCRF), or Home Subscriber Server (HSS). The implementation of network management device 130 is not limited in this embodiment.
[0064] Directly connected links use the source and destination identifiers carried in the MAC SL-SCH header for addressing, eliminating the need to establish a connection before transmission. The structure of the MAC SL-SCH header is as follows: Figure 3 As shown, SRC is the Layer 2 identifier of the source UE, and DST is the Layer 2 identifier of the destination UE. The Layer 2 identifier is generated by the application layer and provided to the AS layer for use in identifying a UE performing SL transmission.
[0065] like Figure 4 As shown, each MAC PDU can only be sent to one destination UE, each MAC PDU contains only one MAC header, and the MAC header includes only one MAC SL-SCH sub-header. This SL-SCH sub-header structure can... Figure 3 As shown. Figure 3 In this context, V indicates the MAC SL-SCH version. R indicates a reserved field in the MAC SL-SCH. Oct represents a byte. Figure 3 The MAC SL-SCH shown contains 7 bytes.
[0066] Figure 4 The meanings of each field in the subheader of the MAC PDU shown are as follows:
[0067] LCID stands for Logical Channel Identifier.
[0068] L indicates the length of the corresponding MAC Service Data Unit (SDU) and MAC control unit, in bytes.
[0069] F indicates the length of the L field.
[0070] E indicates whether there are more fields following the MAC header.
[0071] R is reserved for bits.
[0072] The order of the MAC PDU subheaders is consistent with the order of the corresponding MACSDUs, MAC control units, and the order of stuffing. The MAC control unit is located at the beginning of all MAC SDUs.
[0073] Padding is located at the end of the MAC PDU. Padding can be any value. The UE ignores the padding part and allows zero or more padding bytes.
[0074] In the 5G era of fifth-generation mobile communication, to support enhanced V2X services and to support higher transmission rates and higher reliability, unicast connections need to be established on direct links. To support the establishment and management of unicast connections, a Direct Link Signaling Radio Bearer (SRB) was introduced to transmit control signaling used for establishing and managing unicast connections. Each SRB also corresponds to a logical channel.
[0075] Each logical channel (LCH) has a logical channel priority for logical channel scheduling. This logical channel priority is configured by the network. The network configures it for connected UEs through dedicated signaling and for idle UEs through broadcast. The network configures the logical channel priority for this logical channel based on the QoS of the data carried by the logical channel.
[0076] When a UE receives a sidelink grant, it selects which data to transmit using the following Logical Channel Prioritization (LCP) method:
[0077] Step 1: Select the logical channel with the highest logical channel priority and put the data to be transmitted in this logical channel into the MAC PDU.
[0078] Step 2: Among the other logical channels of the destination UE to which the logical channel selected in Step 1 belongs, select the logical channel with the highest logical channel priority and put the data to be transmitted in this logical channel into the MAC PDU.
[0079] The MAC PDU is handed over to the physical layer for transmission only after all pending data for all logical channels of the target UE has been placed in the MAC PDU, or the SL grant can no longer hold more data.
[0080] On the Uu interface, the UE selects logical channel data for placement into the MAC PDU using the token bucket algorithm. The network configures the following parameters for each logical channel: logical channel priority and prioritized bit rate (in bits per second). The UE maintains a bucket capacity (Bj, in bits) for each logical channel, with the initial serving logical channel priority being 0. Whenever the UE obtains a transmission permission resource, the serving logical channel priority for each logical channel increases by "prioritized bit rate * duration of the transmission permission resource," and the serving logical channel priority for each logical channel cannot exceed "prioritized bit rate * token bucket capacity."
[0081] When a UE receives a sidelink grant, it selects which data to transmit using the following Logical Channel Prioritization (LCP) method:
[0082] In all logical channels with bucket capacity > 0, the bucket capacity data of each logical channel is put into the MAC PDU according to the logical channel priority from high to low.
[0083] Subtract the amount of data put into the MAC PDU from the logical channel capacity.
[0084] If data can still be sent after steps 1 and 2, the data in each logical channel is sent into the MAC PDU according to the logical channel priority from high to low, regardless of the bucket capacity.
[0085] According to the current Link Control Protocol (LCP) procedure, when the logical channel priority of the DRB is lower than that of the SRB, the UE will preferentially select the logical channel corresponding to the SRB, and then put the data of other logical channels of this destination UE into the MAC PDU for transmission.
[0086] like Figure 5 As shown, this embodiment provides a data processing method, which is applied in a first user equipment (UE) and includes:
[0087] S110: Determine the second UE based on the logical channel priority of the logical channel corresponding to the SL-DRB and / or SL-SRB of the data to be transmitted;
[0088] S120: Determine a MAC PDU to be sent to the second UE, wherein the MAC PDU includes: data to be sent in one or more SL-RBs determined according to the logical channel priority of the logical channel corresponding to the SL-RB of the second UE, wherein the SL-RB of the second UE includes: the SL-DRB of the second UE and / or the SL-SRB of the second UE.
[0089] In this embodiment of the application, when there are multiple SL-RBs for a UE to transmit data, and the first UE can only transmit one MAC PDU at a time, and one MAC PDU can only carry the identifier of one receiving UE, the target UE that first receives the data transmitted by the first UE is determined according to the logical channel priority of the logical channels corresponding to the SL-DRB and / or SL-SRB among the multiple SL-RBs, i.e., the second UE.
[0090] SL-RB can be divided into SL-DRB and SL-SRB; the data contained in SL-SRB is generally control signaling, which may include:
[0091] Various information used for establishing and / or maintaining the SL between the first UE and the second UE.
[0092] Here, SL-RB can be a direct-link radio bearer, and the data to be transmitted in SL-RB is data that needs to be transmitted through SL. In some cases, data transmitted through SL can be referred to as SL data.
[0093] The SL-DRB contains service data that the first UE needs to send to the second UE, which is the purpose of the SL established between the first UE and the second UE. Generally, the higher the logical channel priority of the logical channel corresponding to the SL-DRB, the higher the urgency of sending the data contained in the SL-DRB. For example, when the first UE and the second UE are vehicle-mounted devices, the service data transmitted via SL can be service data related to driving safety, or it can include ordinary communication data during driving. In this case, the logical channel priority of the logical channel corresponding to the SL-DRB containing service data related to driving safety is generally higher than the logical channel priority of the logical channel corresponding to the SL-DRB containing ordinary communication service data. However, since the logical channels corresponding to SL-DRB and SL-SRB are different, they may have different logical channel priorities. If other UEs are selected to receive data from the first UE first according to the logical channel priority of all SL-RBs or the logical channel corresponding to SL-SRBs, from high to low, the UE receiving the SL-DRB with the lower logical channel priority may receive data first, resulting in service data related to safe driving being sent later than ordinary communication data, potentially leading to safety incidents.
[0094] In this embodiment of the application, to reduce this phenomenon, the second UE that prioritizes receiving the first UE's data is determined according to the logical channel priority of the logical channel corresponding to the SL-DRB. For example, determining the second UE based on the logical channel priority of the logical channel corresponding to the SL-DRB and / or SL-SRB of the data to be transmitted may include:
[0095] If the data to be transmitted includes an SL-DRB, the receiving UE with the highest logical channel priority of the logical channel corresponding to the SL-DRB is selected as the second UE. This ensures that other UEs with high-urgency service data reception needs will receive the data sent by the first UE first, satisfying the Quality of Service (QoS) for high-urgency service data. If the data to be transmitted includes an SL-SRB but does not include an SL-DRB, the receiving UE with the highest logical channel priority of the logical channel corresponding to the SL-SRB is selected as the second UE.
[0096] After the second UE is determined, a MAC PDU is generated based on the data to be transmitted in the SL-DRB and / or SL-SRB corresponding to the second UE. The MAC PDU may carry the data to be transmitted in one or more SL-RBs.
[0097] If there are multiple SL-RBs for which data is to be sent to the second UE, then in S120, data can be filled into the MAC PDU sent to the second UE according to the logical channel priority of the logical channel corresponding to the SL-RB for which data is to be sent to the second UE from high to low. In this way, it is ensured that the SL-RB with the higher logical channel priority will be sent to the second UE first.
[0098] In some embodiments, the logical channel corresponding to the SL-DRB has a logical channel identifier, which is specified by the communication protocol or configured on the network side.
[0099] If the logical channel identifier of the logical channel is specified by the communication protocol, then the logical channel identifier is written into the first UE when it leaves the factory.
[0100] The network-side configurations here may include those configured in the access network and / or the core network. Access network elements may include at least base stations. Core network elements may include elements such as Access Management Functions (AMFs). These are examples of access network and core network elements; specific implementations are not limited to these examples.
[0101] For example, the logical channels assigned to an SL-DRB are configured with a set of logical channels, and one or more logical channels in this set are indicated by logical channel identifiers. When configuring logical channels for an SL-DRB, one can be selected from this set and configured for the corresponding SL-DRB.
[0102] For example, based on the urgency of the data contained in the SL-DRB, a logical channel with a logical channel priority matching that urgency is selected and configured for the SL-DRB.
[0103] In this embodiment of the application, the data to be transmitted is determined. If the data to be transmitted includes an SL-DRB, then the receiving UE of the SL-DRB with the highest logical channel priority is selected as the second UE according to the logical channel priority of the logical channel corresponding to the SL-DRB.
[0104] In the embodiments of this application, there are multiple ways to determine the second UE based on the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted. Examples are provided below.
[0105] In one or more embodiments, such as Figure 6A As shown, determining the second UE based on the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted includes:
[0106] S111a: Determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted;
[0107] S112 a: Determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted as the second UE.
[0108] At this point, the second UE selected is the UE with the highest logical channel priority among all logical channels corresponding to SL-DRBs.
[0109] In other embodiments, such as Figure 6B As shown, determining the second UE based on the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted includes:
[0110] S111b: Determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be sent with a bucket capacity greater than 0;
[0111] S112b: Determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be sent with a bucket capacity greater than 0 as the second UE.
[0112] In this embodiment of the application, the first UE configures a token bucket and the bucket capacity of the token bucket for each logical channel to ensure that each logical channel can be polled and thus be mapped to the physical layer transmission channel to send data.
[0113] In this embodiment, firstly, a logical channel with a bucket capacity greater than 0 is selected. Then, the logical channel with the highest priority among the logical channels with a bucket capacity greater than 0 is selected. Finally, the receiving UE of the SL-DRB corresponding to the logical channel with the highest priority among the logical channels with a bucket capacity greater than 0 is the second UE.
[0114] Suppose that the first UE is configured with M logical channels, and currently N logical channels have a bucket capacity greater than 0, where N is less than or equal to M. When N is less than M, at least one SL-DRB corresponding to a logical channel will not participate in the logical channel priority ranking. For example, M equals 4, where the bucket capacity of logical channels 1 to 3 is greater than 0, while the bucket capacity of logical channel 4 is equal to or less than 0. In this case, logical channel 4 will not participate in the logical channel priority ranking. If, at this time, SL-DRB1 is configured on logical channel 4, SL-DRB2 is configured on logical channel 3; and the logical channel priority of logical channel 4 is higher than the logical channel priority of logical channel 3; and the logical channel priority of logical channel 3 is higher than the logical channel priorities of logical channels 1 and 2 respectively, then in this case, the receiving UE corresponding to SL-DRB2 of logical channel 3 will still be selected as the second UE, instead of the receiving UE corresponding to SL-DRB1 with the higher logical channel priority.
[0115] In summary, the introduction of bucket capacity in bucket tokens necessitates prioritizing the exclusion of logical channels with bucket capacities equal to or less than 0 when determining the second UE in step S110. The second UE is then determined based on the logical channel priority of logical channels with bucket capacities greater than 0. Therefore, in some cases, the range of SL-DRBs used in Scheme 2 to determine the second UE is smaller than the range used in Scheme 3 to determine the second UE's SL-DRB. However, Scheme 2 ensures that every logical channel is polled.
[0116] In this embodiment, if the data to be transmitted includes an SL-SRB but does not include an SL-DRB, then the receiving UE of the SL-SRB with the highest logical channel priority is selected as the second UE according to the logical channel priority of the logical channel corresponding to the SL-SRB. In this embodiment, there are many ways to determine the second UE based on the SL-SRB; for example, the method based on the SL-DRB can be referenced. This embodiment does not limit this approach.
[0117] Of course, in this embodiment of the application, if the data to be transmitted includes both SL-DRB and SL-SRB, then the receiving UE of the SL-DRB with the highest logical channel priority is selected as the second UE according to the logical channel priority of the logical channel corresponding to the SL-DRB.
[0118] After determining the second UE, there are multiple ways to determine the MAC PDU. Two of these methods are provided below.
[0119] In some embodiments, the determination of the MAC PDU for transmission to the second UE includes: data to be transmitted in one or more SL-RBs determined according to the logical channel priority of the logical channel corresponding to the SL-RB of the second UE, wherein the SL-RB of the second UE includes: the SL-DRB of the second UE and / or the SL-SRB of the second UE, including:
[0120] S121a: Determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE;
[0121] S122a: Data to be transmitted in one or more RBs determined according to the logical channel priority from high to low;
[0122] S123a: Determine the MACPDU to be sent to the second UE based on the data to be transmitted in the one or more SL-RBs.
[0123] like Figure 7A As shown, if optional method one is applied, the method of this embodiment is specifically as follows:
[0124] S111a: Determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted;
[0125] S112 a: Determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted as the second UE;
[0126] S121a: Determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE;
[0127] S122a: Data to be transmitted in one or more RBs determined according to the logical channel priority from high to low;
[0128] S123a: Determine the MACPDU to be sent to the second UE based on the data to be transmitted in the one or more SL-RBs.
[0129] In this method, the MAC PDU is generated directly according to the logical channel priority of all logical channels corresponding to the SL-RBs of the second UE. For example, the MAC PDU is filled in from high to low according to the logical channel priority of the logical channels corresponding to the SL-RBs of the second UE.
[0130] Optionally, in the second step, the determination of the MAC PDU to be sent to the second UE, wherein the MAC PDU includes: data to be sent from one or more SL-RBs determined according to the logical channel priority of the logical channel corresponding to the SL-RB of the second UE, wherein the SL-RB of the second UE includes: the SL-DRB and / or the SL-SRB of the second UE, including:
[0131] S121b: Determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE with a bucket capacity greater than 0;
[0132] S122b: Data to be transmitted in one or more SL-RBs determined according to the logical channel priority from high to low;
[0133] S123b: Determine the MACPDU to be sent to the second UE based on the data to be transmitted in the one or more SL-RBs.
[0134] In this embodiment of the application, according to the token bucket algorithm, the logical channel priority of the SL-RB of the second UE with a bucket capacity greater than 0 is first selected in descending order and filled into the MAC PDU, thereby ensuring that the data contained in the SL-RB with a bucket capacity greater than 0 and a high logical channel priority is sent first.
[0135] In some embodiments, S122b further includes:
[0136] When the data to be transmitted in the radio bearer RB of the second UE with a bucket capacity greater than 0 is carried after the MAC PDU and there is still remaining capacity in the MAC PDU, the data to be transmitted in one or more SL-RBs is determined according to the logical channel priority of the logical channel corresponding to the second UE from high to low.
[0137] Based on the data to be transmitted in one or more SL-RBs, determine the MAC PDU to be sent to the second UE.
[0138] In other embodiments, such as Figure 7B As shown, the method in this embodiment of the disclosure is specifically as follows:
[0139] S111b: Determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be sent with a bucket capacity greater than 0;
[0140] S112b: Determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be sent with a bucket capacity greater than 0 as the second UE;
[0141] S121b: Determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE with a bucket capacity greater than 0;
[0142] S122b: Data to be transmitted in one or more SL-RBs determined according to the logical channel priority from high to low;
[0143] S123b: Determine the MACPDU to be sent to the second UE based on the data to be transmitted in the one or more SL-RBs.
[0144] In other words, if the number of logical channel buckets with a capacity greater than 0 corresponding to the SL-RBs of the second UE is relatively small, or the data volume of each SL-RB is relatively small, then the SL-RBs with a bucket capacity greater than 0 are carried in the MAC PDU. If the MAC PDU still has remaining capacity, then the data contained in all the SL-RBs of the second UE can be filled into the MAC PDU. To ensure that the data contained in the SL-RBs with higher logical channel priority is sent first, data will still be filled into the MAC PDU according to the logical channel priority from high to low.
[0145] In other embodiments, when the data to be transmitted by the radio bearer RB of the second UE with a bucket capacity greater than 0 is carried after the MAC PDU and the MAC PDU still has remaining capacity, the SL-SB of the second UE with the data to be transmitted can be randomly selected; and the data to be transmitted by the randomly selected SL-SB can be filled into the corresponding MAC PDU.
[0146] In some embodiments, the MAC SL-SCH subheader of the MAC PDU includes the SL layer (L)2 identifier of the second UE.
[0147] The MAC PDU's MAC SL-SCH subheader carries the SL L identifier for other UEs that detect the MAC PDU, allowing them to determine whether the currently received MAC PDU was sent to them.
[0148] like Figure 8 As shown, this embodiment provides a data processing apparatus, which is applied in a first user equipment (UE) and includes:
[0149] The first determining module 710 is configured to determine the second UE based on the logical channel priority of the logical channel corresponding to the direct link data radio bearer SL-DRB and / or the direct link signaling radio bearer SL-SRB of the data to be transmitted.
[0150] The second determining module 720 is configured to determine a Media Access Control (MAC) Protocol Data Unit (PDU) for transmission to the second UE, wherein the MAC PDU includes: data to be transmitted in one or more SL-RBs determined according to the logical channel priority of the logical channel corresponding to the SL-RB of the second UE, wherein the SL-RB of the second UE includes: the SL-DRB of the second UE and / or the signaling radio bearer SL-SRB of the second UE.
[0151] In some embodiments, the first determining module 710 and the second determining module 720 may be program modules; after being executed by the processor, the program modules can determine the second UE and MAC PDU.
[0152] In other embodiments, the first determining module 710 and the second determining module 720 may be hardware-software combined modules; the hardware-software combined modules may include various programmable arrays; the programmable arrays may include: field-programmable arrays and / or complex programmable arrays.
[0153] In some embodiments, the first determining module 710 and the second determining module 720 may be pure hardware modules; the pure hardware module may include: application-specific integrated circuits.
[0154] In some embodiments, the logical channel corresponding to the SL-DRB has a logical channel identifier, which is specified by the communication protocol or configured on the network side.
[0155] In some embodiments, the first determining module 710 is configured to determine the data to be transmitted; when the SL-RB of the data to be transmitted contains the SL-DRB, the logical channel priority of the logical channel corresponding to the SL-DRB is used to determine the second UE.
[0156] In some embodiments, the first determining module 710 is configured to determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted; and to determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted as the second UE.
[0157] In some embodiments, the first determining module 710 is configured to determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted with a bucket capacity greater than 0; and to determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted with a bucket capacity greater than 0 as the second UE.
[0158] In some embodiments, the first determining module is configured to determine the second UE based on the logical channel priority of the logical channel corresponding to the SL-SRB when the SL-RB of the data to be transmitted does not include the SL-DRB but includes the SL-SRB.
[0159] In some embodiments, the second determining module 720 is configured to determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE; determine the data to be transmitted in one or more RBs according to the logical channel priority in descending order; and determine the MAC PDU to be transmitted to the second UE according to the data to be transmitted in the one or more SL-RBs.
[0160] In some embodiments, the second determining module 720 is configured to determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE with a bucket capacity greater than 0; determine the data to be transmitted in one or more RBs according to the logical channel priority in descending order; and determine the MAC PDU to be transmitted to the second UE according to the data to be transmitted in the one or more RBs.
[0161] In some embodiments, the second determining module 720 is further configured to: determine the data to be transmitted in one or more SL-RBs according to the logical channel priority from high to low order of the logical channel corresponding to the SL-SB of the second UE when the data to be transmitted in the SL-RBs of the second UE with the bucket capacity greater than 0 are all carried after the MAC PDU and the MAC PDU still has remaining capacity; and determine the MAC PDU to be transmitted for the second UE according to the data to be transmitted in the one or more RBs.
[0162] In some embodiments, the MAC direct link shared channel SL-SCH subheader of the MAC PDU includes the SL layer 2 identifier of the second UE.
[0163] The following are some specific examples in conjunction with any of the above embodiments:
[0164] Example 1:
[0165] When the network configures logical channel priorities via broadcast, the logical channel priorities corresponding to SL-DRB and SL-SRB are fixed values. The data on each logical channel changes dynamically. According to the current LCP procedure, when the logical channel priority of the DRB is lower than that of the SRB, the UE will preferentially select the logical channel corresponding to the SRB, and then put the data from other logical channels of this destination UE into the MAC PDU for transmission. This may result in situations where low logical channel priority data for this destination UE is transmitted, but high logical channel priority data for other UEs is not transmitted, leading to a failure to guarantee QoS.
[0166] When the UE MAC receives a direct link transmission permission resource, it selects the logical channel with the highest logical channel priority from the logical channels corresponding to the data radio bearers with pending data or from the logical channels corresponding to the data radio bearers with pending data and a capacity greater than 0, and then selects the corresponding Layer 2 identifier of the target UE.
[0167] For all logical channels corresponding to the selected target layer 2 identifier, the data to be transmitted in the logical channels is put into the MAC PDU according to the token bucket algorithm or logical channel priority, until all the data to be transmitted in the logical channels has been put into the MAC PDU, or the MAC PDU cannot hold any more data.
[0168] Example 2:
[0169] UEx established a connection with UE1. UE1's Layer 2 identifier is 000, and the following logical channel is configured for the data to be received by UE1. Here, UEx is the aforementioned first UE.
[0170] SL-SRB1 corresponds to LCH0, and its logical channel priority is 1;
[0171] SL-SRB2 corresponds to LCH1, and its logical channel priority is 3;
[0172] SL-DRB1 corresponds to LCH2, and its logical channel priority is 0;
[0173] SL-DRB2 corresponds to LCH3, and its logical channel priority is 2.
[0174] UEx established a connection with UE2. UE2's Layer 2 identifier is 001, and the following logical channels are configured for the data to be received by UE2.
[0175] SL-SRB1 corresponds to LCH5 and has a logical channel priority of 4; SL-SRB2 corresponds to LCH6 and has a logical channel priority of 1.
[0176] SL-DRB1 corresponds to LCH7 and has a logical channel priority of 1; SL-DRB2 corresponds to LCH8 and has a logical channel priority of 3.
[0177] When UEx receives an SL transmit permission resource of 1k bits, there is data to be transmitted on the following logical channel:
[0178] LCH1 has 0.1k bits of data to be transmitted;
[0179] LCH3 has 0.3k bits of data to be transmitted;
[0180] LCH5 has 0.4k bits of data to be transmitted;
[0181] LCH7 has 0.2k bits of data to be transmitted;
[0182] LCH8 has 0.6k bits of data to be transmitted.
[0183] The UE MAC layer identifies the logical channels corresponding to the SL-DRB with data to be transmitted as LCH3, LCH7, and LCH8, and selects LCH8, which has the highest logical channel priority, and then selects UE2. The UE2 selected here is the second UE that was previously selected to receive data with priority.
[0184] The UE MAC layer identifies the logical channels LCH5, LCH7, and LCH8 of UE2 that have data to be transmitted. LCH5 and LCH8 are placed into the MAC PDU sequentially according to logical channel priority. If no more data can be placed, the MAC PDU is handed over to the physical layer for transmission to UE2.
[0185] Example 3:
[0186] UEx established an SL with UE1. UE1's Layer 2 identifier is 000, and the following logical channel is configured for the data to be sent to UE1. Here, UEx is the aforementioned first UE.
[0187] SL-SRB1 corresponds to LCH0, and its logical channel priority is 1;
[0188] SL-SRB2 corresponds to LCH1, and its logical channel priority is 3;
[0189] SL-DRB1 corresponds to LCH2, and its logical channel priority is 0;
[0190] SL-DRB2 corresponds to LCH3, and its logical channel priority is 2.
[0191] UEx established a connection with UE2. UE2's Layer 2 identifier is 001, and the following logical channels are configured for the data to be sent to UE2:
[0192] SL-SRB1 corresponds to LCH5 and has a logical channel priority of 4.
[0193] SL-SRB2, corresponding to LCH6, has a logical channel priority of 1;
[0194] SL-DRB1, corresponding to LCH7, has a logical channel priority of 1;
[0195] SL-DRB2 corresponds to LCH8, and its logical channel priority is 3.
[0196] When UEx receives an SL transmit license resource of 10k bits, there is data to be transmitted on the following logical channel:
[0197] LCH1 has 1k bits of data to be sent, and the bucket capacity is 1k bits.
[0198] LCH3 has 3k bits of data to be sent, and the bucket capacity is 1k bits.
[0199] LCH5 has 4k bits of data to be sent, and the bucket capacity is 4k bits.
[0200] LCH7 has 2k bits of data to be sent and a bucket capacity of 4k bits;
[0201] LCH8 has 6k bits of data to be sent and a bucket capacity of -5k bits.
[0202] The UE MAC layer identifies the logical channels corresponding to the SL-DRB with data to be transmitted as LCH3, LCH7, and LCH8. Logical channels with a bucket capacity greater than 0 are LCH3 and LCH7. LCH3, with the highest logical channel priority, is selected, and UE1 is chosen. Here, UE1 is the second UE to receive UEx data.
[0203] The UE MAC layer identifies LCH3 as the logical channel with data to be transmitted in UE1 whose bucket capacity is greater than 0. According to the logical channel priority, the 3k bits of LCH3 are first put into the MAC PDU, then the 1k bits of LCH1 are put into the MAC PDU, and finally the MAC PDU is delivered to the physical layer for transmission to UE2.
[0204] Figure 9 This is a terminal illustrated according to an exemplary embodiment. The terminal may specifically be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0205] Reference Figure 9Terminal 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0206] Processing component 802 typically controls the overall operation of terminal 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0207] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of this data include instructions for any application or method operating on terminal 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0208] Power supply component 806 provides power to various components of terminal 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 800.
[0209] Multimedia component 808 includes a screen that provides an output interface between terminal 800 and user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When device 800 is in an operating mode, such as shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0210] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when terminal 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0211] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0212] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of terminal 800. For example, sensor assembly 814 may monitor the on / off state of device 800, the relative positioning of components such as the display and keypad of terminal 800, changes in the position of terminal 800 or a component of terminal 800, the presence or absence of user contact with terminal 800, the orientation or acceleration / deceleration of terminal 800, and temperature changes of terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0213] Communication component 816 is configured to facilitate wired or wireless communication between terminal 800 and other devices. Terminal 800 can access wireless networks based on communication standards, such as Wi-Fi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0214] In an exemplary embodiment, terminal 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0215] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of a terminal 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0216] Figure 10 This is a schematic diagram of a base station. (Refer to...) Figure 10 The base station 900 includes a processing component 922, which further includes one or more processors, and memory resources represented by a memory 932 for storing instructions, such as application programs, that can be executed by the processing component 922. The application programs stored in the memory 932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 922 is configured to execute instructions to perform... Figures 3 to 5 The example shows any frame transmission method.
[0217] Base station 900 may also include a power supply component 926 configured to perform power management of base station 900, a wired or wireless network interface 950 configured to connect base station 900 to a network, and an input / output (I / O) interface 958. Base station 900 can operate on an operating system stored in memory 932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.
[0218] This application provides a communication device, which can be a terminal or a base station. The communication device includes:
[0219] transceiver;
[0220] Memory;
[0221] The processor, connected to both the antenna and the memory, controls the wireless signal transmission and reception of the transceiver by executing computer-executable instructions stored in the memory, and implements the frame transmission method provided in any of the foregoing embodiments. For example, it executes... Figure 5 , Figure 6A , Figure 6B , Figure 7A and Figure 7BThe example shows any frame transmission method.
[0222] This application also provides a non-transitory computer-readable storage medium storing computer-executable instructions. When executed by a processor, these computer-executable instructions can implement the frame transmission method provided by any of the aforementioned technical solutions. For example... Figure 5 , Figure 6A , Figure 6B , Figure 7A and Figure 7B At least one of the methods shown.
[0223] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0224] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A data processing method, wherein, Applied in the first user equipment (UE), including: The second UE is determined based on the logical channel priority of the logical channel corresponding to the direct link data radio bearer SL-DRB of the data to be transmitted; A Media Access Control (MAC) Protocol Data Unit (PDU) for transmission to a second UE is determined, wherein the MAC PDU includes: data to be transmitted in one or more SL-RBs determined according to the logical channel priority of the logical channel corresponding to the SL-RB of the second UE, wherein the SL-RB of the second UE includes: the SL-DRB of the second UE; The step of determining the MAC PDU to be sent to the second UE includes: determining the logical channel priority of the logical channel corresponding to the SL-RB of the second UE; determining the data to be sent in one or more RBs according to the logical channel priority from high to low; and determining the MAC PDU to be sent to the second UE according to the data to be sent in the one or more SL-RBs. or, The step of determining the MAC PDU to be sent to the second UE includes: determining the logical channel priority of the logical channel corresponding to the SL-RB of the second UE with a bucket capacity greater than 0; determining the data to be sent in one or more SL-RBs according to the logical channel priority in descending order; and determining the MAC PDU to be sent to the second UE according to the data to be sent in the one or more SL-RBs.
2. The method according to claim 1, wherein, The logical channel corresponding to the SL-DRB has a logical channel identifier, which is specified by the communication protocol or configured on the network side.
3. The method according to claim 1, wherein, The step of determining the second UE based on the logical channel priority of the logical channel corresponding to the SL-DRB includes: Determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted; The UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted is determined to be the second UE.
4. The method according to claim 1, wherein, The step of determining the second UE based on the logical channel priority of the logical channel corresponding to the SL-DRB includes: Determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be sent with a bucket capacity greater than 0; The UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be sent with a bucket capacity greater than 0 is determined to be the second UE.
5. The method according to claim 1, wherein, The determination of the MAC PDU to be sent to the second UE also includes: When the data to be transmitted in the radio bearer RB of the second UE with a bucket capacity greater than 0 is carried after the MAC PDU and the MAC PDU still has remaining capacity, the data to be transmitted in one or more SL-RBs is determined according to the logical channel priority of the logical channel corresponding to the second UE from high to low. Based on the data to be transmitted in one or more SL-RBs, determine the MAC PDU to be sent to the second UE.
6. The method according to claim 1, wherein, The MAC direct link shared channel SL-SCH subheader of the MAC PDU contains the SL layer 2 identifier of the second UE.
7. A data processing apparatus, wherein, Applied in the first user equipment (UE), including: The first determining module is configured to determine the second UE based on the logical channel priority of the logical channel corresponding to the direct link data radio bearer SL-DRB of the data to be transmitted; The second determining module is configured to determine a Media Access Control (MAC) Protocol Data Unit (PDU) for transmission to the second UE, wherein the MAC PDU includes: data to be transmitted in one or more SL-RBs determined according to the logical channel priority of the logical channel corresponding to the SL-RB of the second UE, wherein the SL-RB of the second UE includes: the SL-DRB of the second UE. Specifically, the second determining module is configured to: determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE; determine the data to be transmitted in one or more RBs according to the logical channel priority in descending order; determine the MAC PDU to be transmitted for the second UE based on the data to be transmitted in the one or more SL-RBs; or, determine the logical channel priority of the logical channel corresponding to the SL-RB of the second UE with a bucket capacity greater than 0; determine the data to be transmitted in one or more SL-RBs according to the logical channel priority in descending order; and determine the MAC PDU to be transmitted for the second UE based on the data to be transmitted in the one or more SL-RBs.
8. The apparatus according to claim 7, wherein, The logical channel corresponding to the SL-DRB has a logical channel identifier, which is specified by the communication protocol or configured on the network side.
9. The apparatus according to claim 7, wherein, The first determining module is further configured to determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted; and to determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted as the second UE.
10. The apparatus according to claim 7, wherein, The first determining module is further configured to determine the logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted with a bucket capacity greater than 0; and to determine the UE corresponding to the logical channel with the highest logical channel priority of the logical channel corresponding to the SL-DRB of the data to be transmitted with a bucket capacity greater than 0 as the second UE.
11. The apparatus according to claim 7, wherein, The second determining module is further configured to: when the data to be transmitted in the SL-RBs of the second UE with a bucket capacity greater than 0 are all carried after the MAC PDU and the MAC PDU still has remaining capacity, determine the data to be transmitted in one or more SL-RBs according to the logical channel priority of the logical channel corresponding to the SL-SB of the second UE in descending order; and determine the MAC PDU to be transmitted to the second UE according to the data to be transmitted in the one or more RBs.
12. The apparatus according to claim 7, wherein, The MAC direct link shared channel SL-SCH subheader of the MAC PDU contains the SL layer 2 identifier of the second UE.
13. A user equipment, wherein, include: transceiver; Memory; The processor, connected to both the transceiver and the memory, is configured to control the wireless signal transmission and reception of the transceiver by executing computer-executable instructions stored in the memory, and is capable of implementing the method provided by any one of claims 1 to 6.
14. A computer storage medium storing computer-executable instructions; wherein the computer-executable instructions, when executed by a processor, are capable of implementing the method provided by any one of claims 1 to 6.
Citation Information
Patent Citations
Data sending method and device, data receiving method and device, terminal and medium for direct connection communication
CN110521224A
Data transmission method and device and storage medium
CN110536354A