The present invention discloses a data transmission method and device. The data transmission method comprises the following steps: the terminal equipment to establish equipment equipment near service D2D ProSe protocol to D2D mapping shared transmission channel; the terminal device determines the number of bits of the first Discovery message generated by the ProSe protocol layer is larger than a preset threshold; the number of bits when the first Discovery message is larger than the preset threshold when will the first Discovery message is mapped to the D2D transmission channel is shared, shared transmission channel of the first Discovery message through the D2D or discovery message; when the first number of bits is no more than the preset threshold, the first Discovery message is mapped to the D2D Discovery transmission channel. The scheme can flexibly transmit Discovery messages with different bits, improve the validity of data transmission, and prevent the packet loss caused by the bit number of the Discovery message is greater than the fixed bit number.
【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。
【技术保护点】
PCT国内申请,权利要求书已公开。
【技术特征摘要】
【国外来华专利技术】PCT国内申请,...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。