CN110831060A - Method and equipment for carrying MAC CE of data packet - Google Patents

Method and equipment for carrying MAC CE of data packet Download PDF

Info

Publication number
CN110831060A
CN110831060A CN201810912071.7A CN201810912071A CN110831060A CN 110831060 A CN110831060 A CN 110831060A CN 201810912071 A CN201810912071 A CN 201810912071A CN 110831060 A CN110831060 A CN 110831060A
Authority
CN
China
Prior art keywords
mac
protocol sublayer
data packet
sublayer
sending device
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
CN201810912071.7A
Other languages
Chinese (zh)
Other versions
CN110831060B (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.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication 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 China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810912071.7A priority Critical patent/CN110831060B/en
Publication of CN110831060A publication Critical patent/CN110831060A/en
Application granted granted Critical
Publication of CN110831060B publication Critical patent/CN110831060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0205Traffic management, e.g. flow control or congestion control at the air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Landscapes

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

Abstract

本发明实施例公开了一种承载数据包的MAC CE的方法和设备,用以解决数据传输过程中时延较长,系统开销较大的问题。本发明实施例在进行数据传输时,首先发送设备中的SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送;然后所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MAC PDU;最后所述发送设备中的MAC协议子层将所述MAC PDU通过空口发送。此方法通过所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,使所述MAC CE承载数据包,从而实现在控制信道上发送数据包,更好的节约系统资源,降低了时延及系统开销。

Figure 201810912071

The embodiment of the present invention discloses a method and a device for carrying a MAC CE of a data packet, which are used to solve the problems of long time delay and large system overhead in the data transmission process. When data transmission is performed in the embodiment of the present invention, first the SDAP protocol sublayer in the sending device sends the data packets to be sent to the MAC protocol sublayer in the sending device; then the MAC protocol sublayer in the sending device receives the data packets according to the The MAC CE is formed from the data packets of the device, and the MAC PDU is formed according to the MAC CE; finally, the MAC protocol sublayer in the sending device sends the MAC PDU through the air interface. In this method, the MAC protocol sublayer in the sending device forms a MAC CE according to the received data packets, so that the MAC CE carries the data packets, thereby realizing the transmission of the data packets on the control channel, which better saves system resources and reduces the delay and system overhead.

Figure 201810912071

Description

一种承载数据包的MAC CE的方法和设备A method and device for carrying a MAC CE of a data packet

技术领域technical field

本发明涉及无线技术领域,特别涉及一种承载数据包的MAC CE的方法和设备。The present invention relates to the field of wireless technologies, and in particular, to a method and device for carrying a MAC CE of a data packet.

背景技术Background technique

数据传输指的是依照适当的规程,经过一条或多条链路,在数据源和数据宿之间传送数据的过程。也表示借助信道上的信号将数据从一处送往另一处的操作。而随着5G概念的引入,目前对数据传输的要求也越来越高。传统的网络设计主要是为了适应宽带移动互联网的需求,即为用户提供高带宽、高相应速度的上网体验。但是,5G相对于传统网络而言,终端数量更多,终端节能要求更高,以小包收发为主,尤其是针对URLLC(Ultra highreliable low latency communication,超高可靠低时延通信),mMTC(massive MachineType of Communication,大规模机器类通信)这种突发小包业务,更加需要减少时延和降低系统开销。Data transfer refers to the process of transferring data between a data source and a data sink over one or more links in accordance with appropriate procedures. Also refers to the operation of sending data from one place to another by means of a signal on a channel. With the introduction of the 5G concept, the current requirements for data transmission are getting higher and higher. The traditional network design is mainly to meet the needs of broadband mobile Internet, that is, to provide users with a high-bandwidth and high-speed Internet experience. However, compared with traditional networks, 5G has more terminals and higher energy-saving requirements for terminals. It mainly transmits and receives small packets, especially for URLLC (Ultra highreliable low latency communication), mMTC (massive communication) MachineType of Communication (Machine Type of Communication, large-scale machine type communication) is a bursty small packet service, and it is even more necessary to reduce delay and system overhead.

而传统的传输方式,仅能在核心网层实现在控制信道上发送短信数据包,目前在接入网还没有实现该功能。同时,传统的数据传输方式中没有适应小包业务的传输方式,如果用传统的数据传输方式进行小包业务的传输,会导致网络信令的开销远远大于数据载荷传输本身大小,甚至有的小包业务无法进行传输。因此面对URRL,mMTC这种突发小包业务时,往往时延较长,开销较大。However, the traditional transmission method can only realize the sending of short message data packets on the control channel at the core network layer, and this function has not yet been implemented in the access network. At the same time, there is no transmission mode suitable for small-packet services in traditional data transmission methods. If traditional data transmission methods are used to transmit small-packet services, the network signaling overhead will be much larger than the size of the data payload transmission itself, and even some small-packet services Unable to transfer. Therefore, in the face of URRL, mMTC, such as bursty small-packet services, often has a long delay and high overhead.

综上所述,目前数据传输过程中时延较长,系统开销较大。To sum up, at present, the time delay in the data transmission process is relatively long, and the system overhead is relatively large.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种承载数据包的MAC CE(MAC Control Element,媒体接入层控制单元)的方法和设备,用以解决数据传输过程中时延较长,系统开销较大的问题。Embodiments of the present invention provide a method and device for carrying a MAC CE (MAC Control Element, media access layer control unit) of a data packet, so as to solve the problems of long delay and large system overhead during data transmission.

第一方面,本发明实施例提供的一种承载数据包的MAC CE的方法包括:In a first aspect, a method for carrying a MAC CE of a data packet provided by an embodiment of the present invention includes:

首先发送设备中的SDAP(Simple DFS Access Protocol,简单分布式文件传输系统访问协议)层将需要发送的数据包向发送设备中的MAC(Medium Access Control,媒体接入控制)子层发送;然后所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MAC PDU(Medium Access Control Protocol Data Unit,媒体接入控制协议数据单元);最后所述发送设备中的MAC协议子层将所述MAC PDU通过空口发送。First, the SDAP (Simple DFS Access Protocol, Simple Distributed File Transfer System Access Protocol) layer in the sending device sends the data packets to be sent to the MAC (Medium Access Control, Media Access Control) sublayer in the sending device; The MAC protocol sublayer in the sending device forms a MAC CE according to the received data packet, and forms a MAC PDU (Medium Access Control Protocol Data Unit, Media Access Control Protocol Data Unit) according to the MAC CE; finally, the sending device The MAC protocol sublayer in the MAC PDU sends the MAC PDU through the air interface.

上述方法,通过所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,使所述MAC CE承载数据包,实现了控制信道上发送数据包,而在控制信道上发送数据包可以节约数据包承载和信道的建立时延,因此,通过上述方法更好的写节约系统资源,降低了时延及系统开销。In the above method, the MAC protocol sublayer in the sending device forms a MAC CE according to the received data packet, so that the MAC CE carries the data packet, so that the data packet is sent on the control channel, and the data packet is sent on the control channel. The data packet bearing and channel establishment delay can be saved, therefore, the above method can better save system resources and reduce the delay and system overhead.

在一种可能的实现方式中,所述发送设备中的SDAP协议子层将需要发送的数据包透传给所述发送设备中的MAC协议子层;或所述发送设备中的SDAP协议子层将需要发送的数据包直接发送给所述发送设备中的MAC协议子层。In a possible implementation manner, the SDAP protocol sublayer in the sending device transparently transmits the data packets to be sent to the MAC protocol sublayer in the sending device; or the SDAP protocol sublayer in the sending device The data packets to be sent are directly sent to the MAC protocol sublayer in the sending device.

上述方法,采用透传模式和直连模式两种方法,使SDAP协议子层将需要发送的数据发送给MAC协议子层,可根据实际情况选择最适方法,更加方便灵活,同时因采用这两种方法,更好的减少了时延及系统开销。The above method adopts two methods: transparent transmission mode and direct connection mode, so that the SDAP protocol sublayer sends the data to be sent to the MAC protocol sublayer, and the most suitable method can be selected according to the actual situation, which is more convenient and flexible. This method can better reduce the delay and system overhead.

在一种可能的实现方式中,所述发送设备中的SDAP协议子层将需要发送的数据包发送给所述发送设备中的分组数据汇聚协议PDCP协议子层;所述发送设备中的PDCP协议子层将接收到的PDCP SDU直接以PDCP PDU的形式发送给RLC协议子层;所述发送设备中的RLC协议子层将接收到的RLC SDU直接以RLC PDU的形式发送给MAC协议子层。In a possible implementation manner, the SDAP protocol sublayer in the sending device sends the data packets to be sent to the packet data convergence protocol PDCP protocol sublayer in the sending device; the PDCP protocol in the sending device The sublayer directly sends the received PDCP SDU to the RLC protocol sublayer in the form of a PDCP PDU; the RLC protocol sublayer in the sending device directly sends the received RLC SDU to the MAC protocol sublayer in the form of an RLC PDU.

上述方法,在所述发送设备中的PDCP协议子层将所述数据包通过PDCP协议子层中的DRB透传给所述发送设备中的RLC协议子层,所述发送设备中的RLC协议子层将所述数据包透传给所述发送设备中的MAC协议子层的过程中,因为采用透传模式,因此在所述发送设备中的PDCP协议子层中不需要对数据包进行处理,同时,所述发送设备中的PDCP协议子层在建立DRB时,相关参数不需要进行计算,直接采用默认的空白值,从而更好的减少了时延及系统开销。In the above method, the PDCP protocol sublayer in the sending device transparently transmits the data packet to the RLC protocol sublayer in the sending device through the DRB in the PDCP protocol sublayer, and the RLC protocol sublayer in the sending device In the process of transparently transmitting the data packet to the MAC protocol sublayer in the sending device, because the transparent transmission mode is adopted, the data packet does not need to be processed in the PDCP protocol sublayer in the sending device. At the same time, when the PDCP protocol sublayer in the sending device establishes the DRB, the relevant parameters do not need to be calculated, and the default blank value is directly used, thereby better reducing the delay and system overhead.

在一种可能的实现方式中,所述发送设备中的MAC协议子层将用于表示传输数据的索引信息置于MAC PDU的subheader(子部头文件)中。In a possible implementation manner, the MAC protocol sublayer in the sending device places the index information used to represent the transmission data in the subheader (subheader file) of the MAC PDU.

上述方法,MAC协议子层将用于表示传输数据的索引信息置于MAC PDU的subheader中可以在数据接收过程中,通过判断所述subheader中表示传输数据的索引信息,找到对应数据包。In the above method, the MAC protocol sublayer places the index information used to represent the transmission data in the subheader of the MAC PDU, and can find the corresponding data packet by judging the index information representing the transmission data in the subheader during the data reception process.

在一种可能的实现方式中,若所述MAC PDU为非固定长度,则所述发送设备中的MAC协议子层在所述MAC PDU的subheader中增加用于指示MAC PDU为非固定长度的信息。In a possible implementation manner, if the MAC PDU is of non-fixed length, the MAC protocol sublayer in the sending device adds information for indicating that the MAC PDU is of non-fixed length in the subheader of the MAC PDU .

上述方法,将MAC PDU分为两种长度,一种为固定长度,一种为非固定长度,应用性更强,并且通过在所述MAC PDU的subheader中增加指示信息,用于指示MAC PDU为非固定长度,更好的区分固定长度与非固定长度。In the above method, the MAC PDU is divided into two lengths, one is fixed length and the other is non-fixed length, which has stronger applicability, and by adding indication information in the subheader of the MAC PDU, it is used to indicate that the MAC PDU is Non-fixed length, better distinguish between fixed length and non-fixed length.

第二方面,本发明实施例提供的一种承载数据包的MAC CE的方法包括:In a second aspect, a method for carrying a MAC CE of a data packet provided by an embodiment of the present invention includes:

首先接收设备中的MAC协议子层通过空口接收MAC PDU;然后所述接收设备中的MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送;最后所述接收设备中SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。First, the MAC protocol sublayer in the receiving device receives the MAC PDU through the air interface; then, after determining that the MAC CE in the MAC PDU carries the data packet, the MAC protocol sublayer in the receiving device sends the data packet to the receiving device. SDAP protocol sublayer sends; finally, the SDAP protocol sublayer in the receiving device processes the received data packet, and sends the processed data packet to the upper layer.

上述方法,通过所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,使所述MAC CE承载数据包,从而实现在控制信道上发送数据包,更好的节约数据包的承载,降低了时延及系统开销。The above method, through the MAC protocol sublayer in the sending device, forms a MAC CE according to the received data packet, so that the MAC CE carries the data packet, thereby realizing the transmission of the data packet on the control channel, and better saving the data packet. Bearing, reducing the delay and system overhead.

在一种可能的实现方式中,所述接收设备判断MAC PDU的subheader中是否有用于表示传输数据的索引信息;若有,则确定所述MAC CE携带数据包,否则,确定所述MAC CE没有携带数据包。In a possible implementation manner, the receiving device determines whether the subheader of the MAC PDU has index information for indicating the transmission data; if so, it is determined that the MAC CE carries a data packet; otherwise, it is determined that the MAC CE does not have index information. carry packets.

上述方法,MAC协议子层将用于表示传输数据的索引信息置于MAC PDU的subheader中可以在数据接收过程中,通过判断所述subheader中表示传输数据的索引信息,找到对应数据包。In the above method, the MAC protocol sublayer places the index information used to represent the transmission data in the subheader of the MAC PDU, and can find the corresponding data packet by judging the index information representing the transmission data in the subheader during the data reception process.

在一种可能的实现方式中,所述接收设备中的MAC协议子层将需要发送的数据包透传给所述接收设备中的SDAP协议子层;或所述接收设备中的MAC协议子层将需要发送的数据包直接发送给所述接收设备中的SDAP协议子层。In a possible implementation manner, the MAC protocol sublayer in the receiving device transparently transmits the data packets to be sent to the SDAP protocol sublayer in the receiving device; or the MAC protocol sublayer in the receiving device The data packets to be sent are directly sent to the SDAP protocol sublayer in the receiving device.

上述方法,采用透传模式和直连模式两种方法,使SDAP协议子层将需要发送的数据发送给MAC协议子层,可根据实际情况选择最适方法,更加方便灵活,同时因采用这两种方法,更好的减少了时延及系统开销。The above method adopts two methods: transparent transmission mode and direct connection mode, so that the SDAP protocol sublayer sends the data to be sent to the MAC protocol sublayer, and the most suitable method can be selected according to the actual situation, which is more convenient and flexible. This method can better reduce the delay and system overhead.

在一种可能的实现方式中,所述接收设备中的MAC协议子层将需要发送的数据包发送给所述接收设备中的RLC协议子层;所述接收设备中的RLC协议子层将接收到的所述数据包直接发送给所述发送设备中的PDCP协议子层;所述发送设备中的PDCP协议子层将接收到的所述数据包直接发送给所述发送设备中的SDAP协议子层。In a possible implementation manner, the MAC protocol sublayer in the receiving device sends the data packet to be sent to the RLC protocol sublayer in the receiving device; the RLC protocol sublayer in the receiving device receives The received data packet is directly sent to the PDCP protocol sublayer in the sending device; the PDCP protocol sublayer in the sending device directly sends the received data packet to the SDAP protocol sublayer in the sending device Floor.

上述方法,在所述接收设备中的RLC协议子层将所述数据包透传给所述发送设备中的PDCP协议子层;所述发送设备中的PDCP协议子层将所述数据包透传给所述发送设备中的SDAP协议子层的过程中,因为采用透传模式,因此在所述接收设备中的PDCP协议子层中不需要对数据包进行处理,同时,所述接收设备中的PDCP协议子层在建立DRB时,相关参数不需要进行计算,直接采用默认的空白值,从而更好的减少了时延及系统开销。In the above method, the RLC protocol sublayer in the receiving device transparently transmits the data packet to the PDCP protocol sublayer in the transmitting device; the PDCP protocol sublayer in the transmitting device transparently transmits the data packet In the process of sending to the SDAP protocol sublayer in the sending device, because the transparent transmission mode is adopted, the PDCP protocol sublayer in the receiving device does not need to process the data packets. When the PDCP protocol sublayer establishes the DRB, the relevant parameters do not need to be calculated, and the default blank value is directly used, thereby better reducing the delay and system overhead.

第三方面,本发明实施例提供一种承载数据包的MAC CE的终端,包括:处理器以及收发机:In a third aspect, an embodiment of the present invention provides a terminal that carries a MAC CE of a data packet, including: a processor and a transceiver:

所述处理器,用于发送设备中的SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送;所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MAC PDU;所述发送设备中的MAC协议子层将所述MAC PDU通过空口发送。The processor is used for the SDAP protocol sublayer in the sending device to send the data packet to be sent to the MAC protocol sublayer in the sending device; the MAC protocol sublayer in the sending device forms a MAC according to the received data packet CE, and builds a MAC PDU according to the MAC CE; the MAC protocol sublayer in the sending device sends the MAC PDU through the air interface.

第四方面,本发明实施例提供一种承载数据包的MAC CE的终端,包括:处理器以及收发机:In a fourth aspect, an embodiment of the present invention provides a terminal that carries a MAC CE of a data packet, including: a processor and a transceiver:

所述处理器,用于接收设备中的MAC协议子层通过空口接收MAC PDU;所述接收设备中的MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送;所述接收设备中SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。The processor is used for the MAC protocol sublayer in the receiving device to receive the MAC PDU through the air interface; after the MAC protocol sublayer in the receiving device determines that the MAC CE in the MAC PDU carries a data packet, the data packet is Send to the SDAP protocol sublayer in the receiving device; the SDAP protocol sublayer in the receiving device processes the received data packet, and sends the processed data packet to the upper layer.

第五方面,本发明实施例还提供了一种承载数据包的MAC CE的设备,该设备包括:In a fifth aspect, an embodiment of the present invention further provides a device for carrying a MAC CE of a data packet, and the device includes:

至少一个处理单元以及至少一个存储单元,其中,所述存储单元存储有程序代码,当所述程序代码被所述处理单元执行时,使得所述处理单元执行上述第一方面的各实施例的功能。At least one processing unit and at least one storage unit, wherein the storage unit stores program codes, which, when executed by the processing unit, cause the processing unit to perform the functions of the embodiments of the first aspect .

第六方面,本发明实施例还提供了一种承载数据包的MAC CE的设备,该设备包括:In a sixth aspect, an embodiment of the present invention further provides a device for carrying a MAC CE of a data packet, and the device includes:

至少一个处理单元以及至少一个存储单元,其中,所述存储单元存储有程序代码,当所述程序代码被所述处理单元执行时,使得所述处理单元执行上述第二方面的各实施例的功能。At least one processing unit and at least one storage unit, wherein the storage unit stores program codes, and when the program codes are executed by the processing unit, the processing unit is made to perform the functions of the embodiments of the second aspect above .

第七方面,一种计算机可存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。In a seventh aspect, a computer-storable medium having stored thereon a computer program that, when executed by a processor, implements the steps of the above method.

第八方面,本申请还提供一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现第一方面至第二方面任一所述方法的步骤。In an eighth aspect, the present application further provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of any one of the methods described in the first aspect to the second aspect.

另外,第三方面至第八方面中任一一种实现方式所带来的技术效果可参见第一方面至第二方面中不同实现方式所带来的技术效果,此处不再赘述。In addition, for the technical effects brought by any one of the implementation manners of the third aspect to the eighth aspect, reference may be made to the technical effects brought about by different implementation manners in the first aspect to the second aspect, which will not be repeated here.

附图说明Description of drawings

为了更清楚地说明本发明实施例实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明实施例的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some of the embodiments of the present invention. In the embodiment, for those skilled in the art, other drawings can also be obtained according to these drawings without creative labor.

图1为本发明实施例一种承载数据包的MAC CE的系统结构示意图;1 is a schematic diagram of a system structure of a MAC CE carrying a data packet according to an embodiment of the present invention;

图2为本发明实施例数据传输设备示意图;2 is a schematic diagram of a data transmission device according to an embodiment of the present invention;

图3为本发明实施例定义上行承载数据包的MAC CE类型索引示意图;3 is a schematic diagram of defining a MAC CE type index of an uplink bearer data packet according to an embodiment of the present invention;

图4为本发明实施例定义下行承载数据包的MAC CE类型索引示意图;4 is a schematic diagram of defining a MAC CE type index of a downlink bearer data packet according to an embodiment of the present invention;

图5为本发明实施例MAC PDU为非固定长度时增加指示信息示意图;5 is a schematic diagram of adding indication information when the MAC PDU is of a non-fixed length according to an embodiment of the present invention;

图6为本发明实施例发送设备采用透传模式进行发送示意图;FIG. 6 is a schematic diagram of a sending device using a transparent transmission mode for sending according to an embodiment of the present invention;

图7为本发明实施例发送设备采用直连模式进行发送示意图;FIG. 7 is a schematic diagram of a sending device using a direct connection mode for sending according to an embodiment of the present invention;

图8为本发明实施例解析得出MAC CE携带数据包示意图;8 is a schematic diagram of an embodiment of the present invention analysing and obtaining a data packet carried by a MAC CE;

图9为本发明实施例解析得出MAC CE没有携带数据包示意图;FIG. 9 is a schematic diagram illustrating that the MAC CE does not carry a data packet after analysis according to an embodiment of the present invention;

图10为本发明实施例接收设备采用透传模式进行发送示意图;FIG. 10 is a schematic diagram of sending by a receiving device in a transparent transmission mode according to an embodiment of the present invention;

图11为本发明实施例接收设备采用直连模式进行发送示意图;FIG. 11 is a schematic diagram of a receiving device sending in a direct connection mode according to an embodiment of the present invention;

图12为本发明实施例第一种承载数据包的MAC CE设备结构示意图;FIG. 12 is a schematic structural diagram of a first MAC CE device carrying a data packet according to an embodiment of the present invention;

图13为本发明实施例第二种承载数据包的MAC CE设备结构示意图;13 is a schematic structural diagram of a second type of MAC CE device carrying data packets according to an embodiment of the present invention;

图14为本发明实施例第三种承载数据包的MAC CE设备结构示意图;14 is a schematic structural diagram of a third type of MAC CE device carrying data packets according to an embodiment of the present invention;

图15为本发明实施例第四种承载数据包的MAC CE设备结构示意图;FIG. 15 is a schematic structural diagram of a fourth type of MAC CE device carrying data packets according to an embodiment of the present invention;

图16为本发明实施例一种终端的结构示意图;16 is a schematic structural diagram of a terminal according to an embodiment of the present invention;

图17为本发明实施例第一种承载数据包的MAC CE的方法示意图;17 is a schematic diagram of a first method for carrying a MAC CE of a data packet according to an embodiment of the present invention;

图18为本发明实施例第二种承载数据包的MAC CE的方法示意图;18 is a schematic diagram of a second method for carrying a MAC CE of a data packet according to an embodiment of the present invention;

图19为本发明实施例一种承载数据包的MAC CE的方法流程示意图。FIG. 19 is a schematic flowchart of a method for carrying a MAC CE of a data packet according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明实施例的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施例作进一步地详细描述,显然,所描述的实施例仅仅是本发明实施例一部份实施例,而不是全部的实施例。基于本发明实施例中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明实施例保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention. not all examples. Based on the embodiments in the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work fall within the protection scope of the embodiments of the present invention.

下面对文中出现的一些词语进行解释:The following is an explanation of some words that appear in the text:

(1)本申请实施例中术语“多个”是指两个或两个以上,其它量词与之类似。(1) The term "plurality" in the embodiments of the present application refers to two or more than two, and other quantifiers are similar.

(2)“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。(2) "and/or", which describes the association relationship of the associated objects, indicates that there can be three kinds of relationships, for example, A and/or B, can indicate: A alone exists, A and B exist simultaneously, and B exists alone. Happening. The character "/" generally indicates that the associated objects are an "or" relationship.

(3)本发明实施例所指的“终端”是指能够支持该承载数据包的MAC CE的方法技术的终端。(3) The "terminal" referred to in the embodiments of the present invention refers to a terminal capable of supporting the method and technology of the MAC CE bearing the data packet.

(4)本发明实施例所指的“空口”是指移动终端(手机)和基站之间的接口,一般是指的协议;(4) The "air interface" referred to in the embodiments of the present invention refers to the interface between the mobile terminal (mobile phone) and the base station, and generally refers to the protocol;

(5)本发明实施例所指的“SDAP”是指服务发现应用规范针对业务的调查进行定义。它负责对已知或特定业务的搜索,及进行一些一般性的业务搜索和浏览。(5) The "SDAP" referred to in the embodiments of the present invention refers to the service discovery application specification defined for the investigation of services. It is responsible for searching for known or specific businesses, as well as some general business searches and browsing.

(7)本发明实施例所指的“MAC PDU”是指MAC层协议数据单元,是由按字节(8bit)排布的字符串组成。读取多个字符串时,按照从左到右、由上至下的顺序。一个SDU由第一个比特开始按照比特升序装配进一个MAC PDU中。(7) The "MAC PDU" referred to in the embodiments of the present invention refers to the MAC layer protocol data unit, which is composed of character strings arranged in bytes (8 bits). When reading multiple strings, follow the order from left to right and top to bottom. An SDU is assembled into a MAC PDU in ascending bit order starting from the first bit.

(8)本发明实施例所指的“透传模式”是指透明传输,指的是在通讯中不管传输的业务内容如何,只负责将传输的内容由源地址传输到目的地址,而不对业务数据内容做任何改变。(8) The “transparent transmission mode” referred to in the embodiments of the present invention refers to transparent transmission, which means that in communication, regardless of the content of the transmitted service, it is only responsible for transmitting the content of transmission from the source address to the destination address, but not to the service content. make any changes to the data content.

(9)本发明实施例所指的“MAC协议子层”是指提供对共享介质的访问方法。(9) The "MAC protocol sublayer" referred to in the embodiments of the present invention refers to a method for providing access to a shared medium.

(10)本发明实施例所指的“PDCP(Packet Data Convergence Protocol,分组数据汇聚协议)”是对分组数据汇聚协议的一个简称。它是UMTS中的一个无线传输协议栈,它负责将IP头压缩和解压、传输用户数据并维护为无损的无线网络服务子系统设置的无线承载的序列号。(10) The “PDCP (Packet Data Convergence Protocol, Packet Data Convergence Protocol)” referred to in the embodiments of the present invention is an abbreviation for the Packet Data Convergence Protocol. It is a radio transport protocol stack in UMTS that is responsible for compressing and decompressing IP headers, transmitting user data, and maintaining sequence numbers for radio bearers set up by the wireless network service subsystem for lossless.

(11)本发明实施例所指的“RLC(Radio Link Control,无线链路控制)”是指无线通信系统中的无线链路控制层协议。在WCDMA系统中,RLC协议子层位于MAC层之上,为用户和控制数据提供分段和重传业务。(11) "RLC (Radio Link Control, Radio Link Control)" referred to in the embodiments of the present invention refers to a radio link control layer protocol in a wireless communication system. In the WCDMA system, the RLC protocol sublayer is located above the MAC layer, providing segmentation and retransmission services for users and control data.

(12)本发明实施例所指的“LCID(Logical Channel ID,逻辑信道号)”是指作用是设置或者返回一个用来指定本地或者某个区域性质的整数。(12) The "LCID (Logical Channel ID, logical channel number)" referred to in the embodiments of the present invention refers to the function of setting or returning an integer used to designate a local or a certain area property.

(13)本发明实施例所指的“DRX(Discontinuous Reception,非连续接收)”用于对服务器虚拟化的资源控制。(13) "DRX (Discontinuous Reception, discontinuous reception)" referred to in the embodiment of the present invention is used for resource control of server virtualization.

(14)本发明实施例所指的“BSR(Buffer Status Report,缓冲状态报告)”是指缓冲区状态报告过程用于给服务eNB提供UE有共有多少数据存在上行的缓冲区里需要发送的信息。(14) The "BSR (Buffer Status Report, buffer status report)" referred to in the embodiment of the present invention refers to the buffer status reporting process used to provide the serving eNB with information about how much data the UE has in the uplink buffer and needs to be sent .

如图1所示,本发明实施例提供一种承载数据包的MAC CE的系统,该系统包括:As shown in FIG. 1, an embodiment of the present invention provides a system for carrying a MAC CE of a data packet, and the system includes:

发送设备100,用于通过SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送;通过MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MACPDU;通过MAC协议子层将所述MAC PDU通过空口发送;The sending device 100 is used to send the data packet that needs to be sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer; form a MAC CE according to the received data packet through the MAC protocol sublayer, and form according to the MAC CE MACPDU; send the MAC PDU through the air interface through the MAC protocol sublayer;

接收设备101,用于MAC协议子层通过空口接收MAC PDU;通过MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送;通过SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。The receiving device 101 is used for the MAC protocol sublayer to receive the MAC PDU through the air interface; after determining that the MAC CE in the MAC PDU carries the data packet, the MAC protocol sublayer sends the data packet to the SDAP protocol sublayer in the receiving device ; Process the received data packets through the SDAP protocol sublayer, and send the processed data packets to the upper layer.

本发明实施例中,在进行数据传输过程中,首先发送设备中的SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送,所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MAC PDU;所述发送设备中的MAC协议子层将所述MAC PDU通过空口发送,然后接收设备中的MAC协议子层通过空口接收MAC PDU,所述接收设备中的MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送,最后所述接收设备中SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层,从而实现在控制信道上发送数据包,更好的节约数据包的承载,降低了时延及系统开销。In the embodiment of the present invention, in the process of data transmission, firstly, the SDAP protocol sublayer in the sending device sends the data packets to be sent to the MAC protocol sublayer in the sending device, and the MAC protocol sublayer in the sending device is based on the The received data packet forms a MAC CE, and forms a MAC PDU according to the MAC CE; the MAC protocol sublayer in the sending device sends the MAC PDU through the air interface, and then the MAC protocol sublayer in the receiving device receives through the air interface. MAC PDU. After determining that the MAC CE in the MAC PDU carries a data packet, the MAC protocol sublayer in the receiving device sends the data packet to the SDAP protocol sublayer in the receiving device. Finally, SDAP in the receiving device sends the data packet to the SDAP protocol sublayer in the receiving device. The protocol sublayer processes the received data packets, and sends the processed data packets to the upper layer, so as to realize the transmission of data packets on the control channel, which can better save the bearing of the data packets, and reduce the delay and the system. overhead.

通过上述方法,所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,使所述MAC CE承载数据包,实现了控制信道上发送数据包,而在控制信道上发送数据包可以节约数据包承载和信道的建立时延,因此,通过上述方法更好的写节约系统资源,降低了时延及系统开销。Through the above method, the MAC protocol sublayer in the sending device forms the MAC CE according to the received data packets, so that the MAC CE carries the data packets, so that the data packets are sent on the control channel, and the data packets are sent on the control channel. The data packet bearing and channel establishment delay can be saved, therefore, the above method can better save system resources and reduce the delay and system overhead.

其中,如图2所示,本发明实施例中的发送设备可以是终端也可以是基站,接收设备可以是终端也可以是基站。Wherein, as shown in FIG. 2 , the transmitting device in the embodiment of the present invention may be a terminal or a base station, and the receiving device may be a terminal or a base station.

具体的,当进行上行数据传输时,所述发送设备为终端,所述接收设备为基站;当进行下行数据传输时,所述发送设备为基站,所述接收设备为终端。Specifically, when performing uplink data transmission, the sending device is a terminal, and the receiving device is a base station; when performing downlink data transmission, the sending device is a base station, and the receiving device is a terminal.

本发明实施例主要实现了通过MAC CE承载数据包,进行数据传输,因此,首先需要定义一种新的MAC CE。The embodiment of the present invention mainly realizes that the data packet is carried by the MAC CE for data transmission. Therefore, a new MAC CE needs to be defined first.

所述发送设备中的MAC协议子层将用于表示传输数据的索引信息置于MAC PDU的subheader中。The MAC protocol sublayer in the sending device places the index information used to represent the transmission data in the subheader of the MAC PDU.

本发明实施例中,分别在MAC协议的MAC CE的Table中定义上下行的承载数据包的MAC CE类型索引(Index)。索引的具体取值可以根据协议进行统一规划。In the embodiment of the present invention, the MAC CE type index (Index) of the uplink and downlink bearing data packets is respectively defined in the MAC CE table of the MAC protocol. The specific value of the index can be uniformly planned according to the agreement.

比如图3所示,为本发明实施例对MAC CE的Table中定义上行的承载数据包的MACCE类型索引举例说明,从中可以看出Data Packet(数据包)对应的索引为AAAAAA。同时,比如图4所示,为本发明实施例对MAC CE的Table中定义下行的承载数据包的MAC CE类型索引举例说明,从中可以看出Data Packet(数据包)对应的索引为AAAAAA。For example, as shown in FIG. 3 , the embodiment of the present invention exemplifies the MAC CE type index of the uplink bearer data packet defined in the MAC CE Table. It can be seen that the index corresponding to the Data Packet (data packet) is AAAAAA. At the same time, as shown in FIG. 4 , the embodiment of the present invention exemplifies the MAC CE type index of the downlink bearer data packet defined in the MAC CE Table, from which it can be seen that the index corresponding to the Data Packet (data packet) is AAAAAA.

需要说明的是,上面列举的方式只是举例说明,任何能够定义上下行的承载数据包的MAC CE类型索引的方式都适用本发明实施例。It should be noted that the methods listed above are only examples, and any method that can define the MAC CE type index of the uplink and downlink bearing data packets is applicable to the embodiment of the present invention.

其中,在定义一种新的MAC CE后,所述发送设备中的MAC协议子层还需根据所述MAC CE组建MAC PDU。Wherein, after defining a new MAC CE, the MAC protocol sublayer in the sending device also needs to form a MAC PDU according to the MAC CE.

具体的,MAC PDU由subheader和MAC CE组成,且可分为固定长度和非固定长度。Specifically, the MAC PDU is composed of subheader and MAC CE, and can be divided into fixed length and non-fixed length.

其中,若所述MAC PDU为非固定长度,则所述发送设备中的MAC协议子层在所述MACPDU的subheader中增加用于指示MAC PDU为非固定长度的信息。Wherein, if the MAC PDU is of non-fixed length, the MAC protocol sublayer in the sending device adds information for indicating that the MAC PDU is of non-fixed length in the subheader of the MAC PDU.

如图5所示,假设设置标识非固定长度的指示信息为L,则MAC PDU为非固定长度时,所述MAC PDU中的subheader中相对MAC PDU为固定长度时,其MAC PDU中的subheader中增加了指示信息L,用来指示MAC PDU为非固定长度的信息。As shown in FIG. 5 , assuming that the indication information that identifies the non-fixed length is set to be L, then when the MAC PDU is of non-fixed length, when the subheader in the MAC PDU is of fixed length relative to the MAC PDU, the subheader in the MAC PDU is of fixed length. Added indication information L to indicate that the MAC PDU is of non-fixed length.

其中,在成功的使MAC CE承载数据包后,在进行数据传输过程中,需要通过发送设备和接收设备协同工作进行数据传输,本发明实施例根据不同设备所操作的方法也不尽相同,下面分别进行介绍。Among them, after the MAC CE is successfully used to carry the data packet, in the process of data transmission, the transmission device and the receiving device need to cooperate to perform data transmission. The embodiments of the present invention operate in different methods according to different devices. The following introduced separately.

1、发送设备。1. Sending equipment.

具体的,发送设备中的SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送;所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MAC PDU;所述发送设备中的MAC协议子层将所述MAC PDU通过空口发送。Specifically, the SDAP protocol sublayer in the sending device sends the data packet to be sent to the MAC protocol sublayer in the sending device; the MAC protocol sublayer in the sending device forms a MAC CE according to the received data packet, and according to The MAC CE forms a MAC PDU; the MAC protocol sublayer in the sending device sends the MAC PDU through an air interface.

其中,所述发送设备中的SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送的方式有多种,下面列举两种。There are many ways for the SDAP protocol sublayer in the sending device to send the data packets to be sent to the MAC protocol sublayer in the sending device, and two are listed below.

发送方式1:采用透传模式进行发送。Sending mode 1: Send in transparent transmission mode.

具体的,所述发送设备中的SDAP协议子层将需要发送的数据包透传给所述发送设备中的MAC协议子层。Specifically, the SDAP protocol sublayer in the sending device transparently transmits the data packets to be sent to the MAC protocol sublayer in the sending device.

其中,所述透传,是指透明传输,指的是在所述发送设备中的SDAP协议子层将需要发送的数据包透传给所述发送设备中的MAC协议子层的过程中,不对业务数据内容做任何改变。The transparent transmission refers to transparent transmission, which means that in the process of transparently transmitting the data packets to be sent by the SDAP protocol sublayer in the sending device to the MAC protocol sublayer in the sending device, incorrect Make any changes to the business data content.

首先,所述发送设备中的SDAP协议子层将需要发送的数据包发送给所述发送设备中的PDCP协议子层;然后,所述发送设备中的PDCP协议子层将接收到的PDCP SDU直接以PDCP PDU的形式发送给RLC协议子层;最后,所述发送设备中的RLC协议子层中增加能够传输DRB数据包的功能,并将接收到的RLC SDU直接以PDCP PDU的形式发送给MAC协议子层。First, the SDAP protocol sublayer in the sending device sends the data packets to be sent to the PDCP protocol sublayer in the sending device; then, the PDCP protocol sublayer in the sending device sends the received PDCP SDU directly It is sent to the RLC protocol sublayer in the form of PDCP PDU; finally, the function capable of transmitting DRB data packets is added to the RLC protocol sublayer in the sending device, and the received RLC SDU is directly sent to the MAC in the form of PDCP PDU Protocol sublayer.

如图6所示,所述发送设备在建立SDAP时,同时配置SDAP的低层全部为透传模式承载,直到MAC层。As shown in FIG. 6 , when establishing SDAP, the sending device configures all the lower layers of SDAP to be bearer in transparent transmission mode, up to the MAC layer.

比如所述发送设备中的SDAP协议子层接收到数据包后,向所述发送设备中的MAC协议子层发送时,因为配置SDAP的低层全部为透传模式承载,并使所述发送设备中的RLC协议子层在透传模式下能够传输数据包,因此,所述发送设备中的SDAP协议子层将需要发送的数据包发送给所述发送设备中的PDCP协议子层后,所述发送设备中的PDCP协议子层对所述数据包不进行任何处理,同时所述发送设备中的PDCP协议子层上建立的DRB的参数不需要任何计算而到,即采用默认的空白值即可,并且所述DRB将所述数据包通透传给所述发送设备中的RLC协议子层,最后,所述发送设备中的RLC协议子层中增加能够传输DRB数据包的功能,并将接收到的RLC SDU直接以PDCP PDU的形式发送给MAC协议子层。For example, when the SDAP protocol sublayer in the sending device receives the data packet and sends it to the MAC protocol sublayer in the sending device, because all the lower layers of SDAP are configured to be carried in transparent transmission mode, and the sending device The RLC protocol sublayer can transmit data packets in the transparent transmission mode. Therefore, after the SDAP protocol sublayer in the sending device sends the data packets to be sent to the PDCP protocol sublayer in the sending device, the sending The PDCP protocol sublayer in the device does not perform any processing on the data packet, and the parameters of the DRB established on the PDCP protocol sublayer in the sending device do not need any calculation, that is, the default blank value can be used, And the DRB transparently transmits the data packet to the RLC protocol sublayer in the sending device, and finally, the RLC protocol sublayer in the sending device adds a function capable of transmitting DRB data packets, and will receive the data packets. The RLC SDUs are directly sent to the MAC protocol sublayer in the form of PDCP PDUs.

通过上述方法,在进行传输时,因为所述发送设备中的PDCP协议子层和所述发送设备中的RLC协议子层不对所述数据包进行任何处理,并且在所述发送设备中的PDCP协议子层建立DRB时不需要进行计算,从而更好的降低了系统的开销,减少了时延。Through the above method, during transmission, because the PDCP protocol sublayer in the sending device and the RLC protocol sublayer in the sending device do not perform any processing on the data packet, and the PDCP protocol in the sending device The sublayer does not need to perform calculations when establishing the DRB, thereby better reducing the system overhead and delay.

发送方式2:采用直连模式进行发送。Sending method 2: Send in direct connection mode.

具体的,所述发送设备中的SDAP协议子层将需要发送的数据包直接发送给所述发送设备中的MAC协议子层。Specifically, the SDAP protocol sublayer in the sending device directly sends the data packet to be sent to the MAC protocol sublayer in the sending device.

如图7所示,所述发送设备在建立SDAP时,当有数据进行传输时,不建立DRB。As shown in FIG. 7 , when the sending device establishes the SDAP, when there is data to transmit, it does not establish the DRB.

其中,传统数据传输模式下,每次在进行数据传输时,都会在数据传输之前自动建立一个DRB,用于进行数据传输,数据传输结束后,自动删除所述DRB。Wherein, in the traditional data transmission mode, each time data transmission is performed, a DRB is automatically established before data transmission for data transmission, and the DRB is automatically deleted after the data transmission is completed.

本发明实施例中为了更好的减少时延和系统开销,在通过MAC CE承载数据包进行数据传输时,不自动建立DRB,同时,使SDAP协议子层与MAC协议子层直连。In the embodiment of the present invention, in order to better reduce the time delay and system overhead, when the data packet is carried by the MAC CE for data transmission, the DRB is not automatically established, and at the same time, the SDAP protocol sublayer and the MAC protocol sublayer are directly connected.

比如所述发送设备中的SDAP协议子层在接收到数据包后,向所述发送设备中的MAC协议子层发送时,所述发送设备中不自动建立DRB,同时,因为采用直连模式,即使所述发送设备中的SDAP协议子层直接与所述发送设备中的MAC协议子层相连,从而,所述发送设备中的SDAP协议子层将需要发送的数据包直接发送给所述发送设备中的MAC协议子层,并且因为在数据传输中减少了中间的传输步骤,因此更好的降低了系统的开销,缩短了时延。For example, when the SDAP protocol sublayer in the sending device sends a data packet to the MAC protocol sublayer in the sending device, the sending device does not automatically establish a DRB. At the same time, because the direct connection mode is adopted, Even if the SDAP protocol sublayer in the sending device is directly connected with the MAC protocol sublayer in the sending device, the SDAP protocol sublayer in the sending device directly sends the data packets to be sent to the sending device In the MAC protocol sublayer, and because the intermediate transmission steps are reduced in the data transmission, the system overhead is better reduced and the delay is shortened.

2、接收设备。2. Receiving equipment.

具体的,接收设备中的MAC协议子层通过空口接收MAC PDU;所述接收设备中的MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送;所述接收设备中SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。Specifically, the MAC protocol sublayer in the receiving device receives the MAC PDU through the air interface; after determining that the MAC CE in the MAC PDU carries the data packet, the MAC protocol sublayer in the receiving device sends the data packet to the receiving device. The SDAP protocol sublayer in the receiving device processes the received data packet, and sends the processed data packet to the upper layer.

其中,所述接收设备中的MAC协议子层根据承载数据包的载体不同,其进行数据传输的方式也不尽相同,下面列举两种。Wherein, the MAC protocol sublayer in the receiving device performs data transmission in different ways according to different carriers that carry the data packets, and two are listed below.

1、MAC CE承载数据包。1. The MAC CE carries data packets.

比如,所述接收设备中的MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,在PDCP/RLC建立采用透传模式的DRB,然后,将所述数据包通过透传模式向接收设备中的SDAP协议子层发送,所述接收设备中SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。For example, after determining that the MAC CE in the MAC PDU carries the data packet, the MAC protocol sublayer in the receiving device establishes a DRB in the transparent transmission mode in the PDCP/RLC, and then sends the data packet to the transparent transmission mode. The SDAP protocol sublayer in the receiving device sends the data packet, and the SDAP protocol sublayer in the receiving device processes the received data packet, and sends the processed data packet to the upper layer.

2、MAC CE不承载数据包。2. MAC CE does not carry data packets.

比如,所述接收设备中的MAC协议子层在确定所述MAC PDU中MAC CE不携带数据包后,在所述接收设备中的PDCP协议子层中建立正常模式的DRB,然后,所述接收设备中的MAC协议子层将需要发送的数据包通过正常模式下的DRB传给所述接收设备中的SDAP协议子层,所述接收设备中SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。For example, after determining that the MAC CE in the MAC PDU does not carry data packets, the MAC protocol sublayer in the receiving device establishes a normal mode DRB in the PDCP protocol sublayer in the receiving device, and then the receiving device The MAC protocol sublayer in the device transmits the data packet to be sent to the SDAP protocol sublayer in the receiving device through the DRB in the normal mode, and the SDAP protocol sublayer in the receiving device performs the received data packet processing. process, and send the processed packet to the upper layer.

其中,可通过下列方式判断所述MAC CE是否携带数据包:Wherein, whether the MAC CE carries a data packet can be judged by the following methods:

具体的,所述接收设备判断MAC PDU的subheader中是否有用于表示传输数据的索引信息;若有,则确定所述MAC CE携带数据包,否则,确定所述MAC CE没有携带数据包。Specifically, the receiving device determines whether the subheader of the MAC PDU has index information for indicating transmission data; if so, determines that the MAC CE carries a data packet, otherwise, determines that the MAC CE does not carry a data packet.

比如,接收设备中的MAC协议子层通过空口接收MAC PDU后,对MAC PDU进行解析,若如图8所示解析出的MAC PDU中有用于表示传输数据的索引信息,例如AAAAA,则确定所述MAC CE携带数据包。若如图9所示解析出的MAC PDU中没有用于表示传输数据的索引信息,则确定所述MAC CE没有携带数据包。For example, after receiving the MAC PDU through the air interface, the MAC protocol sublayer in the receiving device parses the MAC PDU. If the parsed MAC PDU as shown in Figure 8 contains index information used to represent the transmission data, such as AAAAA, then determine the MAC PDU. The MAC CE carries data packets. If the MAC PDU parsed as shown in FIG. 9 does not contain index information for indicating transmission data, it is determined that the MAC CE does not carry a data packet.

所述接收设备中的MAC协议子层将接收到的数据包向接收设备中的SDAP子层发送的方式有多种,下面列举两种。There are many ways for the MAC protocol sublayer in the receiving device to send the received data packet to the SDAP sublayer in the receiving device, and two are listed below.

接收方式1:采用透传模式进行发送。Receive mode 1: Send in transparent transmission mode.

具体的,所述接收设备中的MAC协议子层将接收到的数据包透传给所述接收设备中的SDAP协议子层。Specifically, the MAC protocol sublayer in the receiving device transparently transmits the received data packet to the SDAP protocol sublayer in the receiving device.

其中,所述透传,是指透明传输,指的是在所述接收设备中的MAC协议子层将接收到的数据包透传给所述接收设备中的SDAP协议子层的过程中,不对业务数据内容做任何改变。The transparent transmission refers to transparent transmission, which refers to the process of transparently transmitting the received data packets to the SDAP protocol sublayer in the receiving device by the MAC protocol sublayer in the receiving device. Make any changes to the business data content.

首先,所述接收设备中的MAC协议子层将需要发送的数据包发送给所述接收设备中的RLC协议子层;然后,所述接收设备中的RLC协议子层中增加能够传输DRB数据包的功能,并将接收到的所述数据包直接发送给所述发送设备中的PDCP协议子层;最后,所述发送设备中的PDCP协议子层将接收到的所述数据包直接发送给所述发送设备中的SDAP协议子层。First, the MAC protocol sublayer in the receiving device sends the data packets to be sent to the RLC protocol sublayer in the receiving device; then, the RLC protocol sublayer in the receiving device adds the ability to transmit DRB data packets function, and directly send the received data packet to the PDCP protocol sublayer in the sending device; finally, the PDCP protocol sublayer in the sending device directly sends the received data packet to the PDCP protocol sublayer. SDAP protocol sublayer in the sending device.

如图10所示,比如所述接收设备中的MAC协议子层通过空口接收MAC PDU,所述接收设备中的MAC协议子层对MAC PDU进行解析,得到MAC CE,确定所述MAC CE承载数据包后,将所述MAC CE中的数据包向接收设备中的SDAP协议子层发送时,因为采用透传模式,因此,所述接收设备中的MAC协议子层将需要发送的数据包发送给所述发送设备中的RLC协议子层,所述接收设备中的RLC协议子层中增加能够传输DRB数据包的功能,并将接收到的所述数据包直接发送给所述发送设备中的PDCP协议子层时,所述接收设备中的PDCP协议子层对所述数据包不进行任何处理,同时所述接收设备中的PDCP协议子层上建立的DRB的参数不需要任何计算而到,即采用默认的空白值即可,最后,所述DRB将所述数据包透传给所述发送设备中的MAC协议子层。As shown in FIG. 10 , for example, the MAC protocol sublayer in the receiving device receives the MAC PDU through an air interface, and the MAC protocol sublayer in the receiving device parses the MAC PDU to obtain a MAC CE, and determines that the MAC CE carries data After the packet, when the data packet in the MAC CE is sent to the SDAP protocol sublayer in the receiving device, because the transparent transmission mode is adopted, the MAC protocol sublayer in the receiving device sends the data packet to be sent to the SDAP protocol sublayer. The RLC protocol sublayer in the sending device and the RLC protocol sublayer in the receiving device add a function capable of transmitting DRB data packets, and directly send the received data packets to the PDCP in the sending device When the protocol sublayer is used, the PDCP protocol sublayer in the receiving device does not perform any processing on the data packet, and the parameters of the DRB established on the PDCP protocol sublayer in the receiving device do not need any calculation. The default blank value may be used, and finally, the DRB transparently transmits the data packet to the MAC protocol sublayer in the sending device.

通过上述方法,在进行传输时,因为所述接收设备中的PDCP协议子层和所述发送设备中的RLC协议子层不对所述数据包进行任何处理,并且在所述接收设备中的PDCP协议子层建立DRB时不需要进行计算,从而更好的降低了系统的开销,减少了时延。Through the above method, during transmission, because the PDCP protocol sublayer in the receiving device and the RLC protocol sublayer in the sending device do not perform any processing on the data packet, and the PDCP protocol in the receiving device The sublayer does not need to perform calculations when establishing the DRB, thereby better reducing the system overhead and delay.

接收方式2:采用直连模式进行发送。Receive mode 2: use direct connection mode to send.

具体的,所述接收设备中的MAC协议子层将接收到的数据包直接发送给所述接收设备中的SDAP协议子层。Specifically, the MAC protocol sublayer in the receiving device directly sends the received data packet to the SDAP protocol sublayer in the receiving device.

如图11所示,比如所述接收设备中的MAC协议子层通过空口接收到MAC PDU后,所述接收设备中的MAC协议子层对MAC PDU进行解析,得到MAC CE,确定所述MAC CE承载数据包后,将所述MAC CE中的数据包向接收设备中的SDAP协议子层发送时,因为采用直连模式,因此,所述接收设备中的MAC协议子层直接与所述接收设备中的SDAP协议子层相连,从而,所述接收设备中的MAC协议子层将需要发送的数据包直接发送给所述接收设备中的SDAP协议子层,并且因为在数据传输中减少了中间的传输步骤,因此更好的降低了系统的开销,缩短了时延。As shown in FIG. 11 , for example, after the MAC protocol sublayer in the receiving device receives the MAC PDU through the air interface, the MAC protocol sublayer in the receiving device parses the MAC PDU, obtains the MAC CE, and determines the MAC CE After the data packet is carried, when the data packet in the MAC CE is sent to the SDAP protocol sublayer in the receiving device, because the direct connection mode is adopted, the MAC protocol sublayer in the receiving device directly communicates with the receiving device. Therefore, the MAC protocol sublayer in the receiving device directly sends the data packets to be sent to the SDAP protocol sublayer in the receiving device, and because the intermediate data transmission is reduced in the data transmission. The transmission step is therefore better to reduce the overhead of the system and shorten the delay.

如图12所示,本发明实施例提供一种承载数据包的MAC CE的设备,包括:处理器1200以及收发机1201:As shown in FIG. 12 , an embodiment of the present invention provides a device for carrying a MAC CE of a data packet, including: a processor 1200 and a transceiver 1201:

所述处理器1200,用于通过SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送;通过MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MAC PDU;通过MAC协议子层将所述MAC PDU通过收发机由空口发送。The processor 1200 is used to send the data packet to be sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer; form a MAC CE according to the received data packet through the MAC protocol sublayer, and according to the MAC protocol sublayer The CE builds up the MAC PDU; the MAC PDU is sent by the transceiver through the air interface through the MAC protocol sublayer.

可选的,所述处理器1200具体用于:Optionally, the processor 1200 is specifically used for:

通过SDAP协议子层将需要发送的数据包透传给所述发送设备中的MAC协议子层;或通过SDAP协议子层将需要发送的数据包直接发送给所述发送设备中的MAC协议子层。Transparently transmit the data packets to be sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer; or directly send the data packets to be sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer .

可选的,所述处理器1200具体用于:Optionally, the processor 1200 is specifically used for:

通过SDAP协议子层将需要发送的数据包发送给所述发送设备中的PDCP协议子层;通过PDCP协议子层将接收到的PDCP SDU直接以PDCP PDU的形式发送给RLC协议子层;通过RLC协议子层将接收到的RLC SDU直接以RLC PDU的形式发送给MAC协议子层。Send the data packets to be sent to the PDCP protocol sublayer in the sending device through the SDAP protocol sublayer; directly send the received PDCP SDU in the form of PDCP PDU to the RLC protocol sublayer through the PDCP protocol sublayer; The protocol sublayer directly sends the received RLC SDU to the MAC protocol sublayer in the form of RLC PDU.

可选的,所述处理器1200具体用于:Optionally, the processor 1200 is specifically used for:

通过MAC协议子层将用于表示传输数据的索引信息置于MAC PDU的subheader中。The index information used to represent the transmission data is placed in the subheader of the MAC PDU through the MAC protocol sublayer.

可选的,所述处理器1200还用于:Optionally, the processor 1200 is further configured to:

若所述MAC PDU为非固定长度,则通过MAC协议子层在所述MAC PDU的subheader中增加用于指示MAC PDU为非固定长度的信息。If the MAC PDU is of non-fixed length, the MAC protocol sublayer adds information for indicating that the MAC PDU is of non-fixed length in the subheader of the MAC PDU.

如图13所示,本发明提供一种承载数据包的MAC CE的设备,该设备包括:As shown in FIG. 13 , the present invention provides a device for carrying a MAC CE of a data packet, and the device includes:

至少一个处理单元1300以及至少一个存储单1301元,其中,所述存储单元存储有程序代码,当所述程序代码被所述处理单元执行时,使得所述处理单元执行下列过程:At least one processing unit 1300 and at least one storage unit 1301, wherein the storage unit stores program codes, and when the program codes are executed by the processing unit, the processing unit is made to perform the following processes:

通过SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送;通过MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MAC PDU;通过MAC协议子层将所述MAC PDU通过收发机由空口发送。Send the data packet to be sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer; form a MAC CE according to the received data packet through the MAC protocol sublayer, and form a MAC PDU according to the MAC CE; through the MAC protocol The sublayer sends the MAC PDU over the air interface through the transceiver.

可选的,所述处理单元1300具体用于:Optionally, the processing unit 1300 is specifically configured to:

通过SDAP协议子层将需要发送的数据包透传给所述发送设备中的MAC协议子层;或Transparently transmit the data packets to be sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer; or

通过SDAP协议子层将需要发送的数据包直接发送给所述发送设备中的MAC协议子层。The data packets to be sent are directly sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer.

可选的,所述处理单元1300具体用于:Optionally, the processing unit 1300 is specifically configured to:

通过SDAP协议子层将需要发送的数据包发送给所述发送设备中的PDCP协议子层;通过PDCP协议子层将接收到的PDCP SDU直接以PDCP PDU的形式发送给RLC协议子层;通过RLC协议子层将接收到的RLC SDU直接以RLC PDU的形式发送给MAC协议子层。Send the data packets to be sent to the PDCP protocol sublayer in the sending device through the SDAP protocol sublayer; directly send the received PDCP SDU in the form of PDCP PDU to the RLC protocol sublayer through the PDCP protocol sublayer; The protocol sublayer directly sends the received RLC SDU to the MAC protocol sublayer in the form of RLC PDU.

可选的,所述处理单元1300具体用于:Optionally, the processing unit 1300 is specifically configured to:

通过MAC协议子层将用于表示传输数据的索引信息置于MAC PDU的subheader中。The index information used to represent the transmission data is placed in the subheader of the MAC PDU through the MAC protocol sublayer.

可选的,所述处理单元1300还用于:Optionally, the processing unit 1300 is further configured to:

若所述MAC PDU为非固定长度,则通过MAC协议子层在所述MAC PDU的subheader中增加用于指示MAC PDU为非固定长度的信息。If the MAC PDU is of non-fixed length, the MAC protocol sublayer adds information for indicating that the MAC PDU is of non-fixed length in the subheader of the MAC PDU.

如图14所示,本发明实施例提供一种承载数据包的MAC CE的设备,包括:处理器1400以及收发机1401:As shown in FIG. 14 , an embodiment of the present invention provides a device for carrying a MAC CE of a data packet, including: a processor 1400 and a transceiver 1401:

所述处理器:用于通过MAC协议子层由收发机通过空口接收MAC PDU;通过MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送;通过SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。The processor: used for receiving the MAC PDU through the air interface by the transceiver through the MAC protocol sublayer; after determining that the MAC CE in the MAC PDU carries the data packet through the MAC protocol sublayer, the data packet is sent to the receiving device. SDAP protocol sublayer sends; the received data packet is processed through the SDAP protocol sublayer, and the processed data packet is sent to the upper layer.

可选的,所述处理器1400具体用于,通过下列方式判断所述MAC CE是否携带数据包:Optionally, the processor 1400 is specifically configured to judge whether the MAC CE carries a data packet in the following manner:

判断MAC PDU的subheader中是否有用于表示传输数据的索引信息;若有,则确定所述MAC CE携带数据包,否则,确定所述MAC CE没有携带数据包。Determine whether the subheader of the MAC PDU has index information for indicating transmission data; if so, determine that the MAC CE carries a data packet, otherwise, determine that the MAC CE does not carry a data packet.

可选的,所述处理器1400具体用于:Optionally, the processor 1400 is specifically configured to:

通过MAC协议子层将需要发送的数据包透传给所述接收设备中的SDAP协议子层;或通过MAC协议子层将需要发送的数据包直接发送给所述接收设备中的SDAP协议子层。Transparently transmit the data packets to be sent to the SDAP protocol sublayer in the receiving device through the MAC protocol sublayer; or directly send the data packets to be sent to the SDAP protocol sublayer in the receiving device through the MAC protocol sublayer .

可选的,所述处理器1400具体用于:Optionally, the processor 1400 is specifically configured to:

通过MAC协议子层将需要发送的数据包发送给所述接收设备中的RLC协议子层;通过RLC协议子层将接收到的所述数据包直接发送给所述发送设备中的PDCP协议子层;通过PDCP协议子层将接收到的所述数据包直接发送给所述发送设备中的SDAP协议子层。Send the data packet to be sent to the RLC protocol sublayer in the receiving device through the MAC protocol sublayer; directly send the received data packet to the PDCP protocol sublayer in the sending device through the RLC protocol sublayer ; Send the received data packet directly to the SDAP protocol sublayer in the sending device through the PDCP protocol sublayer.

如图15所示,本发明提供一种承载数据包的MAC CE的设备,该设备包括:As shown in FIG. 15 , the present invention provides a device for carrying a MAC CE of a data packet, and the device includes:

至少一个处理单元1500以及至少一个存储单1501元,其中,所述存储单元存储有程序代码,当所述程序代码被所述处理单元执行时,使得所述处理单元执行下列过程:At least one processing unit 1500 and at least one storage unit 1501, wherein the storage unit stores program codes, and when the program codes are executed by the processing unit, the processing unit executes the following processes:

通过MAC协议子层由收发机通过空口接收MAC PDU;通过MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送;通过SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。The transceiver receives the MAC PDU through the air interface through the MAC protocol sublayer; after determining that the MAC CE in the MAC PDU carries the data packet, the MAC protocol sublayer sends the data packet to the SDAP protocol sublayer in the receiving device; The SDAP protocol sublayer processes the received data packets, and sends the processed data packets to the upper layer.

可选的,所述处理单元1500具体用于,通过下列方式判断所述MAC CE是否携带数据包:Optionally, the processing unit 1500 is specifically configured to judge whether the MAC CE carries a data packet in the following manner:

通过MAC协议子层判断MAC PDU的subheader中是否有用于表示传输数据的索引信息;若有,则确定所述MAC CE携带数据包,否则,确定所述MAC CE没有携带数据包。The MAC protocol sublayer is used to determine whether the subheader of the MAC PDU has index information for indicating transmission data; if so, it is determined that the MAC CE carries a data packet, otherwise, it is determined that the MAC CE does not carry a data packet.

可选的,所述处理单元1500具体用于:Optionally, the processing unit 1500 is specifically configured to:

通过MAC协议子层将需要发送的数据包透传给所述接收设备中的SDAP协议子层;或通过MAC协议子层将需要发送的数据包直接发送给所述接收设备中的SDAP协议子层。Transparently transmit the data packets to be sent to the SDAP protocol sublayer in the receiving device through the MAC protocol sublayer; or directly send the data packets to be sent to the SDAP protocol sublayer in the receiving device through the MAC protocol sublayer .

可选的,所述处理单元1500具体用于:Optionally, the processing unit 1500 is specifically configured to:

通过MAC协议子层将需要发送的数据包发送给所述接收设备中的RLC协议子层;通过RLC协议子层将接收到的所述数据包直接发送给所述发送设备中的PDCP协议子层;通过PDCP协议子层将接收到的所述数据包直接发送给所述发送设备中的SDAP协议子层。Send the data packet to be sent to the RLC protocol sublayer in the receiving device through the MAC protocol sublayer; directly send the received data packet to the PDCP protocol sublayer in the sending device through the RLC protocol sublayer ; Send the received data packet directly to the SDAP protocol sublayer in the sending device through the PDCP protocol sublayer.

基于相同的构思,本发明实施例给出另一种承载数据包的MAC CE的终端,如图16所示,终端1600包括:射频(Radio Frequency,RF)电路1610、电源1620、处理器1630、存储器1640、输入单元1650、显示单元1660、摄像头1670、通信接口1690、以及无线保真(WirelessFidelity,WiFi)模块1690等部件。本领域技术人员可以理解,图16中示出的终端的结构并不构成对终端的限定,本申请实施例提供的终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Based on the same concept, an embodiment of the present invention provides another terminal that carries a MAC CE of a data packet. As shown in FIG. 16 , the terminal 1600 includes: a radio frequency (Radio Frequency, RF) circuit 1610, a power supply 1620, a processor 1630, A memory 1640, an input unit 1650, a display unit 1660, a camera 1670, a communication interface 1690, a wireless fidelity (Wireless Fidelity, WiFi) module 1690 and other components. Those skilled in the art can understand that the structure of the terminal shown in FIG. 16 does not constitute a limitation on the terminal, and the terminal provided in this embodiment of the present application may include more or less components than those shown in the figure, or combine some components, Or a different component arrangement.

下面结合图16对所述终端1600的各个构成部件进行具体的介绍:The following describes the various components of the terminal 1600 in detail with reference to FIG. 16 :

所述RF电路1610可用于通信或通话过程中,数据的接收和发送。特别地,所述RF电路1610在接收到基站的下行数据后,发送给所述处理器930处理;另外,将待发送的上行数据发送给基站。通常,所述RF电路1610包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。The RF circuit 1610 can be used for data reception and transmission during communication or conversation. In particular, after receiving the downlink data of the base station, the RF circuit 1610 sends it to the processor 930 for processing; in addition, it sends the uplink data to be sent to the base station. Generally, the RF circuit 1610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.

此外,RF电路1610还可以通过无线通信与网络和其他终端通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。In addition, the RF circuit 1610 can also communicate with the network and other terminals through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS) and the like.

WiFi技术属于短距离无线传输技术,所述终端1600通过WiFi模块1690可以连接的接入点(Access Point,AP),从而实现数据网络的访问。所述WiFi模块1690可用于通信过程中,数据的接收和发送。The WiFi technology belongs to the short-distance wireless transmission technology, and the terminal 1600 can access the data network through an access point (Access Point, AP) to which the WiFi module 1690 can be connected. The WiFi module 1690 can be used for data reception and transmission during communication.

所述终端1600可以通过所述通信接口1690与其他终端实现物理连接。可选的,所述通信接口1690与所述其他终端的通信接口通过电缆连接,实现所述终端900和其他终端之间的数据传输。The terminal 1600 can be physically connected with other terminals through the communication interface 1690 . Optionally, the communication interface 1690 is connected with the communication interface of the other terminal through a cable, so as to realize data transmission between the terminal 900 and the other terminal.

由于在本申请实施例中,所述终端1600能够实现通信业务,向其他联系人发送信息,因此所述终端1600需要具有数据传输功能,即所述终端1600内部需要包含通信模块。虽然图16示出了所述RF电路1610、所述WiFi模块1690、和所述通信接口1690等通信模块,但是可以理解的是,所述终端1600中存在上述部件中的至少一个或者其他用于实现通信的通信模块(如蓝牙模块),以进行数据传输。In this embodiment of the present application, the terminal 1600 can implement communication services and send information to other contacts. Therefore, the terminal 1600 needs to have a data transmission function, that is, the terminal 1600 needs to include a communication module. Although FIG. 16 shows communication modules such as the RF circuit 1610 , the WiFi module 1690 , and the communication interface 1690 , it should be understood that the terminal 1600 has at least one of the above components or other components for A communication module (such as a Bluetooth module) that implements communication for data transmission.

例如,当所述终端1600为手机时,所述终端1600可以包含所述RF电路1610,还可以包含所述WiFi模块1690;当所述终端1600为计算机时,所述终端1600可以包含所述通信接口1690,还可以包含所述WiFi模块1690;当所述终端1600为平板电脑时,所述终端1600可以包含所述WiFi模块。For example, when the terminal 1600 is a mobile phone, the terminal 1600 may include the RF circuit 1610, and may also include the WiFi module 1690; when the terminal 1600 is a computer, the terminal 1600 may include the communication The interface 1690 may further include the WiFi module 1690; when the terminal 1600 is a tablet computer, the terminal 1600 may include the WiFi module.

所述存储器1640可用于存储软件程序以及模块。所述处理器1630通过运行存储在所述存储器1640的软件程序以及模块,从而执行所述终端1600的各种功能应用以及数据处理,并且当处理器1630执行存储器1640中的程序代码后,可以实现本发明实施例图17中的部分或全部过程。The memory 1640 may be used to store software programs and modules. The processor 1630 executes various functional applications and data processing of the terminal 1600 by running the software programs and modules stored in the memory 1640, and when the processor 1630 executes the program codes in the memory 1640, it can realize Some or all of the processes in FIG. 17 in the embodiment of the present invention.

可选的,所述存储器1640可以主要包括存储程序区和存储数据区。其中,存储程序区可存储操作系统、各种应用程序(比如通信应用)以及人脸识别模块等;存储数据区可存储根据所述终端的使用所创建的数据(比如各种图片、视频文件等多媒体文件,以及人脸信息模板)等。Optionally, the memory 1640 may mainly include a program storage area and a data storage area. Among them, the storage program area can store the operating system, various application programs (such as communication applications), and face recognition modules, etc.; the storage data area can store data created according to the use of the terminal (such as various pictures, video files, etc. multimedia files, and face information templates), etc.

此外,所述存储器1640可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。In addition, the memory 1640 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.

所述输入单元1650可用于接收用户输入的数字或字符信息,以及产生与所述终端1600的用户设置以及功能控制有关的键信号输入。The input unit 1650 may be configured to receive numeric or character information input by a user, and generate key signal input related to user settings and function control of the terminal 1600 .

可选的,输入单元1650可包括触控面板1651以及其他输入终端1652。Optionally, the input unit 1650 may include a touch panel 1651 and other input terminals 1652 .

其中,所述触控面板1651,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在所述触控面板1651上或在所述触控面板1651附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,所述触控面板1651可以包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给所述处理器1630,并能接收所述处理器1630发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现所述触控面板1651。Wherein, the touch panel 1651, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc. on the touch panel 1651 or on the touch panel 1651). operation near the touch panel 1651 ), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 1651 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. to the processor 1630, and can receive and execute commands sent by the processor 1630. In addition, the touch panel 1651 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.

可选的,所述其他输入终端1652可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Optionally, the other input terminals 1652 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

所述显示单元1660可用于显示由用户输入的信息或提供给用户的信息以及所述终端1600的各种菜单。所述显示单元1660即为所述终端1600的显示系统,用于呈现界面,实现人机交互。The display unit 1660 may be used to display information input by the user or information provided to the user and various menus of the terminal 1600 . The display unit 1660 is the display system of the terminal 1600, and is used for presenting an interface and realizing human-computer interaction.

所述显示单元1660可以包括显示面板1661。可选的,所述显示面板1661可以采用液晶显示屏(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-EmittingDiode,OLED)等形式来配置。The display unit 1660 may include a display panel 1661 . Optionally, the display panel 1661 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED) or the like.

进一步的,所述触控面板1651可覆盖所述显示面板1661,当所述触控面板1651检测到在其上或附近的触摸操作后,传送给所述处理器1630以确定触摸事件的类型,随后所述处理器1630根据触摸事件的类型在所述显示面板1661上提供相应的视觉输出。Further, the touch panel 1651 can cover the display panel 1661, and when the touch panel 1651 detects a touch operation on or near it, it transmits it to the processor 1630 to determine the type of the touch event, Then the processor 1630 provides corresponding visual output on the display panel 1661 according to the type of touch event.

虽然在图16中,所述触控面板1651与所述显示面板1661是作为两个独立的部件来实现所述终端1600的输入和输入功能,但是在某些实施例中,可以将所述触控面板1651与所述显示面板1661集成而实现所述终端1600的输入和输出功能。Although in FIG. 16 , the touch panel 1651 and the display panel 1661 are used as two independent components to realize the input and input functions of the terminal 1600, but in some embodiments, the touch panel 1661 may be The control panel 1651 is integrated with the display panel 1661 to realize the input and output functions of the terminal 1600 .

所述处理器1630是所述终端1600的控制中心,利用各种接口和线路连接各个部件,通过运行或执行存储在所述存储器1640内的软件程序和/或模块,以及调用存储在所述存储器1640内的数据,执行所述终端1600的各种功能和处理数据,从而实现基于所述终端的多种业务。The processor 1630 is the control center of the terminal 1600, uses various interfaces and lines to connect various components, runs or executes the software programs and/or modules stored in the memory 1640, and invokes the software programs and/or modules stored in the memory 1640. 1640, perform various functions of the terminal 1600 and process data, thereby realizing various services based on the terminal.

可选的,所述处理器1630可包括一个或多个处理单元。可选的,所述处理器1630可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到所述处理器1630中。Optionally, the processor 1630 may include one or more processing units. Optionally, the processor 1630 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1630.

所述摄像头1670,用于实现所述终端1600的拍摄功能,拍摄图片或视频。所述摄像头1670还可以用于实现终端1600的扫描功能,对扫描对象(二维码/条形码)进行扫描。The camera 1670 is used for realizing the shooting function of the terminal 1600, and shooting pictures or videos. The camera 1670 can also be used to implement the scanning function of the terminal 1600 to scan the scanned object (two-dimensional code/barcode).

所述终端1600还包括用于给各个部件供电的电源1620(比如电池)。可选的,所述电源1620可以通过电源管理系统与所述处理器1630逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。The terminal 1600 also includes a power source 1620 (eg, a battery) for powering the various components. Optionally, the power supply 1620 may be logically connected to the processor 1630 through a power management system, so as to implement functions such as managing charging, discharging, and power consumption through the power management system.

尽管未示出,所述终端1600还可以包括至少一种传感器、音频电路等,在此不再赘述。Although not shown, the terminal 1600 may further include at least one sensor, an audio circuit, and the like, which will not be repeated here.

其中,存储器1640可以存储与存储单元1601相同的有程序代码,当所述程序代码被处理器1630执行时,使得处理器1630实现处理单元1600的所有功能。The memory 1640 may store the same program codes as the storage unit 1601 , and when the program codes are executed by the processor 1630 , the processor 1630 can realize all the functions of the processing unit 1600 .

本发明实施例还提供一种非易失性可读存储介质,包括程序代码,当所述程序代码在计算设备上运行时,所述程序代码用于使所述计算设备执行承载数据包的MAC CE的方法的步骤。Embodiments of the present invention further provide a non-volatile readable storage medium, including program code, when the program code is run on a computing device, the program code is used to cause the computing device to execute a MAC carrying a data packet The steps of the method of CE.

基于同一发明构思,本发明实施例中还提供了一种承载数据包的MAC CE的方法,由于该方法对应的设备是本发明实施例承载数据包的MAC CE的设备,并且该方法解决问题的原理与该设备相似,因此该方法的实施可以参见系统的实施,重复之处不再赘述。Based on the same inventive concept, an embodiment of the present invention also provides a method for carrying a MAC CE of a data packet, because the device corresponding to the method is a device that carries the MAC CE of a data packet in the embodiment of the present invention, and the method solves the problem. The principle is similar to that of the device, so the implementation of the method can refer to the implementation of the system, and the repetition will not be repeated.

如图17所示,本发明实施例提供的一种承载数据包的MAC CE的方法,具体包括以下步骤:As shown in FIG. 17 , a method for carrying a MAC CE of a data packet provided by an embodiment of the present invention specifically includes the following steps:

步骤1700、发送设备中的SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送;Step 1700, the SDAP protocol sublayer in the sending device sends the data packet that needs to be sent to the MAC protocol sublayer in the sending device;

步骤1701、所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MAC PDU;Step 1701: The MAC protocol sublayer in the sending device forms a MAC CE according to the received data packet, and forms a MAC PDU according to the MAC CE;

步骤1702、所述发送设备中的MAC协议子层将所述MAC PDU通过空口发送。Step 1702: The MAC protocol sublayer in the sending device sends the MAC PDU through the air interface.

可选的,所述发送设备中的SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送,包括:Optionally, the SDAP protocol sublayer in the sending device sends the data packets to be sent to the MAC protocol sublayer in the sending device, including:

所述发送设备中的SDAP协议子层将需要发送的数据包通过DRB透传给所述发送设备中的MAC协议子层;或The SDAP protocol sublayer in the sending device transparently transmits the data packets to be sent to the MAC protocol sublayer in the sending device through the DRB; or

所述发送设备中的SDAP协议子层将需要发送的数据包直接发送给所述发送设备中的MAC协议子层。The SDAP protocol sublayer in the sending device directly sends the data packet to be sent to the MAC protocol sublayer in the sending device.

可选的,所述发送设备中的MAC协议子层根据所述MAC CE组建MAC PDU,包括;Optionally, the MAC protocol sublayer in the sending device forms a MAC PDU according to the MAC CE, including;

所述发送设备中的MAC协议子层将用于表示传输数据的索引信息置于MAC PDU的subheader中。The MAC protocol sublayer in the sending device places the index information used to represent the transmission data in the subheader of the MAC PDU.

可选的,所述发送设备中的MAC协议子层根据所述MAC CE组建MAC PDU,还包括:Optionally, the MAC protocol sublayer in the sending device forms a MAC PDU according to the MAC CE, further comprising:

若所述MAC PDU为非固定长度,则所述发送设备中的MAC协议子层在所述MAC PDU的subheader中增加用于指示MAC PDU为非固定长度的信息。If the MAC PDU is of non-fixed length, the MAC protocol sublayer in the sending device adds information for indicating that the MAC PDU is of non-fixed length in the subheader of the MAC PDU.

基于同一发明构思,本发明实施例中还提供了一种承载数据包的MAC CE的方法,由于该方法对应的设备是本发明实施例承载数据包的MAC CE的设备,并且该方法解决问题的原理与该设备相似,因此该方法的实施可以参见系统的实施,重复之处不再赘述。Based on the same inventive concept, an embodiment of the present invention also provides a method for carrying a MAC CE of a data packet, because the device corresponding to the method is a device that carries the MAC CE of a data packet in the embodiment of the present invention, and the method solves the problem. The principle is similar to that of the device, so the implementation of the method can refer to the implementation of the system, and the repetition will not be repeated.

如图18所示,本发明实施例还提供一种承载数据包的MAC CE的方法,该方法包括:As shown in FIG. 18 , an embodiment of the present invention further provides a method for carrying a MAC CE of a data packet, and the method includes:

步骤1800、接收设备中的MAC协议子层通过空口接收MAC PDU;Step 1800, the MAC protocol sublayer in the receiving device receives the MAC PDU through the air interface;

步骤1801、所述接收设备中的MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送;Step 1801: After determining that the MAC CE in the MAC PDU carries a data packet, the MAC protocol sublayer in the receiving device sends the data packet to the SDAP protocol sublayer in the receiving device;

步骤1802、所述接收设备中SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。Step 1802: The SDAP protocol sublayer in the receiving device processes the received data packet, and sends the processed data packet to the upper layer.

可选的,所述接收设备中的MAC协议子层通过下列方式判断所述MAC CE是否携带数据包:Optionally, the MAC protocol sublayer in the receiving device determines whether the MAC CE carries a data packet in the following manner:

所述接收设备中的MAC协议子层判断MAC PDU的subheader中是否有用于表示传输数据的索引信息;若有,则确定所述MAC CE携带数据包,否则,确定所述MAC CE没有携带数据包。The MAC protocol sublayer in the receiving device judges whether the subheader of the MAC PDU has index information for indicating the transmission data; if so, it is determined that the MAC CE carries a data packet, otherwise, it is determined that the MAC CE does not carry a data packet .

可选的,所述接收设备中的MAC协议子层将所述数据包向接收设备中的SDAP协议子层发送,包括:Optionally, the MAC protocol sublayer in the receiving device sends the data packet to the SDAP protocol sublayer in the receiving device, including:

所述接收设备中的MAC协议子层将需要发送的数据包通过DRB透传给所述接收设备中的SDAP协议子层;或The MAC protocol sublayer in the receiving device transparently transmits the data packets to be sent to the SDAP protocol sublayer in the receiving device through the DRB; or

所述接收设备中的MAC协议子层将需要发送的数据包直接发送给所述接收设备中的SDAP协议子层。The MAC protocol sublayer in the receiving device directly sends the data packet to be sent to the SDAP protocol sublayer in the receiving device.

上述本申请提供的实施例中,从终端以及基站作为执行主体的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请实施例提供的方法中的各功能,终端以及基站可以包括硬件结构和/或软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能以硬件结构、软件模块、还是硬件结构加软件模块的方式来执行,取决于技术方案的特定应用和设计约束条件。In the above-mentioned embodiments of the present application, the methods provided by the embodiments of the present application are introduced from the perspective of the terminal and the base station as execution subjects. In order to implement the functions in the methods provided in the above embodiments of the present application, the terminal and the base station may include hardware structures and/or software modules, and implement the above functions in the form of hardware structures, software modules, or hardware structures plus software modules. Whether one of the above functions is performed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

如图19所示,本发明实施例提供的一种承载数据包的MAC CE的方法,其中选取终端为发送设备,基站为接收设备,且发送和接收选取透传模式进行举例说明,具体包括以下步骤:As shown in FIG. 19, an embodiment of the present invention provides a method for carrying a MAC CE of a data packet, wherein a terminal is selected as a transmitting device, a base station is a receiving device, and a transparent transmission mode is selected for transmission and reception for illustration, which specifically includes the following step:

步骤1900、发送设备中的SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送;Step 1900, the SDAP protocol sublayer in the sending device sends the data packet that needs to be sent to the MAC protocol sublayer in the sending device;

步骤1901、所述发送设备中的SDAP协议子层将需要发送的数据包通过DRB透传给所述发送设备中的MAC协议子层;Step 1901: The SDAP protocol sublayer in the sending device transparently transmits the data packet to be sent to the MAC protocol sublayer in the sending device through the DRB;

步骤1902:所述发送设备中的MAC协议子层将所述MAC PDU通过空口发送;Step 1902: The MAC protocol sublayer in the sending device sends the MAC PDU through the air interface;

步骤1903:接收设备中的MAC协议子层通过空口接收MAC PDU;Step 1903: the MAC protocol sublayer in the receiving device receives the MAC PDU through the air interface;

步骤1904:所述接收设备中的MAC协议子层判断MAC PDU的subheader中是否有用于表示传输数据的索引信息,若有,执行步骤1905,若无,执行步骤1906;Step 1904: The MAC protocol sublayer in the receiving device judges whether there is index information used to represent the transmission data in the subheader of the MAC PDU, if so, go to step 1905, if not, go to step 1906;

步骤1905:所述接收设备中的MAC协议子层确定所述MAC CE携带数据包,执行步骤1907;Step 1905: The MAC protocol sublayer in the receiving device determines that the MAC CE carries a data packet, and executes Step 1907;

步骤1906:所述接收设备中的MAC协议子层确定所述MAC CE没有携带数据包,执行步骤1908;Step 1906: The MAC protocol sublayer in the receiving device determines that the MAC CE does not carry a data packet, and executes Step 1908;

步骤1907:所述接收设备中的MAC协议子层将需要发送的数据包通过DRB透传给所述接收设备中的SDAP协议子层,执行步骤1909;Step 1907: The MAC protocol sublayer in the receiving device transparently transmits the data packet to be sent to the SDAP protocol sublayer in the receiving device through the DRB, and step 1909 is executed;

步骤1908:所述接收设备中的MAC协议子层将需要发送的数据包通过正常模式下的DRB层传给所述接收设备中的SDAP协议子层,执行步骤1909;Step 1908: The MAC protocol sublayer in the receiving device transmits the data packet to be sent to the SDAP protocol sublayer in the receiving device through the DRB layer in the normal mode, and step 1909 is performed;

步骤1909:所述接收设备中SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。Step 1909: The SDAP protocol sublayer in the receiving device processes the received data packet, and sends the processed data packet to the upper layer.

以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。The present application is described above with reference to block diagrams and/or flowchart illustrations illustrating methods, apparatus (systems) and/or computer program products according to embodiments of the present application. It will be understood that a block of the block diagrams and/or flowchart illustrations, and combinations of blocks of the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, a processor of a special purpose computer and/or other programmable data processing apparatus to produce a machine such that the instructions executed via the computer processor and/or other programmable data processing apparatus create a Methods of implementing the functions/acts specified in the block diagrams and/or flowchart blocks.

相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。Accordingly, the present application may also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by an instruction execution system or Used in conjunction with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium can be any medium that can contain, store, communicate, transmit, or transmit a program for use by, or in connection with, an instruction execution system, apparatus, or device. device or equipment use.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (20)

1.一种承载数据包的媒体接入层控制单元MAC CE的方法,其特征在于,该方法包括:1. A method for a medium access layer control unit MAC CE carrying a data packet, wherein the method comprises: 发送设备中的服务数据适配协议SDAP协议子层将需要发送的数据包向发送设备中的媒体接入控制MAC协议子层发送;The service data adaptation protocol SDAP protocol sublayer in the sending device sends the data packet to be sent to the media access control MAC protocol sublayer in the sending device; 所述发送设备中的MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建媒体接入控制协议数据单元MAC PDU;The MAC protocol sublayer in the sending device forms a MAC CE according to the received data packet, and forms a medium access control protocol data unit MAC PDU according to the MAC CE; 所述发送设备中的MAC协议子层将所述MAC PDU通过空口发送。The MAC protocol sublayer in the sending device sends the MAC PDU through the air interface. 2.如权利要求1所述的方法,其特征在于,所述发送设备中的SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送,包括:2. The method of claim 1, wherein the SDAP protocol sublayer in the sending device sends the data packet that needs to be sent to the MAC protocol sublayer in the sending device, comprising: 所述发送设备中的SDAP协议子层将需要发送的数据包透传给所述发送设备中的MAC协议子层;或The SDAP protocol sublayer in the sending device transparently transmits the data packets to be sent to the MAC protocol sublayer in the sending device; or 所述发送设备中的SDAP协议子层将需要发送的数据包直接发送给所述发送设备中的MAC协议子层。The SDAP protocol sublayer in the sending device directly sends the data packet to be sent to the MAC protocol sublayer in the sending device. 3.如权利要求2所述的方法,其特征在于,所述发送设备中的SDAP协议子层将需要发送的数据包透传给所述发送设备中的MAC协议子层,包括:3. The method according to claim 2, wherein the SDAP protocol sublayer in the sending device transparently transmits the data packets to be sent to the MAC protocol sublayer in the sending device, comprising: 所述发送设备中的SDAP协议子层将需要发送的数据包发送给所述发送设备中的分组数据汇聚协议PDCP协议子层;The SDAP protocol sublayer in the sending device sends the data packet to be sent to the packet data convergence protocol PDCP protocol sublayer in the sending device; 所述发送设备中的PDCP协议子层将接收到的PDCP SDU直接以PDCPPDU的形式发送给无线链路控制RLC协议子层;The PDCP protocol sublayer in the sending device directly sends the received PDCP SDU to the radio link control RLC protocol sublayer in the form of PDCP PDU; 所述发送设备中的RLC协议子层将接收到的RLC SDU直接以RLC PDU的形式发送给MAC协议子层。The RLC protocol sublayer in the sending device directly sends the received RLC SDU to the MAC protocol sublayer in the form of an RLC PDU. 4.如权利要求1或2所述的方法,其特征在于,所述发送设备中的MAC协议子层根据所述MAC CE组建MAC PDU,包括:4. The method according to claim 1 or 2, wherein the MAC protocol sublayer in the sending device forms a MAC PDU according to the MAC CE, comprising: 所述发送设备中的MAC协议子层将用于表示传输数据的索引信息置于MAC PDU的子部头文件subheader中。The MAC protocol sublayer in the sending device places the index information used to represent the transmission data in the subheader file subheader of the MAC PDU. 5.如权利要求4所述的方法,其特征在于,所述发送设备中的MAC协议子层根据所述MACCE组建MAC PDU,还包括:5. The method of claim 4, wherein the MAC protocol sublayer in the sending device forms a MAC PDU according to the MACCE, further comprising: 若所述MAC PDU为非固定长度,则所述发送设备中的MAC协议子层在所述MAC PDU的subheader中增加用于指示MAC PDU为非固定长度的信息。If the MAC PDU is of non-fixed length, the MAC protocol sublayer in the sending device adds information for indicating that the MAC PDU is of non-fixed length in the subheader of the MAC PDU. 6.一种承载数据包的MAC CE的方法,其特征在于,该方法包括:6. A method for carrying the MAC CE of a data packet, wherein the method comprises: 接收设备中的MAC协议子层通过空口接收MAC PDU;The MAC protocol sublayer in the receiving device receives the MAC PDU through the air interface; 所述接收设备中的MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送;After determining that the MAC CE in the MAC PDU carries a data packet, the MAC protocol sublayer in the receiving device sends the data packet to the SDAP protocol sublayer in the receiving device; 所述接收设备中SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。The SDAP protocol sublayer in the receiving device processes the received data packets, and sends the processed data packets to the upper layer. 7.如权利要求6所述的方法,其特征在于,所述接收设备中的MAC协议子层通过下列方式判断所述MAC CE是否携带数据包:7. The method of claim 6, wherein the MAC protocol sublayer in the receiving device judges whether the MAC CE carries a data packet by the following methods: 所述接收设备中的MAC协议子层判断MAC PDU的subheader中是否有用于表示传输数据的索引信息;The MAC protocol sublayer in the receiving device judges whether the subheader of the MAC PDU has index information for representing the transmission data; 若有,则确定所述MAC CE携带数据包,否则,确定所述MAC CE没有携带数据包。If so, it is determined that the MAC CE carries a data packet, otherwise, it is determined that the MAC CE does not carry a data packet. 8.如权利要求6所述的方法,其特征在于,所述接收设备中的MAC协议子层将所述数据包向接收设备中的SDAP协议子层发送,包括:8. The method of claim 6, wherein the MAC protocol sublayer in the receiving device sends the data packet to the SDAP protocol sublayer in the receiving device, comprising: 所述接收设备中的MAC协议子层将需要发送的数据包透传给所述接收设备中的SDAP协议子层;或The MAC protocol sublayer in the receiving device transparently transmits the data packets to be sent to the SDAP protocol sublayer in the receiving device; or 所述接收设备中的MAC协议子层将需要发送的数据包直接发送给所述接收设备中的SDAP协议子层。The MAC protocol sublayer in the receiving device directly sends the data packet to be sent to the SDAP protocol sublayer in the receiving device. 9.如权利要求8所述的方法,其特征在于,所述接收设备中的MAC协议子层将需要发送的数据包透传给所述接收设备中的SDAP协议子层,包括:9. The method of claim 8, wherein the MAC protocol sublayer in the receiving device transparently transmits the data packets to be sent to the SDAP protocol sublayer in the receiving device, comprising: 所述接收设备中的MAC协议子层将需要发送的数据包发送给所述接收设备中的RLC协议子层;The MAC protocol sublayer in the receiving device sends the data packet to be sent to the RLC protocol sublayer in the receiving device; 所述接收设备中的RLC协议子层将接收到的所述数据包直接发送给所述发送设备中的PDCP协议子层;The RLC protocol sublayer in the receiving device directly sends the received data packet to the PDCP protocol sublayer in the transmitting device; 所述发送设备中的PDCP协议子层将接收到的所述数据包直接发送给所述发送设备中的SDAP协议子层。The PDCP protocol sublayer in the sending device directly sends the received data packet to the SDAP protocol sublayer in the sending device. 10.一种承载数据包的MAC CE的设备,其特征在于,包括:处理器以及收发机:10. A device for carrying a MAC CE of a data packet, comprising: a processor and a transceiver: 所述处理器,用于通过SDAP协议子层将需要发送的数据包向发送设备中的MAC协议子层发送;通过MAC协议子层根据收到的数据包组建MAC CE,并根据所述MAC CE组建MAC PDU;通过MAC协议子层将所述MAC PDU通过收发机由空口发送。The processor is used for sending the data packet to be sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer; forming a MAC CE according to the received data packet through the MAC protocol sublayer, and according to the MAC CE A MAC PDU is formed; the MAC PDU is sent by the air interface through the transceiver through the MAC protocol sublayer. 11.如权利要求10所述的设备,其特征在于,所述处理器具体用于:11. The device of claim 10, wherein the processor is specifically configured to: 通过SDAP协议子层将需要发送的数据包透传给所述发送设备中的MAC协议子层;或通过SDAP协议子层将需要发送的数据包直接发送给所述发送设备中的MAC协议子层。Transparently transmit the data packets to be sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer; or directly send the data packets to be sent to the MAC protocol sublayer in the sending device through the SDAP protocol sublayer . 12.如权利要求11所述的设备,其特征在于,所述处理器具体用于:12. The device of claim 11, wherein the processor is specifically configured to: 通过SDAP协议子层将需要发送的数据包发送给所述发送设备中的PDCP协议子层;通过PDCP协议子层将接收到的PDCP SDU直接以PDCP PDU的形式发送给RLC协议子层;通过RLC协议子层将接收到的RLC SDU直接以RLC PDU的形式发送给MAC协议子层。Send the data packets to be sent to the PDCP protocol sublayer in the sending device through the SDAP protocol sublayer; directly send the received PDCP SDU in the form of PDCP PDU to the RLC protocol sublayer through the PDCP protocol sublayer; The protocol sublayer directly sends the received RLC SDU to the MAC protocol sublayer in the form of RLC PDU. 13.如权利要求10或11所述的设备,其特征在于,所述处理器具体用于:13. The device according to claim 10 or 11, wherein the processor is specifically configured to: 通过MAC协议子层将用于表示传输数据的索引信息置于MAC PDU的subheader中。The index information used to represent the transmission data is placed in the subheader of the MAC PDU through the MAC protocol sublayer. 14.如权利要求13所述的设备,其特征在于,所述处理器还用于:14. The apparatus of claim 13, wherein the processor is further configured to: 若所述MAC PDU为非固定长度,则通过MAC协议子层在所述MAC PDU的subheader中增加用于指示MAC PDU为非固定长度的信息。If the MAC PDU is of non-fixed length, the MAC protocol sublayer adds information for indicating that the MAC PDU is of non-fixed length in the subheader of the MAC PDU. 15.一种承载数据包的MAC CE的设备,其特征在于,包括:处理器以及收发机:15. A device for carrying a MAC CE of a data packet, comprising: a processor and a transceiver: 所述处理器,用于通过MAC协议子层由收发机通过空口接收MAC PDU;通过MAC协议子层在确定所述MAC PDU中MAC CE携带数据包后,将所述数据包向接收设备中的SDAP协议子层发送;通过SDAP协议子层对收到的所述数据包进行处理,并将处理后的数据包发送到上层。The processor is configured to receive the MAC PDU by the transceiver through the air interface through the MAC protocol sublayer; after determining that the MAC CE in the MAC PDU carries the data packet, the MAC protocol sublayer sends the data packet to the receiving device. SDAP protocol sublayer sends; the received data packet is processed through the SDAP protocol sublayer, and the processed data packet is sent to the upper layer. 16.如权利要求15所述的设备,其特征在于,所述处理器具体用于,通过下列方式判断所述MAC CE是否携带数据包:16. The device according to claim 15, wherein the processor is specifically configured to judge whether the MAC CE carries a data packet in the following manner: 通过MAC协议子层判断MAC PDU的subheader中是否有用于表示传输数据的索引信息;若有,则确定所述MAC CE携带数据包,否则,确定所述MAC CE没有携带数据包。The MAC protocol sublayer is used to determine whether the subheader of the MAC PDU has index information for indicating transmission data; if so, it is determined that the MAC CE carries a data packet, otherwise, it is determined that the MAC CE does not carry a data packet. 17.如权利要求15所述的设备,其特征在于,所述处理器具体用于:17. The device of claim 15, wherein the processor is specifically configured to: 通过MAC协议子层将需要发送的数据包透传给所述接收设备中的SDAP协议子层;或通过MAC协议子层将需要发送的数据包直接发送给所述接收设备中的SDAP协议子层。Transparently transmit the data packets to be sent to the SDAP protocol sublayer in the receiving device through the MAC protocol sublayer; or directly send the data packets to be sent to the SDAP protocol sublayer in the receiving device through the MAC protocol sublayer . 18.如权利要求17所述的设备,其特征在于,所述处理器具体用于:18. The device of claim 17, wherein the processor is specifically configured to: 通过MAC协议子层将需要发送的数据包发送给所述接收设备中的RLC协议子层;通过RLC协议子层将接收到的所述数据包直接发送给所述发送设备中的PDCP协议子层;通过PDCP协议子层将接收到的所述数据包直接发送给所述发送设备中的SDAP协议子层。Send the data packet to be sent to the RLC protocol sublayer in the receiving device through the MAC protocol sublayer; directly send the received data packet to the PDCP protocol sublayer in the sending device through the RLC protocol sublayer ; Send the received data packet directly to the SDAP protocol sublayer in the sending device through the PDCP protocol sublayer. 19.一种承载数据包的MAC CE的设备,其特征在于,该设备包括:至少一个处理单元以及至少一个存储单元,其中,所述存储单元存储有程序代码,当所述程序代码被所述处理单元执行时,使得所述处理单元执行权利要求1~5任一所述方法的步骤或权利要求6~9任一所述方法的步骤。19. A device for carrying a MAC CE of a data packet, characterized in that the device comprises: at least one processing unit and at least one storage unit, wherein the storage unit stores a program code, and when the program code is stored by the When the processing unit executes, the processing unit is caused to execute the steps of any one of the methods of claims 1 to 5 or the steps of any of the methods of claims 6 to 9. 20.一种计算机可存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1~5任一所述方法的步骤或权利要求6~9任一所述方法的步骤。20. A computer-storable medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the steps of the method according to any one of claims 1 to 5 or any one of claims 6 to 9 are implemented. steps of the method described.
CN201810912071.7A 2018-08-10 2018-08-10 Method and equipment for carrying MAC CE of data packet Active CN110831060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810912071.7A CN110831060B (en) 2018-08-10 2018-08-10 Method and equipment for carrying MAC CE of data packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810912071.7A CN110831060B (en) 2018-08-10 2018-08-10 Method and equipment for carrying MAC CE of data packet

Publications (2)

Publication Number Publication Date
CN110831060A true CN110831060A (en) 2020-02-21
CN110831060B CN110831060B (en) 2023-08-01

Family

ID=69546644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810912071.7A Active CN110831060B (en) 2018-08-10 2018-08-10 Method and equipment for carrying MAC CE of data packet

Country Status (1)

Country Link
CN (1) CN110831060B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023221984A1 (en) * 2022-05-16 2023-11-23 中国移动通信有限公司研究院 Data transmission method and apparatus, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018064348A1 (en) * 2016-09-29 2018-04-05 Intel IP Corporation Hierarchical beam search port and group management
CN110753076A (en) * 2018-07-24 2020-02-04 中国移动通信有限公司研究院 A data transmission and reception method, device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018064348A1 (en) * 2016-09-29 2018-04-05 Intel IP Corporation Hierarchical beam search port and group management
CN110753076A (en) * 2018-07-24 2020-02-04 中国移动通信有限公司研究院 A data transmission and reception method, device and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
""R2-1704649 Discussion on the SDAP PDU format"", 《3GPP TSG_RAN\WG2_RL2》 *
""R2-1710969 Consideration on BSR for SDAP"", 《3GPP TSG_RAN\WG2_RL2》 *
CATT: "R2-1707917 "Minimum Size of MAC PDU including Data"", 《3GPP TSG_RAN\WG2_RL2》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023221984A1 (en) * 2022-05-16 2023-11-23 中国移动通信有限公司研究院 Data transmission method and apparatus, and storage medium

Also Published As

Publication number Publication date
CN110831060B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
WO2018121148A1 (en) Communication resource selection method, hand-held intelligent terminal and access device
CN105847168B (en) A data transmission method, network server, user terminal and system
CN102387612B (en) Mobile communication device, mobile network sharing method and electronic device
US12120541B2 (en) Method for processing communication range information and terminal
WO2018036026A1 (en) Data transmission method, base station, target terminal, system and storage medium
WO2017096909A1 (en) Data connection establishing method and apparatus
CN108370540A (en) Communication equipment and the method, apparatus for reducing communication equipment power consumption
WO2023173702A1 (en) Wireless long-distance network distribution method, control center, and device
CN106658353A (en) A data migration method and terminal equipment
CN106454975A (en) Hotspot network switching method and terminal equipment
CN106445739A (en) A data migration method and terminal equipment
WO2019036851A1 (en) Channel state information measurement and feedback method and related product
US20220022275A1 (en) Communication method and apparatus
WO2021238911A1 (en) Layer-2 id determination method and device, and terminal
CN106714279A (en) A hotspot network switching method and terminal equipment
CN109644078A (en) A kind of uplink data transmission method, terminal, network side equipment and system
CN110831060B (en) Method and equipment for carrying MAC CE of data packet
US9965341B2 (en) Method and device for exchanging data between processes
CN111800832A (en) Data sending method and user equipment
CN112788669A (en) Information processing method and terminal
WO2022206664A1 (en) Information transmission method and apparatus, and communication device
CN109565645B (en) Multicast service transmission method, terminal, base station and communication system
CN113556217B (en) Communication method, network device, terminal device, and storage medium
CN106815077B (en) Data processing method based on intelligent device architecture and intelligent device
WO2023093720A1 (en) Data processing method and apparatus

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