[go: up one dir, main page]

CN107211404A - A kind of data transmission method and device - Google Patents

A kind of data transmission method and device Download PDF

Info

Publication number
CN107211404A
CN107211404A CN201580074040.3A CN201580074040A CN107211404A CN 107211404 A CN107211404 A CN 107211404A CN 201580074040 A CN201580074040 A CN 201580074040A CN 107211404 A CN107211404 A CN 107211404A
Authority
CN
China
Prior art keywords
discovery message
discovery
protocol layer
message
shared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201580074040.3A
Other languages
Chinese (zh)
Other versions
CN107211404B (en
Inventor
肖潇
张力学
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107211404A publication Critical patent/CN107211404A/en
Application granted granted Critical
Publication of CN107211404B publication Critical patent/CN107211404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This application discloses a kind of data transmission method and device.Wherein, data transmission method includes:Terminal device sets up device-to-device and closes on the mapping relations that service D2D ProSe protocol layers share transmission channel to D2D;The terminal device determines whether the bit number of the first Discovery message of the ProSe protocol layers generation is more than predetermined threshold value;When the bit number of the first Discovery message is more than predetermined threshold value, the first Discovery message is mapped to the D2D and shares transmission channel, the first Discovery message described in transmission channel is shared by the D2D;Or when the bit number of the first discovery message is less than or equal to the predetermined threshold value, the first Discovery message is mapped to D2D Discovery transmission channels.Such scheme, is capable of the Discovery message of the different bit numbers of flexible transmission, improves the validity of data transfer, prevents from causing the situation of packet loss because the bit number of Discovery message is more than fixed number of bits.

Description

一种数据传输方法及装置 A data transmission method and device

【技术领域】【Technical field】

本申请涉及通信网络领域,特别是涉及一种数据传输方法及装置。The present application relates to the field of communication networks, in particular to a data transmission method and device.

【背景技术】 【Background technique】

设备到设备(Device toDevice,D2D)通信技术是一种在蜂窝系统控制下,允许用户终端设备(User Equipment,UE)间利用无线链路进行直接通信的技术。Device to Device (D2D) communication technology is a communication technology that allows user terminal equipment (User Equipment, UE) uses a wireless link for direct communication technology.

目前,基于长期演进(Long Term Evolution,LTE)的用户终端设备通过D2D直接通信的模式包括:通过discovery信道传输模式(通常称为,D2D discovery模式)、通过D2D数据信道传输模式(通常称为,D2D 直接通信模式)。LTE系统会通过广播消息或者专用信令来分配D2D Discovery和D2D直接通信的传输资源给用户,进行相应模式的D2D通信。At present, based on the long-term evolution (Long Term Evolution, LTE) user terminal equipment through D2D direct communication mode includes: through the discovery channel transmission mode (commonly referred to as, D2D discovery mode), transmission mode via D2D data channel (commonly referred to as D2D direct communication mode). The LTE system will allocate D2D through broadcast messages or dedicated signaling The transmission resources of Discovery and D2D direct communication are given to the user for D2D communication in the corresponding mode.

然而,目前基于LTE的D2D通信中D2D Discovery消息只允许通过D2D Discovery传输信道传输,而D2D Discovery传输信道只能传输固定比特数的Discovery消息;当Discovery消息的比特数大于该固定的比特数时,则无法正常传输,可能引起数据丢包,降低通信可靠性。However, currently D2D Discovery messages in LTE-based D2D communication are only allowed to pass through D2D Discovery transmission channel transmission, while D2D The Discovery transmission channel can only transmit Discovery messages with a fixed number of bits. If the number of Discovery messages exceeds the fixed number of bits, the normal transmission cannot be performed, which may cause data packet loss and reduce communication reliability.

【发明内容】 【Content of invention】

本申请主要解决的技术问题是提供一种数据传输方法及装置,能够灵活传输不同比特数的Discovery消息,提高数据传输的可靠性。The technical problem mainly solved by this application is to provide a data transmission method and device, which can flexibly transmit Discovery messages with different bit numbers, and improve the reliability of data transmission.

为了解决上述问题,本申请第一方面提供了一种数据传输方法,包括:终端设备建立设备到设备临近服务D2D ProSe协议层到D2D共享传输信道的映射关系;所述终端设备确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值;当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息映射到所述D2D共享传输信道,通过所述D2D共享传输信道传输所述第一Discovery消息;或者当第一discovery消息的比特数小于等于所述预设阈值时,将所述第一Discovery消息映射到D2D Discovery传输信道。In order to solve the above problems, the first aspect of the present application provides a data transmission method, including: a terminal device establishes a device-to-device proximity service D2D The mapping relationship between the ProSe protocol layer and the D2D shared transmission channel; the terminal device determines whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold; when the number of bits of the first Discovery message is greater than a preset threshold, mapping the first Discovery message to the D2D shared transmission channel, and transmitting the first Discovery message through the D2D shared transmission channel; or when the number of bits of the first discovery message is less than or equal to the preset threshold , map the first Discovery message to D2D Discovery transport channel.

结合第一方面,本申请第一方面的第一种可能的实施方式中,所述终端设备建立ProSe协议层到D2D共享传输信道的映射关系的步骤包括:所述终端设备在分组数据汇聚协议层增加Discovery专用无线承载,建立ProSe协议层到所述Discovery专用无线承载的映射关系,其中,所述Discovery专用无线承载用于承载Discovery消息,所述Discovery专用无线承载承载的所述Discovery消息映射到Discovery专用逻辑信道,并通过Discovery专用逻辑信道标识进行标识,所述Discovery专用逻辑信道标识的Discovery消息通过所述D2D共享传输信道进行传输,所述Discovery专用无线承载与所述Discovery专用逻辑信道对应,所述Discovery专用逻辑信道与Discovery专用逻辑信道标识对应。With reference to the first aspect, in the first possible implementation manner of the first aspect of the present application, the step of establishing the mapping relationship between the ProSe protocol layer and the D2D shared transport channel by the terminal device includes: Adding a Discovery dedicated radio bearer, and establishing a mapping relationship between the ProSe protocol layer and the Discovery dedicated radio bearer, wherein the Discovery dedicated radio bearer is used to carry a Discovery message, and the Discovery message carried by the Discovery dedicated radio bearer is mapped to the Discovery dedicated radio bearer. Dedicated logical channel, and identified by the Discovery dedicated logical channel identifier, the Discovery message identified by the Discovery dedicated logical channel is transmitted through the D2D shared transport channel, and the Discovery dedicated radio bearer corresponds to the Discovery dedicated logical channel. The Discovery dedicated logical channel corresponds to the Discovery dedicated logical channel identifier.

结合第一方面,本申请第一方面的第二种可能的实施方式中,所述终端设备建立ProSe协议层到D2D业务逻辑信道的映射关系的步骤包括:所述终端设备在媒体接入控制协议层建立ProSe协议层到D2D共享传输信道的映射关系。With reference to the first aspect, in the second possible implementation manner of the first aspect of the present application, the step of establishing the mapping relationship between the ProSe protocol layer and the D2D service logical channel by the terminal device includes: The layer establishes the mapping relationship between the ProSe protocol layer and the D2D shared transmission channel.

结合第一方面的第一种或第二种可能的实施方式,本申请第一方面的第三种可能的实施方式中,当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息映射到所述D2D共享传输信道,通过所述D2D共享传输信道传输所述第一Discovery消息的步骤包括:当所述第一Discovery消息的比特数大于预设阈值时,所述终端设备将所述第一Discovery消息传递到所述分组数据汇聚协议层,将所述第一Discovery消息映射到所述Discovery专用无线承载;或将所述第一Discovery消息传递到媒体接入控制协议层;所述终端设备将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息。With reference to the first or second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect of the present application, when the number of bits of the first Discovery message is greater than a preset threshold, the The first Discovery message is mapped to the D2D shared transmission channel, and the step of transmitting the first Discovery message through the D2D shared transmission channel includes: when the number of bits of the first Discovery message is greater than a preset threshold, the The terminal device transmits the first Discovery message to the packet data convergence protocol layer, maps the first Discovery message to the Discovery dedicated radio bearer; or transmits the first Discovery message to a media access control protocol layer; the terminal device maps the first Discovery message to the D2D shared transport channel, and adds a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the The Discovery message transmitted by the D2D shared transport channel.

结合第一方面或第一方面的第三种可能的实施方式,本申请第一方面的第四种可能的实施方式中,将所述第一Discovery消息映射到所述D2D共享传输信道的步骤之后,所述方法还包括:所述终端设备将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,并在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息,其中,所述标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,所述Discovery消息为所述第一Discovery专用无线承载承载的Discovery消息或从所述ProSe协议层传递到所述媒体接入控制协议层的Discovery消息。With reference to the first aspect or the third possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect of the present application, after the step of mapping the first Discovery message to the D2D shared transmission channel , the method further includes: the terminal device transmits the first Discovery message to the physical layer through the D2D shared transport channel, and sets a flag bit in the D2D link control information corresponding to the first Discovery message, Transmitting the first Discovery message through the transmission resource of D2D communication data, wherein the flag bit is used to indicate whether the transmission resource of D2D communication data carries a Discovery message, and the Discovery message is carried by the first Discovery dedicated radio bearer The Discovery message or the Discovery message transmitted from the ProSe protocol layer to the MAC protocol layer.

结合第一方面的第四种可能的实施方式,本申请第一方面的第五种可能的实施方式中,在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息包括:所述终端设备根据调度信息或可用的传输资源确定所述第一数据包对应的D2D链路控制信息,其中,所述第一Discovery消息对应的D2D链路控制信息用于指示承载所述第一Discovery消息的传输资源信息;所述终端设备在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过所述D2D链路控制信息指示的传输资源传输所述第一Discovery消息。With reference to the fourth possible implementation manner of the first aspect, in the fifth possible implementation manner of the first aspect of the present application, a flag bit is set in the D2D link control information corresponding to the first Discovery message, and through D2D communication The data transmission resource transmitting the first Discovery message includes: the terminal device determining the D2D link control information corresponding to the first data packet according to scheduling information or available transmission resources, where the first Discovery message corresponds to The D2D link control information is used to indicate the transmission resource information that bears the first Discovery message; the terminal device sets a flag bit in the D2D link control information corresponding to the first Discovery message, and through the D2D link control The transmission resource indicated by the information transmits the first Discovery message.

结合第一方面的第四种可能的实施方式,本申请第一方面的第六种可能的实施方式中,所述D2D链路控制信息指示承载所述第一Discovery消息的传输资源信息以及D2D通信数据共同的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源同时承载所述第一Discovery消息与D2D通信数据,所述第一Discovery消息与D2D通信数据通过逻辑信道标识进行区分。With reference to the fourth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect of this application, the D2D link control information indicates the transmission resource information carrying the first Discovery message and the D2D communication Transmission resource information of common D2D communication data, the transmission resource of the D2D communication data carries the first Discovery message and the D2D communication data at the same time, and the first Discovery message and the D2D communication data are distinguished by a logical channel identifier.

结合第一方面的第四种可能的实施方式,本申请第一方面的第七种可能的实施方式中,所述D2D链路控制信息指示承载所述第一Discovery消息的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源只承载第一Discovery消息,其中,所述第一Discovery消息和D2D通信数据通过不同的传输资源进行区分。With reference to the fourth possible implementation manner of the first aspect, in a seventh possible implementation manner of the first aspect of this application, the D2D link control information indicates a transmission resource of the D2D communication data carrying the first Discovery message information, the transmission resource of the D2D communication data only bears the first Discovery message, where the first Discovery message and the D2D communication data are distinguished by different transmission resources.

结合第一方面的第三或第四种可能的实施方式,本申请第一方面的第八种可能的实施方式中,所述方法还包括:所述终端设备接收其他终端设备发送的第二Discovery消息;所述终端设备确定所述第二Discovery消息是否包含所述Discovery专用逻辑信道标识和/或所述标志位的值是否为预设值,以确定所述第二Discovery消息是否来自D2D共享传输信道;当所述第二Discovery消息来自D2D共享传输信道时,所述终端设备根据传输所述第一Discovery的机制对所述第二Discovery消息进行处理。With reference to the third or fourth possible implementation manner of the first aspect, in an eighth possible implementation manner of the first aspect of the present application, the method further includes: the terminal device receiving the second Discovery sent by other terminal devices message; the terminal device determines whether the second Discovery message includes the Discovery dedicated logical channel identifier and/or whether the value of the flag bit is a preset value, so as to determine whether the second Discovery message comes from a D2D shared transmission channel: when the second Discovery message comes from a D2D shared transmission channel, the terminal device processes the second Discovery message according to the mechanism for transmitting the first Discovery.

为了解决上述问题,本申请第二方面提供了一种数据传输装置,包括建立模块、确定模块以及映射模块;所述建立模块用于建立设备到设备临近服务D2D ProSe协议层到D2D共享传输信道的映射关系;所述确定模块用于确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值;所述映射模块用于当所述确定模块确定所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息映射到所述D2D共享传输信道,通过所述D2D共享传输信道传输所述第一Discovery消息;或者,当所述确定模块确定所述第一discovery消息的比特数小于等于所述预设阈值时,将所述第一Discovery消息映射到D2D Discovery传输信道。In order to solve the above problems, the second aspect of the present application provides a data transmission device, including an establishment module, a determination module, and a mapping module; the establishment module is used to establish a device-to-device proximity service D2D The mapping relationship between the ProSe protocol layer and the D2D shared transmission channel; the determining module is used to determine whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold; the mapping module is used when the determining module When it is determined that the number of bits of the first Discovery message is greater than a preset threshold, map the first Discovery message to the D2D shared transport channel, and transmit the first Discovery message through the D2D shared transport channel; or, when When the determination module determines that the number of bits of the first discovery message is less than or equal to the preset threshold, map the first discovery message to D2D Discovery transport channel.

结合第二方面,本申请第二方面的第一种可能的实施方式中,所述建立模块具体用于在分组数据汇聚协议层增加Discovery专用无线承载,建立ProSe协议层到所述Discovery专用无线承载的映射关系,其中,所述Discovery专用无线承载用于承载Discovery消息,所述Discovery专用无线承载承载的所述Discovery消息映射到Discovery专用逻辑信道,并通过Discovery专用逻辑信道标识进行标识,所述Discovery专用逻辑信道标识的Discovery消息通过所述D2D共享传输信道进行传输,所述Discovery专用无线承载与所述Discovery专用逻辑信道对应,所述Discovery专用逻辑信道与Discovery专用逻辑信道标识对应。With reference to the second aspect, in the first possible implementation manner of the second aspect of the present application, the establishment module is specifically configured to add a Discovery dedicated radio bearer at the packet data convergence protocol layer, and establish a ProSe protocol layer to the Discovery dedicated radio bearer mapping relationship, wherein the Discovery dedicated radio bearer is used to bear the Discovery message, the Discovery message carried by the Discovery dedicated radio bearer is mapped to the Discovery dedicated logical channel, and is identified by the Discovery dedicated logical channel identifier, and the Discovery The Discovery message identified by the dedicated logical channel is transmitted through the D2D shared transport channel, the dedicated radio bearer for Discovery corresponds to the dedicated logical channel for Discovery, and the dedicated logical channel for Discovery corresponds to the identifier for the dedicated logical channel for Discovery.

结合第二方面,本申请第二方面的第二种可能的实施方式中,所述建立模块具体用于在媒体接入控制协议层建立ProSe协议层到D2D共享传输信道的映射关系。With reference to the second aspect, in a second possible implementation manner of the second aspect of the present application, the establishment module is specifically configured to establish a mapping relationship between the ProSe protocol layer and the D2D shared transport channel at the medium access control protocol layer.

结合第二方面的第一种或第二种可能的实施方式,本申请第二方面的第三种可能的实施方式中,所述映射模块具体用于当所述确定模块确定所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息传递到所述分组数据汇聚协议层,将所述第一Discovery消息映射到所述Discovery专用无线承载,以及将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息;或所述映射模块具体用于当所述确定模块确定所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息传递到媒体接入控制协议层,将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息。With reference to the first or second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect of the present application, the mapping module is specifically configured to determine that the first Discovery When the number of bits of the message is greater than the preset threshold, the first Discovery message is transferred to the packet data convergence protocol layer, the first Discovery message is mapped to the Discovery dedicated radio bearer, and the first Discovery A message is mapped to the D2D shared transport channel, and a Discovery dedicated logical channel identifier is added to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transport channel; or The mapping module is specifically configured to transfer the first Discovery message to the media access control protocol layer when the determination module determines that the number of bits of the first Discovery message is greater than a preset threshold, and transfer the first Discovery message to the media access control protocol layer. The message is mapped to the D2D shared transmission channel, and a Discovery dedicated logical channel identifier is added to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transmission channel.

结合第二方面或第二方面的第三种可能的实施方式,本申请第二方面的第四种可能的实施方式中,所述装置还包括控制模块,所述控制模块用于将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,并在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息,其中,所述标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,所述第一Discovery消息为所述Discovery专用无线承载承载的Discovery消息或从所述ProSe协议层传递到所述媒体接入控制协议层的Discovery消息。With reference to the second aspect or the third possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect of the present application, the device further includes a control module configured to use the first A Discovery message is transmitted to the physical layer through the D2D shared transmission channel, and a flag bit is set in the D2D link control information corresponding to the first Discovery message, and the first Discovery message is transmitted through the transmission resource of D2D communication data, Wherein, the flag bit is used to indicate whether the transmission resource of the D2D communication data bears a Discovery message, and the first Discovery message is a Discovery message carried by the Discovery dedicated radio bearer or transmitted from the ProSe protocol layer to the media Discovery message at the access control protocol layer.

结合第二方面的第四种可能的实施方式,本申请第二方面的第五种可能的实施方式中,所述控制模块具体用于将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,根据调度信息或可用的传输资源确定所述第一Discovery消息对应的D2D链路控制信息,在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过所述D2D链路控制信息指示的传输资源传输所述第一Discovery消息;其中,所述第一Discovery消息对应的D2D链路控制信息用于指示承载所述第一Discovery消息的传输资源信息。With reference to the fourth possible implementation manner of the second aspect, in the fifth possible implementation manner of the second aspect of the present application, the control module is specifically configured to transmit the first Discovery message through the D2D shared transmission channel Go to the physical layer, determine the D2D link control information corresponding to the first Discovery message according to the scheduling information or available transmission resources, set the flag bit in the D2D link control information corresponding to the first Discovery message, and pass the D2D The transmission resource indicated by the link control information transmits the first Discovery message; wherein, the D2D link control information corresponding to the first Discovery message is used to indicate transmission resource information bearing the first Discovery message.

结合第二方面的第四种可能的实施方式,本申请第二方面的第六种可能的实施方式中,所述控制模块确定的所述D2D链路控制信息指示承载所述第一Discovery消息的传输资源信息以及D2D通信数据共同的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源同时承载所述第一Discovery消息与D2D通信数据,所述第一Discovery消息与D2D通信数据通过逻辑信道标识进行区分。With reference to the fourth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect of this application, the D2D link control information determined by the control module indicates the The transmission resource information and the transmission resource information of the D2D communication data common to the D2D communication data, the transmission resource of the D2D communication data carries the first Discovery message and the D2D communication data at the same time, and the first Discovery message and the D2D communication data pass the logic Channel IDs are distinguished.

结合第二方面的第四种可能的实施方式,本申请第二方面的第七种可能的实施方式中,所述控制模块确定的所述D2D链路控制信息指示承载所述第一Discovery消息的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源只承载第一Discovery消息,其中,所述第一Discovery消息和D2D通信数据通过不同的传输资源进行区分。With reference to the fourth possible implementation manner of the second aspect, in a seventh possible implementation manner of the second aspect of this application, the D2D link control information determined by the control module indicates the The transmission resource information of the D2D communication data, the transmission resource of the D2D communication data only bears the first Discovery message, wherein the first Discovery message and the D2D communication data are distinguished by different transmission resources.

结合第二方面的第三或第四种可能的实施方式,本申请第二方面的第八种可能的实施方式中,所述方法还包括:所述装置还包括接收模块;所述接收模块用于接收其他终端设备发送的第二Discovery消息;所述确定模块还用于确定所述接收模块接收的所述第二Discovery消息是否包含所述Discovery专用逻辑信道标识和/或所述标志位的值是否为预设值,以确定所述第二Discovery消息是否来自D2D共享传输信道;所述映射模块还用于当所述确定模块确定所述第二Discovery消息来自D2D共享传输信道时,根据传输所述第一Discovery的机制对所述第二Discovery消息进行处理。With reference to the third or fourth possible implementation manner of the second aspect, in the eighth possible implementation manner of the second aspect of the present application, the method further includes: the device further includes a receiving module; the receiving module uses is used to receive the second Discovery message sent by other terminal equipment; the determining module is also used to determine whether the second Discovery message received by the receiving module includes the Discovery dedicated logical channel identifier and/or the value of the flag bit Whether it is a preset value to determine whether the second Discovery message comes from a D2D shared transmission channel; the mapping module is also configured to, when the determining module determines that the second Discovery message comes from a D2D shared transmission channel, according to the transmission The mechanism of the first Discovery processes the second Discovery message.

为了解决上述问题,本申请第三方面提供了一种终端设备,包括存储器以及处理器;所述存储器用于存储数据;所述处理器用于建立设备到设备临近服务D2D ProSe协议层到D2D共享传输信道的映射关系;所述处理器用于确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值;以及用于当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息映射到所述D2D共享传输信道,通过所述D2D共享传输信道传输所述第一Discovery消息;或者,当所述第一discovery消息的比特数小于等于所述预设阈值时,将所述第一Discovery消息映射到D2D Discovery传输信道。In order to solve the above problems, the third aspect of the present application provides a terminal device, including a memory and a processor; the memory is used to store data; the processor is used to establish a device-to-device proximity service D2D The mapping relationship between the ProSe protocol layer and the D2D shared transport channel; the processor is used to determine whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold; and the number of bits used when the first Discovery message is When the number is greater than the preset threshold, map the first Discovery message to the D2D shared transmission channel, and transmit the first Discovery message through the D2D shared transmission channel; or, when the bit number of the first discovery message When it is less than or equal to the preset threshold, map the first Discovery message to D2D Discovery transport channel.

结合第三方面,本申请第三方面的第一种可能的实施方式中,所述处理器具体用于在分组数据汇聚协议层增加Discovery专用无线承载,建立ProSe协议层到所述Discovery专用无线承载的映射关系,其中,所述Discovery专用无线承载用于承载Discovery消息,所述Discovery专用无线承载承载的所述Discovery消息映射到Discovery专用逻辑信道,并通过Discovery专用逻辑信道标识进行标识,所述Discovery专用逻辑信道标识的Discovery消息通过所述D2D共享传输信道进行传输,所述Discovery专用无线承载与所述Discovery专用逻辑信道对应,所述Discovery专用逻辑信道与Discovery专用逻辑信道标识对应。With reference to the third aspect, in the first possible implementation manner of the third aspect of the present application, the processor is specifically configured to add a Discovery dedicated radio bearer at the packet data convergence protocol layer, and establish a ProSe protocol layer to the Discovery dedicated radio bearer mapping relationship, wherein the Discovery dedicated radio bearer is used to bear the Discovery message, the Discovery message carried by the Discovery dedicated radio bearer is mapped to the Discovery dedicated logical channel, and is identified by the Discovery dedicated logical channel identifier, and the Discovery The Discovery message identified by the dedicated logical channel is transmitted through the D2D shared transport channel, the dedicated radio bearer for Discovery corresponds to the dedicated logical channel for Discovery, and the dedicated logical channel for Discovery corresponds to the identifier for the dedicated logical channel for Discovery.

结合第三方面,本申请第三方面的第二种可能的实施方式中,所述处理器具体用于在媒体接入控制协议层建立ProSe协议层到D2D共享传输信道的映射关系。With reference to the third aspect, in a second possible implementation manner of the third aspect of the present application, the processor is specifically configured to establish a mapping relationship between the ProSe protocol layer and the D2D shared transport channel at the medium access control protocol layer.

结合第三方面的第一种或第二种可能的实施方式,本申请第三方面的第三种可能的实施方式中,所述处理器用于当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息传递到所述分组数据汇聚协议层,将所述第一Discovery消息映射到所述Discovery专用无线承载,,以及将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息;或所述处理器具体用于当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息传递到媒体接入控制协议层,将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息。With reference to the first or second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect of the present application, the processor is configured to: when the number of bits of the first Discovery message is greater than a preset threshold, delivering the first Discovery message to the packet data convergence protocol layer, mapping the first Discovery message to the Discovery dedicated radio bearer, and mapping the first Discovery message to the D2D Share the transport channel, and add a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transport channel; or the processor specifically uses When the number of bits of the first Discovery message is greater than a preset threshold, transfer the first Discovery message to a media access control protocol layer, map the first Discovery message to the D2D shared transport channel, and Adding a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transmission channel.

结合第三方面或第三方面的第三种可能的实施方式,本申请第三方面的第四种可能的实施方式中,所述处理器还用于将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,并在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息,其中,所述标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,所述第一Discovery消息为所述Discovery专用无线承载承载的Discovery消息或从所述ProSe协议层传递到所述媒体接入控制协议层的Discovery消息。With reference to the third aspect or the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect of the present application, the processor is further configured to pass the first Discovery message through the D2D The shared transmission channel is transmitted to the physical layer, and a flag bit is set in the D2D link control information corresponding to the first Discovery message, and the first Discovery message is transmitted through the transmission resource of the D2D communication data, wherein the flag bit uses In order to indicate whether the transmission resource of the D2D communication data carries a Discovery message, the first Discovery message is a Discovery message carried by the Discovery dedicated radio bearer or a Discovery message transmitted from the ProSe protocol layer to the Media Access Control protocol layer information.

结合第三方面的第四种可能的实施方式,本申请第三方面的第五种可能的实施方式中,所述处理器还具体用于将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,根据调度信息或可用的传输资源确定所述第一Discovery消息对应的D2D链路控制信息,在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过所述D2D链路控制信息指示的传输资源传输所述第一Discovery消息;其中,所述第一Discovery消息对应的D2D链路控制信息用于指示承载所述第一Discovery消息的传输资源信息。With reference to the fourth possible implementation manner of the third aspect, in the fifth possible implementation manner of the third aspect of the present application, the processor is further specifically configured to transmit the first Discovery message through the D2D shared transmission channel Transfer to the physical layer, determine the D2D link control information corresponding to the first Discovery message according to the scheduling information or available transmission resources, set the flag bit in the D2D link control information corresponding to the first Discovery message, and pass the The transmission resource indicated by the D2D link control information transmits the first Discovery message; wherein, the D2D link control information corresponding to the first Discovery message is used to indicate transmission resource information carrying the first Discovery message.

结合第三方面的第四种可能的实施方式,本申请第三方面的第六种可能的实施方式中,所述处理器确定的所述D2D链路控制信息指示承载所述第一Discovery消息的传输资源信息以及D2D通信数据共同的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源同时承载所述第一Discovery消息与D2D通信数据,所述第一Discovery消息与D2D通信数据通过逻辑信道标识进行区分。With reference to the fourth possible implementation manner of the third aspect, in a sixth possible implementation manner of the third aspect of this application, the D2D link control information determined by the processor indicates an The transmission resource information and the transmission resource information of the D2D communication data common to the D2D communication data, the transmission resource of the D2D communication data carries the first Discovery message and the D2D communication data at the same time, and the first Discovery message and the D2D communication data pass the logic Channel IDs are distinguished.

结合第三方面的第四种可能的实施方式,本申请第三方面的第七种可能的实施方式中,所述处理器确定的所述D2D链路控制信息指示承载所述第一Discovery消息的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源只承载第一Discovery消息,其中,所述第一Discovery消息和D2D通信数据通过不同的传输资源进行区分。With reference to the fourth possible implementation manner of the third aspect, in a seventh possible implementation manner of the third aspect of this application, the D2D link control information determined by the processor indicates the The transmission resource information of the D2D communication data, the transmission resource of the D2D communication data only bears the first Discovery message, wherein the first Discovery message and the D2D communication data are distinguished by different transmission resources.

结合第三方面的第三或第四种可能的实施方式,本申请第三方面的第八种可能的实施方式中,所述终端设备还包括接收器;所述接收器用于接收其他终端设备发送的第二Discovery消息;所述处理器用于确定所述第二Discovery消息是否包含所述Discovery专用逻辑信道标识和/或所述标志位的值是否为预设值,以确定所述第二Discovery消息是否来自D2D共享传输信道;所述处理器用于当所述第二Discovery消息来自D2D共享传输信道时,所述终端设备根据传输所述第一Discovery的机制对所述第二Discovery消息进行处理。With reference to the third or fourth possible implementation manner of the third aspect, in the eighth possible implementation manner of the third aspect of the present application, the terminal device further includes a receiver; the receiver is configured to receive the second Discovery message; the processor is configured to determine whether the second Discovery message includes the Discovery dedicated logical channel identifier and/or whether the value of the flag bit is a preset value, so as to determine whether the second Discovery message Whether it comes from a D2D shared transmission channel; the processor is configured to process, by the terminal device, the second Discovery message according to the mechanism for transmitting the first Discovery when the second Discovery message comes from a D2D shared transmission channel.

上述方案中,终端设备通过建立ProSe协议层到D2D共享传输信道的映射关系,当终端设备确定ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,将第一Discovery消息映射到D2D共享传输信道,否则,将第一Discovery消息映射到D2DDiscovery传输信道;能够灵活传输不同比特数的Discovery消息,提高数据传输的有效性,防止因Discovery消息的比特数大于固定比特数而导致丢包的情况。 In the above solution, the terminal device establishes a mapping relationship from the ProSe protocol layer to the D2D shared transmission channel, and when the terminal device determines that the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than the preset threshold, the first Discovery message is mapped to the D2D Shared transmission channel, otherwise, map the first Discovery message to the D2D Discovery transmission channel; can flexibly transmit Discovery messages with different numbers of bits, improve the effectiveness of data transmission, and prevent packet loss caused by the number of bits of the Discovery message being greater than the fixed number of bits Condition.

【附图说明】 【Description of drawings】

图1是本申请数据传输方法一实施例的流程图;Fig. 1 is a flowchart of an embodiment of the data transmission method of the present application;

图2是本申请数据传输方法另一实施例的流程图;Fig. 2 is a flowchart of another embodiment of the data transmission method of the present application;

图3是本申请建立ProSe协议层到D2D共享传输信道的映射关系一实施例的示意图;FIG. 3 is a schematic diagram of an embodiment of establishing a mapping relationship between a ProSe protocol layer and a D2D shared transmission channel in the present application;

图4是本申请数据传输方法再一实施例的流程图;FIG. 4 is a flowchart of another embodiment of the data transmission method of the present application;

图5是本申请建立ProSe协议层到D2D共享传输信道的映射关系另一实施例的示意图;FIG. 5 is a schematic diagram of another embodiment of establishing a mapping relationship between a ProSe protocol layer and a D2D shared transport channel in the present application;

图6是本申请将Discovery消息映射到D2D共享传输信道一实施例的信道映射示意图;FIG. 6 is a schematic diagram of channel mapping in an embodiment of mapping a Discovery message to a D2D shared transmission channel in the present application;

图7是本申请D2D共享传输信道MAC数据包格式一实施例的示意图;FIG. 7 is a schematic diagram of an embodiment of a D2D shared transport channel MAC data packet format in the present application;

图8是本申请数据传输方法又一实施例的流程图;FIG. 8 is a flowchart of another embodiment of the data transmission method of the present application;

图9是本申请将Discovery消息映射到D2D共享传输信道另一实施例的信道映射示意图;FIG. 9 is a schematic diagram of channel mapping in another embodiment of mapping a Discovery message to a D2D shared transport channel in the present application;

图10是本申请利用不同物理资源区分图8中Discovery消息和D2D通信数据一实施例的示意图;FIG. 10 is a schematic diagram of an embodiment of the present application to distinguish between the Discovery message and the D2D communication data in FIG. 8 by using different physical resources;

图11是本申请数据传输装置一实施方式的结构示意图;Fig. 11 is a schematic structural diagram of an embodiment of the data transmission device of the present application;

图12是本申请数据传输装置另一实施方式的结构示意图;Fig. 12 is a schematic structural diagram of another embodiment of the data transmission device of the present application;

图13是本申请终端设备一实施方式的结构示意图。FIG. 13 is a schematic structural diagram of an embodiment of a terminal device of the present application.

【具体实施方式】【detailed description】

如当前2G,3G通信系统和下一代通信系统,例如全球移动通信系统(本文中描述的技术可用于各种通信系统,例GSM,Global System for Mobile communications),码分多址(CDMA,Code Division Multiple Access)系统,时分多址(TDMA,Time Division Multiple Access)系统,宽带码分多址(WCDMA,Wideband Code Division Multiple Access Wireless),频分多址(FDMA,Frequency Division Multiple Addressing)系统,正交频分多址(OFDMA,Orthogonal Frequency-Division Multiple Access)系统,单载波FDMA(SC-FDMA)系统,通用分组无线业务(GPRS,General Packet Radio Service)系统,长期演进(LTE,Long Term Evolution)系统,以及其他此类通信系统。Such as current 2G, 3G communication systems and next generation communication systems, such as Global System for Mobile Communications (the technology described in this article can be used in various communication systems, such as GSM, Global System for Mobile communications), Code Division Multiple Access (CDMA, Code Division Multiple Access) system, Time Division Multiple Access (TDMA, Time Division Multiple Access) system, Wideband Code Division Multiple Access (WCDMA, Wideband Code Division Multiple Access Wireless), Frequency Division Multiple Access (FDMA, Frequency Division Multiple Addressing) system, Orthogonal Frequency-Division Multiple Access (OFDMA, Orthogonal Frequency-Division Multiple Access) system, single carrier FDMA (SC-FDMA) system, general packet radio service (GPRS, General Packet Radio Service) system, Long Term Evolution (LTE, Long Term Evolution) system, and other such communication systems.

本文中结合无线终端设备和/或基站来描述各种方面。Various aspects are described herein in connection with wireless terminal devices and/or base stations.

无线终端可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(例如,RAN,Radio Access Network)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(PCS,Personal Communication Service)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(WLL,Wireless Local Loop)站、个人数字助理(PDA,Personal Digital Assistant)等设备。无线终端也可以称为系统、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、用户代理(User Agent)、用户设备(User Device)、或用户装备(User Equipment)。A wireless terminal may be a device that provides voice and/or data connectivity to a user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The wireless terminal can be connected via the radio access network (for example, RAN, Radio access Network) to communicate with one or more core networks, wireless terminals can be mobile terminals, such as mobile phones (or called "cellular" phones) and computers with mobile terminals, such as portable, pocket, hand-held, Mobile devices built into computers or mounted on vehicles that exchange language and/or data with the radio access network. For example, personal communication services (PCS, Personal Communication Service) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL, Wireless Local Loop) station, personal digital assistant (PDA, Personal Digital Assistant) and other equipment. A wireless terminal can also be called a system, a subscriber unit (Subscriber Unit), subscriber station (Subscriber Station), mobile station (Mobile Station), mobile station (Mobile), remote station (Remote Station), Access Point, Remote Terminal, Access Terminal Terminal), User Terminal (User Terminal), User Agent (User Agent), User Device (User Device), or User Equipment (User Equipment).

基站(例如,接入点)可以是指接入网中在空中接口上通过一个或多个扇区与无线终端通信的设备。基站可用于将收到的空中帧与IP分组进行相互转换,作为无线终端与接入网的其余部分之间的路由器,其中接入网的其余部分可包括网际协议(IP)网络。基站还可协调对空中接口的属性管理。例如,基站可以是GSM或CDMA中的基站(BTS,Base Transceiver Station),也可以是WCDMA中的基站(NodeB),还可以是LTE中的演进型基站(eNB或e-NodeB,evolutional Node B),本申请并不限定。A base station (eg, access point) can refer to a device in an access network that communicates with wireless terminals over the air interface through one or more sectors. The base station can be used to convert received over-the-air frames to and from IP packets, acting as a router between the wireless terminal and the rest of the access network, which can include an Internet Protocol (IP) network. The base station may also coordinate attribute management for the air interface. For example, the base station can be a base station (BTS, Base Transceiver Station), can also be a base station (NodeB) in WCDMA, or an evolved base station (eNB or e-NodeB, evolutional Node) in LTE B), the application is not limited.

需要说明的是,本发明提供的核心网节点设备可以应用于不同的通信网络系统,包括但不限于SAE(System Architecture Evolved,系统架构演进网络)/LTE(Long Term Evolved,长期演进网络)网络、UMTS(Universal Mobile Telecommunications System,通用移动通信系统)网络、CDMA(Code Division Mutiple Access,码分多址)等。所述核心网节点设备包括但不限于移动性管理实体MME、服务GPRS支持节点SGSN(Serving GPRS Support Node)或者是移动交换中心MSC(Mobile Switching Center),在此不进行限定。例如,对于SAE/LTE网络而言,其核心网节点设备可以是MME,无线接入节点设备可以是eNB;对于UMTS网络而言,其核心网节点设备可以是SGSN或MSC,无线接入节点设备可以是RNC或者nodeB。下面以蜂窝网络为SAE/LTE网络为例进行说明,其他蜂窝网络可以参照下述实施例实施。It should be noted that the core network node equipment provided by the present invention can be applied to different communication network systems, including but not limited to SAE (System Architecture Evolved, system architecture evolution network)/LTE (Long Term Evolved, long-term evolution network) network, UMTS (Universal Mobile Telecommunications System (Universal Mobile Communications System) network, CDMA (Code Division Multiple Access, Code Division Multiple Access), etc. The core network node equipment includes but not limited to Mobility Management Entity MME, Serving GPRS Support Node SGSN (Serving GPRS Support Node) Node) or Mobile Switching Center MSC (Mobile Switching Center), which is not limited here. For example, for an SAE/LTE network, its core network node device can be an MME, and its wireless access node device can be an eNB; for a UMTS network, its core network node device can be an SGSN or MSC, and its wireless access node device It can be RNC or nodeB. In the following, the cellular network is an SAE/LTE network as an example for illustration, and other cellular networks may be implemented with reference to the following embodiments.

另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。Additionally, the terms "system" and "network" are often used herein interchangeably. The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.

下面结合说明书附图,对本发明实施例的方案进行详细说明。The solutions of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本申请。In the following description, for purposes of illustration rather than limitation, specific details, such as specific system architectures, interfaces, and techniques, are set forth in order to provide a thorough understanding of the present application.

参阅图1,图1是本申请数据传输方法一实施例的流程图。本实施例的执行主体为终端设备(User Equipment,UE),UE可以为手机等移动终端设备。两个UE可以直接通信传输数据。本实施例的数据传输方法包括如下步骤:Referring to FIG. 1 , FIG. 1 is a flowchart of an embodiment of a data transmission method of the present application. The execution subject of this embodiment is the terminal device (User Equipment, UE), UE can be a mobile terminal device such as a mobile phone. Two UEs can communicate directly to transmit data. The data transmission method of the present embodiment includes the following steps:

S101:终端设备建立设备到设备临近服务D2D ProSe协议层到D2D共享传输信道的映射关系。S101: The terminal device establishes a mapping relationship between a device-to-device proximity service D2D ProSe protocol layer and a D2D shared transmission channel.

终端设备建立设备到设备临近服务D2D ProSe协议层到D2D共享传输信道(Sidelink Shared Channel,SL-SCH)的映射关系,以使终端设备能够将ProSe协议层生成的Discovery消息映射到D2D共享传输信道。D2D共享传输信道处于媒体接入控制协议(Medium Access Control,MAC)层。The terminal device establishes the device-to-device proximity service D2D ProSe protocol layer to the D2D shared transmission channel (Sidelink Shared Channel, SL-SCH) mapping relationship, so that the terminal device can map the Discovery message generated by the ProSe protocol layer to the D2D shared transmission channel. The D2D shared transmission channel is in the media access control protocol (Medium Access Control, MAC) layer.

其中,终端设备建立ProSe协议层到D2D共享传输信道的映射关系可以是建立ProSe协议层到MAC层的D2D共享传输信道的直接映射关系,也可以是在分组数据汇聚协议(Packet Data Convergence Protocol,PDCP)层或无线链路控制协议(Radio Link Control,RLC)层与ProSe协议层之间建立硬件接口或软件接口,通过PDCP层或RLC层建立ProSe协议层到MAC层的D2D共享传输信道的映射关系,此处不作限制。Among them, the establishment of the mapping relationship between the ProSe protocol layer and the D2D shared transmission channel by the terminal device may be to establish a direct mapping relationship between the ProSe protocol layer and the D2D shared transmission channel at the MAC layer, or it may be established in the Packet Data Convergence Protocol (Packet Data Convergence Protocol (PDCP) layer or Radio Link Control Protocol (Radio Link A hardware or software interface is established between the Control, RLC) layer and the ProSe protocol layer, and the mapping relationship between the ProSe protocol layer and the D2D shared transmission channel of the MAC layer is established through the PDCP layer or the RLC layer, which is not limited here.

当终端设备发送D2D通信数据时,按现有技术中的处理流程进行处理。When the terminal device sends D2D communication data, it is processed according to the processing flow in the prior art.

当终端设备发送ProSe协议层生成的Discovery消息时,执行步骤S102~S104。When the terminal device sends the Discovery message generated by the ProSe protocol layer, steps S102 to S104 are performed.

S102:确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。S102: Determine whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold.

当终端设备与其他终端设备进行通信,并向其他终端设备发送第一Discovery消息时,终端设备确定ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。第一Discovery消息为待传输的Discovery消息。When the terminal device communicates with other terminal devices and sends the first Discovery message to the other terminal device, the terminal device determines whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold. The first Discovery message is a Discovery message to be transmitted.

其中,预设阈值是预先设置的比特数,预设阈值为D2D Discovery传输信道(Sidelink Discovery Channel,SL-DCH)承载的Discovery消息的固定比特数。预设阈值可以为232比特,但并不限于此,还可以设置为其他值,此处不作限制。Wherein, the preset threshold is a preset number of bits, and the preset threshold is the D2D Discovery transmission channel (Sidelink Discovery Channel, SL-DCH) carries a fixed number of bits for the Discovery message. The preset threshold may be 232 bits, but is not limited thereto, and may also be set to other values, which are not limited here.

D2D Discovery传输信道只能承载小于或等于预设阈值的比特数的Discovery消息,当Discovery消息的比特数大于预设阈值时,D2D Discovery传输信道无法承载。D2D The Discovery transmission channel can only carry Discovery messages with the number of bits less than or equal to the preset threshold. When the number of bits of the Discovery message is greater than the preset threshold, D2D The Discovery transport channel cannot carry.

当终端设备ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,执行步骤S103。When the number of bits of the first Discovery message generated by the ProSe protocol layer of the terminal device is greater than the preset threshold, step S103 is performed.

当终端设备ProSe协议层生成的第一Discovery消息的比特数小于或等于预设阈值时,执行步骤S104。When the number of bits of the first Discovery message generated by the ProSe protocol layer of the terminal device is less than or equal to the preset threshold, step S104 is performed.

S103:当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息映射到所述D2D共享传输信道,通过所述D2D共享传输信道传输所述第一Discovery消息。S103: When the number of bits of the first Discovery message is greater than a preset threshold, map the first Discovery message to the D2D shared transmission channel, and transmit the first Discovery message through the D2D shared transmission channel.

当终端设备ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,终端设备根据ProSe协议层到MAC层的D2D共享传输信道的映射关系,将第一Discovery消息从ProSe协议层映射到MAC层的D2D共享传输信道。When the number of bits of the first Discovery message generated by the ProSe protocol layer of the terminal device is greater than the preset threshold, the terminal device maps the first Discovery message from the ProSe protocol layer to the D2D shared transmission channel mapping relationship between the ProSe protocol layer and the MAC layer. The D2D shared transport channel of the MAC layer.

通过D2D共享传输信道将第一Discovery消息传输到物理(Physical,PHY)层,并通过物理层可用的传输资源将第一Discovery消息传输给其他终端设备。The first Discovery message is transmitted to a physical (Physical, PHY) layer through the D2D shared transmission channel, and the first Discovery message is transmitted to other terminal devices through available transmission resources of the physical layer.

S104:当第一discovery消息的比特数小于或等于所述预设阈值时,将所述第一Discovery消息映射到D2DDiscovery传输信道。S104: When the number of bits of the first discovery message is less than or equal to the preset threshold, map the first discovery message to a D2D Discovery transmission channel.

当终端设备ProSe协议层生成的第一Discovery消息的比特数小于或等于预设阈值时,终端设备将第一Discovery消息从ProSe协议层映射到MAC层的D2DDiscovery传输信道。When the number of bits of the first Discovery message generated by the ProSe protocol layer of the terminal device is less than or equal to the preset threshold, the terminal device maps the first Discovery message from the ProSe protocol layer to the D2D Discovery transmission channel of the MAC layer.

终端设备通过D2DDiscovery传输信道将第一Discovery消息传输到物理(Physical,PHY)层,并通过物理层可用的传输资源将第一Discovery消息传输给其他终端设备。The terminal device transmits the first Discovery message to a physical (Physical, PHY) layer through the D2D Discovery transmission channel, and transmits the first Discovery message to other terminal devices through available transmission resources of the physical layer.

上述方案,终端设备通过建立ProSe协议层到D2D共享传输信道的映射关系,当终端设备确定ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,将第一Discovery消息映射到D2D共享传输信道,否则,将第一Discovery消息映射到D2DDiscovery传输信道;能够灵活传输不同比特数的Discovery消息,提高数据传输的有效性,防止因Discovery消息的比特数大于固定比特数而导致丢包的情况。In the above solution, the terminal device establishes a mapping relationship from the ProSe protocol layer to the D2D shared transmission channel, and when the terminal device determines that the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than the preset threshold, the first Discovery message is mapped to the D2D shared transmission channel. Transmission channel, otherwise, map the first Discovery message to the D2D Discovery transmission channel; it can flexibly transmit Discovery messages with different numbers of bits, improve the effectiveness of data transmission, and prevent packet loss caused by the number of bits in the Discovery message being greater than the fixed number of bits .

请参阅图2,图2是本申请数据传输方法另一实施例的流程图。本实施例的执行主体为终端设备,(User Equipment,UE),UE可以为手机等移动终端设备。两个UE可以直接通信传输数据。本实施例的数据传输方法包括如下步骤:Please refer to FIG. 2 . FIG. 2 is a flow chart of another embodiment of the data transmission method of the present application. The execution subject of this embodiment is a terminal device, (User Equipment, UE), UE can be a mobile terminal device such as a mobile phone. Two UEs can communicate directly to transmit data. The data transmission method of the present embodiment includes the following steps:

S201:终端设备在分组数据汇聚协议层增加Discovery专用无线承载,建立ProSe协议层到所述Discovery专用无线承载的映射关系。S201: The terminal device adds a Discovery-dedicated radio bearer at the packet data convergence protocol layer, and establishes a mapping relationship between the ProSe protocol layer and the Discovery-dedicated radio bearer.

终端设备在分组数据汇聚协议层PDCP层增加Discovery专用无线承载,建立ProSe协议层到Discovery专用无线承载的映射关系,从而建立ProSe协议层到D2D共享传输信道的映射关系。终端设备还为Discovery专用无线承载配置Discovery专用逻辑信道。The terminal device adds a Discovery dedicated radio bearer to the PDCP layer of the packet data convergence protocol layer, and establishes a mapping relationship between the ProSe protocol layer and the Discovery dedicated radio bearer, thereby establishing a mapping relationship between the ProSe protocol layer and the D2D shared transmission channel. The terminal device also configures a Discovery dedicated logical channel for the Discovery dedicated radio bearer.

其中,Discovery专用无线承载用于承载Discovery消息。Discovery专用无线承载承载的Discovery消息映射到Discovery专用逻辑信道,并通过Discovery专用逻辑信道标识进行标识,Discovery专用逻辑信道标识的Discovery消息通过D2D共享传输信道进行传输。Discovery专用无线承载与Discovery专用逻辑信道对应,Discovery专用逻辑信道与Discovery专用逻辑信道标识对应。Wherein, the Discovery dedicated radio bearer is used to bear the Discovery message. The Discovery message carried by the Discovery dedicated radio bearer is mapped to the Discovery dedicated logical channel, and is identified by the Discovery dedicated logical channel identifier, and the Discovery message identified by the Discovery dedicated logical channel is transmitted through the D2D shared transport channel. The Discovery dedicated radio bearer corresponds to the Discovery dedicated logical channel, and the Discovery dedicated logical channel corresponds to the Discovery dedicated logical channel identifier.

例如,请一并参阅图3,图3是本申请建立ProSe协议层到D2D共享传输信道的映射关系一实施例的示意图。For example, please refer to FIG. 3 together. FIG. 3 is a schematic diagram of an embodiment of establishing a mapping relationship between a ProSe protocol layer and a D2D shared transport channel in this application.

终端设备在D2D直接通信模式的协议栈的PDCP层增加Discovery专用无线承载,建立ProSe协议层到Discovery专用无线承载的映射关系,以使终端设备能够将Discovery消息从ProSe协议层映射到PDCP层的Discovery专用无线承载,从而通过PDCP层以及RLC层建立ProSe协议层到MAC层中D2D共享传输信道的映射关系。The terminal device adds a Discovery dedicated radio bearer to the PDCP layer of the protocol stack in the D2D direct communication mode, and establishes a mapping relationship between the ProSe protocol layer and the Discovery dedicated radio bearer, so that the terminal device can map the Discovery message from the ProSe protocol layer to the Discovery of the PDCP layer. Dedicated radio bearers, so as to establish a mapping relationship from the ProSe protocol layer to the D2D shared transmission channel in the MAC layer through the PDCP layer and the RLC layer.

其中,Discovery专用无线承载用于承载Discovery消息,Discovery专用无线承载承载的Discovery消息能够映射到Discovery专用逻辑信道,并通过Discovery专用逻辑信道标识进行标识,Discovery专用逻辑信道标识的Discovery消息能够通过D2D共享传输信道进行传输。Among them, the Discovery dedicated radio bearer is used to carry the Discovery message. The Discovery message carried by the Discovery dedicated radio bearer can be mapped to the Discovery dedicated logical channel and identified by the Discovery dedicated logical channel identifier. The Discovery message identified by the Discovery dedicated logical channel can be shared through D2D. transmission channel for transmission.

当终端设备发送D2D通信数据时,按现有技术中的处理流程进行处理。其中,在应用层产生的D2D通信数据依次经过TCP/UDP层、IP层、分组数据汇聚协议PDCP层、无线链路控制协议RLC层、MAC层、PHY层进行处理。When the terminal device sends D2D communication data, it is processed according to the processing flow in the prior art. Among them, the D2D communication data generated at the application layer is processed sequentially through the TCP/UDP layer, IP layer, Packet Data Convergence Protocol PDCP layer, Radio Link Control Protocol RLC layer, MAC layer, and PHY layer.

当终端设备发送ProSe协议层生成的Discovery消息时,执行步骤S202~S206。When the terminal device sends the Discovery message generated by the ProSe protocol layer, steps S202 to S206 are performed.

当终端设备接收到其他终端设备发送的数据时,执行步骤S207~S209。When the terminal device receives data sent by other terminal devices, steps S207-S209 are performed.

S202:确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。S202: Determine whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold.

当终端设备与其他终端设备进行通信,并向其他终端设备发送第一Discovery消息时,终端设备确定ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。第一Discovery消息为待传输的Discovery消息。When the terminal device communicates with other terminal devices and sends the first Discovery message to the other terminal device, the terminal device determines whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold. The first Discovery message is a Discovery message to be transmitted.

其中,预设阈值是预先设置的比特数,预设阈值为D2D Discovery传输信道(Sidelink Discovery Channel,SL-DCH)承载的Discovery消息的固定比特数。Wherein, the preset threshold is a preset number of bits, and the preset threshold is the D2D Discovery transmission channel (Sidelink The fixed number of bits of the Discovery message carried by the Discovery Channel (SL-DCH).

预设阈值可以小于或等于SL-DCH能够承载的最大比特数,预设阈值可以为232比特,但并不限于此,还可以设置为其他值,此处不作限制。SL-DCH能够承载的最大比特数,是由发送UE可得的D2D直接通信资源来决定。The preset threshold may be less than or equal to the maximum number of bits that the SL-DCH can carry. The preset threshold may be 232 bits, but it is not limited thereto, and may also be set to other values, which are not limited here. The maximum number of bits that can be carried by the SL-DCH is determined by the D2D direct communication resources available to the sending UE.

D2D Discovery传输信道能够承载小于或等于预设阈值的比特数的Discovery消息,当Discovery消息的比特数大于预设阈值时,D2D Discovery传输信道无法承载。D2D The Discovery transmission channel can carry a Discovery message with a number of bits less than or equal to the preset threshold. When the number of bits of the Discovery message is greater than the preset threshold, D2D The Discovery transport channel cannot carry.

当终端设备ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,执行步骤S203。When the number of bits of the first Discovery message generated by the ProSe protocol layer of the terminal device is greater than the preset threshold, step S203 is performed.

当终端设备ProSe协议层生成的第一Discovery消息的比特数小于或等于预设阈值时,执行步骤S206。When the number of bits of the first Discovery message generated by the ProSe protocol layer of the terminal device is less than or equal to the preset threshold, step S206 is performed.

S203:当所述第一Discovery消息的比特数大于预设阈值时,所述终端设备将所述第一Discovery消息传递到所述分组数据汇聚协议层,将所述第一Discovery消息映射到所述Discovery专用无线承载。S203: When the number of bits of the first Discovery message is greater than a preset threshold, the terminal device transfers the first Discovery message to the packet data convergence protocol layer, and maps the first Discovery message to the Discovery dedicated radio bearer.

当终端设备确定第一discovery消息的比特数大于预设阈值时,将第一Discovery消息从ProSe协议层传递到PDCP层,根据ProSe协议层到Discovery专用无线承载的映射关系,将Discovery消息从ProSe协议层映射到PDCP层的Discovery专用无线承载。When the terminal device determines that the number of bits of the first discovery message is greater than the preset threshold, the first discovery message is transferred from the ProSe protocol layer to the PDCP layer, and the discovery message is transferred from the ProSe protocol Layer is mapped to the Discovery dedicated radio bearer of the PDCP layer.

PDCP层将第一Discovery消息按照D2D通信数据的处理方式进行处理,并递交到RLC层做进一步处理后,将第一discovery消息递交到MAC层,并将其映射到一个Discovery专用的D2D业务逻辑信道中,该专用的逻辑信道对应于上述Discovery专用无线承载,Discovery专用的D2D业务逻辑信道与Discovery专用逻辑信道标识一一对应。The PDCP layer processes the first Discovery message according to the processing method of D2D communication data, and submits it to the RLC layer for further processing, then submits the first Discovery message to the MAC layer, and maps it to a D2D service logic channel dedicated to Discovery Wherein, the dedicated logical channel corresponds to the above-mentioned Discovery dedicated radio bearer, and the Discovery dedicated D2D service logical channel has a one-to-one correspondence with the Discovery dedicated logical channel identifier.

其中,第一Discovery消息映射到Discovery专用无线承载之后,在PDCP层以及RLC层的处理流程与现有技术中D2D通信数据在PDCP层以及RLC层的处理流程相同,此处不赘述。Wherein, after the first Discovery message is mapped to the Discovery dedicated radio bearer, the processing flow at the PDCP layer and the RLC layer is the same as the processing flow of the D2D communication data at the PDCP layer and the RLC layer in the prior art, and details are not described here.

S204:所述终端设备将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息。S204: The terminal device maps the first Discovery message to the D2D shared transport channel, and adds a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the The Discovery message transmitted by the D2D shared transport channel.

终端设备将第一Discovery消息从RLC层递交到MAC层后,根据MAC层中D2D业务逻辑信道STCH与D2D共享传输信道SL-SCH的映射关系,将第一Discovery消息映射到D2D共享传输信道。After submitting the first Discovery message from the RLC layer to the MAC layer, the terminal device maps the first Discovery message to the D2D shared transport channel according to the mapping relationship between the D2D service logical channel STCH and the D2D shared transport channel SL-SCH in the MAC layer.

终端设备在将第一Discovery消息映射到D2D共享传输信道之后,在D2D共享传输信道中为第一Discovery消息添加数据包头,并在数据包头中添加对第一Discovery消息添加Discovery专用逻辑信道标识(Logical Channel Identity,LCID)。该Discovery专用逻辑信道标识与Discovery专用无线承载对应,该Discovery专用逻辑信道标识用于标识通过D2D共享传输信道传输的来自Discovery专用无线承载的Discovery消息。After the terminal device maps the first Discovery message to the D2D shared transmission channel, it adds a data packet header to the first Discovery message in the D2D shared transmission channel, and adds a Discovery dedicated logical channel identifier (Logical Channel Identity, LCID). The Discovery dedicated logical channel identifier corresponds to the Discovery dedicated radio bearer, and the Discovery dedicated logical channel identifier is used to identify the Discovery message from the Discovery dedicated radio bearer transmitted through the D2D shared transport channel.

与Discovery专用无线承载对应的Discovery专用逻辑信道标识用于使其他终端设备在接收到第一Discovery消息后,能够通过该Discovery专用逻辑信道标识识别出第一Discovery消息包含来自Discovery专用无线承载的Discovery消息,以便做进一步处理。The Discovery-dedicated logical channel identifier corresponding to the Discovery-dedicated radio bearer is used to enable other terminal devices to recognize that the first Discovery message contains the Discovery message from the Discovery-dedicated radio bearer through the Discovery-dedicated logical channel identifier after receiving the first Discovery message , for further processing.

由于D2D通信数据的逻辑信道标识的值通常为1~10,因此,与Discovery专用无线承载对应的Discovery专用逻辑信道标识的值可以取逻辑信道中除去标识值为1~10以外的任意逻辑信道的值。比如,用于标识Discovery消息的逻辑信道标识的值为11,但并不限于此。Since the value of the logical channel identifier of D2D communication data is usually 1~10, the value of the Discovery dedicated logical channel identifier corresponding to the Discovery dedicated radio bearer can be any logical channel except the identifier value 1~10 in the logical channel value. For example, the value of the logical channel identifier used to identify the Discovery message is 11, but it is not limited thereto.

S205:所述终端设备将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,并在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息。S205: The terminal device transmits the first Discovery message to the physical layer through the D2D shared transmission channel, and sets a flag bit in the D2D link control information corresponding to the first Discovery message, and passes the D2D communication data The transmission resource transmits the first Discovery message.

终端设备对第一Discovery消息添加Discovery专用逻辑信道标识之后,将添加Discovery专用逻辑信道标识的第一Discovery消息通过D2D共享传输信道从MAC层传递到物理层。After adding the Discovery dedicated logical channel identifier to the first Discovery message, the terminal device transmits the first Discovery message added with the Discovery dedicated logical channel identifier from the MAC layer to the physical layer through the D2D shared transport channel.

之后,终端设备在第一Discovery消息对应的D2D链路控制信息(Sidelink Control Information,SCI)中设置标志位,通过D2D通信数据的传输资源传输第一Discovery消息。Afterwards, the terminal device sends the D2D link control information (Sidelink Control Information, SCI), the flag bit is set, and the first Discovery message is transmitted through the transmission resource of the D2D communication data.

其中,该标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,第一Discovery消息为Discovery专用无线承载承载的Discovery消息。Wherein, the flag bit is used to indicate whether the transmission resource of the D2D communication data bears a Discovery message, and the first Discovery message is a Discovery message carried by a Discovery-dedicated radio bearer.

其中,在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息的步骤包括:终端设备根据调度信息或可用的传输资源确定所述第一Discovery消息对应的D2D链路控制信息,其中,所述第一Discovery消息对应的D2D链路控制信息用于指示承载所述第一Discovery消息的传输资源信息;终端设备在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,以通过所述D2D链路控制信息指示的传输资源传输所述第一Discovery消息。Wherein, a flag bit is set in the D2D link control information corresponding to the first Discovery message, and the step of transmitting the first Discovery message through the transmission resources of the D2D communication data includes: the terminal device determines according to the scheduling information or the available transmission resources The D2D link control information corresponding to the first Discovery message, wherein the D2D link control information corresponding to the first Discovery message is used to indicate the transmission resource information carrying the first Discovery message; A flag bit is set in the D2D link control information corresponding to the Discovery message, so as to transmit the first Discovery message through the transmission resources indicated by the D2D link control information.

D2D链路控制信息用于指示承载待传输数据的传输资源的信息,传输资源的信息包括传输资源的频率、时间等信息。此时,D2D链路控制信息用于指示承载第一Discovery消息的传输资源信息。D2D链路控制信息中的标志位可以占SC中1比特(bit),该标志位用于指示第一Discovery消息是否包含Discovery专用无线承载所承载的Discovery消息。The D2D link control information is used to indicate the information of the transmission resource carrying the data to be transmitted, and the information of the transmission resource includes information such as frequency and time of the transmission resource. At this time, the D2D link control information is used to indicate the transmission resource information bearing the first Discovery message. The flag bit in the D2D link control information may occupy 1 bit (bit) in the SC, and the flag bit is used to indicate whether the first Discovery message includes the Discovery message carried by the Discovery dedicated radio bearer.

例如,将SCI的1比特标志位的值设置成“1”,则该SCI所指示的传输资源所承载的第一Discovery消息包含Discovery专用无线承载所承载的Discovery消息;否则,该SCI所指示的传输资源所承载的数据包仅包含其他D2D通信数据,而不包含Discovery专用无线承载所承载的Discovery消息。For example, if the value of the 1-bit flag of the SCI is set to "1", the first Discovery message carried by the transmission resource indicated by the SCI includes the Discovery message carried by the Discovery dedicated radio bearer; otherwise, the first Discovery message carried by the transmission resource indicated by the SCI; The data packet carried by the transmission resource only includes other D2D communication data, and does not include the Discovery message carried by the Discovery dedicated radio bearer.

终端设备通过D2D链路控制(Sidelink Control,SC)资源传输第一Discovery消息的SCI,并根据该SCI通过可用的D2D通信数据资源传输第一Discovery消息,以将第一Discovery消息发送给其他终端设备。The terminal device is controlled through the D2D link (Sidelink Control, SC) resources to transmit the SCI of the first Discovery message, and transmit the first Discovery message through available D2D communication data resources according to the SCI, so as to send the first Discovery message to other terminal devices.

可以理解的是,由于RLC的切包功能,第一Discovery消息可能被分成多个分片分别传输;因此第一Discovery消息可以为一个单独的MAC数据包,也可以被分为多个MAC数据包。第一Discovery消息被分为多个数据包时,可以分别多次传输;多次传输的数据包所占用的物理资源可以相同,也可以不同,此处不作限制。S206:当第一discovery消息的比特数小于等于所述预设阈值时,将所述第一Discovery消息映射到D2D Discovery传输信道。It can be understood that due to the packet cutting function of RLC, the first Discovery message may be divided into multiple fragments and transmitted separately; therefore, the first Discovery message may be a single MAC data packet, or may be divided into multiple MAC data packets . When the first Discovery message is divided into multiple data packets, they can be transmitted multiple times respectively; the physical resources occupied by the data packets transmitted multiple times can be the same or different, which is not limited here. S206: When the number of bits of the first discovery message is less than or equal to the preset threshold, map the first discovery message to D2D Discovery transport channel.

当终端设备确定ProSe协议层生成的第一Discovery消息的比特数小于或等于预设阈值时,终端设备将第一Discovery消息从ProSe协议层传递到MAC层,并根据ProSe协议层与MAC层中D2D Discovery传输信道的映射关系,将第一Discovery消息映射到MAC层的D2D Discovery传输信道。When the terminal device determines that the number of bits of the first Discovery message generated by the ProSe protocol layer is less than or equal to the preset threshold, the terminal device transmits the first Discovery message from the ProSe protocol layer to the MAC layer, and according to the D2D in the ProSe protocol layer and the MAC layer The mapping relationship of the Discovery transmission channel is to map the first Discovery message to the D2D Discovery transmission channel of the MAC layer.

S207:所述终端设备接收其他终端设备发送的第二Discovery消息。S207: The terminal device receives a second Discovery message sent by other terminal devices.

当其他终端设备向该终端设备发送第二Discovery消息时,终端设备接收其他终端设备发送的第二Discovery消息。When other terminal devices send the second Discovery message to the terminal device, the terminal device receives the second Discovery message sent by the other terminal device.

S208:所述终端设备确定所述第二Discovery消息是否包含所述Discovery专用逻辑信道标识和/或所述标志位的值是否为预设值,以确定所述第二Discovery消息是否来自D2D共享传输信道。S208: The terminal device determines whether the second Discovery message includes the Discovery dedicated logical channel identifier and/or whether the value of the flag bit is a preset value, so as to determine whether the second Discovery message comes from a D2D shared transmission channel.

终端设备确定接收到的第二Discovery消息是否包含与Discovery专用无线承载对应的Discovery专用逻辑信道标识和/或D2D链路控制信息的标志位的值是否为预设值,从而确定接收到的第二Discovery消息是否来自D2D共享传输信道。The terminal device determines whether the received second Discovery message contains the Discovery dedicated logical channel identifier corresponding to the Discovery dedicated radio bearer and/or whether the value of the flag bit of the D2D link control information is a preset value, so as to determine whether the received second Discovery message Whether the Discovery message comes from the D2D shared transport channel.

其中,D2D链路控制信息的标志位的预设值对应于步骤S205中预先设置的值。当终端设备确定第二Discovery消息包含与Discovery专用无线承载对应的Discovery专用逻辑信道标识,或D2D链路控制信息的标志位的值为预设值时,确定接收到的第二Discovery消息来自D2D共享传输信道,第二Discovery消息包含Discovery专用无线承载所承载的Discovery消息。Wherein, the preset value of the flag bit of the D2D link control information corresponds to the preset value in step S205. When the terminal device determines that the second Discovery message contains the Discovery dedicated logical channel identifier corresponding to the Discovery dedicated radio bearer, or the value of the flag bit of the D2D link control information is a preset value, it determines that the received second Discovery message is from the D2D sharing The transport channel, where the second Discovery message includes the Discovery message carried by the Discovery dedicated radio bearer.

当接收到的第二Discovery消息来自D2D共享传输信道时,执行步骤S209;否则,按现有技术中的方法进行处理。When the received second Discovery message is from the D2D shared transmission channel, perform step S209; otherwise, perform processing according to the method in the prior art.

S209:当所述第二Discovery消息来自D2D共享传输信道时,通过所述D2D共享传输信道将所述第二Discovery消息从所述媒体接入控制协议层递交到所述分组数据汇聚协议层,并从所述分组数据汇聚协议层递交到所述ProSe协议层进行处理。S209: When the second Discovery message comes from the D2D shared transport channel, deliver the second Discovery message from the medium access control protocol layer to the packet data convergence protocol layer through the D2D shared transport channel, and Submit from the packet data convergence protocol layer to the ProSe protocol layer for processing.

由于终端设备发送Discovery消息与接收Discovery消息是两个逆过程,因此,当终端设备接收到第二Discovery消息时,参照第一Discovery消息的流程进行处理。Since the terminal device sends the Discovery message and receives the Discovery message are two inverse processes, therefore, when the terminal device receives the second Discovery message, it performs processing referring to the flow of the first Discovery message.

具体地:终端设备确认接收到的第二Discovery消息来自D2D共享传输信道时,通过D2D共享传输信道将接收到的第二Discovery消息从MAC层递交到RLC层,再进一步递交到PDCP层,并根据PDCP层的Discovery专用无线承载与ProSe协议层的映射关系,将接收到的信息从PDCP层递交到ProSe协议层进行处理。具体请参阅步骤S201~S205的描述,此处不赘述。Specifically: when the terminal device confirms that the received second Discovery message comes from the D2D shared transport channel, it submits the received second Discovery message from the MAC layer to the RLC layer through the D2D shared transport channel, and then further submits it to the PDCP layer, and according to The mapping relationship between the Discovery dedicated radio bearer at the PDCP layer and the ProSe protocol layer, and the received information is submitted from the PDCP layer to the ProSe protocol layer for processing. For details, please refer to the description of steps S201-S205, which will not be repeated here.

上述方案,终端设备在分组数据汇聚协议层增加Discovery专用无线承载,建立ProSe协议层到D2D共享传输信道的映射关系,当终端设备确定ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,将第一Discovery消息映射到D2D共享传输信道,否则,将第一Discovery消息映射到D2DDiscovery传输信道;能够灵活传输不同比特数的Discovery消息,提高数据传输的有效性,防止因Discovery消息的比特数大于固定比特数而导致丢包的情况。In the above solution, the terminal device adds a dedicated radio bearer for Discovery at the packet data convergence protocol layer, and establishes a mapping relationship from the ProSe protocol layer to the D2D shared transmission channel. When the terminal device determines that the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than the preset threshold , the first Discovery message is mapped to the D2D shared transmission channel; otherwise, the first Discovery message is mapped to the D2D Discovery transmission channel; it is possible to flexibly transmit Discovery messages with different numbers of bits, improve the effectiveness of data transmission, and prevent If the number is greater than the fixed number of bits, it will cause packet loss.

请参阅图4,图4是本申请数据传输方法再一实施例的流程图。本实施例的执行主体为终端设备(User Equipment,UE),UE可以为手机等移动终端设备。两个UE可以直接通信传输数据。Please refer to FIG. 4 . FIG. 4 is a flow chart of another embodiment of the data transmission method of the present application. The execution subject of this embodiment is the terminal device (User Equipment, UE), UE can be a mobile terminal device such as a mobile phone. Two UEs can communicate directly to transmit data.

本实施例与上一实施例的不同之处在于步骤S301、S303~S305,S307~S309。本实施例的数据传输方法包括如下步骤:The difference between this embodiment and the previous embodiment lies in steps S301, S303~S305, and S307~S309. The data transmission method of the present embodiment includes the following steps:

S301:所述终端设备在媒体接入控制协议层建立ProSe协议层到D2D共享传输信道的映射关系。S301: The terminal device establishes a mapping relationship between a ProSe protocol layer and a D2D shared transmission channel at a media access control protocol layer.

请一并参阅图5,图5是本申请建立ProSe协议层到D2D共享传输信道的映射关系另一实施例的示意图。其中,图5-1是本申请建立ProSe协议层到D2D共享传输信道的映射关系的协议栈的示意图,图5-2是本申请建立ProSe协议层到D2D共享传输信道的映射关系的信道映射的示意图,映射路径2表示ProSe协议层到D2D共享传输信道的映射关系。Please refer to FIG. 5 together. FIG. 5 is a schematic diagram of another embodiment of establishing a mapping relationship between a ProSe protocol layer and a D2D shared transport channel in this application. Among them, Figure 5-1 is a schematic diagram of the protocol stack for establishing the mapping relationship between the ProSe protocol layer and the D2D shared transmission channel in this application, and Figure 5-2 is a channel mapping diagram for establishing the mapping relationship between the ProSe protocol layer and the D2D shared transmission channel in this application. In the schematic diagram, the mapping path 2 represents the mapping relationship from the ProSe protocol layer to the D2D shared transmission channel.

终端设备在媒体接入控制协议层MAC层建立ProSe协议层到D2D共享传输信道的映射关系,以使终端设备能够将ProSe协议层生成的Discovery消息映射到MAC层中的D2D共享传输信道。The terminal device establishes a mapping relationship between the ProSe protocol layer and the D2D shared transmission channel at the MAC layer of the media access control protocol layer, so that the terminal device can map the Discovery message generated by the ProSe protocol layer to the D2D shared transmission channel in the MAC layer.

当终端设备发送D2D通信数据时,按现有技术中的处理流程进行处理。When the terminal device sends D2D communication data, it is processed according to the processing flow in the prior art.

当终端设备发送ProSe协议层生成的Discovery消息时,执行步骤S302~S306。When the terminal device sends the Discovery message generated by the ProSe protocol layer, steps S302 to S306 are executed.

当终端设备接收到其他终端设备发送的数据时,执行步骤S307~S309。When the terminal device receives data sent by other terminal devices, steps S307-S309 are performed.

S302:确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。S302: Determine whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold.

步骤S302与上一实施例中的步骤S202相同,具体请参阅上一实施例中步骤S202的具体描述,此处不赘述。Step S302 is the same as step S202 in the previous embodiment. For details, please refer to the detailed description of step S202 in the previous embodiment, which will not be repeated here.

当终端设备ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,执行步骤S303。When the number of bits of the first Discovery message generated by the ProSe protocol layer of the terminal device is greater than the preset threshold, step S303 is executed.

当终端设备ProSe协议层生成的第一Discovery消息的比特数小于或等于预设阈值时,执行步骤S306。When the number of bits of the first Discovery message generated by the ProSe protocol layer of the terminal device is less than or equal to the preset threshold, step S306 is performed.

S303:当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息传递到媒体接入控制协议层。S303: When the number of bits of the first Discovery message is greater than a preset threshold, deliver the first Discovery message to a medium access control protocol layer.

当终端设备确定第一Discovery消息的比特数大于预设阈值时,将第一Discovery消息从ProSe协议层传递到MAC层。When the terminal device determines that the number of bits in the first Discovery message is greater than the preset threshold, it transmits the first Discovery message from the ProSe protocol layer to the MAC layer.

S304:所述终端设备将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息。S304: The terminal device maps the first Discovery message to the D2D shared transport channel, and adds a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the The Discovery message transmitted by the D2D shared transport channel.

终端设备在将第一Discovery消息递交到MAC层之后,根据MAC层中ProSe协议层与D2D共享传输信道的映射关系,将第一Discovery消息映射到MAC层中的D2D共享传输信道。After submitting the first Discovery message to the MAC layer, the terminal device maps the first Discovery message to the D2D shared transport channel in the MAC layer according to the mapping relationship between the ProSe protocol layer and the D2D shared transport channel in the MAC layer.

终端设备在将第一Discovery消息映射到D2D共享传输信道之后,在D2D共享传输信道中为第一Discovery消息添加数据包头,并在数据包头中添加对第一Discovery消息添加Discovery专用逻辑信道标识(Logical Channel Identity,LCID)。After the terminal device maps the first Discovery message to the D2D shared transmission channel, it adds a data packet header to the first Discovery message in the D2D shared transmission channel, and adds a Discovery dedicated logical channel identifier (Logical Channel Identity, LCID).

该Discovery专用逻辑信道标识用于标识该第一Discovery消息是通过D2D共享传输信道传输的Discovery消息。该Discovery专用逻辑信道标识的Discovery消息由ProSe协议层递交到媒体接入控制协议层,能够通过D2D共享传输信道进行传输。The Discovery dedicated logical channel identifier is used to identify that the first Discovery message is a Discovery message transmitted through a D2D shared transmission channel. The Discovery message identified by the Discovery dedicated logical channel is delivered by the ProSe protocol layer to the Media Access Control protocol layer, and can be transmitted through the D2D shared transmission channel.

该Discovery专用逻辑信道标识用于使其他终端设备在接收到第一Discovery消息后,能够通过该Discovery专用逻辑信道标识识别出第一Discovery消息是由ProSe协议层递交到媒体接入控制协议层,并通过D2D共享传输信道传输,以便做进一步处理。请一并参阅图6,图6是本申请将Discovery消息映射到D2D共享传输信道一实施例的信道映射示。The Discovery dedicated logical channel identifier is used to enable other terminal devices to recognize that the first Discovery message is submitted by the ProSe protocol layer to the media access control protocol layer through the Discovery dedicated logical channel identifier after receiving the first Discovery message, and Transmission over the D2D shared transport channel for further processing. Please refer to FIG. 6 together. FIG. 6 is a channel mapping diagram of an embodiment of mapping a Discovery message to a D2D shared transmission channel in this application.

如图6所示,由于D2D通信数据的逻辑信道标识的值通常为1~10,因此,与Discovery专用无线承载对应的Discovery专用逻辑信道标识的值可以取逻辑信道中除去标识值为1~10以外的任意逻辑信道的值。比如,用于标识Discovery消息的逻辑信道标识的值为11,但并不限于此。As shown in Figure 6, since the value of the logical channel identifier of D2D communication data is usually 1~10, therefore, the value of the Discovery dedicated logical channel identifier corresponding to the Discovery dedicated radio bearer can be 1~10 except the identifier value in the logical channel The value of any logical channel other than . For example, the value of the logical channel identifier used to identify the Discovery message is 11, but it is not limited thereto.

其中,如图7所示,图7是本申请D2D共享传输信道MAC数据包格式一实施例的示意图。Wherein, as shown in FIG. 7 , FIG. 7 is a schematic diagram of an embodiment of a D2D shared transport channel MAC data packet format in the present application.

当终端设备确认可用的D2D通信数据传输资源在承载将第一数据包之后,还有多余的传输资源传输D2D通信数据时,终端设备在同一个MAC数据包头中,同时设置Discovery专用逻辑信道标识以及待传输的D2D通信数据对应的逻辑信道标识,以使终端设备能够通过相同的D2D通信数据传输资源同时传输第一Discovery消息以及待传输的D2D通信数据。When the terminal device confirms that the available D2D communication data transmission resources have extra transmission resources to transmit D2D communication data after carrying the first data packet, the terminal device sets the Discovery dedicated logical channel identifier and A logical channel identifier corresponding to the D2D communication data to be transmitted, so that the terminal device can simultaneously transmit the first Discovery message and the D2D communication data to be transmitted through the same D2D communication data transmission resource.

当终端设备确认可用的D2D通信数据传输资源在承载第一Discovery消息之后,没有多余的传输资源传输D2D通信数据时,终端设备分别在不同的MAC数据包头中,设置Discovery专用逻辑信道标识、待传输的D2D通信数据对应的逻辑信道标识,以使终端设备能够通过不同的D2D通信数据传输资源同时传输第一Discovery消息以及待传输的D2D通信数据。其中,第一Discovery消息和D2D通信数据通过不同的传输资源进行区分。When the terminal device confirms that the available D2D communication data transmission resources have no redundant transmission resources to transmit D2D communication data after carrying the first Discovery message, the terminal device sets the Discovery dedicated logical channel identifier and the to-be-transmitted The logical channel identifier corresponding to the D2D communication data, so that the terminal device can simultaneously transmit the first Discovery message and the D2D communication data to be transmitted through different D2D communication data transmission resources. Wherein, the first Discovery message and the D2D communication data are distinguished through different transmission resources.

S305:所述终端设备将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,并在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息,其中,所述标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,所述Discovery消息为从所述ProSe协议层传递到所述媒体接入控制协议层的Discovery消息。S305: The terminal device transmits the first Discovery message to the physical layer through the D2D shared transmission channel, and sets a flag bit in the D2D link control information corresponding to the first Discovery message, and passes the D2D communication data The transmission resource transmits the first Discovery message, wherein the flag bit is used to indicate whether the transmission resource of the D2D communication data carries a Discovery message, and the Discovery message is transmitted from the ProSe protocol layer to the media access control Discovery message of the protocol layer.

终端设备对第一Discovery消息添加Discovery专用逻辑信道标识之后,将添加Discovery专用逻辑信道标识的第一Discovery消息通过D2D共享传输信道传递到物理层。After adding the Discovery dedicated logical channel identifier to the first Discovery message, the terminal device transmits the first Discovery message added with the Discovery dedicated logical channel identifier to the physical layer through the D2D shared transmission channel.

之后,终端设备在第一Discovery消息对应的D2D链路控制信息(Sidelink Control Information,SCI)中设置标志位,通过D2D通信数据的传输资源传输第一Discovery消息。Afterwards, the terminal device sends the D2D link control information (Sidelink Control Information, SCI), the flag bit is set, and the first Discovery message is transmitted through the transmission resource of the D2D communication data.

该标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,第一Discovery消息为从ProSe协议层传递到媒体接入控制协议层的Discovery消息。The flag bit is used to indicate whether the transmission resource of the D2D communication data carries a Discovery message, and the first Discovery message is a Discovery message transmitted from the ProSe protocol layer to the MAC protocol layer.

其中,在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息的步骤包括:终端设备根据调度信息或可用的传输资源确定所述第一Discovery消息对应的D2D链路控制信息,其中,第一Discovery消息对应的D2D链路控制信息用于指示承载第一Discovery消息的传输资源信息;终端设备在第一Discovery消息对应的D2D链路控制信息中设置标志位,以通过D2D链路控制信息指示的传输资源传输第一Discovery消息。例如,终端设备在将第一数据包通过D2D共享传输信道从MAC层递交到物理层后,根据调度信息或可用的传输资源确定第一Discovery消息对应的D2D链路控制信息,在第一Discovery消息对应的D2D链路控制信息中设置标志位的值,以通过D2D链路控制信息指示的传输资源传输第一Discovery消息。其中,第一Discovery消息对应的D2D链路控制信息用于指示承载第一Discovery消息的传输资源信息。Wherein, a flag bit is set in the D2D link control information corresponding to the first Discovery message, and the step of transmitting the first Discovery message through the transmission resources of the D2D communication data includes: the terminal device determines according to scheduling information or available transmission resources The D2D link control information corresponding to the first Discovery message, wherein the D2D link control information corresponding to the first Discovery message is used to indicate the transmission resource information carrying the first Discovery message; the terminal device in the D2D link corresponding to the first Discovery message The flag bit is set in the link control information, so as to transmit the first Discovery message through the transmission resource indicated by the D2D link control information. For example, after the terminal device submits the first data packet from the MAC layer to the physical layer through the D2D shared transmission channel, it determines the D2D link control information corresponding to the first Discovery message according to the scheduling information or available transmission resources, and in the first Discovery message The value of the flag bit is set in the corresponding D2D link control information, so as to transmit the first Discovery message through the transmission resource indicated by the D2D link control information. Wherein, the D2D link control information corresponding to the first Discovery message is used to indicate the transmission resource information bearing the first Discovery message.

具体为:终端设备从基站发送的调度信息中获取第一Discovery消息对应的D2D链路控制信息,或根据第一Discovery消息分配到的传输资源确定第一Discovery消息对应的D2D链路控制信息。Specifically, the terminal device obtains the D2D link control information corresponding to the first Discovery message from the scheduling information sent by the base station, or determines the D2D link control information corresponding to the first Discovery message according to the transmission resources allocated by the first Discovery message.

之后,在第一Discovery消息的D2D链路控制信息(Sidelink Control Information,SCI)中设置标志位的值。其中,第一Discovery消息对应的D2D链路控制信息指示承载第一Discovery消息的传输资源信息以及D2D通信数据共同的传输资源信息。其中,D2D链路控制信息用于指示承载待传输数据的传输资源的信息,传输资源的信息包括传输资源的频率、时间等信息。Afterwards, in the D2D link control information (Sidelink Control Information, SCI) to set the value of the flag bit. Wherein, the D2D link control information corresponding to the first Discovery message indicates the transmission resource information bearing the first Discovery message and the common transmission resource information of the D2D communication data. Wherein, the D2D link control information is used to indicate the information of the transmission resource carrying the data to be transmitted, and the information of the transmission resource includes information such as frequency and time of the transmission resource.

此时,D2D链路控制信息用于指示承载第一Discovery消息的传输资源信息,或第一Discovery消息以及D2D通信数据共同的传输资源信息。其中,第一Discovery消息与D2D通信数据通过逻辑信道标识进行区分。At this time, the D2D link control information is used to indicate the transmission resource information carrying the first Discovery message, or the transmission resource information common to the first Discovery message and the D2D communication data. Wherein, the first Discovery message is distinguished from the D2D communication data by a logical channel identifier.

第一Discovery消息和D2D通信数据通过D2D链路控制信息中的标志位以及不同的传输资源进行区分。可以理解的是,第一Discovery消息可以为一个数据包,一次传输即可。The first Discovery message and the D2D communication data are distinguished by flag bits in the D2D link control information and different transmission resources. It can be understood that the first Discovery message may be a data packet, and only one transmission is sufficient.

D2D链路控制信息中的标志位可以占SC中1比特(bit),该标志位用于指示第一Discovery消息是否包含从ProSe协议层传递到MAC层的Discovery消息。The flag bit in the D2D link control information may occupy 1 bit in the SC, and the flag bit is used to indicate whether the first Discovery message includes the Discovery message transmitted from the ProSe protocol layer to the MAC layer.

例如,将SCI的1比特标志位的值设置成“1”,则该SCI所指示的传输资源所承载的第一Discovery消息包含从ProSe协议层传递到MAC层的Discovery消息;否则,该SCI所指示的传输资源所承载的数据包仅包含其他D2D通信数据,而不包含从ProSe协议层传递到MAC层的Discovery消息。For example, if the value of the 1-bit flag of the SCI is set to "1", the first Discovery message carried by the transmission resource indicated by the SCI includes the Discovery message delivered from the ProSe protocol layer to the MAC layer; The data packet carried by the indicated transmission resource only includes other D2D communication data, and does not include the Discovery message passed from the ProSe protocol layer to the MAC layer.

S306:当第一discovery消息的比特数小于等于所述预设阈值时,将所述第一Discovery消息映射到D2DDiscovery传输信道。S306: When the number of bits of the first discovery message is less than or equal to the preset threshold, map the first discovery message to a D2D Discovery transmission channel.

步骤S306与上一实施例中的步骤S206相同,具体请参阅上一实施例中步骤S206的具体描述,此处不赘述。Step S306 is the same as step S206 in the previous embodiment. For details, please refer to the detailed description of step S206 in the previous embodiment, which will not be repeated here.

S307:所述终端设备接收其他终端设备发送的第二Discovery消息。S307: The terminal device receives a second Discovery message sent by other terminal devices.

步骤S307与上一实施例中的步骤S207相同,具体请参阅上一实施例中步骤S207的具体描述,此处不赘述。Step S307 is the same as step S207 in the previous embodiment. For details, please refer to the specific description of step S207 in the previous embodiment, which will not be repeated here.

S308:所述终端设备确定所述第二Discovery消息是否包含所述Discovery专用逻辑信道标识和/或所述标志位的值是否为预设值,以确定所述第二Discovery消息是否来自D2D共享传输信道。S308: The terminal device determines whether the second Discovery message includes the Discovery dedicated logical channel identifier and/or whether the value of the flag bit is a preset value, so as to determine whether the second Discovery message comes from D2D shared transmission channel.

终端设备确定接收到的第二Discovery消息是否包含Discovery专用逻辑信道标识和/或D2D链路控制信息的标志位的值是否为预设值,从而确定接收到的第二Discovery消息是否来自D2D共享传输信道。其中,D2D链路控制信息的标志位的预设值对应于步骤S305中预先设置的值。The terminal device determines whether the received second Discovery message contains the Discovery dedicated logical channel identifier and/or whether the value of the flag bit of the D2D link control information is a preset value, thereby determining whether the received second Discovery message comes from a D2D shared transmission channel. Wherein, the preset value of the flag bit of the D2D link control information corresponds to the preset value in step S305.

当终端设备确定第二Discovery消息包含Discovery专用逻辑信道标识,或D2D链路控制信息的标志位的值为预设值时,确定接收到的第二Discovery消息来自D2D共享传输信道。When the terminal device determines that the second Discovery message includes the Discovery dedicated logical channel identifier, or the value of the flag bit of the D2D link control information is a preset value, it determines that the received second Discovery message is from the D2D shared transport channel.

当接收到的第二Discovery消息来自D2D共享传输信道时,执行步骤S309;否则,按现有技术中的方法进行处理。When the received second Discovery message is from the D2D shared transmission channel, perform step S309; otherwise, perform processing according to the method in the prior art.

S309:当所述第二Discovery消息来自D2D共享传输信道时,通过所述D2D Discovery传输信道将所述第二Discovery消息从所述媒体接入控制协议层传递到所述ProSe协议层进行处理。S309: When the second Discovery message comes from the D2D shared transmission channel, through the D2D The Discovery transport channel transfers the second Discovery message from the MAC protocol layer to the ProSe protocol layer for processing.

由于终端设备发送Discovery消息与接收Discovery消息是两个逆过程,因此,当终端设备接收到第二Discovery消息时,参照第一Discovery消息的流程进行处理。Since the terminal device sends the Discovery message and receives the Discovery message are two inverse processes, therefore, when the terminal device receives the second Discovery message, it performs processing referring to the flow of the first Discovery message.

具体地:终端设备在确认接收到的第二Discovery消息来自D2D共享传输信道时,通过D2D共享传输信道将第二Discovery消息从MAC层传递到ProSe协议层进行处理。具体请参阅步骤S301~S305的描述,此处不赘述。Specifically: when the terminal device confirms that the received second Discovery message is from the D2D shared transmission channel, it transmits the second Discovery message from the MAC layer to the ProSe protocol layer through the D2D shared transmission channel for processing. For details, please refer to the description of steps S301-S305, which will not be repeated here.

上述方案,终端设备在MAC层建立ProSe协议层到D2D共享传输信道的直接映射关系,当终端设备确定ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,将第一Discovery消息映射到D2D共享传输信道,否则,将第一Discovery消息映射到D2DDiscovery传输信道;能够灵活传输不同比特数的Discovery消息,提高数据传输的有效性,能够防止因Discovery消息的比特数大于固定比特数而导致丢包的情况。In the above solution, the terminal device establishes a direct mapping relationship between the ProSe protocol layer and the D2D shared transmission channel at the MAC layer, and when the terminal device determines that the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than the preset threshold, the first Discovery message is mapped to to the D2D shared transmission channel, otherwise, the first Discovery message is mapped to the D2D Discovery transmission channel; it can flexibly transmit Discovery messages with different numbers of bits, improve the effectiveness of data transmission, and prevent the occurrence of problems caused by the number of bits of the Discovery message being greater than the fixed number of bits. The case of packet loss.

请参阅图8,图8是本申请数据传输方法又一实施例的流程图。本实施例的执行主体为终端设备(User Equipment,UE),其中,UE可以为手机等移动终端设备。两个UE可以直接通信传输数据。Please refer to FIG. 8 . FIG. 8 is a flow chart of another embodiment of the data transmission method of the present application. The execution subject of this embodiment is the terminal device (User Equipment, UE), where the UE may be a mobile terminal device such as a mobile phone. Two UEs can communicate directly to transmit data.

本实施例中步骤S401~S403分别与上一实施例的S301~S303相同,本实施例中步骤S406、S407分别与上一实施例中的步骤S306、S307相同。本实施例的数据传输方法包括如下步骤:Steps S401-S403 in this embodiment are respectively the same as S301-S303 in the previous embodiment, and steps S406 and S407 in this embodiment are respectively the same as steps S306 and S307 in the previous embodiment. The data transmission method of the present embodiment includes the following steps:

S401:所述终端设备在媒体接入控制协议层建立ProSe协议层到D2D共享传输信道的映射关系。S401: The terminal device establishes a mapping relationship between a ProSe protocol layer and a D2D shared transmission channel at a media access control protocol layer.

步骤S401与上一实施例中的步骤S301相同,具体请参阅上一实施例中步骤S301的具体描述,此处不赘述。Step S401 is the same as step S301 in the previous embodiment. For details, please refer to the detailed description of step S301 in the previous embodiment, which will not be repeated here.

S402:确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。S402: Determine whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold.

步骤S402与上一实施例中的步骤S302相同,具体请参阅上一实施例中步骤S302的具体描述,此处不赘述。Step S402 is the same as step S302 in the previous embodiment. For details, please refer to the detailed description of step S302 in the previous embodiment, which will not be repeated here.

S403:当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息递交到媒体接入控制协议层。S403: When the number of bits of the first Discovery message is greater than a preset threshold, submit the first Discovery message to a medium access control protocol layer.

步骤S403与上一实施例中的步骤S303相同,具体请参阅上一实施例中步骤S303的具体描述,此处不赘述。Step S403 is the same as step S303 in the previous embodiment. For details, please refer to the specific description of step S303 in the previous embodiment, which will not be repeated here.

S404:所述终端设备将所述第一Discovery消息映射到所述D2D共享传输信道。S404: The terminal device maps the first Discovery message to the D2D shared transmission channel.

终端设备在将第一Discovery消息递交到MAC层之后,根据MAC层中ProSe协议层与D2D共享传输信道的直接映射关系,将第一Discovery消息映射到MAC层中的D2D共享传输信道。After submitting the first Discovery message to the MAC layer, the terminal device maps the first Discovery message to the D2D shared transport channel in the MAC layer according to the direct mapping relationship between the ProSe protocol layer and the D2D shared transport channel in the MAC layer.

其中,将第一数据包映射到D2D共享传输信道的示意图如图9所示。图9是本申请将Discovery消息映射到D2D共享传输信道另一实施例的信道映射示意图。Wherein, a schematic diagram of mapping the first data packet to the D2D shared transmission channel is shown in FIG. 9 . FIG. 9 is a schematic diagram of channel mapping in another embodiment of mapping a Discovery message to a D2D shared transmission channel in the present application.

在本实施例中,映射到D2D共享传输信道的第一Discovery消息与D2D通信数据采用相同的逻辑信道标识。如图9所示,第一Discovery消息以及D2D通信数据的逻辑信道标识的值通常均为1~10。In this embodiment, the first Discovery message mapped to the D2D shared transport channel and the D2D communication data use the same logical channel identifier. As shown in FIG. 9 , the values of the first Discovery message and the logical channel identifier of the D2D communication data are usually 1-10.

S405:所述终端设备将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,并在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息,其中,所述标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,所述Discovery消息从所述ProSe协议层传递到所述媒体接入控制协议层的Discovery消息。S405: The terminal device transmits the first Discovery message to the physical layer through the D2D shared transmission channel, and sets a flag bit in the D2D link control information corresponding to the first Discovery message, and passes the D2D communication data The transmission resource transmits the first Discovery message, wherein the flag bit is used to indicate whether the transmission resource of the D2D communication data carries a Discovery message, and the Discovery message is transmitted from the ProSe protocol layer to the media access control protocol Discovery message of the layer.

终端设备在将第一Discovery消息映射到D2D共享传输信道后,将第一Discovery消息通过D2D共享传输信道从MAC层传递到物理层,根据调度信息或可用的传输资源确定第一Discovery消息对应的D2D链路控制信息,在第一Discovery消息对应的D2D链路控制信息中设置标志位的值,以通过D2D链路控制信息中指示的传输资源传输第一Discovery消息。其中,第一Discovery消息对应的D2D链路控制信息用于指示承载第一Discovery消息的传输资源信息。After the terminal device maps the first Discovery message to the D2D shared transmission channel, it transmits the first Discovery message from the MAC layer to the physical layer through the D2D shared transmission channel, and determines the D2D information corresponding to the first Discovery message according to the scheduling information or available transmission resources. For the link control information, the value of the flag bit is set in the D2D link control information corresponding to the first Discovery message, so as to transmit the first Discovery message through the transmission resources indicated in the D2D link control information. Wherein, the D2D link control information corresponding to the first Discovery message is used to indicate the transmission resource information bearing the first Discovery message.

之后,在第一Discovery消息对应的D2D链路控制信息(Sidelink Control Information,SCI)中设置标志位。After that, in the D2D link control information (Sidelink Control Information, SCI) to set the flag bit.

其中,D2D链路控制信息用于指示承载待传输数据的传输资源的信息,传输资源的信息包括传输资源的频率、时间等信息。Wherein, the D2D link control information is used to indicate the information of the transmission resource carrying the data to be transmitted, and the information of the transmission resource includes information such as frequency and time of the transmission resource.

此时,第一Discovery消息对应的D2D链路控制信息只用于指示承载第一Discovery消息的传输资源信息。承载D2D通信数据的传输资源信息通过D2D通信数据对应的D2D链路控制信息进行指示。第一Discovery消息和D2D通信数据通过不同的传输资源进行区分,并分别进行传输。D2D链路控制信息中的标志位可以占SC中1比特(bit),该标志位用于指示第一Discovery消息是否包含通过D2D共享传输信道所承载的第二Discovery消息。At this time, the D2D link control information corresponding to the first Discovery message is only used to indicate the transmission resource information bearing the first Discovery message. The transmission resource information bearing the D2D communication data is indicated by the D2D link control information corresponding to the D2D communication data. The first Discovery message and the D2D communication data are distinguished by different transmission resources and transmitted respectively. The flag bit in the D2D link control information may occupy 1 bit (bit) in the SC, and the flag bit is used to indicate whether the first Discovery message includes the second Discovery message carried by the D2D shared transport channel.

请一并参阅图10,图10是本申请利用不同物理资源区分Discovery消息和D2D通信数据一实施例的示意图。Please refer to FIG. 10 together. FIG. 10 is a schematic diagram of an embodiment of using different physical resources to distinguish Discovery messages and D2D communication data in this application.

如图10所示,终端设备采用不同的传输资源对第一Discovery消息和其他D2D通信数据进行区分,并利用不同的SCI资源传输分别传输相应的SCI。其中,上述SCI的1 比特标识位,用于表示相应SCI所指示的资源是否承载有第一Discovery消息。As shown in FIG. 10 , the terminal device uses different transmission resources to distinguish the first Discovery message from other D2D communication data, and uses different SCI resource transmissions to transmit corresponding SCIs respectively. Among them, 1 of the above SCI The bit identification bit is used to indicate whether the resource indicated by the corresponding SCI bears the first Discovery message.

例如,若上述SCI的1比特标志位的值设置成“1”,则该SCI所指示的资源为承载第一Discovery消息所对应的传输资源;否则,该SCI所指示的资源为其他D2D通信数据所对应的传输资源。For example, if the value of the 1-bit flag of the above SCI is set to "1", the resource indicated by the SCI is the transmission resource corresponding to the first Discovery message; otherwise, the resource indicated by the SCI is other D2D communication data The corresponding transmission resources.

终端设备还通过D2D链路控制(Sidelink Control,SC)资源传输D2D通信数据的SCI,并根据D2D通信数据的SCI指示终端设备通过可用的D2D通信数据资源传输D2D通信数据,以将D2D通信数据发送给其他终端设备。The terminal device is also controlled through the D2D link (Sidelink Control, SC) resources transmit the SCI of the D2D communication data, and instruct the terminal device to transmit the D2D communication data through the available D2D communication data resources according to the SCI of the D2D communication data, so as to send the D2D communication data to other terminal devices.

此外,终端设备在将第一Discovery消息通过D2D共享传输信道从MAC层递交到物理层后,终端设备可通过基站发送的调度信息分别获取第一Discovery消息和D2D通信数据的传输资源及相应的SC资源;终端设备也可以在终端设备对应的D2D直接通信竞争资源池中,自行为第一Discovery消息、D2D通信数据及各自对应的SC资源分别获取传输资源。其中,资源池为一组时频资源的集合。D2D直接通信竞争资源池通过LTE系统广播或专用信令进行配置,此处不赘述。In addition, after the terminal device submits the first Discovery message from the MAC layer to the physical layer through the D2D shared transmission channel, the terminal device can obtain the first Discovery message and the transmission resource of the D2D communication data and the corresponding SC through the scheduling information sent by the base station. Resources: the terminal device may also obtain transmission resources for the first Discovery message, D2D communication data, and respective corresponding SC resources in the D2D direct communication contention resource pool corresponding to the terminal device. Wherein, the resource pool is a set of time-frequency resources. The D2D direct communication contention resource pool is configured through LTE system broadcast or dedicated signaling, which will not be described here.

上述基站调度信息中,可加入1比特标识位,以区分SC资源以及SCI所分配的传输资源是对应于传输第一Discovery消息,还是对应于传输D2D通信数据。In the above base station scheduling information, a 1-bit identification bit may be added to distinguish whether the SC resource and the transmission resource allocated by the SCI correspond to the transmission of the first Discovery message or the transmission of D2D communication data.

可以理解的是,第一Discovery消息可以为一个数据包,一次传输即可。It can be understood that the first Discovery message may be a data packet, and only one transmission is sufficient.

在本实施例中,终端设备通过在第一Discovery消息对应的D2D链路控制信息中设置标志位,以区分第一Discovery消息以及D2D通信数据,并通过不同的传输资源传输第一Discovery消息以及D2D通信数据。In this embodiment, the terminal device sets a flag bit in the D2D link control information corresponding to the first Discovery message to distinguish the first Discovery message from the D2D communication data, and transmits the first Discovery message and the D2D communication data through different transmission resources. communication data.

S406:当第一discovery消息的比特数不大于所述预设阈值时,将所述第一Discovery消息映射到D2D Discovery传输信道。S406: When the number of bits of the first discovery message is not greater than the preset threshold, map the first discovery message to D2D Discovery transport channel.

步骤S406与上一实施例中的步骤S306相同,具体请参阅上一实施例中步骤S306的具体描述,此处不赘述。Step S406 is the same as step S306 in the previous embodiment. For details, please refer to the specific description of step S306 in the previous embodiment, which will not be repeated here.

S407:所述终端设备接收其他终端设备发送的第二Discovery消息。S407: The terminal device receives a second Discovery message sent by another terminal device.

步骤S407与上一实施例中的步骤S307相同,具体请参阅上一实施例中步骤S307的具体描述,此处不赘述。Step S407 is the same as step S307 in the previous embodiment. For details, please refer to the specific description of step S307 in the previous embodiment, which will not be repeated here.

S408:所述终端设备确定所述标志位的值是否为预设值,以确定所述第二Discovery消息是否来自D2D共享传输信道。S408: The terminal device determines whether the value of the flag bit is a preset value, so as to determine whether the second Discovery message comes from a D2D shared transmission channel.

终端设备确定接收到的第二Discovery消息包含的D2D链路控制信息的标志位的值是否为预设值,从而确定接收到的第二Discovery消息是否来自D2D共享传输信道。其中,D2D链路控制信息的标志位的预设值对应于步骤S406中预先设置的值。The terminal device determines whether the value of the flag bit of the D2D link control information included in the received second Discovery message is a preset value, thereby determining whether the received second Discovery message comes from a D2D shared transmission channel. Wherein, the preset value of the flag bit of the D2D link control information corresponds to the preset value in step S406.

当终端设备确定第二Discovery消息包含的D2D链路控制信息的标志位的值为预设值时,确定接收到的第二Discovery消息来自D2D共享传输信道。When the terminal device determines that the value of the flag bit of the D2D link control information contained in the second Discovery message is a preset value, it determines that the received second Discovery message is from the D2D shared transmission channel.

当接收到的第二Discovery消息来自D2D共享传输信道时,执行步骤S409;否则,按现有技术中的方法进行处理。When the received second Discovery message is from the D2D shared transmission channel, perform step S409; otherwise, perform processing according to the method in the prior art.

S409:当所述信息包含所述第二Discovery消息时,通过所述D2D Discovery传输信道将所述第二Discovery消息从所述媒体接入控制协议层递交到所述ProSe协议层进行处理。S409: When the information includes the second Discovery message, through the D2D The Discovery transport channel delivers the second Discovery message from the MAC protocol layer to the ProSe protocol layer for processing.

由于终端设备发送Discovery消息与接收Discovery消息是两个逆过程,因此,当终端设备接收到第二Discovery消息时,参照第一Discovery消息的流程进行处理。Since the terminal device sends the Discovery message and receives the Discovery message are two inverse processes, therefore, when the terminal device receives the second Discovery message, it performs processing referring to the flow of the first Discovery message.

具体地:终端设备确认接收到的第二Discovery消息来自D2D共享传输信道时,通过D2D共享传输信道将第二Discovery消息从MAC层递交到ProSe协议层进行处理。具体请参阅步骤S401~S405的描述,此处不赘述。Specifically, when the terminal device confirms that the received second Discovery message is from the D2D shared transmission channel, it submits the second Discovery message from the MAC layer to the ProSe protocol layer through the D2D shared transmission channel for processing. For details, please refer to the description of steps S401-S405, which will not be repeated here.

在本实施例中通过设置SCI的标志位,以通过不同的传输资源区分Discovery消息以及D2D通信数据,从而使得接收到该信息的终端设备能够通过SCI的标志位即可识别出当前传输资源对应的是Discovery消息还是D2D通信数据。In this embodiment, the SCI flag is set to distinguish the Discovery message and the D2D communication data through different transmission resources, so that the terminal device that receives the information can identify the current transmission resource corresponding to the current transmission resource through the SCI flag. Is it a Discovery message or D2D communication data.

上述方案,终端设备在MAC层建立ProSe协议层到D2D共享传输信道的直接映射关系,当终端设备确定ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,将第一Discovery消息映射到D2D共享传输信道,否则,将第一Discovery消息映射到D2DDiscovery传输信道;能够灵活传输不同比特数的Discovery消息,提高数据传输的可靠性,能够防止因Discovery消息的比特数大于固定比特数而导致丢包的情况。In the above solution, the terminal device establishes a direct mapping relationship between the ProSe protocol layer and the D2D shared transmission channel at the MAC layer, and when the terminal device determines that the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than the preset threshold, the first Discovery message is mapped to to the D2D shared transmission channel, otherwise, the first Discovery message is mapped to the D2D Discovery transmission channel; it can flexibly transmit Discovery messages with different numbers of bits, improve the reliability of data transmission, and prevent the occurrence of problems caused by the number of bits in the Discovery message being greater than the fixed number of bits. The case of packet loss.

请参阅图11,图11是本申请数据传输装置一实施方式的结构示意图。本实施例的数据传输装置所包括的各模块用于执行图1对应的实施例中的各步骤,具体请参阅图1以及图1对应的实施例的相关描述,此处不赘述。本实施例的数据传输装置包括建立模块1110、确定模块1120以及映射模块1130。Please refer to FIG. 11 . FIG. 11 is a schematic structural diagram of an embodiment of a data transmission device of the present application. The modules included in the data transmission device of this embodiment are used to execute the steps in the embodiment corresponding to FIG. 1 . For details, please refer to FIG. 1 and related descriptions of the embodiment corresponding to FIG. 1 , and details are not repeated here. The data transmission device of this embodiment includes an establishment module 1110 , a determination module 1120 and a mapping module 1130 .

建立模块1110用于建立设备到设备临近服务D2D ProSe协议层到D2D共享传输信道的映射关系。比如,建立模块1110建立设备到设备临近服务D2D ProSe协议层到D2D共享传输信道的映射关系。建立模块1110建立ProSe协议层到D2D共享传输信道的映射关系之后,向确定模块1120发送通知信息。The establishing module 1110 is used for establishing the device-to-device proximity service D2D The mapping relationship between the ProSe protocol layer and the D2D shared transmission channel. For example, the establishment module 1110 establishes the device-to-device proximity service D2D The mapping relationship between the ProSe protocol layer and the D2D shared transmission channel. After the establishment module 1110 establishes the mapping relationship between the ProSe protocol layer and the D2D shared transport channel, it sends notification information to the determination module 1120 .

确定模块1120用于接收确定模块1120发送的通知信息,确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。比如,确定模块1120确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。确定模块1120将确定结果发送给映射模块1130。The determining module 1120 is configured to receive the notification information sent by the determining module 1120, and determine whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold. For example, the determining module 1120 determines whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold. The determination module 1120 sends the determination result to the mapping module 1130 .

映射模块1130用于接收确定模块1120发送的确定结果,当确定模块1120确定所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息映射到所述D2D共享传输信道,通过所述D2D共享传输信道传输所述第一Discovery消息;或者,当确定模块1120确定所述第一discovery消息的比特数小于等于所述预设阈值时,将所述第一Discovery消息映射到D2D Discovery传输信道。The mapping module 1130 is configured to receive the determination result sent by the determination module 1120, and when the determination module 1120 determines that the number of bits of the first Discovery message is greater than a preset threshold, map the first Discovery message to the D2D shared transmission channel, Transmit the first Discovery message through the D2D shared transmission channel; or, when the determining module 1120 determines that the number of bits of the first Discovery message is less than or equal to the preset threshold, map the first Discovery message to D2D Discovery transport channel.

比如,映射模块1130接收确定模块1120发送的确定结果,当确定模块1120确定所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息映射到所述D2D共享传输信道,通过所述D2D共享传输信道传输所述第一Discovery消息;或者,当确定模块1120确定所述第一discovery消息的比特数小于等于所述预设阈值时,将所述第一Discovery消息映射到D2D Discovery传输信道。For example, the mapping module 1130 receives the determination result sent by the determination module 1120, and when the determination module 1120 determines that the number of bits of the first Discovery message is greater than a preset threshold, maps the first Discovery message to the D2D shared transmission channel, Transmit the first Discovery message through the D2D shared transmission channel; or, when the determining module 1120 determines that the number of bits of the first Discovery message is less than or equal to the preset threshold, map the first Discovery message to D2D Discovery transport channel.

上述方案,数据传输装置通过建立ProSe协议层到D2D共享传输信道的映射关系,当终端设备确定ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,将第一Discovery消息映射到D2D共享传输信道,否则,将第一Discovery消息映射到D2DDiscovery传输信道;能够灵活传输不同比特数的Discovery消息,提高数据传输的有效性,防止因Discovery消息的比特数大于固定比特数而导致丢包的情况。In the above scheme, the data transmission device establishes a mapping relationship from the ProSe protocol layer to the D2D shared transmission channel, and when the terminal device determines that the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than the preset threshold, the first Discovery message is mapped to the D2D Shared transmission channel, otherwise, map the first Discovery message to the D2D Discovery transmission channel; can flexibly transmit Discovery messages with different numbers of bits, improve the effectiveness of data transmission, and prevent packet loss caused by the number of bits of the Discovery message being greater than the fixed number of bits Condition.

请参阅图12,图12是本申请数据传输装置另一实施方式的结构示意图。本实施例的数据传输装置所包括的各模块用于执行图2、图4、图8对应的实施例中的各步骤,具体请参阅图2、图4、图8以及各自对应的实施例的相关描述,此处不赘述。本实施例的数据传输装置包括建立模块1210、确定模块1220、映射模块1230、控制模块1240以及接收模块1250。Please refer to FIG. 12 . FIG. 12 is a schematic structural diagram of another embodiment of the data transmission device of the present application. The modules included in the data transmission device of this embodiment are used to execute the steps in the embodiments corresponding to Fig. 2, Fig. 4, and Fig. 8. For details, please refer to Fig. 2, Fig. 4, Fig. 8 and the corresponding embodiments Relevant descriptions are not repeated here. The data transmission device of this embodiment includes an establishment module 1210 , a determination module 1220 , a mapping module 1230 , a control module 1240 and a receiving module 1250 .

建立模块1210具体用于在分组数据汇聚协议层增加Discovery专用无线承载,建立ProSe协议层到所述Discovery专用无线承载的映射关系,其中,所述Discovery专用无线承载用于承载Discovery消息,所述Discovery专用无线承载承载的所述Discovery消息映射到Discovery专用逻辑信道,并通过Discovery专用逻辑信道标识进行标识,所述Discovery专用逻辑信道标识的Discovery消息通过所述D2D共享传输信道进行传输,所述Discovery专用无线承载与所述Discovery专用逻辑信道对应,所述Discovery专用逻辑信道与Discovery专用逻辑信道标识对应。The establishing module 1210 is specifically configured to add a Discovery-dedicated radio bearer at the packet data convergence protocol layer, and establish a mapping relationship from the ProSe protocol layer to the Discovery-dedicated radio bearer, wherein the Discovery-dedicated radio bearer is used to carry a Discovery message, and the Discovery The Discovery message carried by a dedicated radio bearer is mapped to a Discovery dedicated logical channel, and is identified by a Discovery dedicated logical channel identifier, and the Discovery message identified by the Discovery dedicated logical channel is transmitted through the D2D shared transport channel, and the Discovery dedicated logical channel The radio bearer corresponds to the Discovery dedicated logical channel, and the Discovery dedicated logical channel corresponds to the Discovery dedicated logical channel identifier.

比如,建立模块1210在分组数据汇聚协议层增加Discovery专用无线承载,建立ProSe协议层到所述Discovery专用无线承载的映射关系,其中,所述Discovery专用无线承载用于承载Discovery消息,所述Discovery专用无线承载承载的所述Discovery消息映射到Discovery专用逻辑信道,并通过Discovery专用逻辑信道标识进行标识,所述Discovery专用逻辑信道标识的Discovery消息通过所述D2D共享传输信道进行传输,所述Discovery专用无线承载与所述Discovery专用逻辑信道对应,所述Discovery专用逻辑信道与Discovery专用逻辑信道标识对应。For example, the establishment module 1210 adds a Discovery-dedicated radio bearer at the packet data convergence protocol layer, and establishes a mapping relationship from the ProSe protocol layer to the Discovery-dedicated radio bearer, wherein the Discovery-dedicated radio bearer is used to bear Discovery messages, and the Discovery-dedicated The Discovery message carried by the radio bearer is mapped to a Discovery dedicated logical channel, and is identified by a Discovery dedicated logical channel identifier, and the Discovery message identified by the Discovery dedicated logical channel is transmitted through the D2D shared transport channel, and the Discovery dedicated wireless The bearer corresponds to the Discovery dedicated logical channel, and the Discovery dedicated logical channel corresponds to the Discovery dedicated logical channel identifier.

建立模块1210具体用于在媒体接入控制协议层建立ProSe协议层到D2D共享传输信道的映射关系。比如,建立模块1210在媒体接入控制协议层建立ProSe协议层到D2D共享传输信道的映射关系。The establishment module 1210 is specifically configured to establish a mapping relationship between the ProSe protocol layer and the D2D shared transport channel at the medium access control protocol layer. For example, the establishment module 1210 establishes a mapping relationship between the ProSe protocol layer and the D2D shared transport channel at the medium access control protocol layer.

建立模块1210在建立ProSe协议层到D2D共享传输信道的映射关系之后,向确定模块1220发送通知信息。The establishing module 1210 sends notification information to the determining module 1220 after establishing the mapping relationship between the ProSe protocol layer and the D2D shared transport channel.

确定模块1220用于接收确定模块1220发送的通知信息,确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。比如,确定模块1220确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值。确定模块1220将确定结果发送给映射模块1230。The determining module 1220 is configured to receive the notification information sent by the determining module 1220, and determine whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold. For example, the determining module 1220 determines whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold. The determination module 1220 sends the determination result to the mapping module 1230 .

映射模块1230具体用于接收确定模块1220发送的确定结果,当确定模块1220确定所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息传递到所述分组数据汇聚协议层,将所述第一Discovery消息映射到所述Discovery专用无线承载,以及将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息;The mapping module 1230 is specifically configured to receive the determination result sent by the determination module 1220, and when the determination module 1220 determines that the number of bits of the first Discovery message is greater than a preset threshold, transfer the first Discovery message to the packet data convergence protocol layer, mapping the first Discovery message to the Discovery dedicated radio bearer, and mapping the first Discovery message to the D2D shared transport channel, and adding a Discovery dedicated logical channel identifier to the first Discovery message, Wherein, the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transmission channel;

或映射模块1230具体用于当确定模块1220确定所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息传递到媒体接入控制协议层,将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息。Or the mapping module 1230 is specifically configured to transfer the first Discovery message to the media access control protocol layer when the determining module 1220 determines that the number of bits of the first Discovery message is greater than a preset threshold, and transfer the first Discovery message to the media access control protocol layer. Mapping to the D2D shared transport channel, and adding a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transport channel.

比如,映射模块1230接收确定模块1220发送的确定结果,当确定模块1220确定所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息传递到所述分组数据汇聚协议层,将所述第一Discovery消息映射到所述Discovery专用无线承载,以及将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息;For example, the mapping module 1230 receives the determination result sent by the determination module 1220, and when the determination module 1220 determines that the number of bits of the first Discovery message is greater than a preset threshold, transfers the first Discovery message to the packet data convergence protocol layer , mapping the first Discovery message to the Discovery dedicated radio bearer, and mapping the first Discovery message to the D2D shared transport channel, and adding a Discovery dedicated logical channel identifier to the first Discovery message, wherein , the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transmission channel;

或当确定模块1220确定所述第一Discovery消息的比特数大于预设阈值时,映射模块1230将所述第一Discovery消息传递到媒体接入控制协议层,并将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息。Or when the determining module 1220 determines that the number of bits of the first Discovery message is greater than the preset threshold, the mapping module 1230 transfers the first Discovery message to the medium access control protocol layer, and maps the first Discovery message to The D2D shared transport channel, and adding a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transport channel.

映射模块1230还用于当确定模块1220确定所述第一discovery消息的比特数小于等于所述预设阈值时,将所述第一Discovery消息映射到D2D Discovery传输信道。The mapping module 1230 is further configured to map the first Discovery message to D2D when the determining module 1220 determines that the number of bits of the first Discovery message is less than or equal to the preset threshold Discovery transport channel.

比如,当确定模块1220确定所述第一discovery消息的比特数小于等于所述预设阈值时,映射模块1230将所述第一Discovery消息映射到D2D Discovery传输信道。映射模块1230完成映射后向控制模块1240发送通知信息。For example, when the determination module 1220 determines that the number of bits of the first discovery message is less than or equal to the preset threshold, the mapping module 1230 maps the first discovery message to the D2D Discovery transport channel. After the mapping module 1230 completes the mapping, it sends notification information to the control module 1240 .

控制模块1240用于接收映射模块1230发送的通知信息,将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,并在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息,其中,所述标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,所述Discovery消息为所述Discovery专用无线承载承载的Discovery消息或从所述ProSe协议层传递到所述媒体接入控制协议层的Discovery消息。The control module 1240 is configured to receive the notification information sent by the mapping module 1230, transfer the first Discovery message to the physical layer through the D2D shared transport channel, and set A flag bit, for transmitting the first Discovery message through the transmission resource of the D2D communication data, wherein the flag bit is used to indicate whether the transmission resource of the D2D communication data carries a Discovery message, and the Discovery message is the Discovery dedicated radio bearer The Discovery message carried or the Discovery message transmitted from the ProSe protocol layer to the Media Access Control protocol layer.

比如,控制模块1240接收映射模块1230发送的通知信息,将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,并在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息,其中,所述标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,所述第一Discovery消息为所述Discovery专用无线承载承载的Discovery消息或从所述ProSe协议层传递到所述媒体接入控制协议层的Discovery消息。For example, the control module 1240 receives the notification information sent by the mapping module 1230, transmits the first Discovery message to the physical layer through the D2D shared transport channel, and sets in the D2D link control information corresponding to the first Discovery message A flag bit, for transmitting the first Discovery message through the transmission resource of D2D communication data, wherein the flag bit is used to indicate whether the transmission resource of D2D communication data carries a Discovery message, and the first Discovery message is dedicated to the Discovery The Discovery message carried by the radio bearer or the Discovery message transmitted from the ProSe protocol layer to the MAC protocol layer.

控制模块1240具体用于将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,根据调度信息或可用的传输资源确定所述第一Discovery消息对应的D2D链路控制信息,在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过所述D2D链路控制信息指示的传输资源传输所述第一Discovery消息;其中,所述第一Discovery消息对应的D2D链路控制信息用于指示承载所述第一Discovery消息的传输资源信息。The control module 1240 is specifically configured to transmit the first Discovery message to the physical layer through the D2D shared transmission channel, determine the D2D link control information corresponding to the first Discovery message according to scheduling information or available transmission resources, and in the Set a flag bit in the D2D link control information corresponding to the first Discovery message, and transmit the first Discovery message through the transmission resources indicated by the D2D link control information; wherein, the D2D link corresponding to the first Discovery message The control information is used to indicate transmission resource information bearing the first Discovery message.

其中,控制模块1240确定的D2D链路控制信息指示承载所述第一Discovery消息的传输资源信息以及D2D通信数据共同的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源同时承载所述第一Discovery消息与D2D通信数据,所述第一Discovery消息与D2D通信数据通过逻辑信道标识进行区分。Wherein, the D2D link control information determined by the control module 1240 indicates the transmission resource information carrying the transmission resource information of the first Discovery message and the common D2D communication data transmission resource information of the D2D communication data, and the transmission resource of the D2D communication data simultaneously carries the The first Discovery message and the D2D communication data are distinguished by a logical channel identifier.

其中,控制模块1240确定的所述D2D链路控制信息指示承载所述第一Discovery消息的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源只承载第一Discovery消息,其中,所述第一Discovery消息和D2D通信数据通过不同的传输资源进行区分。Wherein, the D2D link control information determined by the control module 1240 indicates the transmission resource information of the D2D communication data carrying the first Discovery message, and the transmission resource of the D2D communication data only carries the first Discovery message, wherein the The first Discovery message and the D2D communication data are distinguished by different transmission resources.

比如,控制模块1240将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,根据调度信息或可用的传输资源确定所述第一Discovery消息对应的D2D链路控制信息,在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过所述D2D链路控制信息指示的传输资源传输所述第一Discovery消息;其中,所述第一Discovery消息对应的D2D链路控制信息用于指示承载所述第一Discovery消息的传输资源信息。For example, the control module 1240 transmits the first Discovery message to the physical layer through the D2D shared transmission channel, determines the D2D link control information corresponding to the first Discovery message according to scheduling information or available transmission resources, and in the A flag bit is set in the D2D link control information corresponding to the first Discovery message, and the first Discovery message is transmitted through the transmission resources indicated by the D2D link control information; wherein, the D2D link control information corresponding to the first Discovery message The information is used to indicate transmission resource information bearing the first Discovery message.

其中,控制模块1240确定的D2D链路控制信息指示承载所述第一Discovery消息的传输资源信息以及D2D通信数据共同的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源同时承载所述第一Discovery消息与D2D通信数据,所述第一Discovery消息与D2D通信数据通过逻辑信道标识进行区分。Wherein, the D2D link control information determined by the control module 1240 indicates the transmission resource information carrying the transmission resource information of the first Discovery message and the common D2D communication data transmission resource information of the D2D communication data, and the transmission resource of the D2D communication data simultaneously carries the The first Discovery message and the D2D communication data are distinguished by a logical channel identifier.

其中,控制模块1240确定的所述D2D链路控制信息指示承载所述第一Discovery消息的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源只承载第一Discovery消息,其中,所述第一Discovery消息和D2D通信数据通过不同的传输资源进行区分。Wherein, the D2D link control information determined by the control module 1240 indicates the transmission resource information of the D2D communication data carrying the first Discovery message, and the transmission resource of the D2D communication data only carries the first Discovery message, wherein the The first Discovery message and the D2D communication data are distinguished by different transmission resources.

接收模块1250用于接收其他终端设备发送的第二Discovery消息。比如,接收模块1250接收其他终端设备发送的第二Discovery消息。接收模块1250将接收到的第二Discovery消息向确定模块1220发送。The receiving module 1250 is configured to receive the second Discovery message sent by other terminal devices. For example, the receiving module 1250 receives the second Discovery message sent by other terminal devices. The receiving module 1250 sends the received second Discovery message to the determining module 1220 .

确定模块1220还用于接收接收模块1250发送的第二Discovery消息,确定接收模块1250接收的所述第二Discovery消息是否包含所述Discovery专用逻辑信道标识和/或所述标志位的值是否为预设值,以确定所述第二Discovery消息是否来自D2D共享传输信道。确定模块1220将确定结果向映射模块1230发送。The determining module 1220 is further configured to receive the second Discovery message sent by the receiving module 1250, and determine whether the second Discovery message received by the receiving module 1250 includes the Discovery dedicated logical channel identifier and/or whether the value of the flag bit is a preset value. Set a value to determine whether the second Discovery message is from a D2D shared transport channel. The determination module 1220 sends the determination result to the mapping module 1230 .

映射模块1230用于当确定模块1220确定所述第二Discovery消息来自D2D共享传输信道时,根据传输所述第一Discovery的机制对所述第二Discovery消息进行处理。The mapping module 1230 is configured to process the second Discovery message according to the mechanism for transmitting the first Discovery when the determining module 1220 determines that the second Discovery message is from the D2D shared transmission channel.

上述方案,数据传输装置通过建立ProSe协议层到D2D共享传输信道的映射关系,当终端设备确定ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,将第一Discovery消息映射到D2D共享传输信道,否则,将第一Discovery消息映射到D2DDiscovery传输信道;能够灵活传输不同比特数的Discovery消息,提高数据传输的有效性,防止因Discovery消息的比特数大于固定比特数而导致丢包的情况。In the above scheme, the data transmission device establishes a mapping relationship from the ProSe protocol layer to the D2D shared transmission channel, and when the terminal device determines that the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than the preset threshold, the first Discovery message is mapped to the D2D Shared transmission channel, otherwise, map the first Discovery message to the D2D Discovery transmission channel; can flexibly transmit Discovery messages with different numbers of bits, improve the effectiveness of data transmission, and prevent packet loss caused by the number of bits of the Discovery message being greater than the fixed number of bits Condition.

参阅图13,图13是本申请终端设备一实施方式的结构示意图。终端设备可以是手机等移动终端设备。本实施例的终端设备包括:接收器1310、处理器1320、发送器1330、只读存储器1340、随机存取存储器1350以及总线1360。Referring to FIG. 13 , FIG. 13 is a schematic structural diagram of an embodiment of a terminal device according to the present application. The terminal device may be a mobile terminal device such as a mobile phone. The terminal device in this embodiment includes: a receiver 1310 , a processor 1320 , a transmitter 1330 , a read only memory 1340 , a random access memory 1350 and a bus 1360 .

接收器1310用于接收信息。Receiver 1310 is used to receive information.

处理器1320控制终端设备的操作,处理器1320还可以称为CPU(Central Processing Unit,中央处理单元)。处理器1320可能是一种集成电路芯片,具有信号的处理能力。处理器1320还可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 1320 controls the operation of the terminal device, and the processor 1320 may also be called a CPU (Central Processing Unit, central processing unit). The processor 1320 may be an integrated circuit chip with signal processing capabilities. The processor 1320 can also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components . A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

发送器1330用于发送信息。The transmitter 1330 is used to send information.

存储器可以包括只读存储器1340和随机存取存储器1350,并向处理器1320提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器(NVRAM)。Memories may include read only memory 1340 and random access memory 1350 , and provide instructions and data to processor 1320 . A portion of the memory may also include non-volatile random access memory (NVRAM).

终端设备的各个组件通过总线1360耦合在一起,其中总线1360除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线1360。Various components of the terminal device are coupled together through a bus 1360, wherein the bus 1360 may include a power bus, a control bus, and a status signal bus, etc. in addition to a data bus. However, for clarity of illustration, the various buses are labeled as bus 1360 in the figure.

存储器存储了如下的元素,可执行模块或者数据结构,或者它们的子集,或者它们的扩展集:The memory stores the following elements, executable modules or data structures, or subsets thereof, or extensions thereof:

操作指令:包括各种操作指令,用于实现各种操作。Operation instructions: include various operation instructions for realizing various operations.

操作系统:包括各种系统程序,用于实现各种基础业务以及处理基于硬件的任务。Operating system: includes various system programs for implementing various basic services and processing hardware-based tasks.

在本发明实施例中,处理器1320通过调用存储器存储的操作指令(该操作指令可存储在操作系统中),执行如下操作:In the embodiment of the present invention, the processor 1320 performs the following operations by calling the operation instruction stored in the memory (the operation instruction can be stored in the operating system):

处理器1320用于建立设备到设备临近服务D2D ProSe协议层到D2D共享传输信道的映射关系;The processor 1320 is configured to establish a mapping relationship between the device-to-device proximity service D2D ProSe protocol layer and the D2D shared transmission channel;

处理器1320用于确定所述ProSe协议层生成的第一Discovery消息的比特数是否大于预设阈值;以及用于当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息映射到所述D2D共享传输信道,通过所述D2D共享传输信道传输所述第一Discovery消息;或者,当所述第一discovery消息的比特数小于等于所述预设阈值时,将所述第一Discovery消息映射到D2D Discovery传输信道。The processor 1320 is configured to determine whether the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than a preset threshold; The Discovery message is mapped to the D2D shared transmission channel, and the first Discovery message is transmitted through the D2D shared transmission channel; or, when the number of bits of the first discovery message is less than or equal to the preset threshold, the The first Discovery message is mapped to D2D Discovery transport channel.

可选地,处理器1320具体用于在分组数据汇聚协议层增加Discovery专用无线承载,建立ProSe协议层到所述Discovery专用无线承载的映射关系,其中,所述Discovery专用无线承载用于承载Discovery消息,所述Discovery专用无线承载承载的所述Discovery消息映射到Discovery专用逻辑信道,并通过Discovery专用逻辑信道标识进行标识,所述Discovery专用逻辑信道标识的Discovery消息通过所述D2D共享传输信道进行传输,所述Discovery专用无线承载与所述Discovery专用逻辑信道对应,所述Discovery专用逻辑信道与Discovery专用逻辑信道标识对应。Optionally, the processor 1320 is specifically configured to add a Discovery dedicated radio bearer at the packet data convergence protocol layer, and establish a mapping relationship from the ProSe protocol layer to the Discovery dedicated radio bearer, where the Discovery dedicated radio bearer is used to bear the Discovery message The Discovery message carried by the Discovery-dedicated radio bearer is mapped to a Discovery-dedicated logical channel, and is identified by a Discovery-dedicated logical channel identifier, and the Discovery message identified by the Discovery-dedicated logical channel is transmitted through the D2D shared transport channel, The Discovery dedicated radio bearer corresponds to the Discovery dedicated logical channel, and the Discovery dedicated logical channel corresponds to the Discovery dedicated logical channel identifier.

可选地,处理器1320具体用于在媒体接入控制协议层建立ProSe协议层到D2D共享传输信道的映射关系。Optionally, the processor 1320 is specifically configured to establish a mapping relationship between the ProSe protocol layer and the D2D shared transport channel at the medium access control protocol layer.

可选地,处理器1320具体用于当所述第一Discovery消息的比特数大于预设阈值时,将所述第一Discovery消息传递到所述分组数据汇聚协议层,将所述第一Discovery消息映射到所述Discovery专用无线承载;或将所述第一Discovery消息传递到媒体接入控制协议层;Optionally, the processor 1320 is specifically configured to, when the number of bits of the first Discovery message is greater than a preset threshold, transfer the first Discovery message to the packet data convergence protocol layer, and transfer the first Discovery message to the packet data convergence protocol layer. Mapping to the Discovery dedicated radio bearer; or passing the first Discovery message to the medium access control protocol layer;

处理器1320还具体用于将所述第一Discovery消息映射到所述D2D共享传输信道,并对所述第一Discovery消息添加Discovery专用逻辑信道标识,其中,所述Discovery专用逻辑信道标识用于标识通过所述D2D共享传输信道传输的Discovery消息。The processor 1320 is also specifically configured to map the first Discovery message to the D2D shared transport channel, and add a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify A Discovery message transmitted through the D2D shared transmission channel.

可选地,处理器1320还用于将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,并在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过D2D通信数据的传输资源传输所述第一Discovery消息,其中,所述标志位用于指示D2D通信数据的传输资源是否承载有Discovery消息,所述第一Discovery消息为所述Discovery专用无线承载承载的Discovery消息或从所述ProSe协议层传递到所述媒体接入控制协议层的Discovery消息。Optionally, the processor 1320 is further configured to transmit the first Discovery message to the physical layer through the D2D shared transport channel, and set a flag bit in the D2D link control information corresponding to the first Discovery message, by The transmission resource of the D2D communication data transmits the first Discovery message, wherein the flag bit is used to indicate whether the transmission resource of the D2D communication data carries a Discovery message, and the first Discovery message is carried by the Discovery dedicated radio bearer A Discovery message or a Discovery message delivered from the ProSe protocol layer to the MAC protocol layer.

可选地,处理器1320还具体用于将所述第一Discovery消息通过所述D2D共享传输信道传递到物理层,根据调度信息或可用的传输资源确定所述第一Discovery消息对应的D2D链路控制信息,在所述第一Discovery消息对应的D2D链路控制信息中设置标志位,通过所述D2D链路控制信息指示的传输资源传输所述第一Discovery消息;其中,所述第一Discovery消息对应的D2D链路控制信息用于指示承载所述第一Discovery消息的传输资源信息。Optionally, the processor 1320 is further specifically configured to transmit the first Discovery message to the physical layer through the D2D shared transmission channel, and determine the D2D link corresponding to the first Discovery message according to scheduling information or available transmission resources. Control information, setting a flag bit in the D2D link control information corresponding to the first Discovery message, and transmitting the first Discovery message through the transmission resource indicated by the D2D link control information; wherein, the first Discovery message The corresponding D2D link control information is used to indicate the transmission resource information bearing the first Discovery message.

可选地,处理器1320确定的D2D链路控制信息指示承载所述第一Discovery消息的传输资源信息以及D2D通信数据共同的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源同时承载所述第一Discovery消息与D2D通信数据,所述第一Discovery消息与D2D通信数据通过逻辑信道标识进行区分。Optionally, the D2D link control information determined by the processor 1320 indicates the transmission resource information carrying the transmission resource information of the first Discovery message and the transmission resource information of D2D communication data common to the D2D communication data, and the transmission resources of the D2D communication data simultaneously carry The first Discovery message is distinguished from the D2D communication data by using a logical channel identifier.

可选地,处理器1320确定的所述D2D链路控制信息指示承载所述第一Discovery消息的D2D通信数据的传输资源信息,所述D2D通信数据的传输资源只承载第一Discovery消息,其中,所述第一Discovery消息和D2D通信数据通过不同的传输资源进行区分。Optionally, the D2D link control information determined by the processor 1320 indicates transmission resource information of the D2D communication data carrying the first Discovery message, and the transmission resource of the D2D communication data only carries the first Discovery message, wherein, The first Discovery message and D2D communication data are distinguished by different transmission resources.

可选地,处理器1320还用于控制接收器1310接收其他终端设备发送的第二Discovery消息;Optionally, the processor 1320 is further configured to control the receiver 1310 to receive a second Discovery message sent by other terminal devices;

处理器1320还用于确定所述第二Discovery消息是否包含所述Discovery专用逻辑信道标识和/或所述标志位的值是否为预设值,以确定所述第二Discovery消息是否来自D2D共享传输信道;The processor 1320 is further configured to determine whether the second Discovery message includes the Discovery dedicated logical channel identifier and/or whether the value of the flag bit is a preset value, so as to determine whether the second Discovery message comes from a D2D shared transmission channel;

处理器1320还用于当所述第二Discovery消息来自D2D共享传输信道时,所述终端设备根据传输所述第一Discovery的机制对所述第二Discovery消息进行处理。The processor 1320 is further configured to, when the second Discovery message comes from a D2D shared transmission channel, the terminal device processes the second Discovery message according to the mechanism for transmitting the first Discovery.

上述方案,终端设备通过建立ProSe协议层到D2D共享传输信道的映射关系,当终端设备确定ProSe协议层生成的第一Discovery消息的比特数大于预设阈值时,将第一Discovery消息映射到D2D共享传输信道,否则,将第一Discovery消息映射到D2DDiscovery传输信道;能够灵活传输不同比特数的Discovery消息,提高数据传输的有效性,防止因Discovery消息的比特数大于固定比特数而导致丢包的情况。In the above solution, the terminal device establishes a mapping relationship from the ProSe protocol layer to the D2D shared transmission channel, and when the terminal device determines that the number of bits of the first Discovery message generated by the ProSe protocol layer is greater than the preset threshold, the first Discovery message is mapped to the D2D shared transmission channel. Transmission channel, otherwise, map the first Discovery message to the D2D Discovery transmission channel; it can flexibly transmit Discovery messages with different numbers of bits, improve the effectiveness of data transmission, and prevent packet loss caused by the number of bits in the Discovery message being greater than the fixed number of bits .

以上描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本申请。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施方式中也可以实现本申请。在其它情况中,省略对众所周知的装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the above description, specific details, such as specific system architectures, interfaces and techniques, are set forth for purposes of illustration rather than limitation, in order to provide a thorough understanding of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

Claims (27)

  1. A method of data transmission, the method comprising:
    the terminal equipment establishes a mapping relation from a device-to-device proximity service (D2D) ProSe protocol layer to a D2D shared transmission channel;
    the terminal equipment determines whether the bit number of a first Discovery message generated by the ProSe protocol layer is greater than a preset threshold value;
    when the bit number of the first Discovery message is greater than a preset threshold value, mapping the first Discovery message to the D2D shared transmission channel, and transmitting the first Discovery message through the D2D shared transmission channel; or
    And when the bit number of the first Discovery message is less than or equal to the preset threshold, mapping the first Discovery message to a D2DDiscovery transmission channel.
  2. The method according to claim 1, wherein the step of the terminal device establishing the mapping relationship of the ProSe protocol layer to the D2D shared transport channel comprises:
    the terminal equipment adds a Discovery special radio bearer on a packet data convergence protocol layer, establishes a mapping relation from a ProSe protocol layer to the Discovery special radio bearer, wherein the Discovery special radio bearer is used for bearing Discovery messages, the Discovery messages borne by the Discovery special radio bearer are mapped to a Discovery special logic channel and are identified through a Discovery special logic channel identifier, the Discovery messages of the Discovery special logic channel identifier are transmitted through a D2D shared transmission channel, the Discovery special radio bearer corresponds to the Discovery special logic channel, and the Discovery special logic channel corresponds to the Discovery special logic channel identifier.
  3. The method according to claim 1, wherein the step of the terminal device establishing the mapping relationship of the ProSe protocol layer to the D2D service logical channel comprises:
    the terminal device establishes a mapping relation from a ProSe protocol layer to a D2D shared transmission channel on a media access control protocol layer.
  4. The method according to claim 2 or 3, wherein when the number of bits of the first Discovery message is greater than a preset threshold, mapping the first Discovery message to the D2D shared transmission channel, and the step of transmitting the first Discovery message through the D2D shared transmission channel comprises:
    when the bit number of the first Discovery message is greater than a preset threshold, the terminal device transmits the first Discovery message to the packet data convergence protocol layer, and maps the first Discovery message to the Discovery dedicated radio bearer; or passing the first Discovery message to a media access control protocol layer;
    the terminal device maps the first Discovery message to the D2D shared transmission channel, and adds a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transmission channel.
  5. The method of claim 1 or 4, wherein after the step of mapping the first Discovery message to the D2D shared transport channel, the method further comprises:
    the terminal device transmits the first Discovery message to a physical layer through the D2D shared transmission channel, sets a flag bit in D2D link control information corresponding to the first Discovery message, and transmits the first Discovery message through a transmission resource of D2D communication data, where the flag bit is used to indicate whether the transmission resource of the D2D communication data carries a Discovery message, and the Discovery message is a Discovery message carried by the first Discovery dedicated radio bearer or a Discovery message transmitted from the ProSe protocol layer to the mac protocol layer.
  6. The method of claim 5, wherein a flag bit is set in the D2D link control information corresponding to the first Discovery message, and wherein transmitting the first Discovery message over the transmission resource of D2D communication data comprises:
    the terminal device determines, according to scheduling information or available transmission resources, D2D link control information corresponding to the first data packet, where the D2D link control information corresponding to the first Discovery message is used to indicate transmission resource information carrying the first Discovery message;
    and the terminal equipment sets a flag bit in the D2D link control information corresponding to the first Discovery message, and transmits the first Discovery message through the transmission resource indicated by the D2D link control information.
  7. The method of claim 5, wherein the D2D link control information indicates transmission resource information for carrying the first Discovery message and transmission resource information for D2D communication data common to D2D communication data, wherein the transmission resource for the D2D communication data simultaneously carries the first Discovery message and the D2D communication data, and wherein the first Discovery message is distinguished from the D2D communication data by a logical channel identifier.
  8. The method of claim 5, wherein the D2D link control information indicates transmission resource information of D2D communication data carrying the first Discovery message, wherein the transmission resource of the D2D communication data carries only the first Discovery message, and wherein the first Discovery message and the D2D communication data are distinguished by different transmission resources.
  9. The method according to claim 4 or 5, characterized in that the method further comprises:
    the terminal equipment receives second Discovery messages sent by other terminal equipment;
    the terminal device determines whether the second Discovery message contains the Discovery dedicated logical channel identifier and/or whether the value of the flag bit is a preset value, so as to determine whether the second Discovery message comes from a D2D shared transmission channel;
    and when the second Discovery message comes from a D2D shared transmission channel, the terminal device processes the second Discovery message according to a mechanism for transmitting the first Discovery.
  10. A data transmission apparatus, characterized in that the apparatus comprises: the device comprises an establishing module, a determining module and a mapping module;
    the establishing module is used for establishing a mapping relation from a device-to-device proximity service (D2D) ProSe protocol layer to a D2D shared transmission channel;
    the determining module is configured to determine whether a bit number of a first Discovery message generated by the ProSe protocol layer is greater than a preset threshold after the establishing module establishes a mapping relationship from the D2 dpross protocol layer to the D2D shared transmission channel;
    the mapping module is configured to map the first Discovery message to the D2D shared transmission channel and transmit the first Discovery message through the D2D shared transmission channel when the determining module determines that the number of bits of the first Discovery message is greater than a preset threshold; or when the determining module determines that the bit number of the first Discovery message is less than or equal to the preset threshold, mapping the first Discovery message to a D2 ddidiscovery transmission channel.
  11. The apparatus of claim 10, wherein the establishing module is specifically configured to add a Discovery dedicated radio bearer in a packet data convergence protocol layer, and establish a mapping relationship between a ProSe protocol layer and the Discovery dedicated radio bearer, where the Discovery dedicated radio bearer is used to carry a Discovery message, the Discovery message of the Discovery dedicated radio bearer is mapped to a Discovery dedicated logical channel and identified by a Discovery dedicated logical channel identifier, the Discovery message of the Discovery dedicated logical channel identifier is transmitted through the D2D shared transport channel, the Discovery dedicated radio bearer corresponds to the Discovery dedicated logical channel, and the Discovery dedicated logical channel corresponds to the Discovery dedicated logical channel identifier.
  12. The apparatus according to claim 10, wherein the establishing module is specifically configured to establish a mapping relationship from a ProSe protocol layer to a D2D shared transport channel at a medium access control protocol layer.
  13. The apparatus according to claim 11 or 12, wherein the mapping module is specifically configured to, when the determining module determines that the number of bits of the first Discovery message is greater than a preset threshold, pass the first Discovery message to the packet data convergence protocol layer, map the first Discovery message to the Discovery dedicated radio bearer, and map the first Discovery message to the D2D shared transport channel, and add a Discovery dedicated logical channel identifier to the first Discovery message, wherein the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transport channel; or
    The mapping module is specifically configured to, when the determining module determines that the number of bits of the first Discovery message is greater than a preset threshold, transfer the first Discovery message to a media access control protocol layer, map the first Discovery message to the D2D shared transmission channel, and add a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transmission channel.
  14. The apparatus according to claim 10 or 13, wherein the apparatus further comprises a control module, the control module is configured to deliver the first Discovery message to a physical layer through the D2D shared transmission channel, set a flag bit in D2D link control information corresponding to the first Discovery message, and transmit the first Discovery message through a transmission resource of D2D communication data, wherein the flag bit is used to indicate whether the transmission resource of the D2D communication data carries a Discovery message, and the first Discovery message is a Discovery message carried by the Discovery dedicated radio bearer or a Discovery message delivered from the ProSe protocol layer to the media access control protocol layer.
  15. The apparatus of claim 14, wherein the control module is specifically configured to deliver the first Discovery message to a physical layer through the D2D shared transmission channel, determine D2D link control information corresponding to the first Discovery message according to scheduling information or available transmission resources, set a flag bit in the D2D link control information corresponding to the first Discovery message, and transmit the first Discovery message through the transmission resources indicated by the D2D link control information; wherein the link control information of D2D corresponding to the first Discovery message is used to indicate transmission resource information carrying the first Discovery message.
  16. The apparatus of claim 14, wherein the D2D link control information determined by the control module indicates transmission resource information carrying the first Discovery message and transmission resource information of D2D communication data common to D2D communication data, wherein the transmission resource of the D2D communication data simultaneously carries the first Discovery message and D2D communication data, and wherein the first Discovery message is distinguished from the D2D communication data by logical channel identification.
  17. The apparatus of claim 14, wherein the D2D link control information determined by the control module indicates transmission resource information for D2D communication data carrying the first Discovery message, wherein the transmission resource for D2D communication data carries only the first Discovery message, and wherein the first Discovery message and D2D communication data are distinguished by different transmission resources.
  18. The method of claim 13 or 14, wherein the apparatus further comprises a receiving module; the receiving module is used for receiving a second Discovery message sent by other terminal equipment;
    the determining module is further configured to determine whether the second Discovery message received by the receiving module includes the Discovery dedicated logical channel identifier and/or whether the value of the flag is a preset value, so as to determine whether the second Discovery message comes from a D2D shared transmission channel;
    the mapping module is further configured to, when the determining module determines that the second Discovery message comes from a D2D shared transmission channel, process the second Discovery message according to a mechanism for transmitting the first Discovery.
  19. A terminal device, characterized in that the terminal device comprises a memory and a processor; the memory is used for storing data;
    the processor is configured to establish a mapping relationship from a device-to-device proximity services D2D ProSe protocol layer to a D2D shared transport channel;
    the processor is configured to determine whether a bit number of a first Discovery message generated by the ProSe protocol layer is greater than a preset threshold; and when the bit number of the first Discovery message is greater than a preset threshold, mapping the first Discovery message to the D2D shared transmission channel, and transmitting the first Discovery message through the D2D shared transmission channel; or, when the bit number of the first Discovery message is less than or equal to the preset threshold, mapping the first Discovery message to a D2 ddidiscovery transmission channel.
  20. The terminal device of claim 19, wherein the processor is specifically configured to add a Discovery dedicated radio bearer in a packet data convergence protocol layer, and establish a mapping relationship between a ProSe protocol layer and the Discovery dedicated radio bearer, where the Discovery dedicated radio bearer is used to carry a Discovery message, the Discovery message of the Discovery dedicated radio bearer is mapped to a Discovery dedicated logical channel and identified by a Discovery dedicated logical channel identifier, the Discovery message of the Discovery dedicated logical channel identifier is transmitted through the D2D shared transport channel, the Discovery dedicated radio bearer corresponds to the Discovery dedicated logical channel, and the Discovery dedicated logical channel corresponds to the Discovery dedicated logical channel identifier.
  21. The terminal device according to claim 19, wherein the processor is specifically configured to establish a mapping relationship of a ProSe protocol layer to a D2D shared transport channel at a medium access control protocol layer.
  22. The terminal device of claim 20 or 21, wherein the processor is configured to pass the first Discovery message to the packet data convergence protocol layer, map the first Discovery message to the Discovery dedicated radio bearer, and map the first Discovery message to the D2D shared transport channel when the number of bits of the first Discovery message is greater than a preset threshold, and add a Discovery dedicated logical channel identifier to the first Discovery message, wherein the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transport channel;
    or the processor is specifically configured to, when the number of bits of the first Discovery message is greater than a preset threshold, deliver the first Discovery message to a media access control protocol layer, map the first Discovery message to the D2D shared transmission channel, and add a Discovery dedicated logical channel identifier to the first Discovery message, where the Discovery dedicated logical channel identifier is used to identify the Discovery message transmitted through the D2D shared transmission channel.
  23. The terminal device according to claim 19 or 22, wherein the processor is further configured to deliver the first Discovery message to a physical layer through the D2D shared transmission channel, set a flag bit in D2D link control information corresponding to the first Discovery message, and transmit the first Discovery message through a transmission resource of D2D communication data, wherein the flag bit is used to indicate whether the transmission resource of the D2D communication data carries the Discovery message, and the first Discovery message is a Discovery message carried by the Discovery dedicated radio bearer or a Discovery message delivered from the ProSe protocol layer to the media access control protocol layer.
  24. The terminal device of claim 23, wherein the processor is further specifically configured to deliver the first Discovery message to a physical layer through the D2D shared transmission channel, determine D2D link control information corresponding to the first Discovery message according to scheduling information or available transmission resources, set a flag bit in the D2D link control information corresponding to the first Discovery message, and transmit the first Discovery message through the transmission resources indicated by the D2D link control information; wherein the link control information of D2D corresponding to the first Discovery message is used to indicate transmission resource information carrying the first Discovery message.
  25. The terminal device of claim 23, wherein the processor-determined D2D link control information indicates transmission resource information carrying the first Discovery message and transmission resource information of D2D communication data common to D2D communication data, wherein the transmission resource of the D2D communication data simultaneously carries the first Discovery message and D2D communication data, and wherein the first Discovery message is distinguished from D2D communication data by logical channel identification.
  26. The terminal device of claim 23, wherein the D2D link control information determined by the processor indicates transmission resource information for D2D communication data carrying the first Discovery message, wherein the transmission resource for D2D communication data carries only the first Discovery message, and wherein the first Discovery message and D2D communication data are distinguished by different transmission resources.
  27. A terminal device according to claim 22 or 23, characterized in that the terminal device further comprises a receiver; the receiver is used for receiving a second Discovery message sent by other terminal equipment;
    the processor is configured to determine whether the second Discovery message includes the Discovery dedicated logical channel identifier and/or whether the value of the flag is a preset value, so as to determine whether the second Discovery message comes from a D2D shared transmission channel;
    the processor is configured to, when the second Discovery message comes from a D2D shared transmission channel, process, by the terminal device, the second Discovery message according to a mechanism for transmitting the first Discovery.
CN201580074040.3A 2015-09-21 2015-09-21 A data transmission method and device Active CN107211404B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/090126 WO2017049432A1 (en) 2015-09-21 2015-09-21 Data transmission method and apparatus

Publications (2)

Publication Number Publication Date
CN107211404A true CN107211404A (en) 2017-09-26
CN107211404B CN107211404B (en) 2020-04-28

Family

ID=58385502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580074040.3A Active CN107211404B (en) 2015-09-21 2015-09-21 A data transmission method and device

Country Status (2)

Country Link
CN (1) CN107211404B (en)
WO (1) WO2017049432A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432348A (en) * 2019-01-09 2020-07-17 中国信息通信研究院 A method, device and system for scrambling data channel of terminal direct unicast communication
US20200322962A1 (en) * 2019-04-02 2020-10-08 Google Llc User Equipment Coordination for Interference Cancelation
CN116321489A (en) * 2020-07-29 2023-06-23 Oppo广东移动通信有限公司 Relay discovery method and terminal
US12136967B2 (en) 2018-12-28 2024-11-05 Google Llc User-equipment-coordination set for a wireless network

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112469023B (en) 2019-09-06 2023-06-06 维沃移动通信有限公司 A message transmission method and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2498575A (en) * 2012-01-20 2013-07-24 Renesas Mobile Corp Device-to-device discovery resource allocation for multiple cells in a device-to-device discovery area
GB2501088A (en) * 2012-04-11 2013-10-16 Renesas Mobile Corp A wireless device transmitting a D2D discovery signal at a power determined by a base station to minimise interference with uplink retransmissions
KR20140042752A (en) * 2012-09-28 2014-04-07 한국전자통신연구원 Method of device to device discovery and apparatus thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9204372B2 (en) * 2012-11-16 2015-12-01 Electronics And Telecommunications Research Institute Method of transmission and reception for device to device discovery and apparatus thereof
CN104469961A (en) * 2013-09-25 2015-03-25 中兴通讯股份有限公司 Device-to-device communication method, device and system
CN104202740B (en) * 2014-05-08 2019-07-19 中兴通讯股份有限公司 Communication data sending method, device and user equipment
CN104768122B (en) * 2015-03-16 2018-08-24 深圳酷派技术有限公司 Data sharing method, device based on the direct-connected communication of terminal and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2498575A (en) * 2012-01-20 2013-07-24 Renesas Mobile Corp Device-to-device discovery resource allocation for multiple cells in a device-to-device discovery area
GB2501088A (en) * 2012-04-11 2013-10-16 Renesas Mobile Corp A wireless device transmitting a D2D discovery signal at a power determined by a base station to minimise interference with uplink retransmissions
KR20140042752A (en) * 2012-09-28 2014-04-07 한국전자통신연구원 Method of device to device discovery and apparatus thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12136967B2 (en) 2018-12-28 2024-11-05 Google Llc User-equipment-coordination set for a wireless network
CN111432348A (en) * 2019-01-09 2020-07-17 中国信息通信研究院 A method, device and system for scrambling data channel of terminal direct unicast communication
CN111432348B (en) * 2019-01-09 2022-02-25 中国信息通信研究院 Scrambling method, device and system for terminal direct-connection unicast communication data channel
US20200322962A1 (en) * 2019-04-02 2020-10-08 Google Llc User Equipment Coordination for Interference Cancelation
US11503610B2 (en) * 2019-04-02 2022-11-15 Google Llc User equipment coordination for interference cancelation
CN116321489A (en) * 2020-07-29 2023-06-23 Oppo广东移动通信有限公司 Relay discovery method and terminal

Also Published As

Publication number Publication date
CN107211404B (en) 2020-04-28
WO2017049432A1 (en) 2017-03-30

Similar Documents

Publication Publication Date Title
WO2019194592A1 (en) Method for supporting handover and corresponding base station and network node
WO2015002447A1 (en) Apparatus and method for switching between default path and direct path in wireless communication system
WO2020091533A1 (en) Method for transmitting control signaling in relay network, configuration method and device
WO2016006969A1 (en) Inter-menb handover method and device in a small cell system
WO2017119723A1 (en) A method for ue context and ue connection resume
WO2015194890A1 (en) Method and apparatus for establishing user plane bearer
WO2011112000A2 (en) Communication method of a terminal and an access point for power saving
WO2013019035A2 (en) Apparatus and method for supporting handover
WO2020218857A1 (en) Apparatus and method for providing direct communication services in wireless communication system
WO2021194163A1 (en) Upf service-based packet delay status event exposure service method and device
WO2011147358A1 (en) Service control method for machine type communications device, related apparatus and system
WO2017222344A1 (en) Data transmission supporting method and apparatus
CN111095985A (en) Data transmission method, terminal equipment and network equipment
CN107211404A (en) A kind of data transmission method and device
EP2976859A2 (en) Apparatus and method for acquiring synchronization in cooperative communication system
WO2015037909A1 (en) Method and apparatus for providing push service in communication system
CN103891373A (en) Downlink data transmission method, base station and user equipment
WO2014185725A1 (en) Apparatus and method for allocating resources in cooperative communication system
WO2019225996A1 (en) Method and device for transmitting data and storage medium thereof
WO2020085535A1 (en) Mcptt system and method thereof for managing mcptt broadcast call in off-network system
WO2023146357A1 (en) Method, base station, electronic apparatus and storage medium for supporting multicast transmission
WO2014019240A1 (en) Data processing method, base station and ue
WO2021060904A1 (en) Method and device for performing communication in wireless communication system
CN105075336A (en) Transmission device, user plane node, control plane node and data transmission method
WO2012005490A2 (en) System and method for switching mobile station identification in wireless communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant