[go: up one dir, main page]

CN114640426B - Data transmitting and receiving method, medium access control layer and storage medium - Google Patents

Data transmitting and receiving method, medium access control layer and storage medium Download PDF

Info

Publication number
CN114640426B
CN114640426B CN202011479363.XA CN202011479363A CN114640426B CN 114640426 B CN114640426 B CN 114640426B CN 202011479363 A CN202011479363 A CN 202011479363A CN 114640426 B CN114640426 B CN 114640426B
Authority
CN
China
Prior art keywords
mac
mac pdu
upper layer
received
sequence
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.)
Active
Application number
CN202011479363.XA
Other languages
Chinese (zh)
Other versions
CN114640426A (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 CN202011479363.XA priority Critical patent/CN114640426B/en
Priority to PCT/CN2021/134717 priority patent/WO2022127596A1/en
Publication of CN114640426A publication Critical patent/CN114640426A/en
Application granted granted Critical
Publication of CN114640426B publication Critical patent/CN114640426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/0091Signalling for the administration of the divided path, e.g. signalling of configuration information
    • H04L5/0094Indication of how sub-channels of the path are allocated
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/23Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal

Landscapes

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

Abstract

The invention discloses a data transmitting and receiving method, an MAC layer and a storage medium, comprising the following steps: determining the bearing and/or the process of the MAC PDU sent to the lower layer; and transmitting according to the bearer and/or the process in sequence. Receiving a MAC PDU; determining the bearing and/or the process of the MAC PDU; and ordering the received MAC PDUs according to the bearer and/or the process in sequence. By adopting the invention, the SN length can be shortened, the overhead of transmitting long SN can be reduced, and the time and the overhead of storing and caching in the sequencing window and sequencing can be reduced. The MAC can be triggered to introduce more mechanisms for rapid data transmission, so that the time delay is reduced. On the premise of ensuring flexible use of HARQ processes, the ordering of the data packets is realized.

Description

一种数据发送、接收方法及媒体接入控制层、存储介质A data sending and receiving method, a media access control layer, and a storage medium

技术领域Technical Field

本发明涉及无线通信技术领域,特别涉及一种数据发送、接收方法及媒体接入控制层、存储介质。The present invention relates to the field of wireless communication technology, and in particular to a data sending and receiving method, a media access control layer, and a storage medium.

背景技术Background technique

5G中,MAC(媒体接入控制,Media Access Control)不具有排序方式。发送端的MAC按照调度的结果,把用户不同RB(无线承载,Radio Bearer)或者LGCH(逻辑信道,LogicalChannel)上的数据组建MAC PDU(协议数据单元,Protocol Data Unit),选择可用的HARQ(混合自动重传请求,Hybrid automatic repeat request)进程发送到接收端。接收端的MAC在相应HARQ进程上接收MAC PDU后,把解析得到MAC SDU发送给上层,由上层进行排序。In 5G, MAC (Media Access Control) does not have a sorting method. The MAC at the sending end, according to the scheduling results, organizes the data on different RBs (Radio Bearers) or LGCHs (Logical Channels) of the user into MAC PDUs (Protocol Data Units), selects an available HARQ (Hybrid automatic repeat request) process and sends it to the receiving end. After receiving the MAC PDU on the corresponding HARQ process, the MAC at the receiving end sends the parsed MAC SDU to the upper layer, which sorts it.

现有技术的不足在于,在新引入的一些技术后,MAC不排序的方式会导致系统开销越来越大。The disadvantage of the existing technology is that after some new technologies are introduced, the MAC unordered method will cause the system overhead to increase.

发明内容Summary of the invention

本发明提供了一种数据发送、接收方法及MAC层、存储介质,用以解决因MAC不排序的方式导致系统开销越来越大的问题。The present invention provides a data sending and receiving method, a MAC layer and a storage medium, which are used to solve the problem of increasing system overhead due to MAC non-sequencing.

本发明提供以下技术方案:The present invention provides the following technical solutions:

一种数据发送方法,包括:A data sending method, comprising:

确定向下层发送的MAC PDU的承载和/或进程;Determine the bearer and/or process of the MAC PDU sent to the lower layer;

根据所述承载和/或进程按顺序进行发送。The sending is performed in sequence according to the bearer and/or process.

实施中,根据所述承载和/或进程按顺序进行发送,包括:In implementation, sending in order according to the bearer and/or process includes:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照从上层接收的顺序组建MAC PDU后进行发送;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, the MAC PDUs are assembled and sent in the order received from the upper layer;

在不同进程之间发送时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照从上层承载接收的顺序进行MAC层的发送。When sending between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sent at the MAC layer in the order in which they are received from the upper-layer bearer, taking the upper-layer bearer as a unit.

实施中,在不同进程之间发送时,进一步包括:During implementation, when sending between different processes, it further includes:

在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息。When each MAC PDU is sent, the identification information of the predecessor and/or subsequent MAC PDU of the MAC PDU is carried.

实施中,前驱和/或后继MAC PDU的识别信息,包括以下信息之一或者其组合:In implementation, the identification information of the predecessor and/or successor MAC PDU includes one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息,包括:In implementation, when each MAC PDU is sent, identification information of the predecessor and/or subsequent MAC PDU of the MAC PDU is carried, including:

若识别信息是MAC PDU的序列号,则在MAC PDU中携带当前MAC PDU的序列号;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU is carried in the MAC PDU;

若识别信息是以下信息之一或者其组合,则通过按照空口时序关系进行数据发送来携带识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the identification information is carried by sending data according to the air interface timing relationship: the subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of the PDCCH, and air interface time-frequency domain resource information of the PDSCH;

若识别信息是HARQ进程ID,则携带前驱和/或后继的HARQ进程ID。If the identification information is a HARQ process ID, it carries the preceding and/or succeeding HARQ process IDs.

实施中,若识别信息是HARQ进程ID,在组建本次将要发送的MAC PDU的控制信息时,携带本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID;In implementation, if the identification information is a HARQ process ID, when constructing the control information of the MAC PDU to be sent this time, the HARQ process ID of the predecessor MAC PDU of the MAC PDU to be sent this time is carried;

当为重传数据时,携带后继MAC PDU的HARQ进程ID,或者不携带后继MAC PDU的HARQ进程ID。When the data is retransmitted, it carries the HARQ process ID of the subsequent MAC PDU, or does not carry the HARQ process ID of the subsequent MAC PDU.

实施中,HARQ进程ID是在DCI通过PDCCH发送的,或,通过MAC CE携带发送的。In implementation, the HARQ process ID is sent in the DCI via the PDCCH, or is carried in the MAC CE.

一种数据接收方法,包括:A data receiving method, comprising:

接收MAC PDU;Receive MAC PDU;

确定MAC PDU的承载和/或进程;Determine the bearer and/or process of the MAC PDU;

根据所述承载和/或进程按顺序对接收的MAC PDU进行排序。The received MAC PDUs are sorted in order according to the bearer and/or process.

实施中,根据所述承载和/或进程按顺序对接收的MAC PDU进行排序,包括:In implementation, sorting the received MAC PDUs in order according to the bearer and/or process includes:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照接收的顺序为接收到的MAC PDU中MAC SDU进行排序;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, sorting the MAC SDUs in the received MAC PDU in the order in which they are received;

在不同进程之间接收时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照接收的顺序为接收到的MAC PDU中MAC SDU以上层承载为单位进行排序。When receiving between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sorted in the order of receiving, taking the upper-layer bearer as the unit.

实施中,在不同进程之间接收时,进一步包括:During implementation, when receiving between different processes, it further includes:

在接收每个MAC PDU时,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序。When receiving each MAC PDU, it is sorted according to the identification information of the predecessor and/or subsequent MAC PDU carried by the MAC PDU.

实施中,前驱和/或后继MAC PDU的识别信息,包括以下信息之一或者其组合:In implementation, the identification information of the predecessor and/or successor MAC PDU includes one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序,包括:In implementation, the sorting is performed according to the identification information of the predecessor and/or successor MAC PDU carried by the MAC PDU, including:

若识别信息是MAC PDU的序列号,则根据在MAC PDU中携带的当前MAC PDU的序列号进行排序;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU carried in the MAC PDU is used for sorting;

若识别信息是以下信息之一或者其组合,则通过接收时的空口时序关系确定携带的识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the carried identification information is determined by the air interface timing relationship during reception: the air interface subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of PDCCH, and air interface time-frequency domain resource information of PDSCH;

若识别信息是HARQ进程ID,则根据携带的前驱和/或后继的HARQ进程ID进行排序。If the identification information is a HARQ process ID, the order is performed according to the carried predecessor and/or successor HARQ process IDs.

实施中,若识别信息是HARQ进程ID,携带的是本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID的,是本次发送的MAC PDU;In implementation, if the identification information is a HARQ process ID, the one carrying the HARQ process ID of the predecessor MAC PDU of the currently transmitted MAC PDU is the currently transmitted MAC PDU;

携带的是后继MAC PDU的HARQ进程ID,或者未携带后继MAC PDU的HARQ进程ID的,是重传数据。The data that carries the HARQ process ID of the subsequent MAC PDU or does not carry the HARQ process ID of the subsequent MAC PDU is retransmitted data.

实施中,HARQ进程ID是在DCI通过PDCCH接收的,或,通过MAC CE携带接收的。In implementation, the HARQ process ID is received in the DCI via the PDCCH, or is carried in the MAC CE.

实施中,进一步包括:During implementation, it further includes:

根据排序结果进行数据包重组,直到所有数据包都重组完成进行递交或者在没有正确接收时,停止重组。The data packets are reassembled according to the sorting results until all the data packets are reassembled and delivered or the reassembly is stopped when they are not received correctly.

实施中,进一步包括:During implementation, it further includes:

每个HARQ进程设立多层的缓存机制,根据排序结果进行数据包重组。Each HARQ process sets up a multi-layer cache mechanism to reassemble data packets based on the sorting results.

实施中,进一步包括:During implementation, it further includes:

按照接收的PDU中的每个上层的PDU的顺序递交给上层。The received PDUs are delivered to the upper layer in the order of the PDUs of each upper layer.

一种MAC层,包括:A MAC layer, comprising:

处理器,用于读取存储器中的程序,执行下列过程:The processor reads the program in the memory and performs the following processes:

确定向下层发送的MAC PDU的承载和/或进程;Determine the bearer and/or process of the MAC PDU sent to the lower layer;

根据所述承载和/或进程按顺序进行发送;Sending in order according to the bearer and/or process;

收发机,用于在处理器的控制下接收和发送数据。A transceiver is used to receive and send data under the control of the processor.

实施中,根据所述承载和/或进程按顺序进行发送,包括:In implementation, sending in order according to the bearer and/or process includes:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照从上层接收的顺序组建MAC PDU后进行发送;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, the MAC PDUs are assembled and sent in the order received from the upper layer;

在不同进程之间发送时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照从上层承载接收的顺序进行MAC层的发送。When sending between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sent at the MAC layer in the order in which they are received from the upper-layer bearer, taking the upper-layer bearer as a unit.

实施中,在不同进程之间发送时,进一步包括:During implementation, when sending between different processes, it further includes:

在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息。When each MAC PDU is sent, the identification information of the predecessor and/or subsequent MAC PDU of the MAC PDU is carried.

实施中,前驱和/或后继MAC PDU的识别信息,包括以下信息之一或者其组合:In implementation, the identification information of the predecessor and/or successor MAC PDU includes one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息,包括:In implementation, when each MAC PDU is sent, identification information of the predecessor and/or subsequent MAC PDU of the MAC PDU is carried, including:

若识别信息是MAC PDU的序列号,则在MAC PDU中携带当前MAC PDU的序列号;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU is carried in the MAC PDU;

若识别信息是以下信息之一或者其组合,则通过按照空口时序关系进行数据发送来携带识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the identification information is carried by sending data according to the air interface timing relationship: the subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of the PDCCH, and air interface time-frequency domain resource information of the PDSCH;

若识别信息是HARQ进程ID,则携带前驱和/或后继的HARQ进程ID。If the identification information is a HARQ process ID, it carries the preceding and/or succeeding HARQ process IDs.

实施中,若识别信息是HARQ进程ID,在组建本次将要发送的MAC PDU的控制信息时,携带本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID;In implementation, if the identification information is a HARQ process ID, when constructing the control information of the MAC PDU to be sent this time, the HARQ process ID of the predecessor MAC PDU of the MAC PDU to be sent this time is carried;

当为重传数据时,携带后继MAC PDU的HARQ进程ID,或者不携带后继MAC PDU的HARQ进程ID。When the data is retransmitted, it carries the HARQ process ID of the subsequent MAC PDU, or does not carry the HARQ process ID of the subsequent MAC PDU.

实施中,HARQ进程ID是在DCI通过PDCCH发送的,或,通过MAC CE携带发送的。In implementation, the HARQ process ID is sent in the DCI via the PDCCH, or is carried in the MAC CE.

一种MAC层,包括:A MAC layer, comprising:

发送确定模块,用于确定向下层发送的MAC PDU的承载和/或进程;A sending determination module, used to determine the bearer and/or process of the MAC PDU sent to the lower layer;

发送模块,用于根据所述承载和/或进程按顺序进行发送。The sending module is used to send in sequence according to the bearer and/or process.

实施中,发送模块进一步用于在根据所述承载和/或进程按顺序进行发送时,包括:In implementation, the sending module is further used to send in sequence according to the bearer and/or process, including:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照从上层接收的顺序组建MAC PDU后进行发送;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, the MAC PDUs are assembled and sent in the order received from the upper layer;

在不同进程之间发送时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照从上层承载接收的顺序进行MAC层的发送。When sending between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sent at the MAC layer in the order in which they are received from the upper-layer bearer, taking the upper-layer bearer as a unit.

实施中,发送模块进一步用于在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息。In implementation, the sending module is further used to carry the identification information of the predecessor and/or subsequent MAC PDU of each MAC PDU when sending the MAC PDU.

实施中,发送模块进一步用于携带包括以下信息之一或者其组合的前驱和/或后继MAC PDU的识别信息:In implementation, the sending module is further used to carry identification information of the predecessor and/or successor MAC PDU including one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,发送模块进一步用于在在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息时,包括:In implementation, the sending module is further used to carry the identification information of the MAC PDU predecessor and/or subsequent MAC PDU when sending each MAC PDU, including:

若识别信息是MAC PDU的序列号,则在MAC PDU中携带当前MAC PDU的序列号;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU is carried in the MAC PDU;

若识别信息是以下信息之一或者其组合,则通过按照空口时序关系进行数据发送来携带识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the identification information is carried by sending data according to the air interface timing relationship: the subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of the PDCCH, and air interface time-frequency domain resource information of the PDSCH;

若识别信息是HARQ进程ID,则携带前驱和/或后继的HARQ进程ID。If the identification information is a HARQ process ID, it carries the preceding and/or succeeding HARQ process IDs.

实施中,发送模块进一步用于在发送时,若识别信息是HARQ进程ID,在组建本次将要发送的MAC PDU的控制信息时,携带本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID;In implementation, the sending module is further used to carry the HARQ process ID of the predecessor MAC PDU of the MAC PDU to be sent when constructing the control information of the MAC PDU to be sent this time, if the identification information is the HARQ process ID during sending;

当为重传数据时,携带后继MAC PDU的HARQ进程ID,或者不携带后继MAC PDU的HARQ进程ID。When the data is retransmitted, it carries the HARQ process ID of the subsequent MAC PDU, or does not carry the HARQ process ID of the subsequent MAC PDU.

实施中,发送模块进一步用于在在DCI通过PDCCH发送HARQ进程ID,或,通过MAC CE携带发送HARQ进程ID。In implementation, the sending module is further used to send the HARQ process ID in the DCI through the PDCCH, or to send the HARQ process ID by carrying it in the MAC CE.

一种MAC层,包括:A MAC layer, comprising:

处理器,用于读取存储器中的程序,执行下列过程:The processor reads the program in the memory and performs the following processes:

接收MAC PDU;Receive MAC PDU;

确定MAC PDU的承载和/或进程;Determine the bearer and/or process of the MAC PDU;

根据所述承载和/或进程按顺序对接收的MAC PDU进行排序;sorting the received MAC PDUs in order according to the bearer and/or process;

收发机,用于在处理器的控制下接收和发送数据。A transceiver is used to receive and send data under the control of the processor.

实施中,根据所述承载和/或进程按顺序对接收的MAC PDU进行排序,包括:In implementation, sorting the received MAC PDUs in order according to the bearer and/or process includes:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照接收的顺序为接收到的MAC PDU中MAC SDU进行排序;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, sorting the MAC SDUs in the received MAC PDU in the order in which they are received;

在不同进程之间接收时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照接收的顺序为接收到的MAC PDU中MAC SDU以上层承载为单位进行排序。When receiving between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sorted in the order of receiving, taking the upper-layer bearer as the unit.

实施中,在不同进程之间接收时,进一步包括:During implementation, when receiving between different processes, it further includes:

在接收每个MAC PDU时,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序。When receiving each MAC PDU, it is sorted according to the identification information of the predecessor and/or subsequent MAC PDU carried by the MAC PDU.

实施中,前驱和/或后继MAC PDU的识别信息,包括以下信息之一或者其组合:In implementation, the identification information of the predecessor and/or successor MAC PDU includes one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序,包括:In implementation, the sorting is performed according to the identification information of the predecessor and/or successor MAC PDU carried by the MAC PDU, including:

若识别信息是MAC PDU的序列号,则根据在MAC PDU中携带的当前MAC PDU的序列号进行排序;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU carried in the MAC PDU is used for sorting;

若识别信息是以下信息之一或者其组合,则通过接收时的空口时序关系确定携带的识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the carried identification information is determined by the air interface timing relationship during reception: the air interface subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of PDCCH, and air interface time-frequency domain resource information of PDSCH;

若识别信息是HARQ进程ID,则根据携带的前驱和/或后继的HARQ进程ID进行排序。If the identification information is a HARQ process ID, the order is performed according to the carried predecessor and/or successor HARQ process IDs.

实施中,若识别信息是HARQ进程ID,携带的是本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID的,是本次发送的MAC PDU;In implementation, if the identification information is a HARQ process ID, the one carrying the HARQ process ID of the predecessor MAC PDU of the currently transmitted MAC PDU is the currently transmitted MAC PDU;

携带的是后继MAC PDU的HARQ进程ID,或者未携带后继MAC PDU的HARQ进程ID的,是重传数据。The data that carries the HARQ process ID of the subsequent MAC PDU or does not carry the HARQ process ID of the subsequent MAC PDU is retransmitted data.

实施中,HARQ进程ID是在DCI通过PDCCH接收的,或,通过MAC CE携带接收的。In implementation, the HARQ process ID is received in the DCI via the PDCCH, or is carried in the MAC CE.

实施中,进一步包括:During implementation, it further includes:

根据排序结果进行数据包重组,直到所有数据包都重组完成进行递交或者在没有正确接收时,停止重组。The data packets are reassembled according to the sorting results until all the data packets are reassembled and delivered or the reassembly is stopped when they are not received correctly.

实施中,进一步包括:During implementation, it further includes:

每个HARQ进程设立多层的缓存机制,根据排序结果进行数据包重组。Each HARQ process sets up a multi-layer cache mechanism to reassemble data packets based on the sorting results.

实施中,进一步包括:During implementation, it further includes:

按照接收的PDU中的每个上层的PDU的顺序递交给上层。The received PDUs are delivered to the upper layer in the order of the PDUs of each upper layer.

一种MAC层,包括:A MAC layer, comprising:

接收模块,用于接收MAC PDU;A receiving module, used for receiving a MAC PDU;

接收确定模块,用于确定MAC PDU的承载和/或进程;A receiving and determining module, configured to determine a bearer and/or process of a MAC PDU;

排序模块,用于根据所述承载和/或进程按顺序对接收的MAC PDU进行排序。A sorting module is used to sort the received MAC PDUs in sequence according to the bearer and/or process.

实施中,排序模块进一步用于在根据所述承载和/或进程按顺序对接收的MAC PDU进行排序时,包括:In implementation, the sorting module is further used to sort the received MAC PDUs in sequence according to the bearer and/or process, including:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照接收的顺序为接收到的MAC PDU中MAC SDU进行排序;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, sorting the MAC SDUs in the received MAC PDU in the order in which they were received;

在不同进程之间接收时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照接收的顺序为接收到的MAC PDU中MAC SDU以上层承载为单位进行排序。When receiving between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sorted in the order of receiving, taking the upper-layer bearer as the unit.

实施中,排序模块进一步用于在不同进程之间接收时,在接收每个MAC PDU时,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序。In implementation, the sorting module is further used to sort each MAC PDU when receiving between different processes according to the identification information of the predecessor and/or subsequent MAC PDU carried by the MAC PDU.

实施中,排序模块进一步用于根据包括以下信息之一或者其组合的前驱和/或后继MAC PDU的识别信息排序:In implementation, the sorting module is further used to sort the preceding and/or succeeding MAC PDUs according to identification information of the predecessor and/or successor MAC PDUs including one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,排序模块进一步用于在根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序时,包括:In implementation, the sorting module is further used to sort according to the identification information of the predecessor and/or successor MAC PDU carried by the MAC PDU, including:

若识别信息是MAC PDU的序列号,则根据在MAC PDU中携带的当前MAC PDU的序列号进行排序;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU carried in the MAC PDU is used for sorting;

若识别信息是以下信息之一或者其组合,则通过接收时的空口时序关系确定携带的识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the carried identification information is determined by the air interface timing relationship during reception: the air interface subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of PDCCH, and air interface time-frequency domain resource information of PDSCH;

若识别信息是HARQ进程ID,则根据携带的前驱和/或后继的HARQ进程ID进行排序。If the identification information is a HARQ process ID, the order is performed according to the carried predecessor and/or successor HARQ process IDs.

实施中,排序模块进一步用于在排序时,若识别信息是HARQ进程ID,携带的是本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID的,是本次发送的MAC PDU;In implementation, the sorting module is further used to, when sorting, if the identification information is a HARQ process ID, and the one carrying the HARQ process ID of the predecessor MAC PDU of the MAC PDU sent this time is the MAC PDU sent this time;

携带的是后继MAC PDU的HARQ进程ID,或者未携带后继MAC PDU的HARQ进程ID的,是重传数据。The data that carries the HARQ process ID of the subsequent MAC PDU or does not carry the HARQ process ID of the subsequent MAC PDU is retransmitted data.

实施中,接收模块进一步用于在DCI通过PDCCH接收HARQ进程ID,或,通过MAC CE携带接收HARQ进程ID。In implementation, the receiving module is further used to receive the HARQ process ID in the DCI through the PDCCH, or to receive the HARQ process ID by carrying it in the MAC CE.

实施中,进一步包括:During implementation, it further includes:

重组模块,用于根据排序结果进行数据包重组,直到所有数据包都重组完成进行递交或者在没有正确接收时,停止重组。The reassembly module is used to reassemble the data packets according to the sorting result until all the data packets are reassembled and delivered or stop reassembling when they are not received correctly.

实施中,重组模块进一步用于每个HARQ进程设立多层的缓存机制,根据排序结果进行数据包重组。In implementation, the reassembly module is further used to establish a multi-layer cache mechanism for each HARQ process, and to reassemble data packets according to the sorting results.

实施中,重组模块进一步用于按照接收的PDU中的每个上层的PDU的顺序递交给上层。In implementation, the reassembly module is further used to deliver the received PDU to the upper layer in the order of each upper layer's PDU.

一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有执行上述数据发送方法和/或数据接收方法的计算机程序。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the above-mentioned data sending method and/or data receiving method.

本发明有益效果如下:The beneficial effects of the present invention are as follows:

在本发明实施例提供的技术方案中,由于在发送时,根据MAC PDU的承载和/或进程按顺序进行发送;在接收时,根据所述承载和/或进程按顺序对接收的MAC PDU进行排序,实现了MAC排序,从而降低了上层乱序的范围,也因此能够缩短SN长度,降低传输长SN的开销,还能降低排序窗口和排序中时间和存储缓存的开销。In the technical solution provided by the embodiment of the present invention, since, when sending, the MAC PDU is sent in sequence according to the bearer and/or process; when receiving, the received MAC PDU is sorted in sequence according to the bearer and/or process, MAC sorting is implemented, thereby reducing the scope of upper layer disorder, and thus shortening the SN length, reducing the overhead of transmitting long SN, and reducing the sorting window and the time and storage cache overhead during sorting.

进一步的,通过MAC排序,能够触发MAC引入更多机制进行快速数据发送,从而降低了时延。Furthermore, MAC sorting can trigger MAC to introduce more mechanisms for fast data transmission, thereby reducing latency.

进一步的,在确保HARQ进程灵活使用的前提下,实现了数据包的排序。Furthermore, the data packets are sorted under the premise of ensuring the flexible use of the HARQ process.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

图1为本发明实施例中发送端MAC上的数据发送方法实施流程示意图;1 is a schematic diagram of an implementation flow of a method for sending data on a transmitting end MAC according to an embodiment of the present invention;

图2为本发明实施例中接收端MAC上的数据接收方法实施流程示意图;2 is a schematic diagram of an implementation flow of a data receiving method on a receiving end MAC according to an embodiment of the present invention;

图3为本发明实施例中MAC HARQ多进程收发MAC PDU的示意图;FIG3 is a schematic diagram of MAC HARQ multi-process sending and receiving MAC PDU in an embodiment of the present invention;

图4为本发明实施例中MAC HARQ进程缓存及排序示意图;FIG4 is a schematic diagram of MAC HARQ process caching and sorting in an embodiment of the present invention;

图5为本发明实施例中MAC层一结构示意图;FIG5 is a schematic diagram of the structure of a MAC layer according to an embodiment of the present invention;

图6为本发明实施例中MAC层二结构示意图。FIG6 is a schematic diagram of the structure of MAC layer 2 in an embodiment of the present invention.

具体实施方式Detailed ways

发明人在发明过程中注意到:The inventors noticed during the invention process that:

由MAC层的上层(比如RLC(无线链路控制,Radio Link Control)或者PDCP(分组数据聚合协议,Packet Data Convergence Protocol))对数据包进行排序是RAN(接入网,Radio Access Network)的常用方法。It is a common method of RAN (Radio Access Network) to sort data packets by the upper layer of the MAC layer (such as RLC (Radio Link Control) or PDCP (Packet Data Convergence Protocol)).

5G中引入了DC(双链接,Dual Connectivity)和MC(多链接,MultipleConnectivity),因数据包乱序而需要排序带来的系统开销越来越大,比如5G的PDCP引入18个比特长度的SN(序列号,Sequence Number)号。如果能够减少乱序,既能缩短SN长度,降低传输长SN的开销,又能降低排序窗口和排序中时间和存储缓存的开销。5G introduces DC (Dual Connectivity) and MC (Multiple Connectivity). The system overhead caused by the need to sort packets due to disordered data packets is increasing. For example, 5G PDCP introduces SN (Sequence Number) with a length of 18 bits. If the disorder can be reduced, the SN length can be shortened, the overhead of transmitting long SN can be reduced, and the sorting window, the time during sorting, and the overhead of storage cache can be reduced.

基于此,本发明实施例中提供了在HARQ多进程发送时,通过MAC调度时选择的MAC进程的先后顺序的方式,对MAC PDU进行排序,从而确保MAC层数据包的有序接收,降低链路上排序开销。Based on this, an embodiment of the present invention provides a method for sorting MAC PDUs by the order of MAC processes selected during MAC scheduling when HARQ multi-processes are sent, thereby ensuring orderly reception of MAC layer data packets and reducing sorting overhead on the link.

下面结合附图对本发明的具体实施方式进行说明。The specific implementation of the present invention will be described below with reference to the accompanying drawings.

在说明过程中,将分别从发送端MAC与接收端MAC侧的实施进行说明,然后还将给出二者配合实施的实例以更好地理解本发明实施例中给出的方案的实施。这样的说明方式并不意味着二者必须配合实施、或者必须单独实施,实际上,当发送端MAC与接收端MAC侧分开实施时,其也各自解决发送端MAC、接收端MAC侧的问题,而二者结合使用时,会获得更好的技术效果。In the description process, the implementation of the transmitting end MAC and the receiving end MAC will be described respectively, and then an example of the coordinated implementation of the two will be given to better understand the implementation of the scheme given in the embodiment of the present invention. This description does not mean that the two must be implemented in coordination or must be implemented separately. In fact, when the transmitting end MAC and the receiving end MAC are implemented separately, they also solve the problems of the transmitting end MAC and the receiving end MAC respectively, and when the two are used in combination, better technical effects will be obtained.

图1为发送端MAC上的数据发送方法实施流程示意图,如图所示,包括:FIG. 1 is a schematic diagram of an implementation flow of a data transmission method on a transmitting end MAC, as shown in the figure, including:

步骤101、确定向下层发送的MAC PDU的承载和/或进程;Step 101: Determine the bearer and/or process of the MAC PDU sent to the lower layer;

步骤102、根据所述承载和/或进程按顺序进行发送。Step 102: Send in sequence according to the bearer and/or process.

图2为接收端MAC上的数据接收方法实施流程示意图,如图所示,包括:FIG. 2 is a schematic diagram of a data receiving method implementation flow on a receiving end MAC, as shown in the figure, including:

步骤201、接收MAC PDU;Step 201: Receive MAC PDU;

步骤202、确定MAC PDU的承载和/或进程;Step 202: Determine the bearer and/or process of the MAC PDU;

步骤203、根据所述承载和/或进程按顺序对接收的MAC PDU进行排序。Step 203: Sort the received MAC PDUs in order according to the bearer and/or process.

具体的,通过在MAC层对基于HARQ多进程导致的数据包乱序的排序,从而降低MAC层的上层的数据包排序压力。Specifically, the data packets that are out of order due to HARQ multi-process are sorted at the MAC layer, thereby reducing the data packet sorting pressure at the upper layer of the MAC layer.

可以依靠MAC调度器在调度时对数据包的发送顺序进行控制,从而实现接收端的MAC层对乱序数据包的接收排序。The MAC scheduler can be relied upon to control the order in which data packets are sent during scheduling, thereby enabling the MAC layer at the receiving end to receive and sort out out-of-order data packets.

下面对HARQ多进程的MAC PDU排序方案的实施进行说明。The implementation of the MAC PDU sorting scheme for HARQ multi-process is described below.

实施中,在发送端MAC上,根据所述承载和/或进程按顺序进行发送,包括:In implementation, at the transmitting end MAC, sending is performed in sequence according to the bearer and/or process, including:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照从上层接收的顺序组建MAC PDU后进行发送;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, the MAC PDUs are assembled and sent in the order received from the upper layer;

在不同进程之间发送时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照从上层承载接收的顺序进行MAC层的发送。When sending between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sent at the MAC layer in the order in which they are received from the upper-layer bearer, taking the upper-layer bearer as a unit.

相应的,在接收端MAC则有,根据所述承载和/或进程按顺序对接收的MAC PDU进行排序,包括:Correspondingly, at the receiving end MAC, the received MAC PDUs are sorted in order according to the bearer and/or process, including:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照接收的顺序为接收到的MAC PDU中MAC SDU进行排序;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, sorting the MAC SDUs in the received MAC PDU in the order in which they were received;

在不同进程之间接收时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照接收的顺序为接收到的MAC PDU中MAC SDU以上层承载为单位进行排序。When receiving between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sorted in the order of receiving, taking the upper-layer bearer as the unit.

具体的,MAC PDU(协议数据单元,Protocol Data Unit)中包含数据内容MAC SDU(服务数据单元,Service Data Unit),每个MAC SDU包含了MAC层的上层的PDU。每个MACSDU可以包含一个或多个上层承载上的数据包(5G中一个MAC SDU只能承载一个上层承载(逻辑信道或者DRB(数据无线承载,Data Radio Bearer))的数据,在未来的通信系统中可能会打破这个限制)。每个MAC SDU可以包含同一个上层承载传输的一个或者多个上层PDU(5G中有MAC的上层把该上层的多个SDU封装成一个上层PDU,即只包含一个上层PDU)。Specifically, the MAC PDU (Protocol Data Unit) contains the data content MAC SDU (Service Data Unit), and each MAC SDU contains the PDU of the upper layer of the MAC layer. Each MAC SDU can contain one or more data packets on the upper layer bearer (in 5G, one MAC SDU can only carry data of one upper layer bearer (logical channel or DRB (Data Radio Bearer)), and this limitation may be broken in future communication systems). Each MAC SDU can contain one or more upper layer PDUs transmitted by the same upper layer bearer (in 5G, the upper layer with MAC encapsulates multiple SDUs of the upper layer into one upper layer PDU, that is, it only contains one upper layer PDU).

也即,MAC层基于HARQ多线程排序方案就是完成两个层面的排序:That is, the MAC layer's HARQ multi-threaded sorting solution completes sorting at two levels:

情况1、MAC SDU中包含的上层数据包的排序:对每个MAC SDU包含的同一个上层承载传输的一个或者多个上层PDU进行排序。按照从上层接收的顺序进行MAC层的发送和接收。Case 1: Ordering of upper layer data packets contained in MAC SDU: Order one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU. Send and receive the MAC layer in the order received from the upper layer.

情况2、不同进程间MAC PDU之间的排序:在不同进程之间发送时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位进行排序。按照从上层承载接收的顺序进行MAC层的发送和接收。Case 2: Sorting between MAC PDUs between different processes: When sending between different processes, the data packets of one or more upper-layer bearers contained in the MAC SDUs in the MAC PDUs sent by different processes are sorted by upper-layer bearers. The MAC layer sends and receives data in the order received from the upper-layer bearers.

图3为MAC HARQ多进程收发MAC PDU的示意图,如图所示,图3给出了使用HARQ多进程收发MAC PDU示意图。FIG3 is a schematic diagram of MAC HARQ multi-process receiving and sending MAC PDU. As shown in the figure, FIG3 shows a schematic diagram of using HARQ multi-process receiving and sending MAC PDU.

其中,TB(传输块,Transport Block)是每个HARQ进程传输的数据块,即MAC PDU。Among them, TB (Transport Block) is a data block transmitted by each HARQ process, that is, MAC PDU.

MAC调度器每次选择一个空闲的可用的HARQ进程发送数据,故MAC调度器不是按照HARQ进程ID的顺序进程选择地。图3中,process 1#进程没有被使用,因为process n-1#进程在发送完数据后,及时得到ACK(肯定确认,Acknowledgement)反馈而成为“可用进程”。当HARQ进程确定后,组建MAC PDU。The MAC scheduler selects an idle and available HARQ process to send data each time, so the MAC scheduler does not select processes in the order of HARQ process ID. In Figure 3, process 1# is not used because process n-1# receives ACK (acknowledgement) feedback in time after sending data and becomes an "available process". When the HARQ process is determined, the MAC PDU is constructed.

对于情况1(MAC SDU包含的上层数据包的排序)的排序:For case 1 (ordering of upper layer data packets contained in MAC SDU):

1、在发送端MAC组建MAC PDU时,按照从MAC的上层接收的上层PDU的先后顺序组建MAC PDU。1. When the transmitting MAC constructs a MAC PDU, it constructs the MAC PDU in the order of the upper layer PDUs received from the upper layer of the MAC.

2、接收端MAC在解析MAC PDU时,按照MAC SDU中不同数据单元在该MAC SDU中的顺序向上层递交数据。2. When parsing the MAC PDU, the receiving MAC delivers data to the upper layer according to the order of different data units in the MAC SDU.

对于情况2(不同进程间MAC PDU之间的排序)的排序实施则可以如下:For case 2 (ordering between MAC PDUs in different processes), the ordering implementation can be as follows:

实施中,在发送端MAC上,在不同进程之间发送时,进一步包括:In implementation, on the sending end MAC, when sending between different processes, it further includes:

在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息。When each MAC PDU is sent, the identification information of the predecessor and/or subsequent MAC PDU of the MAC PDU is carried.

相应的,在接收端MAC则有,在不同进程之间接收时,进一步包括:Correspondingly, the MAC at the receiving end has, when receiving between different processes, further including:

在接收每个MAC PDU时,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序。When receiving each MAC PDU, it is sorted according to the identification information of the predecessor and/or subsequent MAC PDU carried by the MAC PDU.

1、发送端的MAC向其低层发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MACPDU的识别信息。1. When the transmitting MAC sends each MAC PDU to its lower layer, it carries the identification information of the predecessor and/or subsequent MAC PDU of the MAC PDU.

2、接收端的MAC接收到一个MAC PDU后,按照该MAC PDU前驱和/或后继的MAC PDU的识别信息完成前驱或者后继MAC PDU的排序。2. After receiving a MAC PDU, the MAC at the receiving end completes the sorting of the predecessor or successor MAC PDU according to the identification information of the predecessor and/or successor MAC PDU of the MAC PDU.

下面对情况2的发送端MAC的实施进行说明。The implementation of the transmitting end MAC in case 2 is described below.

实施中,前驱和/或后继MAC PDU的识别信息,包括以下信息之一或者其组合:In implementation, the identification information of the predecessor and/or successor MAC PDU includes one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

具体的,前驱和/或后继的MAC PDU的识别信息可以为发送该MAC PDU的HARQ进程ID(Process ID),也可以是数据包的发送的序列号,或者空口的子帧号(Sub Frame)、帧号(Frame)、符号索引(Symbol)、时隙号(Time Slot)一种或者几种的组合,或者PDCCH(物理下行控制信道,Physical downlink control channel)或PDSCH(物理下行共享信道,Physical downlink shared channel)的空口时频域资源信息。Specifically, the identification information of the predecessor and/or subsequent MAC PDU can be the HARQ process ID (Process ID) that sends the MAC PDU, or the sequence number of the data packet sent, or the air interface subframe number (Sub Frame), frame number (Frame), symbol index (Symbol), time slot number (Time Slot) one or a combination of several, or the air interface time-frequency domain resource information of PDCCH (Physical downlink control channel) or PDSCH (Physical downlink shared channel).

对于第一个新传数据包没有前驱,对于最后一个数据包没有后继。There is no predecessor for the first newly transmitted data packet and no successor for the last data packet.

具体实施中,在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息,包括:In a specific implementation, when each MAC PDU is sent, the identification information of the predecessor and/or subsequent MAC PDU of the MAC PDU is carried, including:

若识别信息是MAC PDU的序列号,则在MAC PDU中携带当前MAC PDU的序列号;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU is carried in the MAC PDU;

若识别信息是以下信息之一或者其组合,则通过按照空口时序关系进行数据发送来携带识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the identification information is carried by sending data according to the air interface timing relationship: the subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of the PDCCH, and air interface time-frequency domain resource information of the PDSCH;

若识别信息是HARQ进程ID,则携带前驱和/或后继的HARQ进程ID。If the identification information is a HARQ process ID, it carries the preceding and/or succeeding HARQ process IDs.

具体实施中,若识别信息是HARQ进程ID,在组建本次将要发送的MAC PDU的控制信息时,携带本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID;In a specific implementation, if the identification information is a HARQ process ID, when constructing the control information of the MAC PDU to be sent this time, the HARQ process ID of the predecessor MAC PDU of the MAC PDU to be sent this time is carried;

当为重传数据时,携带后继MAC PDU的HARQ进程ID,或者不携带后继MAC PDU的HARQ进程ID。When the data is retransmitted, it carries the HARQ process ID of the subsequent MAC PDU, or does not carry the HARQ process ID of the subsequent MAC PDU.

具体的,如果是MAC PDU的序列号,则只需要在MAC PDU中携带当前MAC PDU的序列号即可,不需要携带前驱和/或后继MAC PDU的序列号,因为序列号本身就包含了前后关系。Specifically, if it is the sequence number of a MAC PDU, it is only necessary to carry the sequence number of the current MAC PDU in the MAC PDU, and there is no need to carry the sequence number of the predecessor and/or successor MAC PDU, because the sequence number itself includes the preceding and following relationship.

如果是空口时序相关的标识,即空口的子帧号(Sub Frame)、帧号(Frame)、符号索引(Symbol)、时隙号(Time Slot)的一种或者几种的组合,或者PDCCH/PDSCH的空口时频域资源信息,则发送MAC PDU时不需要携带上述信息,只要按照空口时序关系进行数据发送即可。接收方根据接收的PDCCH或者PDSCH所在的空口时序的相关标识或者空口时频域资源信息,便可确定本次接收的MAC PDU对应的前驱和/或后继MAC PDU,因为上述空口时序关系本身就包含了前后关系。If it is an identifier related to the air interface timing, that is, one or a combination of the air interface subframe number (Sub Frame), frame number (Frame), symbol index (Symbol), time slot number (Time Slot), or the air interface time-frequency domain resource information of PDCCH/PDSCH, then it is not necessary to carry the above information when sending the MAC PDU, and the data can be sent according to the air interface timing relationship. The receiver can determine the predecessor and/or successor MAC PDU corresponding to the MAC PDU received this time based on the relevant identifier of the air interface timing of the received PDCCH or PDSCH or the air interface time-frequency domain resource information, because the above air interface timing relationship itself contains the previous and next relationship.

如果是HARQ进程ID,则需要携带前驱和/或后继的进程ID,因为MAC发送时不是按照进程ID的先后关系选择可用的HARQ进程。在组建本次将要发送的MAC PDU的控制信息时,MAC确定本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID。当为重传数据时,可以携带后继HARQ进程ID,也可以不携带。If it is a HARQ process ID, it needs to carry the predecessor and/or successor process ID, because the MAC does not select the available HARQ process according to the order of the process ID when sending. When forming the control information of the MAC PDU to be sent this time, the MAC determines the HARQ process ID of the predecessor MAC PDU of the MAC PDU to be sent this time. When it is retransmitted data, the successor HARQ process ID can be carried or not.

MAC调度器调度时,如果为新发送一个MAC PDU时(新传),把紧邻的一次调度时使用的HARQ ID(前驱HARQ进程ID)给该MAC PDU携带。如果是重传一个MAC PDU时(重传),把紧邻的一次调度时使用的HARQ ID(前驱HARQ进程ID)和/或紧邻的一次后继的进程ID该MACPDU携带。When the MAC scheduler schedules, if it is a new MAC PDU (new transmission), the HARQ ID (predecessor HARQ process ID) used in the previous scheduling is carried by the MAC PDU. If it is a retransmission of a MAC PDU (retransmission), the HARQ ID (predecessor HARQ process ID) used in the previous scheduling and/or the next next successor process ID is carried by the MAC PDU.

具体实施中,HARQ进程ID是在DCI通过PDCCH发送的,或,通过MAC CE携带发送的。In a specific implementation, the HARQ process ID is sent in the DCI through the PDCCH, or is sent by being carried in the MAC CE.

HARQ进程ID的发送方式:可以在承载控制信息的DCI(下行控制信息,DownlinkControl Information)中新增前驱和/或后继HARQ进程ID,通过PDCCH信道进行发送。可以新增一个MAC CE(媒体接入控制控制单元;CE:控制单元,Control Element)类型,承载新增前驱和/或后继HARQ进程ID。HARQ process ID transmission method: The predecessor and/or successor HARQ process ID can be added in the DCI (Downlink Control Information) that carries the control information and sent through the PDCCH channel. A new MAC CE (Media Access Control Element; CE: Control Element) type can be added to carry the newly added predecessor and/or successor HARQ process ID.

下面对情况2的接收端MAC的实施进行说明。The implementation of the receiving end MAC in case 2 is described below.

实施中,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序,包括:In implementation, the MAC PDUs are sorted according to the identification information of the predecessor and/or successor MAC PDUs carried by the MAC PDUs, including:

若识别信息是MAC PDU的序列号,则根据在MAC PDU中携带的当前MAC PDU的序列号进行排序;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU carried in the MAC PDU is used for sorting;

若识别信息是以下信息之一或者其组合,则通过接收时的空口时序关系确定隐式携带的识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the implicitly carried identification information is determined by the air interface timing relationship during reception: the air interface subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of PDCCH, and air interface time-frequency domain resource information of PDSCH;

若识别信息是HARQ进程ID,则根据携带的前驱和/或后继的HARQ进程ID进行排序。If the identification information is a HARQ process ID, the order is performed according to the carried predecessor and/or successor HARQ process IDs.

具体实施中,若识别信息是HARQ进程ID,携带的是本次发送的MAC PDU的前驱MACPDU的HARQ进程ID的,是本次发送的MAC PDU;In a specific implementation, if the identification information is a HARQ process ID, the one carrying the HARQ process ID of the predecessor MAC PDU of the currently transmitted MAC PDU is the currently transmitted MAC PDU;

携带的是后继MAC PDU的HARQ进程ID,或者未携带后继MAC PDU的HARQ进程ID的,是重传数据。The data that carries the HARQ process ID of the subsequent MAC PDU or does not carry the HARQ process ID of the subsequent MAC PDU is retransmitted data.

具体实施中,HARQ进程ID是在DCI通过PDCCH接收的,或,通过MAC CE携带接收的。In a specific implementation, the HARQ process ID is received in the DCI through the PDCCH, or is received by being carried in the MAC CE.

具体的,根据前驱和/或后继MAC PDU的识别信息进行排序。根据前驱信息把本次接收的MAC PDU排序到紧邻的后面。如果还携带了后继的识别信息,可以用来确认后继是否正确,从而进一步确认该MAC PDU的排序位置。Specifically, the MAC PDUs are sorted according to the identification information of the predecessor and/or successor MAC PDUs. The MAC PDU received this time is sorted immediately after the predecessor information. If the identification information of the successor is also carried, it can be used to confirm whether the successor is correct, thereby further confirming the sorting position of the MAC PDU.

如果是MAC PDU的序列号,直接按照序列号插入相应的位置;If it is the sequence number of the MAC PDU, insert it directly into the corresponding position according to the sequence number;

如果是空口时序相关的标识,根据约束关系,确定排序位置;If it is an identifier related to air interface timing, the sorting position is determined according to the constraint relationship;

如果是HARQ进程ID,则指向相应的HARQ进程;If it is a HARQ process ID, it points to the corresponding HARQ process;

无论发送端是否发送后继MAC PDU的识别信息,接收端在存储接收到的MAC PDU时,如果该MAC PDU存在前驱(第一个新传数据包没有前驱)或后继(最后一个新传数据包没有后继,在数据交换过程中,可在后继数据包到达后,把识别信息更新到前驱MAC PDU中)都要把该MAC PDU的前驱和后继关系建立起来。Regardless of whether the transmitting end sends the identification information of the subsequent MAC PDU, when the receiving end stores the received MAC PDU, if the MAC PDU has a predecessor (the first newly transmitted data packet has no predecessor) or a successor (the last newly transmitted data packet has no successor; during the data exchange process, the identification information can be updated to the predecessor MAC PDU after the successor data packet arrives), the predecessor and successor relationship of the MAC PDU must be established.

实施中,还可以进一步包括:During implementation, the following may further be included:

根据排序结果进行数据包重组,直到所有数据包都重组完成进行递交或者在没有正确接收时,停止重组。The data packets are reassembled according to the sorting results until all the data packets are reassembled and delivered or the reassembly is stopped when they are not received correctly.

具体的,根据排序结果进行数据包重组。如果前驱的数据包已经正确接收(包括已经递交给MAC的上层),则把本MAC PDU解析得到相应的MAC SDU及其包含的上层的PDU,按序递交给MAC的上层。读取该MAC PDU的后继MAC PDU,如果该MAC PDU已经正确接收,则把本MAC PDU解析得到相应的MAC SDU及其包含的上层的PDU,按序递交给MAC的上层。继续读取后继MAC PDU,直到所有数据包都重组完成进行递交或者还没有正确接收,停止重组。Specifically, data packets are reassembled according to the sorting results. If the predecessor data packet has been correctly received (including being delivered to the upper layer of MAC), the current MAC PDU is parsed to obtain the corresponding MAC SDU and the upper layer PDU it contains, and delivered to the upper layer of MAC in sequence. The successor MAC PDU of the MAC PDU is read. If the MAC PDU has been correctly received, the current MAC PDU is parsed to obtain the corresponding MAC SDU and the upper layer PDU it contains, and delivered to the upper layer of MAC in sequence. Continue to read the subsequent MAC PDU until all data packets are reassembled and delivered or have not been correctly received, and stop the reassembly.

实施中,还可以进一步包括:During implementation, the method may further include:

每个HARQ进程设立多层的缓存机制,根据排序结果进行数据包重组。Each HARQ process sets up a multi-layer cache mechanism to reassemble data packets based on the sorting results.

具体的,每个HARQ进程设立多层的缓存机制,实现数据包按序重组功能。Specifically, each HARQ process establishes a multi-layer cache mechanism to implement the function of sequentially reassembling data packets.

图4为MAC HARQ进程缓存及排序示意图,如图所示,图4提出了每个HARQ进程的缓存功能示意图。其中A型水平方向的双向箭头线表示HARQ进程的缓存中的MAC PDU的前驱和后继的关系。B型竖直方向的双向箭头线表示一个HARQ进程的缓存的MAC PDU的不同轮次的关系。C型单箭头斜线表示一个HARQ进程与其缓存的索引关系。FIG4 is a schematic diagram of MAC HARQ process cache and sorting. As shown in the figure, FIG4 presents a schematic diagram of the cache function of each HARQ process. The horizontal bidirectional arrow line of type A represents the relationship between the predecessor and successor of the MAC PDU in the cache of the HARQ process. The vertical bidirectional arrow line of type B represents the relationship between different rounds of the cached MAC PDU of a HARQ process. The single arrow slash line of type C represents the index relationship between a HARQ process and its cache.

排序时以A型水平方向上的双向箭头线的指引方向进行排序。当一个进程的前一个MAC PDU完成排序递交后,按照B线索引把C线引导到下一个等待排序的MAC PDU(Buffer(缓存))上。The sorting is performed in the direction indicated by the horizontal double-headed arrow line of type A. When the previous MAC PDU of a process is sorted and delivered, line C is directed to the next MAC PDU (Buffer) waiting for sorting according to the index of line B.

对于重传的数据包,如果一直重传都没有重传成功,可以在MAC层丢弃,依靠MAC的上层进行重传和排序了。如果因为空口传输时信息丢失而导致接收端无法接收到信息而导致发送端和接收端信息不一致,比如PDCCH丢失导致发送端发送了数据包,而接收端没有感知(即接收端根本不知道对端发送了)到发送端发送了数据包,这种乱序还可以依靠MAC的上层进行排序。For retransmitted data packets, if they are not successfully retransmitted, they can be discarded at the MAC layer and retransmitted and sorted by the upper layer of MAC. If the receiving end cannot receive information due to information loss during air interface transmission, resulting in inconsistent information between the sending end and the receiving end, such as PDCCH loss causing the sending end to send a data packet, but the receiving end does not perceive it (that is, the receiving end does not know that the other end has sent it) until the sending end sends a data packet, this disorder can also be sorted by the upper layer of MAC.

实施中,还可以进一步包括:During implementation, the method may further include:

按照接收的PDU中的每个上层的PDU的顺序递交给上层。The received PDUs are delivered to the upper layer in the order of the PDUs of each upper layer.

具体的,MAC按照接收的PDU中的每个上层的PDU的顺序递交给上层。Specifically, MAC delivers the received PDUs to the upper layer in the order of each upper layer PDU.

基于同一发明构思,本发明实施例中还提供了一种MAC层、及计算机可读存储介质,由于这些设备解决问题的原理与数据发送方法、数据接收方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an embodiment of the present invention also provides a MAC layer and a computer-readable storage medium. Since the principles of solving the problems by these devices are similar to those of the data sending method and the data receiving method, the implementation of these devices can refer to the implementation of the method, and the repeated parts will not be repeated.

在实施本发明实施例提供的技术方案时,可以按如下方式实施。When implementing the technical solution provided by the embodiment of the present invention, it can be implemented as follows.

图5为MAC层一结构示意图,如图所示,MAC层中包括:FIG5 is a schematic diagram of the structure of a MAC layer. As shown in the figure, the MAC layer includes:

处理器500,用于读取存储器520中的程序,执行下列过程:The processor 500 is used to read the program in the memory 520 and execute the following process:

确定向下层发送的MAC PDU的承载和/或进程;Determine the bearer and/or process of the MAC PDU sent to the lower layer;

根据所述承载和/或进程按顺序进行发送;Sending in order according to the bearer and/or process;

收发机510,用于在处理器500的控制下接收和发送数据。The transceiver 510 is configured to receive and send data under the control of the processor 500 .

实施中,根据所述承载和/或进程按顺序进行发送,包括:In implementation, sending in order according to the bearer and/or process includes:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照从上层接收的顺序组建MAC PDU后进行发送;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, the MAC PDUs are assembled and sent in the order received from the upper layer;

在不同进程之间发送时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照从上层承载接收的顺序进行MAC层的发送。When sending between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sent at the MAC layer in the order in which they are received from the upper-layer bearer, taking the upper-layer bearer as a unit.

实施中,在不同进程之间发送时,进一步包括:During implementation, when sending between different processes, it further includes:

在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息。When each MAC PDU is sent, the identification information of the predecessor and/or subsequent MAC PDU of the MAC PDU is carried.

实施中,前驱和/或后继MAC PDU的识别信息,包括以下信息之一或者其组合:In implementation, the identification information of the predecessor and/or successor MAC PDU includes one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息,包括:In implementation, when each MAC PDU is sent, identification information of the predecessor and/or subsequent MAC PDU of the MAC PDU is carried, including:

若识别信息是MAC PDU的序列号,则在MAC PDU中携带当前MAC PDU的序列号;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU is carried in the MAC PDU;

若识别信息是以下信息之一或者其组合,则通过按照空口时序关系进行数据发送来携带识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the identification information is carried by sending data according to the air interface timing relationship: the subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of the PDCCH, and air interface time-frequency domain resource information of the PDSCH;

若识别信息是HARQ进程ID,则携带前驱和/或后继的HARQ进程ID。If the identification information is a HARQ process ID, it carries the preceding and/or succeeding HARQ process IDs.

实施中,若识别信息是HARQ进程ID,在组建本次将要发送的MAC PDU的控制信息时,携带本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID;In implementation, if the identification information is a HARQ process ID, when constructing the control information of the MAC PDU to be sent this time, the HARQ process ID of the predecessor MAC PDU of the MAC PDU to be sent this time is carried;

当为重传数据时,携带后继MAC PDU的HARQ进程ID,或者不携带后继MAC PDU的HARQ进程ID。When the data is retransmitted, it carries the HARQ process ID of the subsequent MAC PDU, or does not carry the HARQ process ID of the subsequent MAC PDU.

实施中,HARQ进程ID是在DCI通过PDCCH发送的,或,通过MAC CE携带发送的。In implementation, the HARQ process ID is sent in the DCI via the PDCCH, or is carried in the MAC CE.

其中,在图5中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器500代表的一个或多个处理器和存储器520代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机510可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。处理器500负责管理总线架构和通常的处理,存储器520可以存储处理器500在执行操作时所使用的数据。Wherein, in FIG5, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 500 and various circuits of memory represented by memory 520 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 510 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 500 is responsible for managing the bus architecture and general processing, and the memory 520 may store data used by the processor 500 when performing operations.

本发明实施例中还提供了一种MAC层,包括:An embodiment of the present invention further provides a MAC layer, including:

发送确定模块,用于确定向下层发送的MAC PDU的承载和/或进程;A sending determination module, used to determine the bearer and/or process of the MAC PDU sent to the lower layer;

发送模块,用于根据所述承载和/或进程按顺序进行发送。The sending module is used to send in sequence according to the bearer and/or process.

实施中,发送模块进一步用于在根据所述承载和/或进程按顺序进行发送时,包括:In implementation, the sending module is further used to send in sequence according to the bearer and/or process, including:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照从上层接收的顺序组建MAC PDU后进行发送;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, the MAC PDUs are assembled and sent in the order received from the upper layer;

在不同进程之间发送时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照从上层承载接收的顺序进行MAC层的发送。When sending between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sent at the MAC layer in the order in which they are received from the upper-layer bearer, taking the upper-layer bearer as a unit.

实施中,发送模块进一步用于在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息。In implementation, the sending module is further used to carry the identification information of the predecessor and/or subsequent MAC PDU of each MAC PDU when sending the MAC PDU.

实施中,发送模块进一步用于携带包括以下信息之一或者其组合的前驱和/或后继MAC PDU的识别信息:In implementation, the sending module is further used to carry identification information of the predecessor and/or successor MAC PDU including one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,发送模块进一步用于在在发送每个MAC PDU时,携带该MAC PDU前驱和/或后继MAC PDU的识别信息时,包括:In implementation, the sending module is further used to carry the identification information of the MAC PDU predecessor and/or subsequent MAC PDU when sending each MAC PDU, including:

若识别信息是MAC PDU的序列号,则在MAC PDU中携带当前MAC PDU的序列号;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU is carried in the MAC PDU;

若识别信息是以下信息之一或者其组合,则通过按照空口时序关系进行数据发送来携带识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the identification information is carried by sending data according to the air interface timing relationship: the subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of the PDCCH, and air interface time-frequency domain resource information of the PDSCH;

若识别信息是HARQ进程ID,则携带前驱和/或后继的HARQ进程ID。If the identification information is a HARQ process ID, it carries the preceding and/or succeeding HARQ process IDs.

实施中,发送模块进一步用于在发送时,若识别信息是HARQ进程ID,在组建本次将要发送的MAC PDU的控制信息时,携带本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID;In implementation, the sending module is further used to carry the HARQ process ID of the predecessor MAC PDU of the MAC PDU to be sent when constructing the control information of the MAC PDU to be sent this time, if the identification information is the HARQ process ID during sending;

当为重传数据时,携带后继MAC PDU的HARQ进程ID,或者不携带后继MAC PDU的HARQ进程ID。When the data is retransmitted, it carries the HARQ process ID of the subsequent MAC PDU, or does not carry the HARQ process ID of the subsequent MAC PDU.

实施中,发送模块进一步用于在在DCI通过PDCCH发送HARQ进程ID,或,通过MAC CE携带发送HARQ进程ID。In implementation, the sending module is further used to send the HARQ process ID in the DCI through the PDCCH, or to send the HARQ process ID by carrying it in the MAC CE.

为了描述的方便,以上所述装置的各部分以功能分为各种模块或单元分别描述。当然,在实施本发明时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。For the convenience of description, the various parts of the above-mentioned device are divided into various modules or units according to their functions and described separately. Of course, when implementing the present invention, the functions of each module or unit can be implemented in the same or multiple software or hardware.

图6为MAC层二结构示意图,如图所示,MAC层中包括:FIG6 is a schematic diagram of the structure of the MAC layer 2. As shown in the figure, the MAC layer includes:

处理器600,用于读取存储器620中的程序,执行下列过程:The processor 600 is used to read the program in the memory 620 and execute the following process:

接收MAC PDU;Receive MAC PDU;

确定MAC PDU的承载和/或进程;Determine the bearer and/or process of the MAC PDU;

根据所述承载和/或进程按顺序对接收的MAC PDU进行排序;sorting the received MAC PDUs in order according to the bearer and/or process;

收发机610,用于在处理器600的控制下接收和发送数据。The transceiver 610 is configured to receive and send data under the control of the processor 600 .

实施中,根据所述承载和/或进程按顺序对接收的MAC PDU进行排序,包括:In implementation, sorting the received MAC PDUs in order according to the bearer and/or process includes:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照接收的顺序为接收到的MAC PDU中MAC SDU进行排序;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, sorting the MAC SDUs in the received MAC PDU in the order in which they were received;

在不同进程之间接收时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照接收的顺序为接收到的MAC PDU中MAC SDU以上层承载为单位进行排序。When receiving between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sorted in the order of receiving, taking the upper-layer bearer as the unit.

实施中,在不同进程之间接收时,进一步包括:During implementation, when receiving between different processes, it further includes:

在接收每个MAC PDU时,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序。When receiving each MAC PDU, it is sorted according to the identification information of the predecessor and/or subsequent MAC PDU carried by the MAC PDU.

实施中,前驱和/或后继MAC PDU的识别信息,包括以下信息之一或者其组合:In implementation, the identification information of the predecessor and/or successor MAC PDU includes one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序,包括:In implementation, the MAC PDUs are sorted according to the identification information of the predecessor and/or successor MAC PDUs carried by the MAC PDUs, including:

若识别信息是MAC PDU的序列号,则根据在MAC PDU中携带的当前MAC PDU的序列号进行排序;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU carried in the MAC PDU is used for sorting;

若识别信息是以下信息之一或者其组合,则通过接收时的空口时序关系确定携带的识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the carried identification information is determined by the air interface timing relationship during reception: the air interface subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of PDCCH, and air interface time-frequency domain resource information of PDSCH;

若识别信息是HARQ进程ID,则根据携带的前驱和/或后继的HARQ进程ID进行排序。If the identification information is a HARQ process ID, the order is performed according to the carried predecessor and/or successor HARQ process IDs.

实施中,若识别信息是HARQ进程ID,携带的是本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID的,是本次发送的MAC PDU;In implementation, if the identification information is a HARQ process ID, the one carrying the HARQ process ID of the predecessor MAC PDU of the currently transmitted MAC PDU is the currently transmitted MAC PDU;

携带的是后继MAC PDU的HARQ进程ID,或者未携带后继MAC PDU的HARQ进程ID的,是重传数据。The data that carries the HARQ process ID of the subsequent MAC PDU or does not carry the HARQ process ID of the subsequent MAC PDU is retransmitted data.

实施中,HARQ进程ID是在DCI通过PDCCH接收的,或,通过MAC CE携带接收的。In implementation, the HARQ process ID is received in the DCI via the PDCCH, or is carried in the MAC CE.

实施中,进一步包括:During implementation, it further includes:

根据排序结果进行数据包重组,直到所有数据包都重组完成进行递交或者在没有正确接收时,停止重组。The data packets are reassembled according to the sorting results until all the data packets are reassembled and delivered or the reassembly is stopped when they are not received correctly.

实施中,进一步包括:During implementation, it further includes:

每个HARQ进程设立多层的缓存机制,根据排序结果进行数据包重组。Each HARQ process sets up a multi-layer cache mechanism to reassemble data packets based on the sorting results.

实施中,进一步包括:During implementation, it further includes:

按照接收的PDU中的每个上层的PDU的顺序递交给上层。The received PDUs are delivered to the upper layer in the order of the PDUs of each upper layer.

其中,在图6中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器600代表的一个或多个处理器和存储器620代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机610可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。处理器600负责管理总线架构和通常的处理,存储器620可以存储处理器600在执行操作时所使用的数据。In FIG. 6 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 600 and various circuits of memory represented by memory 620 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 610 may be a plurality of components, i.e., a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 when performing operations.

本发明实施例中还提供了一种MAC层,包括:An embodiment of the present invention further provides a MAC layer, including:

接收模块,用于接收MAC PDU;A receiving module, used for receiving a MAC PDU;

接收确定模块,用于确定MAC PDU的承载和/或进程;A receiving and determining module, configured to determine a bearer and/or process of a MAC PDU;

排序模块,用于根据所述承载和/或进程按顺序对接收的MAC PDU进行排序。A sorting module is used to sort the received MAC PDUs in sequence according to the bearer and/or process.

实施中,排序模块进一步用于在根据所述承载和/或进程按顺序对接收的MAC PDU进行排序时,包括:In implementation, the sorting module is further used to sort the received MAC PDUs in sequence according to the bearer and/or process, including:

对于每个MAC SDU中包含的同一个上层承载传输的一个或者多个上层PDU,按照接收的顺序为接收到的MAC PDU中MAC SDU进行排序;For one or more upper layer PDUs carried by the same upper layer bearer contained in each MAC SDU, sorting the MAC SDUs in the received MAC PDU in the order in which they are received;

在不同进程之间接收时,对不同进程发送的MAC PDU中的MAC SDU包含的一个或多个上层承载的数据包以上层承载为单位,按照接收的顺序为接收到的MAC PDU中MAC SDU以上层承载为单位进行排序。When receiving between different processes, one or more upper-layer bearer data packets contained in the MAC SDU in the MAC PDU sent by different processes are sorted in the order of receiving, taking the upper-layer bearer as the unit.

实施中,排序模块进一步用于在不同进程之间接收时,在接收每个MAC PDU时,根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序。In implementation, the sorting module is further used to sort each MAC PDU when receiving between different processes according to the identification information of the predecessor and/or subsequent MAC PDU carried by the MAC PDU.

实施中,排序模块进一步用于根据包括以下信息之一或者其组合的前驱和/或后继MAC PDU的识别信息排序:In implementation, the sorting module is further used to sort the preceding and/or succeeding MAC PDUs according to identification information of the predecessor and/or successor MAC PDUs including one or a combination of the following information:

发送该MAC PDU的HARQ进程ID,数据包的发送的序列号,空口的子帧号、帧号、符号索引、时隙号之一或者其组合,PDCCH的空口时频域资源信息,PDSCH的空口时频域资源信息。The HARQ process ID of the MAC PDU sent, the serial number of the data packet sent, one or a combination of the air interface subframe number, frame number, symbol index, time slot number, air interface time and frequency domain resource information of PDCCH, and air interface time and frequency domain resource information of PDSCH.

实施中,排序模块进一步用于在根据MAC PDU携带的前驱和/或后继MAC PDU的识别信息进行排序时,包括:In implementation, the sorting module is further used to sort according to the identification information of the predecessor and/or successor MAC PDU carried by the MAC PDU, including:

若识别信息是MAC PDU的序列号,则根据在MAC PDU中携带的当前MAC PDU的序列号进行排序;If the identification information is the sequence number of the MAC PDU, the sequence number of the current MAC PDU carried in the MAC PDU is used for sorting;

若识别信息是以下信息之一或者其组合,则通过接收时的空口时序关系确定携带的识别信息:空口的子帧号、帧号、符号索引、时隙号、PDCCH的空口时频域资源信息、PDSCH的空口时频域资源信息;If the identification information is one of the following information or a combination thereof, the carried identification information is determined by the air interface timing relationship during reception: the air interface subframe number, frame number, symbol index, time slot number, air interface time-frequency domain resource information of PDCCH, and air interface time-frequency domain resource information of PDSCH;

若识别信息是HARQ进程ID,则根据携带的前驱和/或后继的HARQ进程ID进行排序。If the identification information is a HARQ process ID, the order is performed according to the carried predecessor and/or successor HARQ process IDs.

实施中,排序模块进一步用于在排序时,若识别信息是HARQ进程ID,携带的是本次发送的MAC PDU的前驱MAC PDU的HARQ进程ID的,是本次发送的MAC PDU;In implementation, the sorting module is further used to, when sorting, if the identification information is a HARQ process ID, and the one carrying the HARQ process ID of the predecessor MAC PDU of the MAC PDU sent this time is the MAC PDU sent this time;

携带的是后继MAC PDU的HARQ进程ID,或者未携带后继MAC PDU的HARQ进程ID的,是重传数据。The data that carries the HARQ process ID of the subsequent MAC PDU or does not carry the HARQ process ID of the subsequent MAC PDU is retransmitted data.

实施中,接收模块进一步用于在DCI通过PDCCH接收HARQ进程ID,或,通过MAC CE携带接收HARQ进程ID。In implementation, the receiving module is further used to receive the HARQ process ID in the DCI through the PDCCH, or to receive the HARQ process ID by carrying it in the MAC CE.

实施中,进一步包括:During implementation, it further includes:

重组模块,用于根据排序结果进行数据包重组,直到所有数据包都重组完成进行递交或者在没有正确接收时,停止重组。The reassembly module is used to reassemble the data packets according to the sorting result until all the data packets are reassembled and delivered or stop reassembling when they are not received correctly.

实施中,重组模块进一步用于每个HARQ进程设立多层的缓存机制,根据排序结果进行数据包重组。In implementation, the reassembly module is further used to establish a multi-layer cache mechanism for each HARQ process, and to reassemble data packets according to the sorting results.

实施中,重组模块进一步用于按照接收的PDU中的每个上层的PDU的顺序递交给上层。In implementation, the reassembly module is further used to deliver the received PDU to the upper layer in the order of each upper layer's PDU.

为了描述的方便,以上所述装置的各部分以功能分为各种模块或单元分别描述。当然,在实施本发明时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。For the convenience of description, the various parts of the above-mentioned device are divided into various modules or units according to their functions and described separately. Of course, when implementing the present invention, the functions of each module or unit can be implemented in the same or multiple software or hardware.

本发明实施例中还提供了一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有执行上述数据发送方法和/或数据接收方法的计算机程序。A computer-readable storage medium is also provided in an embodiment of the present invention, characterized in that the computer-readable storage medium stores a computer program for executing the above-mentioned data sending method and/or data receiving method.

具体实施中,可以参见MAC发送端数据发送方法和/或MAC接收端数据接收方法的实施。In the specific implementation, reference may be made to the implementation of the MAC transmitting end data transmitting method and/or the MAC receiving end data receiving method.

综上所述,在本发明实施例中提供了HARQ多进程的MAC PDU排序方案;In summary, an embodiment of the present invention provides a MAC PDU sorting scheme for HARQ multi-processes;

提供了HARQ多进程排序需要的两种情况的排序方案:1、MAC SDU中包含的上层数据包的排序;2、不同进程间MAC PDU之间的排序;Provides two sorting schemes for HARQ multi-process sorting: 1. Sorting of upper layer data packets contained in MAC SDU; 2. Sorting between MAC PDUs between different processes;

进一步的还提供了情况2的发送端的方案:给出了不同HARQ Process排序中标识前驱和后继数据包的方案,HARQ Process在乱序发送中的顺序记录方案;Further, a scheme for the transmitting end of case 2 is provided: a scheme for identifying predecessor and successor data packets in different HARQ process sorting, and a scheme for sequential recording of HARQ processes in out-of-order transmission are provided;

情况2的接收端方案:给出了HARQ Process接收排序方案,HARQ Process进程缓存的定义方式,数据包解析后向其上层递交的方案;The receiving end solution of case 2: provides the HARQ Process receiving sorting scheme, the definition method of the HARQ Process process cache, and the scheme for submitting the data packet to its upper layer after parsing;

通过MAC排序,降低了上层乱序的范围。Through MAC sorting, the scope of upper layer disorder is reduced.

通过MAC排序,能够触发MAC引入更多机制进行快速数据发送,从而降低了时延。MAC sorting can trigger MAC to introduce more mechanisms for fast data transmission, thereby reducing latency.

在确保HARQ进程灵活使用的前提下,实现了数据包的排序。Under the premise of ensuring the flexible use of HARQ process, the data packets are sorted.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to the flowchart and/or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the process and/or box in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if 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 (18)

1. A data transmission method, comprising:
determining the bearing and/or the process of a media access control protocol data unit (MAC PDU) sent to a lower layer;
transmitting according to the bearing and/or the process in sequence;
The sending according to the bearer and/or the process in sequence includes:
for one or more upper layer PDUs of the same upper layer bearer transmission contained in each media access control service data unit (MAC SDU), constructing the MAC PDUs according to the sequence received from the upper layer and then transmitting the MAC PDUs;
When transmitting among different processes, transmitting the MAC layer by taking the upper layer bearing unit of one or more data packets borne by the upper layer contained in the MAC SDU in the MAC PDU transmitted by the different processes according to the sequence received from the upper layer bearing;
When transmitting between different processes, further comprising:
when each MAC PDU is transmitted, the identification information of the MAC PDU precursor and/or the subsequent MAC PDU is carried.
2. The method of claim 1, wherein the identification information of the predecessor and/or successor MAC PDUs comprises one or a combination of the following information:
the hybrid automatic repeat request HARQ process identification ID of the MAC PDU is sent, the sequence number of the data packet is sent, one or a combination of a subframe number, a frame number, a symbol index and a time slot number of an air interface is sent, the air interface time-frequency domain resource information of a physical downlink control channel PDCCH is sent, and the air interface time-frequency domain resource information of a physical downlink shared channel PDSCH is sent.
3. The method of claim 2, wherein each MAC PDU is transmitted with identification information of the MAC PDU precursor and/or subsequent MAC PDU, comprising:
If the identification information is the sequence number of the MAC PDU, carrying the sequence number of the current MAC PDU in the MAC PDU;
If the identification information is one or a combination of the following information, carrying the identification information by carrying out data transmission according to the air interface time sequence relation: a subframe number, a frame number, a symbol index, a time slot number of a null interface, null interface time-frequency domain resource information of a PDCCH and null interface time-frequency domain resource information of a PDSCH;
If the identification information is the HARQ process ID, the precursor and/or the subsequent HARQ process ID is carried.
4. The method of claim 3, wherein if the identification information is an HARQ process ID, the HARQ process ID of a precursor MAC PDU of the MAC PDU to be transmitted at this time is carried when control information of the MAC PDU to be transmitted at this time is constructed;
When retransmitting data, the HARQ process ID of the subsequent MAC PDU is carried, or the HARQ process ID of the subsequent MAC PDU is not carried.
5. A method according to claim 3, characterized in that the HARQ process ID is sent on the PDCCH in the downlink control information DCI or carried by the medium access control element MAC CE.
6. A data receiving method, comprising:
Receiving a MAC PDU;
Determining the bearing and/or the process of the MAC PDU;
Ordering the received MAC PDU according to the bearing and/or the process in sequence;
the ordering of the received MAC PDUs in order according to the bearers and/or procedures includes:
For one or more upper layer PDUs of the same upper layer bearer transmission contained in each MAC SDU, sequencing the MAC SDUs in the received MAC PDU according to the receiving sequence;
When the different processes are received, ordering the data packets carried by one or more upper layers contained in the MAC SDUs in the MAC PDU sent by the different processes by taking the upper layer carrying unit as a unit, and ordering the MAC SDUs in the received MAC PDU by taking the upper layer carrying unit as a unit according to the receiving sequence;
Upon receipt of the different processes, further comprising:
When each MAC PDU is received, the sequence is ordered according to the identification information of the predecessor and/or successor MAC PDUs carried by the MAC PDU.
7. The method of claim 6, wherein the identification information of the predecessor and/or successor MAC PDUs comprises one or a combination of the following information:
The HARQ process ID of the MAC PDU, the sequence number of the data packet, one or a combination of a subframe number, a frame number, a symbol index and a time slot number of a null interface, the null interface time-frequency domain resource information of the PDCCH and the null interface time-frequency domain resource information of the PDSCH are transmitted.
8. The method of claim 7, wherein ordering based on identification information of a precursor and/or a subsequent MAC PDU carried by the MAC PDU comprises:
if the identification information is the sequence number of the MAC PDU, sequencing according to the sequence number of the current MAC PDU carried in the MAC PDU;
If the identification information is one or a combination of the following information, determining the carried identification information according to the air interface time sequence relation when receiving: a subframe number, a frame number, a symbol index, a time slot number of a null interface, null interface time-frequency domain resource information of a PDCCH and null interface time-frequency domain resource information of a PDSCH;
And if the identification information is the HARQ process ID, sequencing according to the carried predecessor and/or the subsequent HARQ process ID.
9. The method of claim 8, wherein if the identification information is a HARQ process ID, the HARQ process ID carrying a precursor MAC PDU of the MAC PDU being transmitted at the time is the MAC PDU being transmitted at the time;
the HARQ process ID of the subsequent MAC PDU is carried or the HARQ process ID of the subsequent MAC PDU is not carried, and the data is retransmitted.
10. The method of claim 8, wherein the HARQ process ID is received through a PDCCH in the DCI or is received through a MAC CE bearer.
11. The method of any one of claims 6 to 10, further comprising:
and (5) carrying out data packet reorganization according to the sorting result until all data packets are reorganized and submitted or stopping reorganization when the data packets are not received correctly.
12. The method as recited in claim 11, further comprising:
and each HARQ process is provided with a multi-layer buffer mechanism, and data packet reorganization is carried out according to the sequencing result.
13. The method as recited in claim 11, further comprising:
And delivering the received PDU to the upper layer according to the PDU sequence of each upper layer.
14. A MAC layer, comprising:
a processor for reading the program in the memory, performing the following process:
determining the bearing and/or the process of the MAC PDU sent to the lower layer;
transmitting according to the bearing and/or the process in sequence;
A transceiver for receiving and transmitting data under the control of the processor;
The sending according to the bearer and/or the process in sequence includes:
for one or more upper layer PDUs of the same upper layer bearer transmission contained in each media access control service data unit (MAC SDU), constructing the MAC PDUs according to the sequence received from the upper layer and then transmitting the MAC PDUs;
When transmitting among different processes, transmitting the MAC layer by taking the upper layer bearing unit of one or more data packets borne by the upper layer contained in the MAC SDU in the MAC PDU transmitted by the different processes according to the sequence received from the upper layer bearing;
When transmitting between different processes, further comprising:
when each MAC PDU is transmitted, the identification information of the MAC PDU precursor and/or the subsequent MAC PDU is carried.
15. A MAC layer, comprising:
A sending determining module, configured to determine a bearer and/or a procedure of a MAC PDU sent to a lower layer;
the sending module is used for sending according to the bearing and/or the progress in sequence;
the sending module is further configured to, when sending in sequence according to the bearer and/or the procedure, include:
for one or more upper layer PDUs of the same upper layer bearer transmission contained in each media access control service data unit (MAC SDU), constructing the MAC PDUs according to the sequence received from the upper layer and then transmitting the MAC PDUs;
When transmitting among different processes, transmitting the MAC layer by taking the upper layer bearing unit of one or more data packets borne by the upper layer contained in the MAC SDU in the MAC PDU transmitted by the different processes according to the sequence received from the upper layer bearing;
The sending module is further configured to carry identification information of the MAC PDU precursor and/or the subsequent MAC PDU when each MAC PDU is sent.
16. A MAC layer, comprising:
a processor for reading the program in the memory, performing the following process:
Receiving a MAC PDU;
Determining the bearing and/or the process of the MAC PDU;
Ordering the received MAC PDU according to the bearing and/or the process in sequence;
A transceiver for receiving and transmitting data under the control of the processor;
the ordering of the received MAC PDUs in order according to the bearers and/or procedures includes:
For one or more upper layer PDUs of the same upper layer bearer transmission contained in each MAC SDU, sequencing the MAC SDUs in the received MAC PDU according to the receiving sequence;
When the different processes are received, ordering the data packets carried by one or more upper layers contained in the MAC SDUs in the MAC PDU sent by the different processes by taking the upper layer carrying unit as a unit, and ordering the MAC SDUs in the received MAC PDU by taking the upper layer carrying unit as a unit according to the receiving sequence;
Upon receipt of the different processes, further comprising:
When each MAC PDU is received, the sequence is ordered according to the identification information of the predecessor and/or successor MAC PDUs carried by the MAC PDU.
17. A MAC layer, comprising:
A receiving module, configured to receive a MAC PDU;
A receiving determining module, configured to determine a bearer and/or a procedure of the MAC PDU;
The ordering module is used for ordering the received MAC PDU according to the bearing and/or the process in sequence;
the ordering module is further configured to, when ordering the received MAC PDUs in order according to the bearers and/or procedures, include:
For one or more upper layer PDUs of the same upper layer bearer transmission contained in each MAC SDU, sequencing the MAC SDUs in the received MAC PDU according to the receiving sequence;
When the different processes are received, ordering the data packets carried by one or more upper layers contained in the MAC SDUs in the MAC PDU sent by the different processes by taking the upper layer carrying unit as a unit, and ordering the MAC SDUs in the received MAC PDU by taking the upper layer carrying unit as a unit according to the receiving sequence;
The ordering module is further used for ordering according to the identification information of the predecessor and/or the successor MAC PDU carried by the MAC PDU when each MAC PDU is received when the ordering module receives the MAC PDU.
18. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program for executing the method of any one of claims 1 to 13.
CN202011479363.XA 2020-12-15 2020-12-15 Data transmitting and receiving method, medium access control layer and storage medium Active CN114640426B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011479363.XA CN114640426B (en) 2020-12-15 2020-12-15 Data transmitting and receiving method, medium access control layer and storage medium
PCT/CN2021/134717 WO2022127596A1 (en) 2020-12-15 2021-12-01 Data sending and receiving methods, communication device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011479363.XA CN114640426B (en) 2020-12-15 2020-12-15 Data transmitting and receiving method, medium access control layer and storage medium

Publications (2)

Publication Number Publication Date
CN114640426A CN114640426A (en) 2022-06-17
CN114640426B true CN114640426B (en) 2024-07-05

Family

ID=81944510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011479363.XA Active CN114640426B (en) 2020-12-15 2020-12-15 Data transmitting and receiving method, medium access control layer and storage medium

Country Status (2)

Country Link
CN (1) CN114640426B (en)
WO (1) WO2022127596A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291279A (en) * 2007-04-18 2008-10-22 华为技术有限公司 Service data scheduling method and device in high-speed downlink packet access
CN111835457A (en) * 2019-08-09 2020-10-27 维沃移动通信有限公司 A data transmission method, receiving device and sending device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299751B (en) * 2007-04-30 2011-11-30 中兴通讯股份有限公司 Method for combining and ranking protocol data unit of MAC expansion sub layer
US11044738B2 (en) * 2016-11-09 2021-06-22 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for sending control protocol data unit (PDU)
CN111148263B (en) * 2017-05-05 2021-04-09 华为技术有限公司 Method and device for transmitting data
US10735566B2 (en) * 2017-06-23 2020-08-04 Qualcomm Incorporated Large media access control service data unit (MSDU) delivery
CN110972337B (en) * 2018-09-29 2021-09-14 中国移动通信有限公司研究院 Data transmission method, device and system, SDAP entity and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291279A (en) * 2007-04-18 2008-10-22 华为技术有限公司 Service data scheduling method and device in high-speed downlink packet access
CN111835457A (en) * 2019-08-09 2020-10-27 维沃移动通信有限公司 A data transmission method, receiving device and sending device

Also Published As

Publication number Publication date
WO2022127596A1 (en) 2022-06-23
CN114640426A (en) 2022-06-17

Similar Documents

Publication Publication Date Title
US10986653B2 (en) Method and system for sending and receiving data
US10826654B2 (en) Method and system for improving wireless link efficiency
US11122152B2 (en) Data processing method and apparatus to reduce an overhead in a layer two protocol
US7487424B2 (en) Bitmap manager, method of allocating a bitmap memory, method of generating an acknowledgement between network entities, and network entity implementing the same
TWI220832B (en) A scheme to prevent HFN un-synchronization for UM RLC in a high speed wireless communication system
US11381514B2 (en) Methods and apparatus for early delivery of data link layer packets
CN105743619B (en) Method and apparatus for hybrid automatic repeat request (HARQ) transmission
WO2017185941A1 (en) Data transmission method and relevant device
JP2016518749A (en) Method and apparatus for using more transmission opportunities in a distributed network topology with limited HARQ processes
CN105191187A (en) Method and apparatus to adapt the number of HARQ processes in a distributed network topology
CN106034015A (en) Method and device for cross-CC HARQ retransmission
TW201909586A (en) Method, device and system for transmitting feedback response message
CN110858794B (en) Multi-frequency band transmission method and device
CN107359972B (en) A kind of data receiver method and device
CN110618900A (en) UART data transmission method
CN114640426B (en) Data transmitting and receiving method, medium access control layer and storage medium
KR100612654B1 (en) Apparatus and method for generating frame for automatic repeat request
WO2022073487A1 (en) Data transmission method and apparatus, and storage medium
WO2012155419A1 (en) Method and base station for processing retransmission data
CN113612737A (en) Long message reliable transmission method based on grouping and retransmission mechanism
CN111726865B (en) Medium access control service data unit processing and receiving method, equipment and device
CN111405609A (en) A data transmission method, apparatus, system, medium and equipment
KR20080050297A (en) Hierarchical Header Format and Data Transmission Method in Communication System
CN115426682A (en) Data transmission method, master device, wireless network communication technology chip

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