CN-116249090-B - Data transmitting method, receiving method, device, terminal and medium for direct communication
Abstract
The application is a divisional application with the application number 201980001346.4. The disclosure discloses a data sending method, a receiving method, a device, a terminal and a medium for direct communication, and belongs to the field of wireless communication. The method comprises the steps that a first UE multiplexes direct communication data corresponding to at least two direct communication identifiers of a second UE into the same MAC PDU and sends the same to the second UE, wherein each direct communication identifier corresponds to one or more logic channels of the second UE. If the loadable data volume of the time-frequency resource is larger than the data volume of the MAC PDU, the first UE in the disclosure multiplexes the direct communication data corresponding to the plurality of direct communication beacons into the same MAC PDU, thereby improving the resource utilization rate.
Inventors
- YANG XING
Assignees
- 北京小米移动软件有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20190712
Claims (20)
- 1. The data transmission method of direct communication is characterized by being applied to first User Equipment (UE), wherein the first UE and second UE establish the direct communication, and the method comprises the following steps: multiplexing the direct communication data respectively corresponding to the plurality of direct communication beacons of the second UE into the same media access control protocol data unit (MAC PDU); Each direct communication identifier corresponds to one logic channel of the second UE, the MAC PDU includes at least two direct communication shared channel SL-SCH subheads, each SL-SCH subhead corresponds to the direct communication identifier, and each SL-SCH subhead is used to indicate the direct communication identifier corresponding to one or more media access service protocol data units MAC SDUs belonging to the SL-SCH subhead.
- 2. The method according to claim 1, wherein the method further comprises: and sending the MAC PDU to the second UE.
- 3. The method according to claim 1 or 2, wherein multiplexing direct communication data corresponding to the plurality of direct communication identities of the second UE into the same MAC PDU, and sending the direct communication data to the second UE includes: Acquiring first direct communication data, wherein the first direct communication data is data to be transmitted corresponding to a first direct communication identifier of a logic channel with the highest priority, and the logic channel with the highest priority is a logic channel corresponding to a second UE; Determining a time-frequency resource for transmitting the first direct communication data; adding the first direct communication data to the MAC PDU; When the loadable data volume of the time-frequency resource is larger than the data volume of the MAC PDU, second direct communication data is obtained, wherein the second direct communication data is to-be-transmitted data corresponding to a second direct communication identifier of a logic channel with the highest priority in other logic channels of the second UE; adding the second direct communication data to the MAC PDU; and when the loadable data amount of the time-frequency resource does not have the remaining space or other data to be transmitted corresponding to the second UE does not exist, transmitting the MAC PDU to the second UE by using the time-frequency resource.
- 4. A method according to claim 3, wherein said obtaining first direct communication data comprises: acquiring a first direct communication identifier corresponding to a logic channel with the highest priority, wherein the logic channel with the highest priority is a logic channel corresponding to a second UE; And acquiring direct communication data to be transmitted on all logical channels corresponding to the first direct communication identifier, and determining the direct communication data as the first direct communication data.
- 5. The method of claim 3, wherein the obtaining second direct communication data to be sent on other logical channels of the second UE when the amount of loadable data of the time-frequency resource is greater than the amount of data of the MAC PDU comprises: When the loadable data volume of the time-frequency resource is larger than the data volume of the first direct communication data, acquiring a second direct communication identifier corresponding to a logic channel with the highest priority in other logic channels corresponding to the second UE; And acquiring direct communication data to be transmitted on all logical channels corresponding to the second direct communication identifier, and determining the direct communication data as the second direct communication data.
- 6. The method of claim 3, wherein adding the first always-on communication data to a MAC PDU comprises: Adding a first direct communication shared channel SL-SCH sub-header in the MAC PDU according to the direct communication identifier of the logic channel with the highest priority, wherein the first SL-SCH sub-header is used for indicating a first group of MAC SDUs; and adding the first group of MAC SDUs in the MAC PDU according to the first direct communication data.
- 7. The method of claim 3, wherein the adding the second direct communication data to the MAC PDU comprises: Adding a second direct communication shared channel subheader SL-SCH in the MAC PDU according to the direct communication identifier of the logical channel corresponding to the second direct communication data, wherein the second SL-SCH is used for indicating a second group of MAC SDUs; And adding the second group of MAC SDUs in the MAC PDU according to the second direct communication data.
- 8. The method of claim 3, wherein the determining time-frequency resources for transmitting the first direct communication data comprises: receiving direct communication scheduling information sent by access network equipment, wherein the direct communication scheduling information is used for indicating the time-frequency resource; Or alternatively, the first and second heat exchangers may be, And determining the time-frequency resources from a preconfigured resource pool.
- 9. A data receiving method for direct communication, which is applied to a second UE, wherein the second UE and a first UE establish the direct communication, the method comprising: Receiving a media access control protocol data unit (MAC PDU) sent by the first UE, wherein the MAC PDU comprises direct communication data respectively corresponding to a plurality of direct communication identifiers of the second UE, each direct communication identifier respectively corresponds to one logic channel of the second UE, the MAC PDU comprises at least two direct communication shared channels (SL-SCH) subheads, each SL-SCH subhead respectively corresponds to the respective direct communication identifier, and each SL-SCH subhead is respectively used for indicating the direct communication identifier corresponding to one or more media access service protocol data units (MAC SDUs) belonging to the SL-SCH subheads; And sending the direct communication data in the MAC PDU to a corresponding logic channel according to the plurality of direct communication identifiers.
- 10. A data transmission device for direct communication, which is applied to a first UE, wherein the first UE and a second UE establish the direct communication, the device includes: a sending module, configured to multiplex direct communication data corresponding to the plurality of direct communication identifiers of the second UE into the same media access control protocol data unit MAC PDU; Each direct communication identifier corresponds to one logic channel of the second UE, the MAC PDU includes at least two direct communication shared channel SL-SCH subheads, each SL-SCH subhead corresponds to the direct communication identifier, and each SL-SCH subhead is used to indicate the direct communication identifier corresponding to one or more media access service protocol data units MAC SDUs belonging to the SL-SCH subhead.
- 11. The apparatus of claim 10, wherein the device comprises a plurality of sensors, The transmitting module is further configured to transmit the MAC PDU to the second UE.
- 12. The device according to claim 10 or 11, further comprising an acquisition module, a determination module, an addition module; The acquisition module is configured to acquire first direct communication data, wherein the first direct communication data is data to be transmitted corresponding to a first direct communication identifier of a logic channel with the highest priority, and the logic channel with the highest priority is a logic channel corresponding to a second UE; the determining module is configured to determine a time-frequency resource for transmitting the first direct communication data; the adding module is configured to add the first direct communication data to the MAC PDU; The acquiring module is configured to acquire second direct communication data when the loadable data amount of the time-frequency resource is greater than the data amount of the MAC PDU, where the second direct communication data is data to be sent corresponding to a second direct communication identifier of a logical channel with a highest priority among other logical channels of the second UE; the adding module is configured to add the second direct communication data to the MAC PDU; the sending module is further configured to send the MAC PDU to the second UE using the time-frequency resource when there is no remaining space in the loadable data amount of the time-frequency resource or no other data to be sent corresponding to the second UE.
- 13. The apparatus of claim 12, wherein the device comprises a plurality of sensors, The acquisition module is configured to acquire a first direct communication identifier corresponding to a logic channel with the highest priority, wherein the logic channel with the highest priority is a logic channel corresponding to a second UE, and determine that direct communication data to be sent on all logic channels corresponding to the first direct communication identifier are the first direct communication data.
- 14. The apparatus of claim 12, wherein the device comprises a plurality of sensors, The acquisition module is configured to acquire a second direct communication identifier corresponding to a logic channel with the highest priority in other logic channels corresponding to the second UE when the loadable data amount of the time-frequency resource is greater than the data amount of the first direct communication data, and determine that the direct communication data to be transmitted on all the logic channels corresponding to the second direct communication identifier is the second direct communication data.
- 15. The apparatus of claim 12, wherein the device comprises a plurality of sensors, The adding module is configured to add a first direct communication shared channel SL-SCH sub-header in the MAC PDU according to the direct communication identifier of the logic channel with the highest priority, wherein the first SL-SCH sub-header is used for indicating a first group of MAC SDUs, and add the first group of MAC SDUs in the MAC PDU according to the first direct communication data.
- 16. The apparatus of claim 12, wherein the device comprises a plurality of sensors, The adding module is configured to add a second direct communication shared channel sub-header SL-SCH in the MAC PDU according to a direct communication identifier of a logical channel corresponding to the second direct communication data, where the second SL-SCH is used to indicate a second group of MAC SDUs, and add the second group of MAC SDUs in the MAC PDU according to the second direct communication data.
- 17. The apparatus of claim 12, wherein the apparatus further comprises: the determining module is configured to receive direct communication scheduling information sent by a base station, wherein the direct communication scheduling information is used for indicating the time-frequency resource; Or, the determining module is configured to determine the time-frequency resource from a preconfigured resource pool.
- 18. A data receiving apparatus for direct communication, applied to a second UE, where the second UE and a first UE establish the direct communication, the apparatus comprising: A receiving module configured to receive a media access control protocol data unit MAC PDU sent by the first UE, where the MAC PDU includes direct communication data corresponding to a plurality of direct communication identifiers of the second UE, where each direct communication identifier corresponds to a logical channel of the second UE, and each MAC PDU includes at least two direct communication shared channel subheads SL-SCH, each SL-SCH subhead corresponds to a respective direct communication identifier, and each SL-SCH subhead is used to indicate the direct communication identifier corresponding to one or more MAC SDUs belonging to the SL-SCH subhead; and the sending module is configured to send the direct communication data in the MAC PDU to a corresponding logic channel according to the plurality of direct communication identifiers.
- 19. A terminal, the terminal comprising: A processor; a transceiver coupled to the processor; A memory for storing executable instructions of the processor; Wherein the processor is configured to load and execute the executable instructions to implement the data transmission method of direct communication according to any one of claims 1 to 8 and/or the data reception method of direct communication according to claim 9.
- 20. A computer readable storage medium having stored therein executable instructions loaded and executed by a processor to implement the method of data transmission for direct communication according to any one of claims 1 to 8 and/or the method of data reception for direct communication according to claim 9.
Description
Data transmitting method, receiving method, device, terminal and medium for direct communication The application relates to a data transmission method, a data reception device, a terminal and a data transmission medium based on China patent application with the application number 201980001346.4 and the name of direct communication filed on the date of 2019, 07 and 12. Technical Field The present disclosure relates to the field of wireless communications, and in particular, to a data transmission method, a data reception device, a terminal, and a medium for direct communication (sip link). Background With the development of mobile communication technology, the fifth generation mobile communication (5th generation mobile networks,5G) era of internet of everything is coming. The most significant benefit of internet of vehicles (Vehicle to everything, V2X) technology is increased road safety. In order to realize direct communication between a User Equipment (UE) and a User terminal in the internet of vehicles, a direct communication mode is introduced. The transmission of the direct communication is addressed by the source identifier and the target identifier carried by the sub-header of the direct communication shared channel (SIDELINK SHARE CHANNEL, SL-SCH), and no connection needs to be established before the transmission. The source identifier corresponds to a direct communication identifier of the first UE, the first UE may correspond to one or more direct communication identifiers, the target identifier corresponds to a direct communication identifier of the second UE, and the second UE may correspond to one or more direct communication identifiers. The first UE first determines time-frequency resources for transmitting the first direct communication data to the second UE. The source UE selects a second UE with the highest priority of the logical channels, and composes the data to be sent from the target UE into a MAC PDU (Medium Access Control Protocol Data Unit) and sends the MAC PDU to the physical layer. And after receiving the MAC PDU, the second UE transmits the MAC PDU to a logic channel corresponding to the target identifier. In the above communication process, if the loadable data amount of the time-frequency resource is greater than the data amount of the MAC PDU, the remaining resource space is filled, and the remaining resource space cannot be further utilized, which results in resource waste. Disclosure of Invention The embodiment of the disclosure provides a data sending method, a receiving method, a device, a terminal and a medium for direct communication, which can be used for solving the problem that transmission resources are wasted when the loadable data volume of time-frequency resources is larger than the data volume of a MAC PDU. The technical scheme is as follows: according to one aspect of the present disclosure, there is provided a data transmission method for direct communication, which is applied to a first UE in the internet of vehicles, the method including: The first UE multiplexes at least two direct communication data corresponding to the direct communication identifiers of the second UE into the same MAC PDU and sends the same to the second UE, wherein each direct communication identifier corresponds to one or more logic channels of the second UE. In an alternative embodiment, the MAC PDU includes at least two direct communication shared channel (SIDELINK SHARE CHANNEL, SL-SCH) subheaders, each SL-SCH subheader corresponding to a respective direct communication identifier, and each SL-SCH subheader is used to indicate the direct communication identifier corresponding to one or more media ACCESS SERVICE Protocol Data Unit (MAC SDU) associated with the SL-SCH subheader. In an optional embodiment, multiplexing, in the same MAC PDU, direct communication data corresponding to at least two direct communication identities of the second UE, and sending the direct communication data to the second UE includes: Acquiring first direct communication data, wherein the first direct communication data is data to be transmitted corresponding to a first direct communication identifier of a logic channel with the highest priority, and the logic channel with the highest priority is a logic channel corresponding to a second UE; Determining a time-frequency resource for transmitting the first direct communication data; adding the first direct communication data to the MAC PDU; When the loadable data volume of the time-frequency resource is larger than the data volume of the MAC PDU, second direct communication data is obtained, wherein the second direct communication data is to-be-transmitted data corresponding to a second direct communication identifier of a logic channel with the highest priority in other logic channels of the second UE; adding the second direct communication data to the MAC PDU; and when the loadable data amount of the time-frequency resource does not have the remaining spac