CPC H04W 72/0453 (2013.01) [H04W 72/04 (2013.01); H04W 72/21 (2023.01); H04W 72/23 (2023.01); H04W 72/52 (2023.01)] | 8 Claims |
1. A data transmission method, comprising:
transmitting, by user equipment to a network device, type information of to-be-transmitted Device to Device (D2D) data;
receiving, by the user equipment from the network device, first configuration information, wherein the first configuration information comprises a corresponding relationship between different logical channels and corresponding type information of to-be-transmitted D2D data, wherein the type information indicates a service type or a priority type of the to-be-transmitted D2D data, and the corresponding relationship in the first configuration information indicates how different local channels correspond to D2D data of different service types or different priority types;
determining, according to the corresponding relationship in the first configuration information and the type information of to-be-transmitted D2D data, a logical channel used for the to-be-transmitted D2D data;
determining, by the user equipment, a logical channel group corresponding to the logical channel, wherein the determining, by the user equipment, the logical channel group corresponding to the logical channel comprises:
determining, by the user equipment according to second configuration information and a type of the logical channel, the logical channel group used by the logical channel, wherein the second configuration information comprises a correspondence between different logical channel groups and different types of logical channels;
after determining the logical channel group corresponding to the logical channel, reporting, by the user equipment to the network device, a D2D data volume of the logical channel group for the user equipment; and
receiving, by the user equipment from the network device, a D2D resource that is allocated by the network device, wherein the D2D resource is used to transmit the to-be-transmitted D2D data.
|