[go: up one dir, main page]

CN118869622A - Data transmission method and device, chip and communication equipment - Google Patents

Data transmission method and device, chip and communication equipment Download PDF

Info

Publication number
CN118869622A
CN118869622A CN202310489042.5A CN202310489042A CN118869622A CN 118869622 A CN118869622 A CN 118869622A CN 202310489042 A CN202310489042 A CN 202310489042A CN 118869622 A CN118869622 A CN 118869622A
Authority
CN
China
Prior art keywords
data
capacity
data packet
layer
packet
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.)
Pending
Application number
CN202310489042.5A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202310489042.5A priority Critical patent/CN118869622A/en
Publication of CN118869622A publication Critical patent/CN118869622A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/43Assembling or disassembling of packets, e.g. segmentation and reassembly [SAR]

Landscapes

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

Abstract

提供了一种数据传输的方法及装置、芯片以及通信设备。该数据传输的方法应用于发送端,包括:根据所述发送端物理层的数据传输块的容量,确定所述数据传输块映射到所述发送端网络层的第一数据包的容量;根据所述数据传输块的间隔时间以及最大等待时间预算,确定所述网络层待传输的第二数据包的容量;在确定所述第二数据包的容量后,对第二数据包进行传输。本申请实施例有助于提升数据传输的效率与成功率,减少分段能耗。

A method and apparatus, a chip and a communication device for data transmission are provided. The method for data transmission is applied to a transmitting end, and includes: determining the capacity of a first data packet mapped from the data transmission block to the network layer of the transmitting end according to the capacity of the data transmission block of the physical layer of the transmitting end; determining the capacity of a second data packet to be transmitted at the network layer according to the interval time of the data transmission block and the maximum waiting time budget; after determining the capacity of the second data packet, transmitting the second data packet. The embodiments of the present application are helpful to improve the efficiency and success rate of data transmission and reduce the energy consumption of segmentation.

Description

Data transmission method and device, chip and communication equipment
Technical Field
The embodiment of the application relates to the technical field of data processing, in particular to a data transmission method and device, a chip and communication equipment.
Background
In a communication system, a network layer of a transmitting end assembles an IP packet according to a size of a maximum transmission unit. If network congestion or insufficient resources result in too small an allocated data transport block, a large number of Protocol Data Unit (PDU) segments may occur in the radio link control layer (RLC). The receiving end only waits for the radio link control layer PDU which is not received yet for a period of time, and after the timer is overtime, if some segments are not received, all data of the radio link control layer PDU are discarded. If the interval time of the data transmission blocks allocated by the communication network is longer or a certain data transmission block fails to transmit, the transmission failure of the IP data packet is very easy to be caused.
Disclosure of Invention
The embodiment of the application provides a data transmission method and device, a chip and communication equipment. Various aspects of embodiments of the application are described below.
In a first aspect, a method for data transmission is provided, applied to a transmitting end, and the method includes: determining the capacity of a first data packet of a network layer of the transmitting end mapped by the data transmission block according to the capacity of the data transmission block of the physical layer of the transmitting end; determining the capacity of a second data packet to be transmitted by the network layer according to the interval time of the data transmission block and the maximum waiting time budget; and after determining the capacity of the second data packet, transmitting the second data packet.
In a second aspect, there is provided a data transmission apparatus, applied to a transmitting end, the apparatus including: a determining module, configured to determine, according to a capacity of a physical layer data transport block of the transmitting end, a capacity of a first data packet of a network layer of the transmitting end mapped by the data transport block; the processing module is used for determining the capacity of the second data packet to be transmitted by the network layer according to the interval time of the data transmission block and the maximum waiting time budget; and the transmission module is used for transmitting the second data packet after determining the capacity of the second data packet.
In a third aspect, there is provided a chip comprising a processor configured to perform the method of the first aspect.
In a fourth aspect, there is provided a communication device comprising: a memory for storing codes; a processor configured to execute code stored in the memory to control the communication device to perform the method of the first aspect.
In a fifth aspect, a computer readable storage medium is provided, on which a computer program is stored, the computer program being for performing the method according to the first aspect.
In a sixth aspect, there is provided a computer program product comprising instructions for performing the method of the first aspect.
According to the embodiment of the application, the capacity of the second data packet to be transmitted by the network layer is determined according to the interval time of the data transmission block and the maximum waiting time budget. For example, if the interval time of the data transmission blocks is greater than or equal to the maximum waiting time budget, the capacity of the second data packet to be transmitted by the network layer of the transmitting end is set to be smaller than or equal to the smaller value of the capacity of the first data packet and the capacity of the maximum transmission unit preset by the network layer. The embodiment of the application is beneficial to improving the efficiency and success rate of data transmission and reducing the segmentation energy consumption.
Drawings
Fig. 1 is a schematic diagram of the protocol layer data flows of a terrestrial radio access network of a 5G communication system.
Fig. 2 is a schematic diagram of IP packet segmentation processing in the RLC layer in the protocol layer.
Fig. 3 is a flow chart of a method for data transmission according to an embodiment of the present application.
Fig. 4 is a schematic diagram of the data flow of the layers of one possible protocol layer employing the method of fig. 3.
Fig. 5 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments.
The technical scheme of the embodiment of the application can be applied to various communication systems, such as: global system for mobile communications (global system of mobile communication, GSM), code division multiple access (code division multiple access, CDMA) system, wideband code division multiple access (wideband code division multiple access, WCDMA) system, general packet radio service (GENERAL PACKET radio service, GPRS), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD), universal mobile telecommunications system (universal mobile telecommunication system, UMTS), worldwide interoperability for microwave access (worldwide interoperability for microwave access, wiMAX) communication system, fifth generation (5th generation,5G) system, or New Radio (NR), etc. The technical scheme provided by the application can be also applied to future communication systems, such as a sixth generation mobile communication system, a satellite communication system and the like.
The communication device in the embodiments of the present application may also be referred to as a terminal device, a terminal, a User Equipment (UE), a user terminal, an access terminal, a subscriber unit, a subscriber station, a Mobile Station (MS), a Mobile Terminal (MT), a remote terminal, a remote station, a mobile device, a wireless communication device, a user agent, or a user equipment. The terminal device in the embodiment of the application can be a device for providing voice and/or data connectivity for a user, and can be used for connecting people, things and machines, such as a handheld device with a wireless connection function, a vehicle-mounted device and the like. The terminal device in the embodiments of the present application may be a mobile phone (mobile phone), a tablet (Pad), a notebook, a palm, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an augmented reality (augmented reality, AR) device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned (SELF DRIVING), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (SMART GRID), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (SMART CITY), a wireless terminal in smart home (smart home), and the like. Alternatively, the UE may be used to act as a base station. For example, the UEs may act as scheduling entities that provide side-uplink signals between UEs in V2X or D2D, etc. For example, a cellular telephone and a car communicate with each other using side-link signals. Communication between the cellular telephone and the smart home device is accomplished without relaying communication signals through the base station.
The network device in the embodiment of the present application may be a device for communicating with a terminal device, and the network device may also be referred to as an access network device or a radio access network device, for example, the network device may be a base station. The network device in the embodiments of the present application may refer to a radio access network (radio access network, RAN) node (or device) that accesses the terminal device to the wireless network. The base station may broadly cover or replace various names in the following, such as: a node B (NodeB), an evolved NodeB (eNB), a next generation NodeB (gNB), a relay station, an access point, a transmission point (TRANSMITTING AND RECEIVING point, TRP), a transmission point (TRANSMITTING POINT, TP), a master MeNB, a secondary SeNB, a multi-mode wireless (MSR) node, a home base station, a network controller, an access node, a radio node, an Access Point (AP), a transmission node, a transceiver node, a baseband unit (BBU), a radio remote unit (Remote Radio Unit, RRU), an active antenna unit (ACTIVE ANTENNA unit, AAU), a radio head (remote radio head, RRH), a Central Unit (CU), a Distributed Unit (DU), a positioning node, and the like. The base station may be a macro base station, a micro base station, a relay node, a donor node, or the like, or a combination thereof. A base station may also refer to a communication module, modem, or chip for placement within the aforementioned device or apparatus. The base station may also be a mobile switching center, a device-to-device D2D, a vehicle-to-everything (V2X), a device that performs a base station function in machine-to-machine (M2M) communication, a network-side device in a 6G network, a device that performs a base station function in a future communication system, or the like. The base stations may support networks of the same or different access technologies. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the network equipment.
The base station may be fixed or mobile. For example, a helicopter or drone may be configured to act as a mobile base station, and one or more cells may move according to the location of the mobile base station. In other examples, a helicopter or drone may be configured to function as a device to communicate with another base station.
In some deployments, the network device in embodiments of the application may refer to a CU or a DU, or the network device may include a CU and a DU. The gNB may also include an AAU.
Network devices and terminal devices may be deployed on land, including indoors or outdoors, hand-held or vehicle-mounted; the device can be deployed on the water surface; but also on aerial planes, balloons and satellites. In the embodiment of the application, the scene where the network equipment and the terminal equipment are located is not limited.
Fig. 1 is a schematic diagram of the protocol layer data flows of a terrestrial radio access network of a 5G communication system. As shown in fig. 1, protocol layers of a terrestrial radio access network for a general mobile communication system of 5G may include a plurality of protocol layers such as a network protocol layer, a radio link control (radio link control, RLC), a medium access control layer (MEDIA ACCESS control, MAC), a physical layer (PHYSICAL LAYER, PHY), and the like.
In the interconnect protocol model, data communicated between layers of protocols is referred to as service data units (SERVICE DATA units, SDUs), while data communicated between layers of protocol entities is referred to as protocol data units (protocol data unit, PDUs). The PHY layer primarily provides PHY transport mechanisms that map MAC layer protocol data units (MAC protocol data unit, MPDUs) to corresponding physical channels. The MAC layer is an intermediate layer between the higher layer and the transmit-receive PHY layer, and may include an adaptation sublayer and a MAC sublayer. The MAC sublayer includes management and control of the system and support of specific functions of the PHY in addition to serving as a medium access control function.
The RLC layer is located above the MAC layer in the radio interface protocol stack of the NR, below the service data adaptation protocol (SERVICE DATA adaptation protocol, SDAP) layer, and the packet data convergence protocol (PACKET DATA convergence protocol, PDCP) layer. The RLC protocol layer mainly includes transmission of user data and control data, segmentation, reassembly, retransmission of data, detection of duplicate data, detection of protocol errors, and the like. The RLC entity has three modes, namely: a transparent mode (TRANSPARENT MODE, TM), a non-acknowledged mode (unacknowledged mode, UM), an acknowledged mode (acknowledged mode, AM).
The original data is transmitted in the network protocol (internet protocol, IP) layer, and when the data volume of the original data is large, the transmission control protocol (transmission control protocol, TCP) layer can perform segmentation processing on the original data to obtain a plurality of IP data packets. Wherein the capacity of the IP packets is determined by the capacity of the maximum transmission unit (maximum transmission unit, MTU) of the network layer. MTU refers to the size of the largest data packet that can be transmitted by the network and is determined by the device with the smallest MTU across the link. If the IP layer has a packet to transmit and the length of the data is greater than the MTU of the link layer, then the IP packet needs to be fragmented (fragmentation) so that each fragment is smaller than the MTU. The size of the MTU determines the maximum number of bytes that the sender can send a message at a time.
According to SPEC 23.060: packet data protocol data units (PDP PDUs) shall be routed and transported as N-PDUs between the terminal (MS) and the Gateway GPRS Support Node (GGSN) or PDN gateway (P-GW). To avoid IP layer fragmentation between the MS and the GGSN or P-GW, the link MTU in the MS should be sized to be provided by the network as part of the IP configuration. The link MTU size of, for example, IPv4 is transmitted to the MS by including it in PCO (see TS 24.008). The link MTU size, also as IPv6, is sent to the MS by inclusion in the IPv6 router broadcast message (see RFC 4861).
Different data link layers have different MTUs, and in a cellular communication network, a terminal can acquire an MTU through NAS (non access stratum) signaling, and an IP protocol assembles an IP data packet according to the MTU value. For example, for most networks using packet transmission, the value of the MTU is typically 1500 bytes (byte).
As shown in fig. 1, the protocol layer data flows for the terrestrial radio access network of the universal mobile telecommunication system of 5G are as follows:
for the service data adaptation protocol (SERVICE DATA adaptation protocol, SDAP) layer, packet Data Convergence Protocol (PDCP) layer, radio Link Control (RLC) layer, and MAC layer, service Data Units (SDUs) are generally used to represent a set of user services transmitted by a layer, and when a header is added to the SDU and ciphering is performed, a Protocol Data Unit (PDU) of the layer can be obtained. For example, the PDCP layer may perform header compression on the IP packet, and then combine PDCP SDUs with PDCP headers to form PDCP PDUs. After the processing is completed, the PDCP layer delivers the PDCP PDU to the RLC layer as an RLC SDU. The physical layer generally encapsulates the received upper layer data with a Transport Block (TB), and then transmits the TB to the corresponding data receiving end.
In a cellular communication system, a terminal may acquire an MTU through non-access stratum (NAS) signaling, however, the scheduled TB size is informed by an Access Stratum (AS) of the MAC, which in turn informs the RLC of the transmittable PDU size. The non-access layer refers to a protocol layer above the MAC layer, and the access layer may include the MAC layer and the physical layer.
Fig. 2 is a flow chart of the segmentation processing of the IP packet in the RLC layer in the protocol layer. As shown in fig. 2, if RLC PDU or PDU segment (segment) to be retransmitted is larger than the TB size indicated by the MAC layer, the RLC PDU needs to be segmented and then delivered to the physical layer to be assembled into a TB block, which is transmitted through the physical layer. If the application program only assembles the IP data packet according to the MTU size, if the allocated TB is too small due to network congestion or insufficient resources, a large amount of RLC PDU segmentation and power consumption of the terminal may occur.
For reliably transmitted data, when an IP packet is lost, retransmission of the lost IP packet is required. If one IP packet corresponds to multiple TB blocks in the physical layer, the multiple TB blocks need to be retransmitted independently. For example, in the flow chart of data transmission shown in fig. 2, when the receiving end of the data confirms that the data is not received correctly, the MAC layer of the transmitting end of the data is notified to perform data retransmission. The receiving end in the embodiment of the present application is also called a receiving device, and the receiving device may be the terminal device or the network device; the transmitting end is also called a transmitting device, and the transmitting device may be the terminal device or the network device. If the MAC layer data retransmission of the data transmitting end is successful, the corresponding IP data packet transmission is determined to be completed. If the data retransmission of the MAC layer of the data transmitting end fails, the IP data packet corresponding to the network layer is triggered to be retransmitted. Optionally, when the data receiving end confirms that the data is not received correctly, the RLC layer of the data transmitting end may also be notified to perform data retransmission. If the RLC layer data retransmission of the data transmitting end is successful, determining that the transmission of the corresponding IP data packet is completed; if the RLC layer data retransmission of the data transmitting end fails, the IP data packet corresponding to the network layer is triggered to be retransmitted.
In addition, the receiving end will only wait for RLC PDUs that have not been received for a period of time, and the reception waiting time depends on the LTE reordering timer (t-Recording) or the NR reassembly timer (t-Reassembly). After the timer expires, all data for the RLC SDU is discarded as long as part of the segment has not been received. If the interval time of the network for distributing the TBs is long or a certain TB transmission failure exists in the middle, the transmission failure of the applied IP data packet is very easy to be caused.
It will be appreciated that each IP packet may be divided into a plurality of TBs, and if the TB interval is greater than the reception latency, or if any one of the TBs fails to transmit, the entire IP packet will be discarded, triggering an IP packet retransmission. Thereby generating redundant network resource overhead and reducing the efficiency and success rate of data packet transmission.
Therefore, how to develop a technical solution for data transmission with high transmission efficiency and success is a problem to be solved.
Based on this, the embodiment of the application provides a data transmission method. Fig. 3 is a flow chart of a method for data transmission according to an embodiment of the application. The data transmission method of the embodiment of the application is applied to the transmitting end. In the embodiment of the present application, the transmitting end is also referred to as a transmitting device, and the transmitting device may be the terminal device or the network device; the receiving end is also called a receiving device, which may be the above-mentioned terminal device or network device.
The method of data transmission according to the embodiment of the present application will be described in detail with reference to fig. 3. As shown in fig. 3, the method may mainly include steps S310 to S330, which are described in detail below.
It should be noted that, the sequence number of each step in the embodiment of the present application does not mean the sequence of execution sequence, and the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
In step S310, the capacity of the first packet of the network layer of the transmitting end mapped to the data transport block is determined according to the capacity of the physical layer data transport block of the transmitting end.
The capacity of a data Transport Block (TB) transmitted by the physical layer of the transmitting end is typically determined by the values of the modulation and coding strategy index value (modulation and coding scheme index, MCSI) and the physical resource block (physical resource block, PRB). Wherein MCSI and the number of scheduled PRBs are related to channel environment, network traffic, network configuration, cell resource capacity, etc. That is, the capacity of the TB block is related to factors such as channel environment, network traffic, network configuration, and cell resource capacity.
The data transport block may be the last data transport block transmitted, the data block in the set of data transport blocks transmitted in the last group, or the data block in the set of data transport blocks transmitted in the last predetermined time (e.g., 3 s). The capacity of a data transport block, or the size called transport block, i.e. the data length or maximum number of bytes transported by the transport block. The capacity of the data transport block may be the capacity of the last data transport block or the average capacity of the last group of data transport blocks.
The access layer (e.g., MAC layer) may pass the capacity of the current data transport block into the IP protocol layer. The IP protocol layer may also obtain other information of the data transport block, such as interval time information. The interval time is the transmission time interval of two adjacent data transmission blocks. The two adjacent data transmission blocks may be two data transmission blocks corresponding to the same IP data packet.
Different protocol layers have different protocol data unit formats. The capacity of the data transport block of the physical layer of the sender may be mapped to the capacity of the first data packet of the network layer of the sender. The first data packet may be formed into a data transport block of the physical layer by adding header format data corresponding to the intermediate plurality of protocol layers. The capacity of the first data packet is the size of the first data packet, that is, the maximum byte (byte) number of the first data packet.
In step S320, the capacity of the second data packet to be transmitted by the network layer of the transmitting end is determined according to the interval time of the data transmission block and the maximum waiting time budget.
The maximum latency budget may be a maximum time estimate for a receiving end to wait for a data transport block that has not yet been received. The same IP data packet can be divided into a plurality of data transmission blocks for transmission, a receiving end only waits for the data transmission blocks which are not received yet for a period of time, and if the timer times out the maximum reception waiting time, all the data transmission blocks of the IP data packet can be discarded as long as part of the data transmission blocks are not received.
The maximum latency of the receiving end is often difficult to know precisely, so the maximum latency budget can be determined in one or a combination of the following ways: 1) And estimating the maximum waiting time budget of the receiving end according to a Radio Link Control (RLC) layer report (status report) sent by the receiving end. 2) The maximum latency budget is estimated from the retransmission timing (time) by the timeout of the retransmission timer. 3) And estimating the maximum waiting time budget of the receiving end according to the maximum waiting time of the sending end. 4) The maximum latency budget is determined using big data and machine learning derived transmission maximum latency, such as using neural network learning training.
The receiving end feeds back the receiving state of the data packet through the RLC status report, and the transmitting end decides whether to retransmit the data according to the received RLC status report, or estimates the maximum waiting time budget of the receiving end according to the RLC status report. The maximum waiting time budget may also be estimated according to retransmission timing of the transmitting end, for example, may be set according to timeout time of a reordering timer or a reassembly timer. The purpose of the reordering timer is to indicate the waiting time of the disordered message when in UM mode, and the message is not waited for when the time is out, so that the message is discarded. In AM mode, the timeout indicates that a status report is triggered informing the peer of the message reception.
In some implementations, if the interval time of the data transmission blocks is greater than or equal to the maximum waiting time budget, it is determined that the capacity of the second data packet to be transmitted by the network layer of the sender is less than or equal to the first capacity, where the first capacity is the minimum value (or a smaller value) of the capacity of the first data packet and the capacity of the third data packet, and the third data packet is a data packet determined by the network layer according to a preset maximum transmission unit. The unit of the maximum transmission unit may be the number of bytes, and the unit of the capacity of the first packet and the capacity of the third packet may be the number of bytes, or the unit of the first capacity may be the number of bytes. For example, the capacity of the first data packet is smaller than the capacity of the third data packet, and the first capacity is the capacity of the first data packet (for example, 200 bytes).
If the data transport block interval is greater than or equal to the maximum latency budget, the signal quality is poor. For IP packets that are multiple data transport blocks, the receiving end is not able to receive them. Generally, an IP protocol layer assembles IP packets according to a Maximum Transmission Unit (MTU) capacity, and when a first packet capacity is smaller than a third packet capacity, fragmented data of the IP packets may be segmented at an RLC layer, which may increase segmentation power consumption. Therefore, the capacity of the second data packet to be transmitted by the network layer is set to be smaller than or equal to the smaller value of the capacity of the first data packet and the maximum transmission unit capacity, so that the efficiency and the success rate of data transmission are improved, and the segmentation energy consumption is reduced.
In some implementations, if the capacity of the maximum transmission unit preset by the network layer of the transmitting end is greater than the capacity of the first data packet, the capacity of the maximum transmission unit preset by the network layer may be set to be the capacity of the first data packet. The capacity of the second data packet to be transmitted by the network layer is determined to be smaller than or equal to the capacity of the third data packet, so that the segmentation of the IP data packet can be effectively avoided.
In step S330, after determining the capacity of the second data packet, the second data packet is transmitted.
Depending on the determined capacity of the second data packet, the second data packet may be a single data packet in some embodiments. In other embodiments, the second data packet may be divided into a plurality of fragmented data packets.
For example, in a 4G communication system, the transmission procedure of the second data packet in the plurality of protocol layers may be as follows:
And determining the service data unit of the packet data convergence protocol layer according to the second data packet of the network layer of the transmitting end, and transmitting the second data packet of the network layer to the Packet Data Convergence Protocol (PDCP) layer to form the service data unit of the packet data convergence protocol layer. The service data unit of the RLC layer is determined according to the protocol data unit of the packet data convergence protocol layer, and the protocol data unit of the packet data convergence protocol layer can be transmitted from the PDCP layer to a Radio Link Control (RLC) layer to form the service data unit of the RLC layer. The protocol data unit of the PDCP layer is generated after the service data unit of the PDCP layer is added with a corresponding first header.
The service data unit of the MAC layer is determined according to the protocol data unit of the RLC layer, and the protocol data unit of the RLC layer may be transmitted from the RLC layer to a Medium Access Control (MAC) layer to form the service data unit of the MAC layer. The protocol data unit of the RLC layer is generated after the service data unit of the RLC layer is added with the corresponding second header.
And determining the data transmission block of the physical layer according to the protocol data unit of the MAC layer, and transmitting the protocol data unit of the MAC layer from the MAC layer to the physical layer to form the data transmission block of the physical layer. The protocol data unit of the MAC layer is generated after the service data unit of the MAC layer adds the corresponding third header.
And transmitting the data transmission block to a receiving end of the data.
In a 5G communication system, the transmission of the second data packet in the plurality of protocol layers is similar to that of a 4G communication system. The difference is that:
Before transmitting a second data packet of a network layer of a transmitting end to a packet data convergence protocol layer, transmitting the second data packet of the network layer to a Service Data Adaptation Protocol (SDAP) layer to form a service data unit of the data adaptation protocol layer; and transmitting the protocol data unit of the SDAP layer from the SDAP layer to a Packet Data Convergence Protocol (PDCP) layer to form a service data unit of the PDCP layer. The protocol data unit of the SDAP layer is generated after the corresponding fourth header is added to the service data unit of the SDAP layer.
According to the embodiment of the application, the capacity of the second data packet to be transmitted by the network layer is determined according to the interval time of the data transmission block and the maximum waiting time budget, so that the efficiency and the success rate of data transmission can be improved.
In some implementations, if the interval time of the data transmission block is smaller than the maximum waiting time budget and the capacity of the first data packet is smaller than the capacity of the third data packet, the second data packet to be transmitted by the network layer of the transmitting end may be fragmented according to the capacity of the first data packet, so as to obtain a plurality of fragmented data packets. The plurality of fragmented packets may correspond to a plurality of data transport blocks of a physical layer of the sender. Transmitting the plurality of fragmented data packets to a physical layer, and transmitting the corresponding plurality of data transmission blocks to a data receiving end. In the embodiment of the application, when the capacity of the first data packet is smaller than the capacity of the MTU, the second data packet to be transmitted by the network layer of the sending end is not subjected to the slicing processing according to the capacity of the MTU, thereby being beneficial to reducing the segmentation of the RLC layer and reducing the segmentation energy consumption.
In some implementations, if the interval time of the data transmission block is less than the maximum latency budget and the capacity of the first data packet is greater than the capacity of the third data packet (MTU), the second data packet to be transmitted by the network layer of the transmitting end is fragmented according to the capacity of the third data packet, so as to obtain a plurality of fragmented data packets. The plurality of fragmented packets may correspond to a plurality of data transport blocks of a physical layer of the transmitting end. Transmitting the plurality of fragmented data packets to a physical layer, and transmitting the corresponding plurality of data transmission blocks to a data receiving end. The segmentation of the RLC layer is reduced, and segmentation energy consumption is reduced.
In some implementations, the plurality of fragmented packets corresponding to the second data packet to be transmitted by the network layer of the transmitting end may include N fragmented packets, where the capacities of the 1 st to N-1 st fragmented packets are equal to the capacity of the first data packet, and the capacity of the N-th fragmented packet is less than or equal to the capacity of the first data packet. Preferably, the capacity of the N fragmented packets is equal to the capacity of the first packet. The segmentation in the RLC layer is reduced, and the segmentation energy consumption is reduced.
In some implementations, the transmission of the plurality of fragmented packets in the plurality of protocol layers is generally as follows, including:
The method comprises the steps of determining a plurality of service data units of a packet data convergence protocol layer according to a plurality of fragmented data packets of a network layer of a sending end, and transmitting the plurality of fragmented data packets of the network layer to the Packet Data Convergence Protocol (PDCP) layer to form a plurality of service data units of the PDCP layer. The method includes determining a plurality of service data units of an RLC layer according to a plurality of protocol data units of a PDCP layer, and transmitting the plurality of protocol data units of the PDCP layer from the PDCP layer to a Radio Link Control (RLC) layer to form a plurality of service data units of the RLC layer, wherein the plurality of protocol data units of the PDCP layer are generated by adding first headers to the plurality of service data units of the PDCP layer, respectively.
The plurality of service data units of the MAC layer are determined according to the plurality of protocol data units of the radio link control layer, and the plurality of protocol data units of the radio link control layer may be transmitted from the RLC layer to a Medium Access Control (MAC) layer to form the plurality of service data units of the MAC layer. The plurality of protocol data units of the RLC layer are generated after the plurality of service data units of the RLC layer are respectively added with the second header.
And determining a plurality of data transmission blocks of the physical layer according to the plurality of protocol data units of the MAC layer, and transmitting the plurality of protocol data units of the MAC layer from the MAC layer to the physical layer to form the plurality of data transmission blocks of the physical layer. The plurality of protocol data units of the MAC layer are generated by adding the third header to the plurality of service data units of the MAC layer, respectively.
And transmitting the plurality of data transmission blocks to a receiving end of the data.
According to the embodiment of the application, the capacity of the second data packet to be transmitted by the network layer is determined according to the interval time of the data transmission block and the maximum waiting time budget. For example, if the interval time of the data transmission blocks is greater than or equal to the maximum waiting time budget, the capacity of the second data packet to be transmitted by the network layer is set to be smaller than or equal to the smaller of the capacity of the first data packet and the maximum transmission unit capacity. If the interval time of the data transmission block is smaller than the maximum waiting time budget and the capacity of the first data packet is smaller than the capacity of the third data packet, the second data packet to be transmitted by the network layer can be fragmented according to the capacity of the first data packet, and the second data packet can be fragmented into a plurality of fragmented data packets for transmission. The embodiment of the application is beneficial to improving the efficiency and success rate of data transmission and reducing the segmentation energy consumption.
The method for data transmission according to the application embodiment is further described below with reference to some possible implementation manners of the application embodiment.
Fig. 4 is a schematic diagram of the data flow of the layers of one possible protocol layer employing the method of fig. 3. As shown in fig. 4, if the interval time of the data transmission block is greater than or equal to the maximum waiting time budget, it is determined that the capacity of the second data packet to be transmitted by the network layer of the transmitting end is smaller than or equal to the smaller value of the capacity of the first data packet and the capacity of the maximum transmission unit preset by the network layer. Alternatively, if the capacity of the maximum transmission unit is greater than the capacity of the first data packet, the capacity of the maximum transmission unit may be set to the capacity of the first data packet.
Fig. 4 is a schematic diagram of a transmission flow of an IP packet in multiple protocol layers in the 5G communication system. The main flow of data transmission is as follows:
At the network layer 410, if the capacity of the maximum transmission unit preset by the network layer of the transmitting end is greater than the capacity of the first data packet, the capacity of the maximum transmission unit preset by the network layer is set as the capacity of the first data packet. And determining that the capacity of the second data packet to be transmitted by the network layer of the sending end is the same as the capacity setting of the first data packet, namely, the capacity of the maximum transmission unit preset by the network layer.
Firstly, determining a service data unit of an SDAP layer according to a second data packet of a network layer of a transmitting end, and transmitting the second data packet of the network layer to a Service Data Adaptation Protocol (SDAP) layer to form the service data unit of the SDAP layer.
And generating the protocol data unit of the SDAP layer after the service data unit of the SDAP layer is added with the corresponding fourth header H4 in the service data adapting protocol layer 420. The service data unit of the PDCP layer is determined according to the protocol data unit of the SDAP layer, and the protocol data unit of the SDAP layer can be transmitted to a Packet Data Convergence Protocol (PDCP) layer from the SDAP layer to form the service data unit of the PDCP layer.
At the packet data convergence protocol layer 430, a service data unit of the PDCP layer generates a protocol data unit of the PDCP layer after adding a corresponding first header H1. The service data unit of the RLC layer is determined according to the protocol data unit of the PDCP layer, and the protocol data unit of the PDCP layer may be transmitted from the PDCP layer to a Radio Link Control (RLC) layer to form the service data unit of the RLC layer.
At the radio link control layer 440, the RLC layer service data units are added with corresponding second header H2 to generate RLC layer protocol data units. The service data unit of the MAC layer is determined according to the protocol data unit of the RLC layer, and the protocol data unit of the RLC layer may be transmitted from the RLC layer to a Medium Access Control (MAC) layer to form the service data unit of the MAC layer.
At the medium access control layer 450, the service data unit of the MAC layer generates a protocol data unit of the MAC layer after adding the corresponding third header H3. And determining the data transmission block of the physical layer according to the protocol data unit of the MAC layer, and transmitting the protocol data unit of the MAC layer from the MAC layer to the physical layer to form the data transmission block of the physical layer. Since the capacity of the first data packet of the network layer of the transmitting end corresponds to the capacity of the data transmission block, the capacity of the formed data transmission block is the capacity of the data transmission block, or the capacity of the data transmission block under the signal quality is satisfied.
And sending the data transmission block to a data receiving end.
In the embodiment of the application, if the interval time of the data transmission blocks is greater than or equal to the maximum waiting time budget, the capacity of the second data packet to be transmitted by the network layer of the sending end is set to be a smaller value of the capacity of the first data packet and the capacity of the third data packet, thereby being beneficial to improving the efficiency and the success rate of data and reducing the energy consumption of segmentation.
The method embodiments of the present application are described above in detail in connection with fig. 1 to 4, and the apparatus embodiments of the present application are described below in detail in connection with fig. 5 and 6. It is to be understood that the description of the device embodiments corresponds to the description of the method embodiments, and that parts not described in detail can therefore be seen in the preceding method embodiments.
Fig. 5 is a schematic structural diagram of a data transmission device according to an embodiment of the present application. As shown in fig. 5, the apparatus 500 for data transmission is applied to a transmitting end, and may include a determining module 510, a processing module 520, and a transmitting module 530.
The determining module 510 is configured to determine, according to the capacity of the physical layer data transport block of the transmitting end, the capacity of the first data packet of the network layer of the transmitting end mapped by the data transport block.
The processing module 520 is configured to determine a capacity of the second data packet to be transmitted by the network layer according to the interval time of the data transmission block and the maximum latency budget.
The transmission module 530 is configured to transmit the second data packet after determining the capacity of the second data packet.
Optionally, the processing module 520 is further configured to perform the following operations: if the interval time of the data transmission blocks is greater than or equal to the maximum waiting time budget, determining that the capacity of the second data packet to be transmitted by the network layer is smaller than or equal to the first capacity. The first capacity is the smaller value of the capacity of the first data packet and the capacity of the third data packet, and the third data packet is the data packet determined by the network layer according to the preset maximum transmission unit.
Optionally, the processing module 520 is further configured to perform the following operations: and if the interval time of the data transmission blocks is smaller than the maximum waiting time budget and the capacity of the first data packet is smaller than the capacity of the third data packet, processing the second data packet to be transmitted by the network layer according to the capacity of the first data packet to obtain a plurality of fragmented data packets. The plurality of fragmented packets corresponds to a plurality of data transport blocks of a physical layer. The transmission module 530 is further configured to transmit the plurality of fragmented packets.
Optionally, the processing module 520 is further configured to perform the following operations: dividing the second data packet into N pieces of slicing data packets, wherein the capacity of the 1 st to N-1 st slicing data packets is equal to that of the first data packet, and the capacity of the N th slicing data packet is smaller than or equal to that of the first data packet.
Optionally, the transmission module 530 is configured to: and determining a plurality of service data units of the packet data convergence protocol layer according to the plurality of fragmented data packets of the network layer of the transmitting end, and transmitting the plurality of fragmented data packets of the network layer to the packet data convergence protocol layer to form a plurality of service data units of the packet data convergence protocol layer. The plurality of service data units of the RLC layer are determined according to the plurality of protocol data units of the PDCP layer, and the plurality of protocol data units of the packet data convergence protocol layer may be transmitted from the packet data convergence protocol layer to the radio link control layer to form the plurality of service data units of the radio link control layer. The plurality of protocol data units of the packet data convergence protocol layer are generated after the plurality of service data units of the packet data convergence protocol layer are respectively added with the first header. And determining a plurality of service data units of the MAC layer according to the plurality of protocol data units of the radio link control layer, and transmitting the plurality of protocol data units of the radio link control layer to the medium access control layer by the radio link control layer to form a plurality of service data units of the medium access control layer. The plurality of protocol data units of the radio link control layer are generated after the plurality of service data units of the radio link control layer are respectively added with the second header. And determining a plurality of data transmission blocks of the physical layer according to the plurality of protocol data units of the MAC layer, wherein the plurality of protocol data units of the medium access control layer can be transmitted to the physical layer by the medium access control layer to form the plurality of data transmission blocks of the physical layer of the transmitting end, and the plurality of protocol data units of the medium access control layer are generated after the plurality of service data units of the medium access control layer are respectively added with the third header. And transmitting the plurality of data transmission blocks to a receiving end of the data.
Optionally, the maximum latency budget is determined from a combination of one or more of the following: a radio link control layer state report sent by a receiving end; retransmission timing; maximum reception latency at the transmitting end.
Fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present application. The communication device 600 may be used to implement the methods described in the method embodiments described above. As shown in fig. 6, communication device 600 may include a memory 610 and a processor 620.
The memory 610 is used to store codes.
The processor 620 is configured to execute code stored in the memory 610 to control the communication device 600 to perform a method of data transmission as described in any of the foregoing.
Embodiments of the present application provide a computer program product comprising instructions for performing a method as described in any of the preceding.
The embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program for performing the method of data transmission as described in any of the foregoing.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present disclosure, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a machine-readable storage medium or transmitted from one machine-readable storage medium to another machine-readable storage medium, for example, from one website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The machine-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more servers, data centers, etc. integrated with the available medium. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (Digital Video Disc, DVD)), or a semiconductor medium (e.g., solid state disk (Solid STATE DISK, SSD)), etc.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the disclosure is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the disclosure, and it is intended to cover the scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (13)

1. A method for data transmission, applied to a transmitting end, the method comprising:
determining the capacity of a first data packet of a network layer of the transmitting end mapped by the data transmission block according to the capacity of a physical layer data transmission block of the transmitting end;
determining the capacity of a second data packet to be transmitted by the network layer according to the interval time of the data transmission block and the maximum waiting time budget;
and after determining the capacity of the second data packet, transmitting the second data packet.
2. The method of claim 1, wherein the determining the capacity of the second data packet to be transmitted by the network layer based on the interval time of the data transport block and the maximum latency budget comprises:
And if the interval time of the data transmission block is greater than or equal to the maximum waiting time budget, determining that the capacity of the second data packet to be transmitted by the network layer is smaller than or equal to a first capacity, wherein the first capacity is the minimum value of the capacity of the first data packet and the capacity of a third data packet, and the third data packet is the data packet determined by the network layer according to a preset maximum transmission unit.
3. The method of claim 1, wherein the determining the capacity of the second data packet to be transmitted by the network layer based on the interval time of the data transport block and the maximum latency budget comprises:
If the interval time of the data transmission blocks is smaller than the maximum waiting time budget and the capacity of the first data packet is smaller than the capacity of a third data packet, processing the second data packet to be transmitted by the network layer according to the capacity of the first data packet to obtain a plurality of fragmented data packets, wherein the fragmented data packets correspond to the plurality of data transmission blocks of the physical layer, and the third data packet is a data packet determined by the network layer according to a preset maximum transmission unit;
The transmitting the second data packet includes:
and transmitting the plurality of fragmented data packets.
4. The method of claim 3, wherein the plurality of fragmented packets comprises N fragmented packets, a capacity of a1 st through an N-1 st fragmented packet is equal to a capacity of the first packet, and a capacity of an N-th fragmented packet is less than or equal to a capacity of the first packet.
5. The method of claim 3, wherein transmitting the plurality of fragmented packets comprises:
Determining a plurality of service data units of a packet data convergence protocol layer according to the plurality of fragmented data packets of the network layer;
Determining a plurality of service data units of a radio link control layer according to the plurality of protocol data units of the packet data convergence protocol layer, wherein the plurality of protocol data units of the packet data convergence protocol layer are generated after first headers are respectively added to the plurality of service data units of the packet data convergence protocol layer;
Determining a plurality of service data units of a medium access control layer according to the plurality of protocol data units of the radio link control layer, wherein the plurality of protocol data units of the radio link control layer are generated after the plurality of service data units of the radio link control layer are respectively added with a second header;
Determining a plurality of data transmission blocks of the physical layer according to a plurality of protocol data units of the medium access control layer, wherein the plurality of protocol data units of the medium access control layer are generated after a plurality of service data units of the medium access control layer are respectively added with a third header;
and transmitting the plurality of data transmission blocks to a receiving end of the data.
6. The method according to any of claims 1-5, wherein the maximum latency budget is determined from a combination of one or more of the following:
a radio link control layer state report sent by a receiving end;
Retransmission timing;
maximum reception latency of the transmitting end.
7. A device for data transmission, applied to a transmitting end, the device comprising:
a determining module, configured to determine, according to a capacity of a physical layer data transport block of the transmitting end, a capacity of a first data packet of a network layer of the transmitting end mapped by the data transport block;
the processing module is used for determining the capacity of the second data packet to be transmitted by the network layer according to the interval time of the data transmission block and the maximum waiting time budget;
and the transmission module is used for transmitting the second data packet after determining the capacity of the second data packet.
8. The apparatus of claim 7, wherein the processing module is further configured to:
And if the interval time of the data transmission block is greater than or equal to the maximum waiting time budget, determining that the capacity of the second data packet to be transmitted by the network layer is smaller than or equal to a first capacity, wherein the first capacity is the minimum value of the capacity of the first data packet and the capacity of a third data packet, and the third data packet is the data packet determined by the network layer according to a preset maximum transmission unit.
9. The apparatus of claim 7, wherein the processing module is further configured to:
If the interval time of the data transmission blocks is smaller than the maximum waiting time budget and the capacity of the first data packet is smaller than the capacity of a third data packet, processing the second data packet to be transmitted by the network layer according to the capacity of the first data packet to obtain a plurality of fragmented data packets, wherein the fragmented data packets correspond to a plurality of data transmission blocks of the physical layer;
the transmission module is further configured to transmit the plurality of fragmented packets.
10. The apparatus of claim 9, wherein the processing module is further configured to:
Dividing the second data packet into N pieces of slicing data packets, wherein the capacity of the 1 st to N-1 st pieces of slicing data packets is equal to the capacity of the first data packet, and the capacity of the N th pieces of slicing data packets is smaller than or equal to the capacity of the first data packet.
11. A chip comprising a processor configured to perform the method of any of claims 1-6.
12. A communication device, comprising:
a memory for storing codes;
A processor for executing code stored in the memory to control the communication device to perform the method of any of claims 1-6.
13. A computer readable storage medium, characterized in that it has stored thereon a computer program for implementing the method according to any of claims 1-6 when executed.
CN202310489042.5A 2023-04-28 2023-04-28 Data transmission method and device, chip and communication equipment Pending CN118869622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310489042.5A CN118869622A (en) 2023-04-28 2023-04-28 Data transmission method and device, chip and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310489042.5A CN118869622A (en) 2023-04-28 2023-04-28 Data transmission method and device, chip and communication equipment

Publications (1)

Publication Number Publication Date
CN118869622A true CN118869622A (en) 2024-10-29

Family

ID=93170759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310489042.5A Pending CN118869622A (en) 2023-04-28 2023-04-28 Data transmission method and device, chip and communication equipment

Country Status (1)

Country Link
CN (1) CN118869622A (en)

Similar Documents

Publication Publication Date Title
US11445404B2 (en) Method and apparatus for wireless communication in wireless communication system
US11202279B2 (en) Method and apparatus for processing data in wireless communication system
AU2006229508B2 (en) Method of generating lower layer data block in wireless mobile communication system
EP3737183B1 (en) Communication methods, apparatuses and computer-readable storage medium
WO2018202037A1 (en) Data transmission method, terminal device, and network device
WO2009099265A1 (en) Wireless communication method for transmitting a sequence of data units between a wireless device and a network
US12191990B2 (en) Wireless communication method and apparatus
CN111373837A (en) Method and apparatus for transmitting and receiving data in wireless communication system
WO2015139319A1 (en) Device and method for data transmission in direct communication
WO2017049647A1 (en) Data sending method, data receiving method and relevant device
US9247452B2 (en) Passive radio link control entity with unified interface
WO2021035231A2 (en) Uplink-re-transmission with compact memory usage
WO2024103798A1 (en) Wireless communication method and apparatus
KR20200128977A (en) Method and apparatus for reporting user equipment capability in wireless communication system
JP5124591B2 (en) Method for displaying consecutive data units in RAN
CN109842907A (en) The method and apparatus for transmitting data
WO2024207313A1 (en) Method and apparatus for wireless communication
KR20200014155A (en) Method and apparatus for wireless communication of wireless node in wireless communication system
CN118869622A (en) Data transmission method and device, chip and communication equipment
KR20200012663A (en) Method and apparatus for wireless communication of wireless node in wireless communication system
WO2022204999A1 (en) Survival time processing method, and terminal device
WO2023245649A1 (en) Method and apparatus of supporting delay budget handling
CN113573357B (en) Method, system, storage medium and terminal for receiving downlink data
CN115915253A (en) Communication method and device
CN116566553A (en) Communication method and communication device

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