WO2018145301A1 - 一种传输数据的方法和装置 - Google Patents
一种传输数据的方法和装置 Download PDFInfo
- Publication number
- WO2018145301A1 WO2018145301A1 PCT/CN2017/073249 CN2017073249W WO2018145301A1 WO 2018145301 A1 WO2018145301 A1 WO 2018145301A1 CN 2017073249 W CN2017073249 W CN 2017073249W WO 2018145301 A1 WO2018145301 A1 WO 2018145301A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- segment
- indication field
- segments
- data packet
- maximum number
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 91
- 230000005540 biological transmission Effects 0.000 title abstract description 15
- 230000011218 segmentation Effects 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 11
- 238000013507 mapping Methods 0.000 claims description 9
- 230000011664 signaling Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000007774 longterm Effects 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005429 filling process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
Definitions
- Embodiments of the present application relate to the field of communications, and, more particularly, to a method and apparatus for transmitting data.
- Radio Link Control In a Long Term Evolution (LTE) system, Radio Link Control (RLC) has the functions of concatenation and segmentation RLC Service Date Unit (SDU). This matches the transfer size that the lower layer can support. At the same time, for retransmitting the RLC Protocol Data Unit (PDU), when the lower layer cannot support the PDU size, the RLC layer can further re-segmentation to adapt the lower layer. The size of the transfer that can be supported.
- SDU Resource Control Protocol Data Unit
- NR New Radio
- SO segmentation offset
- the embodiments of the present application provide a method and apparatus for transmitting data, so that the receiving end can correctly restore data, and the indication overhead can be greatly reduced.
- a method for transmitting data comprising: a transmitting end encapsulating a first data packet of a radio link control RLC protocol layer into a plurality of segments, the segment being initial segmentation or re-segmentation a header of each of the plurality of segments includes a first indication field, the first indication field is used to indicate an order of the corresponding segment in the plurality of segments; and the sending end sends the multiple to the receiving end Segmentation.
- the segment number is used to indicate each segment, so that the receiving end can correctly restore the data packet before the segment according to the segment sequence number, and since the number of segments is much smaller than the number of bytes included in the original data packet, Reduce the indication overhead.
- the first data packet here may be an initial RLC SDU or a retransmitted RLC PDU.
- the initial segmentation is the existing segmentation
- the re-segmentation is the existing re-segmentation.
- the first indication field includes several bits, the number of which is related to the number of segments.
- the number of bits included in the first indication field may also be configured in advance, and the most conservative case may be considered, that is, the maximum number of segments appearing in the existing segment may be configured.
- the sending end here may be a terminal device or a network device.
- the receiving end may be a terminal device or a network device.
- the method further includes: the sending end determining a maximum number of segments corresponding to the first data packet; and the sending end, the sending end, the first data packet is encapsulated into multiple segments, including: sending The first packet is encapsulated into the plurality of segments whose number of segments is less than or equal to the maximum number of segments.
- the maximum number of segments may be pre-configured by the network device, or the transmitting end may be determined according to some transmission characteristics of the data packet to be transmitted before performing segmentation, for example, may be mapped according to a logical channel.
- the service type of the data packet to be transmitted or the quality of the underlying physical channel used to transmit the data packet to be transmitted is determined.
- the transmitting end may first determine the maximum number of segments, and perform segmentation according to the maximum number of segments, and indicate the maximum number of segments to the receiving end by using the second indication field. In turn, it can be used as a reference when restoring the pre-segment packet.
- the transmitting end may further determine the number of bits occupied by the first indication field according to the maximum number of segments. For example, if the maximum number of segments is 8, the sender can configure the first indicator field to be 3 bits, so that after receiving the maximum number of segments, the receiver can determine that the first indicator field is obtained from the next three bits.
- the serial number of the indication which is the segment number.
- the data of the first data packet is retransmitted data
- the segment is a re-segment
- the first data packet is an initial segment of the first service data unit
- each segment is The header of the segment further includes a third indication field, where the third indication field is used to indicate an order of the initial segment in the multiple initial segments of the first service data unit
- the method further includes: the sending end is based on the initial The sequence number indicated by the first indication field of the segment determines a sequence number indicated by the third indication field of each of the plurality of retransmission segments.
- the segment sequence number of the initial segment needs to be included in the header of the retransmission segment. In this way, after receiving the multiple retransmission segments, the receiving end may restore the multiple retransmission segments together with the other correctly received multiple initial segments into one service data unit.
- the header of each segment further includes a fourth indication field, where The fourth indication field is used to indicate whether the corresponding segment is the last one of the plurality of segments.
- the plurality of segments of the first data packet sent by the sending end to the receiving end may be staggered with the plurality of segments of the second data packet, and the receiving end may determine, according to the fourth indication field, whether to start to restore the data packet or wait for the subsequent A segment belonging to the same packet.
- the header of each segment further includes a fifth indication field, where the fifth indication field is used to indicate whether the corresponding segment is an initial segment or a re-segment.
- the header of each segment further includes a sequence number of the service data unit to which the first data packet belongs.
- a method for transmitting data comprising: receiving, by a receiving end, a plurality of segments of a first data packet corresponding to a radio link control RLC protocol layer sent by a transmitting end, where the segment is a preliminary segment a segment or a re-segment, the header of each of the plurality of segments includes a first indication field, the first indication field is used to indicate an order of the corresponding segment in the plurality of segments; The first indication field determines the first data packet.
- the segment number is used to indicate each segment, so that the receiving end can restore the data packet before segmentation according to the segment sequence number, and since the number of segments is much smaller than the number of bytes included in the original data packet, Reduce the indication overhead.
- the method further includes: the receiving end determining a maximum number of segments corresponding to the first data packet; and determining, by the receiving end, the first data packet according to the first indication field, including: The receiving end determines the first data packet according to the maximum number of segments and the first indication field.
- the receiving end determines a maximum number of segments corresponding to the first data packet, including: the receiving end according to a service type and/or a logical channel mapping used to transmit the first data packet And determining a physical segment quality of the first data packet, and determining the maximum number of segments.
- the receiving end is a terminal device, and the receiving end determines a maximum number of segments corresponding to the first data packet, including: at least one maximum number of segments configured by the receiving end from the network device, Determine the maximum number of segments.
- the header of each segment further includes a second indication field, where the second indication field is used to indicate the maximum number of segments.
- the method further includes: determining, by the receiving end, the width of the first indication field according to the maximum number of segments; and receiving, according to the width of the first indication field, the corresponding segment The header determines the first indication field.
- the data of the first data packet is retransmitted data
- the segment is a re-segment
- the first data packet is an initial segment of the first service data unit
- each segment is The header of the segment further includes a third indication field, where the third indication field is used to indicate an order of the initial segment in the multiple initial segments of the first service data unit, and the receiving end determines, according to the first indication field
- the first data packet includes: the receiving end determines the first data packet according to the first indication field and the third indication field.
- the header of each segment further includes a fourth indication field, where the fourth indication field is used to indicate whether the corresponding segment is the last one of the multiple segments, and the receiving And determining, by the terminal, the first data packet according to the first indication field, where the receiving end determines the first data packet according to the first indication field and the fourth indication field.
- the packet header of each segment further includes a fifth indication field, where the fifth indication field is used to indicate whether the corresponding segment is an initial segment or a re-segment, and the fourth indicator field is used for Determining whether the corresponding segment is the last one of the plurality of segments, the receiving end determining the first data packet according to the first indication field, including: the receiving end according to the first indication field and the fifth An indication field that determines the first data packet.
- the header of each segment further includes a sequence number of the first service data unit to which the first data packet belongs, and the receiving end determines the first data packet according to the first indication field, including The receiving end determines the first data packet according to the first indication field and the serial number.
- an apparatus for performing the method of any of the above-described first aspect or any of the possible implementations of the first aspect.
- the apparatus comprises means for performing the method of any of the above-described first aspect or any of the possible implementations of the first aspect.
- an apparatus for performing the method of any of the above-described second aspect or any of the possible implementations of the first aspect.
- the apparatus comprises means for performing the method of any of the above-described second aspect or any of the possible implementations of the second aspect.
- an apparatus comprising: a memory, a processor, an input interface, and an output interface.
- the memory, the processor, the input interface, and the output interface are connected by a bus system.
- the memory is for storing instructions for executing the memory stored instructions for performing the method of any of the first aspect or the first aspect of the first aspect.
- an apparatus comprising: a memory, a processor, an input interface, and an output interface.
- the memory, the processor, the input interface, and the output interface are connected by a bus system.
- the memory is for storing instructions for executing instructions stored in the memory for The method of any of the above-described second aspect or any of the possible implementations of the second aspect is performed.
- a computer storage medium for storing the method in any of the above possible implementations of the first aspect or the first aspect, or any possible implementation of the second or second aspect
- Computer software instructions for use in the method of the present invention which comprise a program designed to perform the above aspects.
- FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application.
- FIG. 2 shows a schematic block diagram of a method of transmitting data in an embodiment of the present application.
- FIG. 3 is a schematic block diagram showing a method for indicating segmentation in the embodiment of the present application.
- FIG. 4 is another schematic block diagram of a method for indicating re-segmentation of an embodiment of the present application.
- FIG. 5 shows another schematic block diagram of a method of transmitting data in an embodiment of the present application.
- FIG. 6 shows a schematic block diagram of an apparatus for transmitting data according to an embodiment of the present application.
- FIG. 7 shows another schematic block diagram of an apparatus for transmitting data according to an embodiment of the present application.
- FIG. 8 shows still another schematic block diagram of an apparatus for transmitting data according to an embodiment of the present application.
- FIG. 9 is still another schematic block diagram of an apparatus for transmitting data according to an embodiment of the present application.
- GSM Global System of Mobile communication
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- GPRS General Packet Radio Service
- LTE Long Term Evolution
- FDD Frequency Division Duplex
- TDD Time Division Duplex
- UMTS Universal Mobile Telecommunication System
- WiMAX Worldwide Interoperability for Microwave Access
- the technical solution of the embodiment of the present application can be applied to various communication systems based on non-orthogonal multiple access technologies, such as a sparse code multiple access (SRAMSE) system, and low.
- the SCMA system and the LDS system may also be referred to as other names in the field of communication;
- the technical solution of the embodiment of the present application may be applied to adopt non-orthogonal Multi-carrier transmission system with multiple access technology, for example, Orthogonal Frequency Division Multiplexing (OFDM), filter bank multi-carrier (Filter Bank Multi-) Carrier (abbreviated as "FBMC”), Generalized Frequency Division Multiplexing (“GFDM”), and Filtered-OFDM (“F-OFDM”) system.
- OFDM Orthogonal Frequency Division Multiplexing
- FBMC filter bank multi-carrier
- GFDM Generalized Frequency Division Multiplexing
- the terminal device in the embodiment of the present application may refer to a user equipment (User Equipment, UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, and a wireless device.
- Communication device user agent or user device.
- the access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), with wireless communication.
- SIP Session Initiation Protocol
- WLL Wireless Local Loop
- PDA Personal Digital Assistant
- the network device in the embodiment of the present application may be a device for communicating with a terminal device, where the network device may be a Base Transceiver Station (BTS) in GSM or CDMA, or may be a base station (NodeB, NB) in a WCDMA system. And may be an evolved base station (eNB or eNodeB) in the LTE system, or may be a wireless controller in a cloud radio access network (CRAN) scenario, or the network device may be The embodiments of the present application are not limited to the relay station, the access point, the in-vehicle device, the wearable device, and the network device in the future 5G network or the network device in the future evolved PLMN network.
- BTS Base Transceiver Station
- NodeB NodeB
- NB base station
- CRAN cloud radio access network
- the embodiments of the present application are not limited to the relay station, the access point, the in-vehicle device, the wearable device, and the network device in the future 5G network or
- FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present application.
- the communication system in FIG. 1 may include a terminal device 10 and a network device 20.
- the network device 20 is configured to provide communication services for the terminal device 10 and access the core network, and the terminal device 10 searches for the synchronization signal and broadcast transmitted by the network device 20. Signals and the like are connected to the network to communicate with the network.
- the arrows shown in FIG. 1 may represent uplink/downlink transmissions by a cellular link between the terminal device 10 and the network device 20.
- the transmitting end and the receiving end in the embodiment of the present application may be the terminal device and the network device in FIG. 1 . It can also be a terminal device and a terminal device in the scenario of the Internet of Things or a vehicle network, and can also be a network device and a network device in other application scenarios.
- the embodiment of the present application is described by taking an interaction between a terminal device and a network device as an example.
- the RLC has the function of cascading and segmenting RLC SDUs to match the transmission size that the lower layer can support.
- the upper layer PDU becomes the lower layer SDU in the lower layer, and the segmentation/reassembly, cascading/filling process takes place.
- the PDU is the bearer of the SDU in the RLC.
- the SDU is segmented or concatenated, and then filled into the PDU, that is, the PDU is encapsulated by the SDU.
- Encapsulation/decapsulation of the PDU At the transmitting end, the SDU plus protocol control information (PCI) is encapsulated into a PDU; at the receiving end, the received PDU is decapsulated, the PCI is removed, and the SDU is restored.
- PCI protocol control information
- the SDU segment is usually the bandwidth of the lower layer channel that cannot meet the requirement of transmitting the SDU.
- the SDU is divided into multiple segments and then encapsulated into PDUs for transmission.
- the PDUs are decapsulated at the receiving end and reassembled into an SDU.
- the RLC packet header is indicated by a 2-bit byte indication field.
- the indication state of the indication domain is as shown in Table 1.
- a 1-bit SO indicator field and a 1-bit re-segmentation are used, wherein the RF indication field is used to indicate whether the segment belongs to segmentation or re-segmentation, and SO indicates that each The starting byte of the segment belongs to the first few bytes in the original retransmission PDU data.
- the original PDU may contain a lot of bytes, the number of bits of the SO needs to be relatively large. For example, if the original PDU includes 1024 bytes, then the SO bit is at least 10 bits, and the current SO is 15 bits or 16 bits, which greatly increases the indication overhead of each re-segment header.
- FIG. 2 shows a schematic block diagram of a method 100 of transmitting data in an embodiment of the present application.
- the sending end may be a network device, and specifically may be a base station, and the method 100 includes:
- the sender encapsulates the first data packet of the radio link control RLC protocol layer into multiple segments, where the segment is an initial segment or a re-segment, and the packet header of each segment of the multiple segments includes a first indication field, the first indication field is used to indicate an order of the corresponding segment in the plurality of segments;
- the sending end sends the multiple segments to the receiving end.
- the RLC entity performs a segmentation operation on the RLC SDU, so that the generated RLC is generated.
- the PDU can be adapted.
- the segments are sorted according to the location in the original SDU, and the sequence number is added to the header of each segment, that is, the first indication field in the embodiment of the present application.
- the network device and the terminal device may previously configure the number of segments of each SDU statically or semi-statically.
- the receiver can be configured to receive each segment according to a complete SDU segment, that is, there is no interleaving between segments of different SDUs. Therefore, the terminal device After receiving the segment with the same number of consecutive configurations of the SDU sequence number as the segment number, the terminal device can restore the multiple segments of the same SDU according to the sequence number in the first indication field.
- the RLC entity performs re-segmentation on the retransmitted RLC PDU according to the situation, so that the re-segmentation is performed.
- the RLC PDU re-segmentation can be adapted. In this case, it can be considered that the data in the retransmitted PDU is actually the data in one SDU, and similarly, the network device can sort each re-segment according to the position in the original SDU, and in each re-segment The sequence number of the segment is added to the first indicator field in the embodiment of the present application.
- the network device and the terminal device may previously configure the number of segments of each retransmission PDU statically or semi-statically. There are multiple retransmission PDUs When re-segmentation is required, the receiving end can be configured to receive each re-segment according to a re-segment of a complete retransmission PDU, that is, there is no interleaving between re-segmentation of different retransmission PDUs, so After the terminal device receives the re-transmission of the same SDU sequence number of the retransmission PDU, the terminal device can follow the first indication for multiple re-segmentation of the same retransmission PDU. The sequence number in the field is restored.
- the method for transmitting data in the embodiment of the present application enables the receiving end to correctly restore data, and can greatly reduce the indication overhead.
- the method further includes: the sending end determines a maximum number of segments corresponding to the first data packet; and the sending end encapsulates the first data packet into multiple segments, including: The sender encapsulates the first data packet into the plurality of segments whose number of segments is less than or equal to the maximum number of segments.
- the network device and the terminal device may not need to agree on the maximum number of segments in advance, and the network device includes an indication field indicating the maximum number of segments in the segment header, that is, the second indication field in the embodiment of the present application.
- the network device may determine the maximum number of segments according to some transmission characteristics and the like, and after determining the maximum number of segments, the network device may encapsulate the SDU or the retransmission PDU into multiple initial segments or re-segment according to the maximum number of segments. . For example, if the maximum number of segments is 4, the network device can encapsulate the SDU or retransmission PDU into 1, 2, 3, or 4 segments. Similarly, after receiving each segment, the terminal device can determine that the same SDU or retransmission PDU includes a maximum of four segments, which can be used as a reference when restoring.
- the maximum number of segments may be determined by the transmission characteristics. Specifically, the network device may determine the maximum number of segments according to the service type of the logical channel mapping used to transmit the SDU or retransmit the PDU. The device may also determine the maximum number of segments based on the underlying physical channel quality used to transmit the SDU or the retransmitted PDU. For example, if the service type of the logical channel mapping is Voice over Internet Protocol (VoIP), considering that the VoIP packet is small, a smaller maximum number of segments can be configured for the data packet of the service. If the physical channel condition is poor, you can configure a larger number of segments. The network device may also determine the maximum number of segments, such as the transmission mode, based on the SDU or other transmission characteristics of the retransmission PDU. The embodiments of the present application are not limited thereto.
- VoIP Voice over Internet Protocol
- the maximum number of segments can also be configured in advance by the network device.
- the network device may configure the same maximum number of segments for all logical channels, and may also configure different maximum segment numbers for RLC PDUs corresponding to different logical channels.
- network devices can be configured in advance The maximum number of segments is assumed. If the network device is configured with 4 maximum segment numbers 2, 4, 8, or 16 in advance, the network device may first divide the 4 segments from the first packet. In the number of segments, select one of the largest segments.
- the header of the at least one of the multiple segments further includes a second indication field, where the second indication field is used to indicate the maximum number of segments.
- the number of bits of the second indication field may be configured in advance, and the correspondence between the maximum number of segments and the value in the second indication field may also be configured in advance, that is, the network device and the terminal device know in advance that the maximum score is indicated. What number of bits are occupied by the second indication field of the number of segments, and what is the maximum number of segments indicated by the value in the second indication field.
- a 2-bit indication can be configured to indicate the four maximum number of segments, which are 4, 8, 16, and 32, respectively, and the values in the corresponding second indication fields are 00, 01, 10, and 11, respectively.
- the second indication field may be included in the header of the first one of the plurality of segments, that is, the terminal device can know the maximum number of segments after receiving the first segment. When the subsequent restore, you can refer to the maximum number of segments.
- the header of the other segments in the plurality of segments may also include a second indication field, which is not limited herein.
- the first data packet is a retransmission protocol data unit
- the segment is a re-segment
- the first data packet is an initial segment of the first service data unit
- the The header of at least one of the segments further includes a third indication field
- the third indication field is used to indicate an order of the initial segment in the plurality of initial segments of the first service data unit
- the method further The method includes: determining, by the sending end, the sequence number indicated by the third indication field of each of the plurality of retransmission segments according to the sequence number indicated by the first indication field of the initial segment.
- the network device may encapsulate the initial segment into multiple re-segments, and each The re-segmented header includes a sequence number of each re-segment and a sequence number of the initial segment, and the initial segment is stored in the network device for a certain period of time, including a sequence number of each initial segment, and the terminal device
- the sequence number of the initial segment of the response may be fed back to the network device, and then the network device may determine the initial segment to be retransmitted according to the sequence number fed back by the terminal device, and then The initial segment can be directly retransmitted, and the initial segment can also be encapsulated into multiple re-segments for transmission.
- the third indication field may be included in the header of the first one of the plurality of segments, that is, after the terminal device receives the first segment, the next plurality of segments may be known. Yes It belongs to the first data packet (assuming that when multiple data packets are segmented, multiple segments are transmitted in sequence according to the data packet sequence), and the sequence number indicated by the third indication field may be referred to in subsequent restoration.
- the header of the other segments in the plurality of segments may also include a third indication field, which is not limited herein.
- each segment further includes a fourth indication field, where the fourth indication field is used to indicate whether the corresponding segment is the last one of the plurality of segments.
- the network device when the network device encapsulates each segment, it may be indicated in the header of each segment according to whether each segment is the last segment in the original packet, so that if the network device is multiple When the data packet is encapsulated into multiple segments, and the transmission order of the multiple segments is interspersed, the terminal device can complete the restoration after receiving the last segment of the same data packet. This can improve the accuracy of data reduction and reduce latency.
- the header of each segment may not include an indication field indicating whether it is the last segment.
- the header of the at least one of the multiple segments further includes a fifth indication field, where the fifth indication field is used to indicate whether the corresponding segment is an initial segment or a re-segment.
- the fifth indication field may be included in the header of the first one of the plurality of segments, that is, after the terminal device receives the first segment, the next plurality of segments may be known. Whether it belongs to the re-segment or the initial segment, the content indicated by the fifth indication field can be referred to when the subsequent restoration is performed.
- the header of the other segments in the plurality of segments may also include a fifth indication field, which is not limited herein.
- the header of at least one of the plurality of segments further includes a sequence number of the service data unit to which the first data packet belongs.
- the sequence number of the service data unit to which the first data packet belongs may be included in the header of the first one of the plurality of segments, that is, after the terminal device receives the first segment, Know that the next multiple segments belong to that original SDU, and you can refer to the serial number when you restore it later. It is also possible that the header of the other segments in the plurality of segments includes a sequence number, which is not limited herein.
- serial number here has the same function as the sequence number in the prior art, and for brevity, it will not be repeated here.
- the embodiment of the present application further provides a method for segment indication, and the packet header of each segment may include a retransmission indicator RF and a segment offset SO.
- the packet header may not include the LSF. That is, there is no need to indicate whether it is the last segment.
- RF indicates whether the re-segmentation flag is a re-segmentation flag
- LSF indicates whether the last segmentation flag is the last segment.
- MS indicates maximum segmentation, that is, the maximum segment configuration indicator
- SI indicates that the segmentation index is the segment sequence representation; if the network configuration maximum initial segment number can be selected as 4, respectively, 2, 4, 8, and 16, MS The bit is 2 and is used to correspond to the four maximum number of segments.
- the first initial segment in FIG. 3 is further re-segmented, and the maximum number of segments of the re-segment is 2, in which case the maximum is assumed.
- the serial number of the re-segment that is, the RSI (ReSegmentation Index).
- FIG. 5 shows a schematic block diagram of a method 200 of transmitting data in an embodiment of the present application.
- the method 200 can be performed by a terminal device, for example, by a user equipment, and the method 200 includes:
- the receiving end receives, by the sending end, a plurality of segments of the first data packet corresponding to the radio link control RLC protocol layer, where the segment is an initial segment or a re-segment, and each of the multiple segments
- the segment header includes a first indication field, the first indication field is used to indicate an order of the corresponding segment in the plurality of segments;
- the receiving end determines the first data packet according to the first indication field.
- the method for transmitting data in the embodiment of the present application enables the receiving end to correctly restore data, and can greatly reduce the indication overhead.
- the method further includes: a maximum number of segments corresponding to the first data packet; and determining, by the receiving end, the first data packet according to the first indication field, including: The receiving end determines the first data packet according to the maximum number of segments and the first indication field.
- the receiving end determines a maximum number of segments corresponding to the first data packet, including: the receiving end according to a logical channel mapping used to transmit the first data packet The type of service and/or the physical channel quality used to transmit the first data packet determines the maximum number of segments.
- the receiving end is a terminal device, and the receiving end determines a maximum number of segments corresponding to the first data packet, where: the receiving end is configured from the network device at least A maximum number of segments, the maximum number of segments being determined.
- the packet header of each segment further includes a second indication field, where the second indication field is used to indicate the maximum number of segments.
- the method further includes: determining, by the receiving end, the width of the first indication field according to the maximum number of segments; and receiving, by the receiving end, the corresponding segment according to the width of the first indication field The header of the segment determines the first indication field.
- the first data packet is a retransmission protocol data unit
- the segment is a re-segment
- the first data packet is an initial segment of the first service data unit
- each The segment header includes a third indication field, where the third indication field is used to indicate an order of the initial segment in the plurality of initial segments of the first service data unit, and the receiving end is configured according to the first indication field Determining the first data packet, including: the receiving end determining the first data packet according to the first indication field and the third indication field.
- the packet header of each segment further includes a fourth indication field, where the fourth indication field is used to indicate whether the corresponding segment is the last one of the multiple segments.
- the receiving end determines the first data packet according to the first indication field, and the receiving end determines the first data packet according to the first indication field and the fourth indication field.
- the packet header of each segment further includes a fifth indication field, where the fifth indication field is used to indicate whether the corresponding segment is an initial segment or a re-segment, the fourth indicator field Determining whether the corresponding segment is the last one of the plurality of segments, the receiving end determining the first data packet according to the first indication field, including: the receiving end according to the first indication field and the The fifth indication field determines the first data packet.
- the packet header of each segment further includes the first data packet.
- the first data packet is determined by the receiving end according to the first indication field, and the receiving end determines the first data packet according to the first indication field and the serial number.
- the interaction between the terminal device and the network device described by the terminal device and related features, functions, and the like correspond to related features and functions of the network device. That is to say, what information is sent by the network device to the terminal device, and what information the terminal device receives correspondingly. For the sake of brevity, it will not be repeated here.
- the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be implemented in the present application.
- the implementation of the examples constitutes any limitation.
- FIG. 6 shows a schematic block diagram of an apparatus 300 in accordance with an embodiment of the present application.
- the device 300 is a transmitting end, and the device 300 includes:
- the processing unit 310 is configured to encapsulate the first data packet of the radio link control RLC protocol layer into multiple segments, where the segment is an initial segment or a re-segment, and each of the multiple segments is segmented
- the header includes a first indication field, the first indication field is used to indicate an order of the corresponding segment in the plurality of segments;
- the sending unit 320 is configured to send the multiple segments to the receiving end.
- the apparatus of the embodiment of the present application enables the receiving end to correctly restore data, and can greatly reduce the indication overhead.
- the apparatus 300 further includes: a first determining unit 330, configured to determine a maximum number of segments corresponding to the first data packet; the processing unit 310 is specifically configured to: A data packet is encapsulated into the plurality of segments whose number of segments is less than or equal to the maximum number of segments.
- the first determining unit 330 is specifically configured to: according to a service type for transmitting a logical channel of the first data packet, and/or a physical medium for transmitting the first data packet Channel quality, the maximum number of segments is determined.
- the apparatus 300 is a terminal device, and the first determining unit 330 is specifically configured to: determine the maximum number of segments from the at least one maximum number of segments configured by the network device.
- the packet header of each segment further includes a second indication field, where the second indication field is used to indicate the maximum number of segments.
- the apparatus 300 further includes: a second determining unit 340, configured to determine, according to the maximum number of segments, a number of bits occupied by the first indication field; the processing unit 310 Specifically, the first data packet is encapsulated into the multiple segments according to the number of bits occupied by the first indication field.
- the first data packet is a retransmission protocol data unit
- the segment is a re-segment
- the first data packet is an initial segment of the first service data unit
- each The segment header includes a third indication field
- the third indication field is used to indicate an order of the initial segment in the plurality of initial segments of the first service data unit
- the apparatus 300 further includes: a third determination The unit 350 is configured to determine, according to the sequence number indicated by the first indication field of the initial segment, a sequence number indicated by the third indication field of each of the plurality of retransmission segments.
- the header of each segment further includes a fourth indication field, where the fourth indication field is used to indicate whether the corresponding segment is the last one of the multiple segments.
- the packet header of each segment further includes a fifth indication field, where the fifth indication field is used to indicate whether the corresponding segment is an initial segment or a re-segment.
- the header of each segment further includes a sequence number of the service data unit to which the first data packet belongs.
- the apparatus 300 may correspond to the transmitting end in the method embodiment of the present application, and the above and other operations and/or functions of the respective units in the apparatus 300 are respectively implemented in order to implement FIGS. 2 to 4 .
- the corresponding content in each method is not described here for brevity.
- FIG. 7 shows a schematic block diagram of an apparatus 400 in accordance with an embodiment of the present application.
- the device is a receiving end, and the device 400 includes:
- the receiving unit 410 is configured to receive, by the sending end, a plurality of segments corresponding to the first data packet of the radio link control RLC protocol layer, where the segment is an initial segment or a re-segment, in the multiple segments
- the header of each segment includes a first indication field, the first indication field is used to indicate an order of the corresponding segment in the plurality of segments;
- the first determining unit 420 is configured to determine the first data packet according to the first indication field.
- the apparatus of the embodiment of the present application can correctly restore data and can greatly reduce the indication overhead.
- the apparatus 400 further includes: a second determining unit 430, determining a maximum number of segments corresponding to the first data packet; the first determining unit 420 is specifically configured to: according to the maximum The number of segments and the first indication field determine the first data packet.
- the second determining unit 430 is specifically configured to: according to a service type for transmitting a logical channel mapping of the first data packet, and/or to transmit the first data packet The physical channel quality, the maximum number of segments is determined.
- the second determining unit 430 is specifically configured to determine the maximum number of segments from the at least one maximum number of segments configured by the network device.
- the packet header of each segment further includes a second indication field, where the second indication field is used to indicate the maximum number of segments.
- the apparatus 400 further includes: a third determining unit 440, configured to determine a width of the first indication field according to the maximum number of segments; and a fourth determining unit 450, configured to The width of the first indication field determines the first indication field from the header of the corresponding segment.
- the first data packet is a retransmission protocol data unit
- the segment is a re-segment
- the first data packet is an initial segment of the first service data unit
- each The segment header includes a third indication field
- the third indication field is used to indicate an order of the initial segment in the plurality of initial segments of the first service data unit
- the first determining unit 420 is specifically configured to And determining, according to the first indication field and the third indication field, the first data packet.
- the packet header of each segment further includes a fourth indication field, where the fourth indication field is used to indicate whether the corresponding segment is the last one of the multiple segments.
- the first determining unit 420 is specifically configured to: determine the first data packet according to the first indication field and the fourth indication field.
- the header of each segment further includes a fourth indication field, where the fourth indication field is used to indicate whether the corresponding segment is the last one of the multiple segments.
- the packet header of each segment further includes a fifth indication field, where the fifth indication field is used to indicate whether the corresponding segment is an initial segment or a re-segment.
- the header of each segment further includes a sequence number of the service data unit to which the first data packet belongs.
- apparatus 400 may correspond to the receiving end in the method embodiment of the present application, and the above and other operations and/or functions of the respective units in the apparatus 400 are respectively implemented in order to implement FIGS. 3 to 5 .
- the corresponding content in each method is not described here for brevity.
- the embodiment of the present application further provides an apparatus 500, which may be the apparatus 300 in FIG. 6, which can be used to execute the content of the sender corresponding to the method 100 of FIG.
- the apparatus 500 includes an input interface 510, an output interface 520, a processor 530, and a memory 540.
- the input interface 510, the output interface 520, the processor 530, and the memory 540 can be connected by a bus system.
- the memory 540 is configured to store programs, instructions or code.
- the processor 530 Programs, instructions or code for executing the memory 540 to control the input interface 510 to receive signals, control the output interface 520 to transmit signals, and to perform operations in the foregoing method embodiments.
- the apparatus provided in this embodiment of the present application can reduce system signaling overhead.
- the processor 530 may be a central processing unit ("CPU"), and the processor 530 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the memory 540 can include read only memory and random access memory and provides instructions and data to the processor 530. A portion of the memory 540 may also include a non-volatile random access memory. For example, the memory 540 can also store information of the device type.
- each content of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 530 or an instruction in a form of software.
- the content of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory 540, and the processor 530 reads the information in the memory 540 and combines the hardware to complete the contents of the above method. To avoid repetition, it will not be described in detail here.
- the sending unit 320 in the device 300 can be implemented by the output interface 520 in FIG. 8, the processing unit 310, the first determining unit 330, the second determining unit 340, and the third determining unit 350 in the device 300. This can be implemented by the processor 530 in FIG.
- the embodiment of the present application further provides an apparatus 600, which may be the apparatus 400 in FIG. 7, which can be used to execute the content of the receiving end corresponding to the method 200 in FIG.
- the apparatus 600 includes an input interface 610, an output interface 620, a processor 630, and a memory 640.
- the input interface 610, the output interface 620, the processor 630, and the memory 640 can be connected by a bus system.
- the memory 640 is used to store programs, instructions or code.
- the processor 630 is configured to execute a program, an instruction or a code in the memory 640 to control the input interface 610 to receive a signal, control the output interface 620 to send a signal, and complete the operations in the foregoing method embodiments.
- the apparatus provided in this embodiment of the present application can reduce system signaling overhead.
- the processor 630 may be a central processing unit (“CPU"), and the processor 630 may also be another general-purpose processor.
- DSP digital signal processor
- ASIC application specific integrated circuit
- FPGA off-the-shelf programmable gate array
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the memory 640 can include read only memory and random access memory and provides instructions and data to the processor 630. A portion of the memory 640 can also include a non-volatile random access memory. For example, the memory 640 can also store information of the device type.
- each content of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 630 or an instruction in a form of software.
- the content of the method disclosed in the embodiments of the present application may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
- the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
- the storage medium is located in the memory 640, and the processor 630 reads the information in the memory 640 and combines the hardware to complete the contents of the above method. To avoid repetition, it will not be described in detail here.
- the first determining unit 420, the second determining unit 430, the third determining unit 440, and the fourth determining unit 450 in the apparatus 400 may be implemented by the processor 630 of FIG. 9, and the receiving unit in the apparatus 400 410 can be implemented by input interface 610 of FIG.
- the disclosed systems, devices, and methods may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- This functionality if implemented as a software functional unit and sold or used as a standalone product, can be stored on a computer readable storage medium.
- the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method of various embodiments of the present application.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例公开了一种传输数据的方法和装置,该方法包括:发送端将无线链路控制RLC协议层的第一数据包封装为多个分段,该分段为初分段或重分段,该多个分段中的每个分段的包头包括第一指示字段,该第一指示字段用于指示相应分段在该多个分段中的顺序;该发送端向接收端发送该多个分段。本申请实施例的方法和装置,能够降低***信令开销。
Description
本申请实施例涉及通信领域,并且更具体地,涉及一种传输数据的方法和装置。
在长期演进(Long Term Evolution,LTE)***中,无线链路控制(Radio Link Control,RLC)具有级联(concatenation)和分段(segmentation)RLC服务数据单元(Service Date Unit,SDU)的功能以此来匹配下层所能支持的传输大小。同时,对于重传RLC协议数据单元(Protocol Data Unit,PDU),在下层不能支持该PDU大小的时候,RLC层也可对其进行进一步的重分段(re-segmentation)以此来适配下层所能支持的传输大小。
在现有的新空口(New Radio,NR)讨论中,采用分段偏置(segmentation offset,SO)的方法来指示初始传输的分段以及重传的分段,以此来统一不同切割场景下RLC包头的格式。由于SO的比特数为15或16bit,导致包头的指示开销很大。
发明内容
有鉴于此,本申请实施例提供了一种传输数据的方法和装置,使得接收端能够正确还原数据,并且能够极大地减小指示开销。
第一方面,提供了一种传输数据的方法,该方法包括:发送端将无线链路控制RLC协议层的第一数据包封装为多个分段,该分段为初分段或重分段,该多个分段中的每个分段的包头包括第一指示字段,该第一指示字段用于指示相应分段在该多个分段中的顺序;该发送端向接收端发送该多个分段。
采用分段序号指示每个分段,使得接收端根据分段序号能够正确地还原出分段前的数据包,并且由于分段数远小于原始数据包所包括的字节数,因此,极大的减小了指示开销。
这里的第一数据包可以是初传RLC SDU,也可以是重传RLC PDU。初分段即现有的segmentation,重分段即现有的re-segmentation。
第一指示字段包括几个比特位,该比特位数量与分段数有关。该第一指示字段包括的比特数也可以提前配置好,可以考虑最保守的情况,也就是可以按照现有分段中出现的最大分段数进行配置。
这里的发送端可以是终端设备,也可以是网络设备,类似地,接收端可以是终端设备,也可以是网络设备。
在一种可能的实现方式中,该方法还包括:该发送端确定与该第一数据包对应的最大分段数;该发送端将第一数据包封装为多个分段,包括:该发送端将该第一数据包封装为分段个数小于或等于该最大分段数的该多个分段。
可选地,该最大分段数可以是由网络设备预先配置好的,也可以是发送端在进行分段前根据待传输数据包的一些传输特性确定,例如,可以是根据逻辑信道映射的该待传输数据包的业务类型或用于传输该待传输数据包的底层物理信道质量确定的。
在一种可能的实现方式中,发送端可以先确定最大分段数,并根据最大分段数进行分段,且通过第二指示字段向接收端指示该最大分段数。进而在还原分段前数据包时可以作为参考。
发送端还可以根据最大分段数确定第一指示字段所占的比特数。例如,最大分段数为8,那么发送端可以将第一指示字段配置为3bit,这样接收端在接收到最大分段数之后,可以判断从接下来的3个比特上获取该第一指示字段指示的序号,也就是分段序号。
在一种可能的实现方式中,该第一数据包的数据为重传数据,该分段为重分段,该第一数据包为第一服务数据单元的一个初分段,该每个分段的包头还包括第三指示字段,该第三指示字段用于指示该初分段在该第一服务数据单元的多个初分段中的顺序,该方法还包括:该发送端根据该初分段的第一指示字段指示的序号,确定多个重传分段中的每个重分段的该第三指示字段指示的序号。
类似地,对于重传分段的指示,若重传的数据属于一个服务数据单元的一个初分段,那么在重传分段的包头中还需要包括该初分段的分段序号。这样接收端在接收到该多个重传分段之后,可以将该多个重传分段与原来其他正确接收的多个初分段一起还原成一个服务数据单元。
在一种可能的实现方式中,该每个分段的包头还包括第四指示字段,该
第四指示字段用于指示相应分段是否为该多个分段中的最后一个分段。
假设有两个数据包需要分段,第一数据包和第二数据包。发送端向接收端发的第一数据包的多个分段与第二数据包的多个分段有可能错开,那么接收端可以根据该第四指示字段确定到底是开始还原数据包还是等待后续属于同一个数据包的分段。
在一种可能的实现方式中,该每个分段的包头还包括第五指示字段,该第五指示字段用于指示相应分段为初分段还是重分段。
在一种可能的实现方式中,该每个分段的包头还包括该第一数据包所属服务数据单元的序列号。
第二方面,提供了一种传输数据的方法,该方法包括:接收端接收发送端发送的对应于无线链路控制RLC协议层的第一数据包的多个分段,该分段为初分段或重分段,该多个分段中的每个分段的包头包括第一指示字段,该第一指示字段用于指示相应分段在该多个分段中的顺序;该接收端根据该第一指示字段,确定该第一数据包。
采用分段序号指示每个分段,使得接收端根据分段序号能够很好地还原分段前的数据包,并且由于分段数远小于原始数据包所包括的字节数,因此,极大的减小了指示开销。
在一种可能的实现方式中,该方法还包括:该接收端确定与该第一数据包对应的最大分段数;该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该最大分段数和该第一指示字段,确定该第一数据包。
在一种可能的实现方式中,该接收端确定与该第一数据包对应的最大分段数,包括:该接收端根据用于传输该第一数据包的逻辑信道映射的业务类型和/或用于传输该第一数据包的物理信道质量,确定该最大分段数。
在一种可能的实现方式中,该接收端为终端设备,该接收端确定与该第一数据包对应的最大分段数,包括:该接收端从网络设备配置的至少一个最大分段数,确定该最大分段数。
在一种可能的实现方式中,该每个分段的包头还包括第二指示字段,该第二指示字段用于指示该最大分段数。
在一种可能的实现方式中,该方法还包括:该接收端根据该最大分段数,确定该第一指示字段的宽度;该接收端根据该第一指示字段的宽度,从相应分段的包头确定该第一指示字段。
在一种可能的实现方式中,该第一数据包的数据为重传数据,该分段为重分段,该第一数据包为第一服务数据单元的一个初分段,该每个分段的包头还包括第三指示字段,该第三指示字段用于指示该初分段在该第一服务数据单元的多个初分段中的顺序,该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该第一指示字段和该第三指示字段,确定该第一数据包。
在一种可能的实现方式中,该每个分段的包头还包括第四指示字段,该第四指示字段用于指示相应分段是否为该多个分段中的最后一个分段,该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该第一指示字段和该第四指示字段,确定该第一数据包。
在一种可能的实现方式中,该每个分段的包头还包括第五指示字段,该第五指示字段用于指示相应分段为初分段还是重分段,该第四指示字段用于指示相应分段是否为该多个分段中的最后一个分段,该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该第一指示字段和该第五指示字段,确定该第一数据包。
在一种可能的实现方式中,该每个分段的包头还包括该第一数据包所属初服务数据单元的序列号,该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该第一指示字段和该序列号,确定该第一数据包。
第三方面,提供了一种装置,用于执行上述第一方面或第一方面的任意可能的实现方式中的方法。具体地,该装置包括用于执行上述第一方面或第一方面的任意可能的实现方式中的方法的单元。
第四方面,提供了一种装置,用于执行上述第二方面或第一方面的任意可能的实现方式中的方法。具体地,该装置包括用于执行上述第二方面或第二方面的任意可能的实现方式中的方法的单元。
第五方面,提供了一种装置,该装置包括:存储器、处理器、输入接口和输出接口。其中,存储器、处理器、输入接口和输出接口通过总线***相连。该存储器用于存储指令,该处理器用于执行该存储器存储的指令,用于执行上述第一方面或第一方面的任意可能的实现方式中的方法。
第六方面,提供了一种装置,该装置包括:存储器、处理器、输入接口和输出接口。其中,存储器、处理器、输入接口和输出接口通过总线***相连。该存储器用于存储指令,该处理器用于执行该存储器存储的指令,用于
执行上述第二方面或第二方面的任意可能的实现方式中的方法。
第七方面,提供了一种计算机存储介质,用于储存为执行上述第一方面或第一方面的任意可能的实现方式中的方法,或者上述第二方面或第二方面的任意可能的实现方式中的方法所用的计算机软件指令,其包含用于执行上述方面所设计的程序。
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。
图1示出了本申请实施例一个应用场景的示意图。
图2示出了本申请实施例的传输数据的方法的示意性框图。
图3示出了本申请实施例中segmentation的指示方法的示意性框图。
图4示出了本申请实施例的re-segmentation的指示方法的另一示意性框图。
图5示出了本申请实施例的传输数据的方法的另一示意性框图。
图6示出了本申请实施例的传输数据的装置的示意性框图。
图7示出了本申请实施例的传输数据的装置的另一示意性框图。
图8示出了本申请实施例的传输数据的装置的再一示意性框图。
图9示出了本申请实施例的传输数据的装置的再一示意性框图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
应理解,本申请实施例的技术方案可以应用于各种通信***,例如:全球移动通讯(Global System of Mobile communication,简称为“GSM”)***、码分多址(Code Division Multiple Access,简称为“CDMA”)***、宽带码分多址(Wideband Code Division Multiple Access,简称为“WCDMA”)***、通用分组无线业务(General Packet Radio Service,简称为“GPRS”)、长期演进(Long Term Evolution,简称为“LTE”)***、LTE频分双工(Frequency Division Duplex,简称为“FDD”)***、LTE时分双工(Time Division Duplex,简称为“TDD”)、通用移动通信***(Universal Mobile Telecommunication System,简称为“UMTS”)、全球互联微波接入(Worldwide Interoperability for
Microwave Access,简称为“WiMAX”)通信***或未来的5G***等。
特别地,本申请实施例的技术方案可以应用于各种基于非正交多址接入技术的通信***,例如稀疏码多址接入(Sparse Code Multiple Access,简称为“SCMA”)***、低密度签名(Low Density Signature,简称为“LDS”)***等,当然SCMA***和LDS***在通信领域也可以被称为其他名称;进一步地,本申请实施例的技术方案可以应用于采用非正交多址接入技术的多载波传输***,例如采用非正交多址接入技术正交频分复用(Orthogonal Frequency Division Multiplexing,简称为“OFDM”)、滤波器组多载波(Filter Bank Multi-Carrier,简称为“FBMC”)、通用频分复用(Generalized Frequency Division Multiplexing,简称为“GFDM”)、滤波正交频分复用(Filtered-OFDM,简称为“F-OFDM”)***等。
本申请实施例中的终端设备可以指用户设备(User Equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(Public Land Mobile Network,PLMN)中的终端设备等,本申请实施例并不限定。
本申请实施例中的网络设备可以是用于与终端设备通信的设备,该网络设备可以是GSM或CDMA中的基站(Base Transceiver Station,BTS),也可以是WCDMA***中的基站(NodeB,NB),还可以是LTE***中的演进型基站(Evolutional NodeB,eNB或eNodeB),还可以是云无线接入网络(Cloud Radio Access Network,CRAN)场景下的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络设备或者未来演进的PLMN网络中的网络设备等,本申请实施例并不限定。
图1是本申请实施例一个应用场景的示意图。图1中的通信***可以包括终端设备10和网络设备20。网络设备20用于为终端设备10提供通信服务并接入核心网,终端设备10通过搜索网络设备20发送的同步信号、广播
信号等而接入网络,从而进行与网络的通信。图1中所示出的箭头可以表示通过终端设备10与网络设备20之间的蜂窝链路进行的上/下行传输。
应理解,本申请实施例中的发送端和接收端可以是图1中的终端设备和网络设备。也可以是物联网或车辆网场景中的终端设备和终端设备,还可以是其他应用场景中的网络设备和网络设备,本申请实施例对此不够成限定。为了描述方便,本申请实施例是以终端设备和网络设备之间的交互为例进行描述的。
本领域技术人员理解,RLC具有级联和分段RLC SDU的功能以此来匹配下层所能支持的传输大小。换句话说,在RLC协议中,上层的PDU在下层成为了下层的SDU,发生了分段/重组、级联/填充的过程。PDU是SDU在RLC的承载,SDU被分段或者级联,然后填充到PDU中,即SDU封装后就是PDU。
PDU的封装/解封装:在发送端,将SDU加上协议控制信息(Protocol Control Information,PCI),封装成PDU;在接收端,将接收到的PDU解封装,去掉PCI,还原成SDU。
SDU分段通常是下层通道的带宽不能满足传递SDU的需要,通过将一个SDU分成多段,然后分别封装成PDU发送出去,在接收端将这些PDU解封装后重新装配成一个SDU。
目前在LTE***中,分别用两种方式分别指示segmentation和re-segmentation,对于segmentation,RLC包头用2bit字节的指示域来指示,具体地,该指示域的指示情况如表1所示。
表1
值 | 指示内容 |
00 | 不分段 |
01 | 该分段属于起始分段 |
10 | 该分段属于结束分段 |
11 | 该分段既不属于起始分段,也不属于结束分段 |
上述的指示方式,对各个分段只有一个大概的位置,若分段数比较少,例如3个分段,那么接收端在接收到该三个分段之后,可以很好的还原SDU。而对于分段数较多的分段,例如有4个分段,很明显的,有两个中间分段,那么接收端无法确定出该两个中间分段的先后顺序,导致接收端可能还原出
错误的SDU。
对于re-segmentation,采用1bit的SO指示域和1bit的重传指示(re-segmentation,RF),其中,RF指示域用于指示该分段属于segmentation还是re-segmentation,而SO则指示的是每个分段的起始字节属于原重传PDU数据中的第几个字节。因为原PDU包括的字节可能很多,从而导致SO的比特数就需要比较大。例如,若原PDU中包括1024个字节,那么SO的比特位至少为10位,目前的SO是15bit或16bit,极大地增加了每个重分段包头的指示开销。
图2示出了本申请实施例的传输数据的方法100的示意性框图。如图2所示,该发送端可以是网络设备,具体地可以是基站,该方法100包括:
S110,发送端将无线链路控制RLC协议层的第一数据包封装为多个分段,该分段为初分段或重分段,该多个分段中的每个分段的包头包括第一指示字段,该第一指示字段用于指示相应分段在该多个分段中的顺序;
S120,该发送端向接收端发送该多个分段。
第一方面,针对segmentation,当由网络设备的媒体接入控制(Media Access Control,MAC)层指示的RLC PDU大小小于RLC SDU时,RLC实体就会对RLC SDU执行分段操作,让生成的RLC PDU能适配进去。在对SDU分段时,对每个分段按照在原SDU中的位置进行排序,并在每个分段的包头添加该序号,也就是本申请实施例中的第一指示字段。网络设备和终端设备之前可以静态或半静态配置每个SDU的分段个数。在有多个SDU需要进行分段时,可以配置接收端接收每个分段时是按照一个完整的SDU的分段接收的,也就是说不同SDU的分段之间没有交错,因此,终端设备在接收到SDU序列号相同的连续配置的数量为分段个数的分段之后,终端设备即可对同一个SDU的多个分段按照第一指示字段中的序号进行还原。
第二方面,针对re-segmentation,当重传的PDU无法适配到由MAC层指示的总的RLC PDU大小时,RLC实体就会根据此情况对重传的RLC PDU执行重分段,让生成的RLC PDU重分段能适配进去。在这种情况下,可以认为重传的PDU中的数据实际是一个SDU中的数据,同样地,网络设备可以对每个重分段按照在原SDU中的位置进行排序,并在每个重分段的包头添加该序号,也就是本申请实施例中的第一指示字段。网络设备和终端设备之前可以静态或半静态配置每个重传PDU的分段个数。在有多个重传PDU
需要进行重分段时,可以配置接收端接收每个重分段时是按照一个完整的重传PDU的重分段接收的,也就是说不同重传PDU的重分段之间没有交错,因此,终端设备在接收到重传PDU的SDU序列号相同的连续配置的数量为分段个数的重分段之后,终端设备即可对同一个重传PDU的多个重分段按照第一指示字段中的序号进行还原。
因此,本申请实施例中的传输数据的方法,使得接收端能够正确还原数据,并且能够极大地减小指示开销。
可选地,在本申请实施例中,该方法还包括:该发送端确定与该第一数据包对应的最大分段数;该发送端将第一数据包封装为多个分段,包括:该发送端将该第一数据包封装为分段个数小于或等于该最大分段数的该多个分段。
具体地,网络设备和终端设备之间可以不用提前约定最大分段数,网络设备在分段包头中包括一个指示最大分段数的指示域,也就是本申请实施例中的第二指示字段。网络设备可以根据一些传输特性等来确定最大分段数,而网络设备在确定了最大分段数之后,可以根据最大分段数将SDU或重传PDU封装成多个初分段或重分段。例如,若最大分段数为4,那么网络设备可以将SDU或重传PDU封装为1、2、3或4个分段。同样地,终端设备在接收到每个分段之后,即可确定同一个SDU或重传PDU最大包括4个分段,在还原的时候,可以作为参考。
应理解,上述也提到,最大分段数可以是由传输特性确定的,具体地,网络设备可以根据用于传输SDU或重传PDU的逻辑信道映射的业务类型确定该最大分段数,网络设备也可以根据用于传输该SDU或该重传PDU的底层物理信道质量来确定该最大分段数。举例来说,若该逻辑信道映射的业务类型为网络协议语音(Voice over Internet Protocol,VoIP),考虑到VoIP数据包较小,可以为这种业务的数据包配置一个较小的最大分段数;若物理信道情况较差,则可以配置一个较大的分段数。网络设备也可以根据该SDU或重传PDU的其他传输特性确定最大分段数,例如传输模式等。本申请实施例并不限于此。
还应理解,最大分段数也可以由网络设备提前配置好。具体地,网络设备可以给所有的逻辑信道配置相同的最大分段数,也可以对不同逻辑信道对应的RLC PDU分别配置不同的最大分段数。例如,网络设备可以提前配置
多个最大分段数,假设网络设备提前配置了4个最大分段数2、4、8或16,那么网络设备在封装第一数据包的多个分段时,可以先从4个最大分段数中,选择其中一个最大分段数。
可选地,在本申请实施例中,该多个分段中的至少一个分段的包头还包括第二指示字段,该第二指示字段用于指示该最大分段数。
该第二指示字段的比特数可以是提前配置好的,并且最大分段数与第二指示字段中的值的对应关系也可以提前配置好,也就是说网络设备和终端设备预先知道指示最大分段数的第二指示字段占哪几个比特位,并且该第二指示字段中的值指示的最大分段数到底是多少。比如,可以配置2bit的指示,指示4种最大分段数,分别为4、8、16和32,对应的第二指示字段中的值分别为00、01、10和11。
举例来说,可以在多个分段中的第一个分段的包头中包括第二指示字段,也就是说终端设备在接收到第一个分段之后,即可知道最大分段数是多少,后续还原的时候就可以参考该最大分段数。也可以是在该多个分段中的其他分段的包头包括第二指示字段,这里不作限定。
可选地,在本申请实施例中,该第一数据包为重传协议数据单元,该分段为重分段,该第一数据包为第一服务数据单元的一个初分段,该多个分段中的至少一个分段的包头还包括第三指示字段,该第三指示字段用于指示该初分段在该第一服务数据单元的多个初分段中的顺序,该方法还包括:该发送端根据该初分段的第一指示字段指示的序号,确定多个重传分段中的每个重分段的该第三指示字段指示的序号。
具体地,若网络设备在发送完一个SDU的多个初分段之后,其中有个初分段需要进行重传,那么网络设备可以将该初分段封装为多个重分段,并在每个重分段的包头中包括每个重分段的序号以及该初分段的序号,该初分段在一定时间内存储在该网络设备内,包括该每个初分段的序号,终端设备在无法正确接收到某个初分段的数据时,可以向网络设备反馈响应的初分段的序号,那么网络设备即可以根据终端设备反馈的序号确定需要重传的初分段,紧接着可以直接重传该初分段,也可以将该初分段封装成多个重分段进行传输。
同样地,可以在多个分段中的第一个分段的包头中包括第三指示字段,也就是说终端设备在接收到第一个分段之后,即可知道接下来的多个分段是
属于第一数据包(假设在多个数据包都分段时,按照数据包先后顺序传输多个分段),后续还原的时候就可以参考该第三指示字段指示的序号。也可以是在该多个分段中的其他分段的包头包括第三指示字段,这里不作限定。
进一步地,该每个分段的包头还包括第四指示字段,该第四指示字段用于指示相应分段是否为该多个分段中的最后一个分段。
具体地,网络设备在封装每个分段的时候,可以根据每个分段是否是原数据包中的最后一个分段在该每个分段的包头指示,这样的话,若网络设备将多个数据包封装成多个分段时,并且多个分段的发送顺序穿插,终端设备可以在接收到同一个数据包的最后一个分段,即可完成还原。从而可以提高数据还原的准确性以及降低延时。在多个数据包的发送顺序一定的情况下,在每个分段的包头也可以不包括指示是否是最后一个分段的指示域。
进一步地,该多个分段中的至少一个分段的包头还包括第五指示字段,该第五指示字段用于指示相应分段为初分段还是重分段。
具体地,可以在多个分段中的第一个分段的包头中包括第五指示字段,也就是说终端设备在接收到第一个分段之后,即可知道接下来的多个分段是属于重分段还是初分段,后续还原的时候就可以参考该第五指示字段指示的内容。也可以是在该多个分段中的其他分段的包头包括第五指示字段,这里不作限定。
这里的第五指示字段指示的作用同现有技术中RF的作用相同,为了简洁,这里不再赘述。
进一步地,该多个分段中的至少一个分段的包头还包括该第一数据包所属服务数据单元的序列号。
具体地,可以在多个分段中的第一个分段的包头中包括该第一数据包所属服务数据单元的序列号,也就是说终端设备在接收到第一个分段之后,即可知道接下来的多个分段是属于那一个原SDU,后续还原的时候就可以参考该序列号。也可以是在该多个分段中的其他分段的包头包括序列号,这里不作限定。
这里的序列号与现有技术中的sequence number的作用相同,为了简洁,这里同样不再赘述。
应理解,可以在多个分段中的至少一个分段中包括上述所有需要指示的内容,只需要在在每个分段中只要包括相应分段的序号即可。
可选地,本申请实施例还提供了一种分段指示的方法,每个分段的包头可以包括重传标示RF和分段偏置SO,在该种情况下,该包头可以不用包括LSF,也就是不需要指示是否为最后一个分段。
下面将结合图3和图4详细描述本申请实施例中对于segmentation和re-segmentation的指示。
如图3所示,如下图所示,对于一个初分段情况,其中SN为sequence number,RF表示re-segmentation flag即是否为重分段标示,LSF表示last segmentation flag即是否为最后一个分段;MS表示maximum segmentation即最大分段配置指示位,SI表示segmentation index即为分段序列表示;假设网络配置最大初分段数可选为4种,分别为2,4,8,16,则MS比特位为2,用来分别对应这四种最大分段数。由于该分段是初分段,所以RF=0(假设如果是重传分段则RF=1),同时用LSF来表示是否为最后一个分段,0表示不是,1表示是;假设MS采用的是第二种配置,即为01;对于某一个具体的初分段,用顺序标示的方式指示每一个分段在原RLC SDU的位置,比如SI=00表示该分段是第一个分段,SI=01标示分段为第二个分段以此类推。
如图4所示,对于重分段的情况,假设对于图3中的第一个初分段进一步进行重分段,且重分段最大分段数为2,在这种情况下,假设最大重分段数标示MS=00(采用第一种);重传标示RF=1;对于重分段,包头中需要包含该重分段属于哪一个初分段,在图3中,重分段属于初分段1,即SI=00.最后,还需要标示重分段的序列号,即RSI(ReSegmentation Index)。
应理解,上述各种值仅仅是用来举例说明的,本申请实施例并不限于此。
图5示出了本申请实施例的传输数据的方法200的示意性框图。如图5所示,该方法200可以由终端设备执行,例如可以由用户设备执行,该方法200包括:
S210,接收端接收发送端发送的对应于无线链路控制RLC协议层的第一数据包的多个分段,该分段为初分段或重分段,该多个分段中的每个分段的包头包括第一指示字段,该第一指示字段用于指示相应分段在该多个分段中的顺序;
S220,该接收端根据该第一指示字段,确定该第一数据包。
因此,本申请实施例中的传输数据的方法,使得接收端能够正确还原数据,并且能够极大地减小指示开销。
可选地,在本申请实施例中,该方法还包括:与所述第一数据包对应的最大分段数;该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该最大分段数和该第一指示字段,确定该第一数据包。
可选地,在本申请实施例中,所述接收端确定与所述第一数据包对应的最大分段数,包括:所述接收端根据用于传输所述第一数据包的逻辑信道映射的业务类型和/或用于传输所述第一数据包的物理信道质量,确定所述最大分段数。
可选地,在本申请实施例中,所述接收端为终端设备,所述接收端确定与所述第一数据包对应的最大分段数,包括:所述接收端从网络设备配置的至少一个最大分段数,确定所述最大分段数。
可选地,在本申请实施例中,该每个分段的包头还包括第二指示字段,该第二指示字段用于指示该最大分段数。
可选地,在本申请实施例中,该方法还包括:该接收端根据该最大分段数,确定该第一指示字段的宽度;该接收端根据该第一指示字段的宽度,从相应分段的包头确定该第一指示字段。
可选地,在本申请实施例中,该第一数据包为重传协议数据单元,该分段为重分段,该第一数据包为第一服务数据单元的一个初分段,该每个分段的包头还包括第三指示字段,该第三指示字段用于指示该初分段在该第一服务数据单元的多个初分段中的顺序,该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该第一指示字段和该第三指示字段,确定该第一数据包。
可选地,在本申请实施例中,该每个分段的包头还包括第四指示字段,该第四指示字段用于指示相应分段是否为该多个分段中的最后一个分段,该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该第一指示字段和该第四指示字段,确定该第一数据包。
可选地,在本申请实施例中,该每个分段的包头还包括第五指示字段,该第五指示字段用于指示相应分段为初分段还是重分段,该第四指示字段用于指示相应分段是否为该多个分段中的最后一个分段,该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该第一指示字段和该第五指示字段,确定该第一数据包。
可选地,在本申请实施例中,该每个分段的包头还包括该第一数据包所
属初服务数据单元的序列号,该接收端根据该第一指示字段,确定该第一数据包,包括:该接收端根据该第一指示字段和该序列号,确定该第一数据包。
应理解,终端设备描述的终端设备与网络设备的交互及相关特性、功能等与网络设备的相关特性、功能相应。也就是说,网络设备向终端设备发送什么信息,终端设备相应地就会接收什么信息。为了简洁,在此不再赘述。
还应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
上文中详细描述了根据本申请实施例的传输数据的方法,下面将结合图6至图9,描述根据本申请实施例的传输数据的装置,方法实施例所描述的技术特征适用于以下装置实施例。
图6示出了根据本申请实施例的装置300的示意性框图。如图6所示,该装置300为发送端,该装置300包括:
处理单元310,用于将无线链路控制RLC协议层的第一数据包封装为多个分段,该分段为初分段或重分段,该多个分段中的每个分段的包头包括第一指示字段,该第一指示字段用于指示相应分段在该多个分段中的顺序;
发送单元320,用于向接收端发送该多个分段。
因此,本申请实施例的装置,使得接收端能够正确还原数据,并且能够极大地减小指示开销。
可选地,在本申请实施例中,该装置300还包括:第一确定单元330,用于确定与该第一数据包对应的最大分段数;该处理单元310具体用于:将该第一数据包封装为分段个数小于或等于该最大分段数的该多个分段。
可选地,在本申请实施例中,该第一确定单元330具体用于:根据用于传输该第一数据包的逻辑信道映射的业务类型和/或用于传输该第一数据包的物理信道质量,确定该最大分段数。
可选地,在本申请实施例中,该装置300为终端设备,该第一确定单元330具体用于:从网络设备配置的至少一个最大分段数,确定该最大分段数。
可选地,在本申请实施例中,该每个分段的包头还包括第二指示字段,该第二指示字段用于指示该最大分段数。
可选地,在本申请实施例中,该装置300还包括:第二确定单元340,用于根据该最大分段数确定该第一指示字段所占的比特数;该处理单元310
具体用于:根据该第一指示字段所占的比特数,将该第一数据包封装为该多个分段。
可选地,在本申请实施例中,该第一数据包为重传协议数据单元,该分段为重分段,该第一数据包为第一服务数据单元的一个初分段,该每个分段的包头还包括第三指示字段,该第三指示字段用于指示该初分段在该第一服务数据单元的多个初分段中的顺序,该装置300还包括:第三确定单元350,用于根据该初分段的第一指示字段指示的序号,确定多个重传分段中的每个重分段的该第三指示字段指示的序号。
可选地,在本申请实施例中,该每个分段的包头还包括第四指示字段,该第四指示字段用于指示相应分段是否为该多个分段中的最后一个分段。
可选地,在本申请实施例中,该每个分段的包头还包括第五指示字段,该第五指示字段用于指示相应分段为初分段还是重分段。
可选地,在本申请实施例中,该每个分段的包头还包括该第一数据包所属服务数据单元的序列号。
应理解,根据本申请实施例的装置300可对应于本申请方法实施例中的发送端,并且装置300中的各个单元的上述和其它操作和/或功能分别为了实现图2至图4所示各方法中的相应内容,为了简洁,在此不再赘述。
图7示出了根据本申请实施例的装置400的示意性框图。如图7所示,该装置为接收端,该装置400包括:
接收单元410,用于接收发送端发送的对应于无线链路控制RLC协议层的第一数据包的多个分段,该分段为初分段或重分段,该多个分段中的每个分段的包头包括第一指示字段,该第一指示字段用于指示相应分段在该多个分段中的顺序;
第一确定单元420,用于根据该第一指示字段,确定该第一数据包。
因此,本申请实施例的装置,能够正确还原数据,并且能够极大地减小指示开销。
可选地,在本申请实施例中,该装置400还包括:第二确定单元430,确定与该第一数据包对应的最大分段数;该第一确定单元420具体用于:根据该最大分段数和该第一指示字段,确定该第一数据包。
可选地,在本申请实施例中,该第二确定单元430具体用于:根据用于传输该第一数据包的逻辑信道映射的业务类型和/或用于传输该第一数据包
的物理信道质量,确定该最大分段数。
可选地,在本申请实施例中,该第二确定单元430具体用于:从网络设备配置的至少一个最大分段数,确定该最大分段数。
可选地,在本申请实施例中,该每个分段的包头还包括第二指示字段,该第二指示字段用于指示该最大分段数。
可选地,在本申请实施例中,该装置400还包括:第三确定单元440,用于根据该最大分段数,确定该第一指示字段的宽度;第四确定单元450,用于根据该第一指示字段的宽度,从相应分段的包头确定该第一指示字段。
可选地,在本申请实施例中,该第一数据包为重传协议数据单元,该分段为重分段,该第一数据包为第一服务数据单元的一个初分段,该每个分段的包头还包括第三指示字段,该第三指示字段用于指示该初分段在该第一服务数据单元的多个初分段中的顺序,该第一确定单元420具体用于:根据该第一指示字段和该第三指示字段,确定该第一数据包。
可选地,在本申请实施例中,该每个分段的包头还包括第四指示字段,该第四指示字段用于指示相应分段是否为该多个分段中的最后一个分段,该第一确定单元420具体用于:根据该第一指示字段和该第四指示字段,确定该第一数据包。
可选地,在本申请实施例中,该每个分段的包头还包括第四指示字段,该第四指示字段用于指示相应分段是否为该多个分段中的最后一个分段。
可选地,在本申请实施例中,该每个分段的包头还包括第五指示字段,该第五指示字段用于指示相应分段为初分段还是重分段。
可选地,在本申请实施例中,该每个分段的包头还包括该第一数据包所属服务数据单元的序列号。
应理解,根据本申请实施例的装置400可对应于本申请方法实施例中的接收端,并且装置400中的各个单元的上述和其它操作和/或功能分别为了实现图3至图5所示各方法中的相应内容,为了简洁,在此不再赘述。
如图8所示,本申请实施例还提供了一种装置500,该装置500可以是图6中的装置300,其能够用于执行与图2中方法100对应的发送端的内容。该装置500包括:输入接口510、输出接口520、处理器530以及存储器540,该输入接口510、输出接口520、处理器530和存储器540可以通过总线***相连。所述存储器540用于存储包括程序、指令或代码。所述处理器530,
用于执行所述存储器540中的程序、指令或代码,以控制输入接口510接收信号、控制输出接口520发送信号以及完成前述方法实施例中的操作。
因此,本申请实施例提供的装置,能够降低***信令开销。
应理解,在本申请实施例中,该处理器530可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器530还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器540可以包括只读存储器和随机存取存储器,并向处理器530提供指令和数据。存储器540的一部分还可以包括非易失性随机存取存储器。例如,存储器540还可以存储设备类型的信息。
在实现过程中,上述方法的各内容可以通过处理器530中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的内容可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器540,处理器530读取存储器540中的信息,结合其硬件完成上述方法的内容。为避免重复,这里不再详细描述。
一个具体的实施方式中,装置300中的发送单元320可以由图8中的输出接口520实现,装置300中的处理单元310、第一确定单元330、第二确定单元340和第三确定单元350可以由图8中的处理器530实现。
如图9所示,本申请实施例还提供了一种装置600,该装置600可以是图7中的装置400,其能够用于执行与图4中方法200对应的接收端的内容。该装置600包括:输入接口610、输出接口620、处理器630以及存储器640,该输入接口610、输出接口620、处理器630和存储器640可以通过总线***相连。所述存储器640用于存储包括程序、指令或代码。所述处理器630,用于执行所述存储器640中的程序、指令或代码,以控制输入接口610接收信号、控制输出接口620发送信号以及完成前述方法实施例中的操作。
因此,本申请实施例提供的装置,能够降低***信令开销。
应理解,在本申请实施例中,该处理器630可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器630还可以是其他通用处理器、
数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器640可以包括只读存储器和随机存取存储器,并向处理器630提供指令和数据。存储器640的一部分还可以包括非易失性随机存取存储器。例如,存储器640还可以存储设备类型的信息。
在实现过程中,上述方法的各内容可以通过处理器630中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的内容可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器640,处理器630读取存储器640中的信息,结合其硬件完成上述方法的内容。为避免重复,这里不再详细描述。
一个具体的实施方式中,装置400中的第一确定单元420、第二确定单元430、第三确定单元440和第四确定单元450可以用图9的处理器630实现,装置400中的接收单元410可以由图9的输入接口610实现。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
该功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例该方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。
Claims (40)
- 一种传输数据的方法,其特征在于,包括:发送端将无线链路控制RLC协议层的第一数据包封装为多个分段,所述分段为初分段或重分段,所述多个分段中的每个分段的包头包括第一指示字段,所述第一指示字段用于指示相应分段在所述多个分段中的顺序;所述发送端向接收端发送所述多个分段。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述发送端确定与所述第一数据包对应的最大分段数;所述发送端将第一数据包封装为多个分段,包括:所述发送端将所述第一数据包封装为分段个数小于或等于所述最大分段数的所述多个分段。
- 根据权利要求2所述的方法,其特征在于,所述发送端确定与所述第一数据包对应的最大分段数,包括:所述发送端根据用于传输所述第一数据包的逻辑信道映射的业务类型和/或用于传输所述第一数据包的物理信道质量,确定所述最大分段数。
- 根据权利要求2所述的方法,其特征在于,所述发送端为终端设备,所述发送端确定与所述第一数据包对应的最大分段数,包括:所述发送端从网络设备配置的至少一个最大分段数,确定所述最大分段数。
- 根据权利要求2至4中任一项所述的方法,其特征在于,所述每个分段的包头还包括第二指示字段,所述第二指示字段用于指示所述最大分段数。
- 根据权利要求2至5中任一项所述的方法,其特征在于,所述方法还包括:所述发送端根据所述最大分段数确定所述第一指示字段所占的比特数;所述发送端将无线链路控制RLC协议层的第一数据包封装为多个分段,包括:所述发送端根据所述第一指示字段所占的比特数,将所述第一数据包封装为所述多个分段。
- 根据权利要求1至6中任一项所述的方法,所述第一数据包为重传协议数据单元,所述分段为重分段,所述第一数据包为第一服务数据单元的 一个初分段,所述每个分段的包头还包括第三指示字段,所述第三指示字段用于指示所述初分段在所述第一服务数据单元的多个初分段中的顺序,所述方法还包括:所述发送端根据所述初分段的第一指示字段指示的序号,确定多个重传分段中的每个重分段的所述第三指示字段指示的序号。
- 根据权利要求1至7中任一项所述的方法,其特征在于,所述每个分段的包头还包括第四指示字段,所述第四指示字段用于指示相应分段是否为所述多个分段中的最后一个分段。
- 根据权利要求1至8中任一项所述的方法,其特征在于,所述每个分段的包头还包括第五指示字段,所述第五指示字段用于指示相应分段为初分段还是重分段。
- 根据权利要求1至9中任一项所述的方法,其特征在于,所述每个分段的包头还包括所述第一数据包所属服务数据单元的序列号。
- 一种传输数据的方法,其特征在于,包括:接收端接收发送端发送的对应于无线链路控制RLC协议层的第一数据包的多个分段,所述分段为初分段或重分段,所述多个分段中的每个分段的包头包括第一指示字段,所述第一指示字段用于指示相应分段在所述多个分段中的顺序;所述接收端根据所述第一指示字段,确定所述第一数据包。
- 根据权利要求11所述的方法,其特征在于,所述方法还包括:所述接收端确定与所述第一数据包对应的最大分段数;所述接收端根据所述第一指示字段,确定所述第一数据包,包括:所述接收端根据所述最大分段数和所述第一指示字段,确定所述第一数据包。
- 根据权利要求12所述的方法,其特征在于,所述接收端确定与所述第一数据包对应的最大分段数,包括:所述接收端根据用于传输所述第一数据包的逻辑信道映射的业务类型和/或用于传输所述第一数据包的物理信道质量,确定所述最大分段数。
- 根据权利要求12所述的方法,其特征在于,所述接收端为终端设备,所述接收端确定与所述第一数据包对应的最大分段数,包括:所述接收端从网络设备配置的至少一个最大分段数,确定所述最大分段 数。
- 根据权利要求12至14中任一项所述的方法,其特征在于,所述每个分段的包头还包括第二指示字段,所述第二指示字段用于指示所述最大分段数。
- 根据权利要求12至15中任一项所述的方法,其特征在于,所述方法还包括:所述接收端根据所述最大分段数,确定所述第一指示字段的宽度;所述接收端根据所述第一指示字段的宽度,从每个分段的包头确定所述第一指示字段。
- 根据权利要求11至16中任一项所述的方法,其特征在于,所述第一数据包为重传协议数据单元,所述分段为重分段,所述第一数据包为第一服务数据单元的一个初分段,所述每个分段的包头还包括第三指示字段,所述第三指示字段用于指示所述初分段在所述第一服务数据单元的多个初分段中的顺序,所述接收端根据所述第一指示字段,确定所述第一数据包,包括:所述接收端根据所述第一指示字段和所述第三指示字段,确定所述第一数据包。
- 根据权利要求11至17中任一项所述的方法,其特征在于,所述每个分段的包头还包括第四指示字段,所述第四指示字段用于指示相应分段是否为所述多个分段中的最后一个分段,所述接收端根据所述第一指示字段,确定所述第一数据包,包括:所述接收端根据所述第一指示字段和所述第四指示字段,确定所述第一数据包。
- 根据权利要求11至18中任一项所述的方法,其特征在于,所述每个分段的包头还包括第五指示字段,所述第五指示字段用于指示相应分段为初分段还是重分段,所述第四指示字段用于指示相应分段是否为所述多个分段中的最后一个分段,所述接收端根据所述第一指示字段,确定所述第一数据包,包括:所述接收端根据所述第一指示字段和所述第五指示字段,确定所述第一数据包。
- 根据权利要求11至19中任一项所述的方法,其特征在于,所述每 个分段的包头还包括所述第一数据包所属初服务数据单元的序列号,所述接收端根据所述第一指示字段,确定所述第一数据包,包括:所述接收端根据所述第一指示字段和所述序列号,确定所述第一数据包。
- 一种传输数据的装置,其特征在于,所述装置为发送端,所述装置包括:处理单元,用于将无线链路控制RLC协议层的第一数据包封装为多个分段,所述分段为初分段或重分段,所述多个分段中的每个分段的包头包括第一指示字段,所述第一指示字段用于指示相应分段在所述多个分段中的顺序;发送单元,用于向接收端发送所述多个分段。
- 根据权利要求21所述的装置,其特征在于,所述装置还包括:第一确定单元,用于确定与所述第一数据包对应的最大分段数;所述处理单元具体用于:将所述第一数据包封装为分段个数小于或等于所述最大分段数的所述多个分段。
- 根据权利要求22所述的装置,其特征在于,所述第一确定单元具体用于:根据用于传输所述第一数据包的逻辑信道映射的业务类型和/或用于传输所述第一数据包的物理信道质量,确定所述最大分段数。
- 根据权利要求22所述的装置,其特征在于,所述装置为终端设备,所述第一确定单元具体用于:从网络设备配置的至少一个最大分段数,确定所述最大分段数。
- 根据权利要求22至24中任一项所述的装置,其特征在于,所述每个分段的包头还包括第二指示字段,所述第二指示字段用于指示所述最大分段数。
- 根据权利要求22至25中任一项所述的装置,其特征在于,所述装置还包括:第二确定单元,用于根据所述最大分段数确定所述第一指示字段所占的比特数;所述处理单元具体用于:根据所述第一指示字段所占的比特数,将所述第一数据包封装为所述多个分段。
- 根据权利要求11至26中任一项所述的装置,其特征在于,所述第一数据包为重传协议数据单元,所述分段为重分段,所述第一数据包为第一服务数据单元的一个初分段,所述每个分段的包头还包括第三指示字段,所述第三指示字段用于指示所述初分段在所述第一服务数据单元的多个初分段中的顺序,所述装置还包括:第三确定单元,用于根据所述初分段的第一指示字段指示的序号,确定多个重传分段中的每个重分段的所述第三指示字段指示的序号。
- 根据权利要求11至27中任一项所述的装置,其特征在于,所述每个分段的包头还包括第四指示字段,所述第四指示字段用于指示相应分段是否为所述多个分段中的最后一个分段。
- 根据权利要求11至28中任一项所述的装置,其特征在于,所述每个分段的包头还包括第五指示字段,所述第五指示字段用于指示相应分段为初分段还是重分段。
- 根据权利要求11至29中任一项所述的装置,其特征在于,所述每个分段的包头还包括所述第一数据包所属服务数据单元的序列号。
- 一种传输数据的装置,其特征在于,所述装置为接收端,所述装置包括:接收单元,用于接收发送端发送的对应于无线链路控制RLC协议层的第一数据包的多个分段,所述分段为初分段或重分段,所述多个分段中的每个分段的包头包括第一指示字段,所述第一指示字段用于指示相应分段在所述多个分段中的顺序;第一确定单元,用于根据所述第一指示字段,确定所述第一数据包。
- 根据权利要求31所述的装置,其特征在于,所述装置还包括:第二确定单元,用于确定与所述第一数据包对应的最大分段数;所述第一确定单元具体用于:根据所述最大分段数和所述第一指示字段,确定所述第一数据包。
- 根据权利要求32所述的装置,其特征在于,所述第二确定单元具体用于:根据用于传输所述第一数据包的逻辑信道映射的业务类型和/或用于传 输所述第一数据包的物理信道质量,确定所述最大分段数。
- 根据权利要求32所述的装置,其特征在于,所述装置为终端设备,所述第二确定单元具体用于:从网络设备配置的至少一个最大分段数,确定所述最大分段数。
- 根据权利要求32至34中任一项所述的装置,其特征在于,所述每个分段的包头还包括第二指示字段,所述第二指示字段用于指示所述最大分段数。
- 根据权利要求32至35中任一项所述的装置,其特征在于,所述装置还包括:第三确定单元,用于根据所述最大分段数,确定所述第一指示字段的宽度;第四确定单元,用于根据所述第一指示字段的宽度,从相应分段的包头确定所述第一指示字段。
- 根据权利要求31至36中任一项所述的装置,其特征在于,所述第一数据包为重传协议数据单元,所述分段为重分段,所述第一数据包为第一服务数据单元的一个初分段,所述每个分段的包头还包括第三指示字段,所述第三指示字段用于指示所述初分段在所述第一服务数据单元的多个初分段中的顺序,所述第一确定单元具体用于:根据所述第一指示字段和所述第三指示字段,确定所述第一数据包。
- 根据权利要求31至37中任一项所述的装置,其特征在于,所述每个分段的包头还包括第四指示字段,所述第四指示字段用于指示相应分段是否为所述多个分段中的最后一个分段,所述第一确定单元具体用于:根据所述第一指示字段和所述第四指示字段,确定所述第一数据包。
- 根据权利要求31至38中任一项所述的装置,其特征在于,所述每个分段的包头还包括第五指示字段,所述第五指示字段用于指示相应分段为初分段还是重分段,所述第四指示字段用于指示相应分段是否为所述多个分段中的最后一个分段,所述第一确定单元具体用于:根据所述第一指示字段和所述第五指示字段,确定所述第一数据包。
- 根据权利要求31至39中任一项所述的装置,其特征在于,所述每个分段的包头还包括所述第一数据包所属初服务数据单元的序列号,所述第一确定单元具体用于:根据所述第一指示字段和所述序列号,确定所述第一数据包。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/073249 WO2018145301A1 (zh) | 2017-02-10 | 2017-02-10 | 一种传输数据的方法和装置 |
CN201780054231.2A CN109691061A (zh) | 2017-02-10 | 2017-02-10 | 一种传输数据的方法和装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/073249 WO2018145301A1 (zh) | 2017-02-10 | 2017-02-10 | 一种传输数据的方法和装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018145301A1 true WO2018145301A1 (zh) | 2018-08-16 |
Family
ID=63107095
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/073249 WO2018145301A1 (zh) | 2017-02-10 | 2017-02-10 | 一种传输数据的方法和装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109691061A (zh) |
WO (1) | WO2018145301A1 (zh) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111342929A (zh) * | 2018-12-18 | 2020-06-26 | 中国电信股份有限公司 | 信息发送和接收方法及其装置、信息处理*** |
CN112839242A (zh) * | 2020-12-31 | 2021-05-25 | 四川长虹网络科技有限责任公司 | 音视频媒体文件封装实现方法 |
US20220217761A1 (en) * | 2021-01-05 | 2022-07-07 | Electronics And Telecommunications Research Institute | Method and apparatus for reconfiguring configured grant resources in communication system |
CN114731492A (zh) * | 2022-02-14 | 2022-07-08 | 北京小米移动软件有限公司 | 一种***信息的传输方法、通信装置及通信设备 |
WO2023240495A1 (zh) * | 2022-06-15 | 2023-12-21 | Oppo广东移动通信有限公司 | 一种数据传输方法及装置、通信设备 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115276891A (zh) * | 2021-04-30 | 2022-11-01 | 华为技术有限公司 | 数据传输方法、装置及可读存储介质 |
CN117528645A (zh) * | 2022-07-29 | 2024-02-06 | 华为技术有限公司 | 通信方法及装置 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064724A (zh) * | 2006-04-27 | 2007-10-31 | 华硕电脑股份有限公司 | 无线通讯***处理服务数据单元的分割及编号方法及装置 |
CN101132346A (zh) * | 2006-08-23 | 2008-02-27 | 上海贝尔阿尔卡特股份有限公司 | 无线通信网络中的数据传输及解析方法及其装置 |
US20080310452A1 (en) * | 2007-06-14 | 2008-12-18 | Texas Instruments Incorporated | Data link layer headers |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7817667B2 (en) * | 2005-04-29 | 2010-10-19 | Nokia Corporation | Method, apparatus and computer program to dynamically adjust segmentation at a protocol layer, such as at the medium access control (MAC) layer |
WO2011097812A1 (zh) * | 2010-02-11 | 2011-08-18 | 上海贝尔股份有限公司 | 基于载波聚合的通信***中进行数据分段的方法和装置 |
CN102769516B (zh) * | 2011-05-06 | 2017-08-11 | 中兴通讯股份有限公司 | 一种信道测量信息反馈方法及*** |
JP5993001B2 (ja) * | 2011-06-10 | 2016-09-14 | サムスン エレクトロニクス カンパニー リミテッド | 無線通信環境でフラグメント化可能データユニットを送信及び受信する方法及びシステム |
CN111741494B (zh) * | 2015-07-14 | 2023-01-10 | Oppo广东移动通信有限公司 | 数据传输的方法、发送设备及接收设备 |
-
2017
- 2017-02-10 WO PCT/CN2017/073249 patent/WO2018145301A1/zh active Application Filing
- 2017-02-10 CN CN201780054231.2A patent/CN109691061A/zh active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064724A (zh) * | 2006-04-27 | 2007-10-31 | 华硕电脑股份有限公司 | 无线通讯***处理服务数据单元的分割及编号方法及装置 |
CN101132346A (zh) * | 2006-08-23 | 2008-02-27 | 上海贝尔阿尔卡特股份有限公司 | 无线通信网络中的数据传输及解析方法及其装置 |
US20080310452A1 (en) * | 2007-06-14 | 2008-12-18 | Texas Instruments Incorporated | Data link layer headers |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111342929A (zh) * | 2018-12-18 | 2020-06-26 | 中国电信股份有限公司 | 信息发送和接收方法及其装置、信息处理*** |
CN112839242A (zh) * | 2020-12-31 | 2021-05-25 | 四川长虹网络科技有限责任公司 | 音视频媒体文件封装实现方法 |
US20220217761A1 (en) * | 2021-01-05 | 2022-07-07 | Electronics And Telecommunications Research Institute | Method and apparatus for reconfiguring configured grant resources in communication system |
CN114731492A (zh) * | 2022-02-14 | 2022-07-08 | 北京小米移动软件有限公司 | 一种***信息的传输方法、通信装置及通信设备 |
WO2023151085A1 (zh) * | 2022-02-14 | 2023-08-17 | 北京小米移动软件有限公司 | 一种***信息的传输方法、通信装置及通信设备 |
WO2023240495A1 (zh) * | 2022-06-15 | 2023-12-21 | Oppo广东移动通信有限公司 | 一种数据传输方法及装置、通信设备 |
Also Published As
Publication number | Publication date |
---|---|
CN109691061A (zh) | 2019-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018145301A1 (zh) | 一种传输数据的方法和装置 | |
JP6999689B2 (ja) | データ伝送方法、端末装置及びネットワーク機器 | |
WO2018086016A1 (zh) | 传输上行数据的方法、终端设备和网络设备 | |
EP3672128B1 (en) | Data transmission method, terminal device and network device | |
CN111130719B (zh) | 用于传输数据的方法、终端设备和网络设备 | |
ES2901374T3 (es) | Procedimiento y aparato para realizar una función de capa 2 eficiente en un sistema de comunicación móvil | |
EP3737183B1 (en) | Communication methods, apparatuses and computer-readable storage medium | |
US20100135495A1 (en) | Mac layer packet data units for wireless communications | |
CN111262664B (zh) | 无线通信的方法、终端设备和网络设备 | |
EP3637892B1 (en) | Data transmission method, terminal device, and network device | |
WO2018166517A1 (zh) | 一种数据传输方法、数据发送设备及数据接收设备 | |
CN106233653B (zh) | 一种无线链路控制传输方法及设备 | |
CN109792312A (zh) | 一种传输数据的方法、终端设备和网络设备 | |
CN109756306B (zh) | 信息传输方法和通信设备 | |
US11310103B2 (en) | Method for handling radio link failure (RLF) and terminal device | |
WO2019153209A1 (zh) | 处理无线链路失败rlf的方法和终端设备 | |
WO2018126450A1 (zh) | 无线通信的方法和设备 | |
CN112470532B (zh) | 侧行通信的方法、终端设备、芯片、存储介质 | |
WO2019028824A1 (zh) | 用于传输数据的方法、终端设备和网络设备 | |
WO2022237608A1 (zh) | 传输控制信息的方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17895723 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17895723 Country of ref document: EP Kind code of ref document: A1 |