US20210006498A9 - Data transmission method and communications device - Google Patents

Data transmission method and communications device Download PDF

Info

Publication number
US20210006498A9
US20210006498A9 US16/670,066 US201916670066A US2021006498A9 US 20210006498 A9 US20210006498 A9 US 20210006498A9 US 201916670066 A US201916670066 A US 201916670066A US 2021006498 A9 US2021006498 A9 US 2021006498A9
Authority
US
United States
Prior art keywords
flow
indication
data flow
data
flow identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US16/670,066
Other versions
US20200067843A1 (en
US11252095B2 (en
Inventor
Hong Li
Feng Han
Yinghao Jin
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of US20200067843A1 publication Critical patent/US20200067843A1/en
Assigned to HUAWEI TECHNOLOGIES CO., LTD. reassignment HUAWEI TECHNOLOGIES CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: HAN, FENG, JIN, Yinghao, LI, HONG
Publication of US20210006498A9 publication Critical patent/US20210006498A9/en
Application granted granted Critical
Publication of US11252095B2 publication Critical patent/US11252095B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2408Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2483Traffic characterised by specific attributes, e.g. priority or QoS involving identification of individual flows
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6215Individual queue per QOS, rate or priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0252Traffic management, e.g. flow control or congestion control per individual bearer or channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2491Mapping quality of service [QoS] requirements between different networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Definitions

  • aspects of the present invention relate to the field of communications technologies, and in particular, to a data transmission method and a communications device.
  • an end-to-end quality of service (Quality of Service, QoS) mechanism is implemented based on a bearer.
  • a concept of QoS flow is introduced to a next-generation mobile communications system (for example, 5 th generation mobile communications (5th-Generation, 5G)), and data may be transferred on a core network (Core Network, CN) and an interface between the CN and an access network (Access Network, A/V) in a QoS flow-based manner.
  • CN Core Network
  • A/V access network
  • a concept of a bearer is retained in the A/V, including an air interface, and one or more QoS flows may be mapped to a same bearer.
  • EPS End-to-end evolved packet system
  • EPS End-to-end evolved packet system
  • a QoS architecture of a 5G network Downlink is used as an example.
  • IP Internet Protocol
  • UPF User Plane Function
  • the UPF first maps the IP data flow to a QoS flow, then sends the QoS flow data to a next-generation access network NodeB (NG-RAN NodeB, gNB) by using an interface between an access network and the core network, and then the gNB maps the QoS flow to a bearer.
  • NG-RAN NodeB next-generation access network NodeB
  • gNB next-generation access network NodeB
  • aspects of this application provide a data transmission method and a communications device, to complete processing on a data flow.
  • a data transmission method includes: processing, by a transmit end device, a data flow, where the processing includes: adding a service data adaptation protocol layer SDAP header to the data flow, where the SDAP header includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and sending, by the transmit end device, the processed data flow.
  • the service data adaptation protocol layer header is defined. The service data adaptation protocol layer header is added to the data flow, the data flow is processed, and the processed data is sent; and after the data flow is received, the service data adaptation protocol layer header in the data flow is removed. In this way, processing on the data flow is completed.
  • the flow identifier indication is used to indicate whether the flow identifier is included. If the flow identifier indication indicates that the flow identifier is not included, no byte needs to be configured for the flow identifier in the SDAP header. Therefore, air interface overheads can be reduced.
  • the transmit end device includes a base station; the flow identifier indication is further used to indicate whether the SDAP header includes an access stratum data flow reflective indication; and the method further includes: sending, by the base station, first signaling, where the first signaling includes a non-access stratum data flow reflective indication.
  • the transmit end device includes a base station; the flow identifier indication is further used to indicate whether the SDAP header includes a non-access stratum data flow reflective indication; and the method further includes: sending, by the base station, second signaling, where the second signaling includes an access stratum data flow reflective indication.
  • the flow identifier indication may be further used to implicitly indicate whether the SDAP header includes the access stratum data flow reflective indication or the non-access stratum data flow reflective indication. In this way, overheads of the SDAP header can be reduced. Another indication is transmitted by using signaling.
  • the transmit end device includes a base station; and the method further includes: sending, by the base station, an access stratum data flow reflective indication by using radio resource control signaling; and forwarding, by the base station, a non- access stratum data flow reflective indication from a core network.
  • the access stratum data flow reflective indication and the non-access stratum data flow reflective indication may be transmitted by using signaling. In this way, overheads of the SDAP header can be reduced.
  • the method further includes: receiving, by the transmit end device, the data flow; and removing, by the transmit end device, the SDAP header in the data flow.
  • the transmit end device when receiving the data flow, removes the service data adaptation protocol layer header in the data flow, so that processing on the data flow is completed.
  • a data transmission method includes: receiving, by a receive end device, a data flow, where the data flow includes a service data adaptation protocol layer SDAP header, the SDAP header includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and removing, by the receive end device, the SDAP header in the data flow.
  • the service data adaptation protocol layer header is defined. After the data flow is received, the service data adaptation protocol layer header in the data flow is removed, so that processing on the data flow is completed.
  • the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header.
  • the SDAP header needs to include the flow identifier. Some content of the flow identifier may be in the first byte of the SDAP header, to reduce the overheads of the SDAP header. If the flow identifier has a relatively large length, the flow identifier may be in the first byte and the second byte, or even more bytes.
  • the flow identifier indication is further used to indicate whether the SDAP header includes the access stratum data flow reflective indication ARI and the non-access stratum data flow reflective indication NRI.
  • the flow identifier indication may be further used to implicitly indicate whether the SDAP header includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the overheads of the SDAP header can be reduced.
  • the SDAP header further includes an indication of data information/control information.
  • the indication of the data information/control information is added to the SDAP header, and the control information may be, for example, the access stratum data flow reflective indication or the non-access stratum data flow reflective indication. If the indication of the data information/control information indicates that the SDAP header includes the data information, the SDAP header does not need to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. If the indication of the data information/control information indicates that the SDAP header includes the control information, the SDAP header needs to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the overheads of the SDAP header can be reduced to some extent.
  • the SDAP header further includes an uplink/downlink indication.
  • the uplink/downlink indication is added to the SDAP header.
  • the access stratum data flow reflective indication and the non-access stratum data flow reflective indication may not be carried in uplink transmission. Therefore, if the uplink/downlink indication indicates that current transmission is uplink transmission, the SDAP header does not need to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication; or if the uplink/downlink indication indicates that current transmission is downlink transmission, the SDAP header may include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the overheads of the SDAP header can be reduced to some extent.
  • a communications device has functions of implementing behavior of the communications device in the foregoing method.
  • the functions may be implemented by hardware, or may be implemented by hardware executing corresponding software.
  • the hardware or the software includes one or more modules corresponding to the foregoing functions.
  • the communications device includes: a processor, configured to process a data flow, where the processing includes: adding a service data adaptation protocol layer SDAP header to the data flow, where the SDAP header includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and a transmitter, configured to send the processed data flow.
  • a communications device has functions of implementing behavior of the communications device in the foregoing method.
  • the functions may be implemented by hardware, or may be implemented by hardware executing corresponding software.
  • the hardware or the software includes one or more modules corresponding to the foregoing functions.
  • the communications device includes: a receiver, configured to receive a data flow, where the data flow includes a service data adaptation protocol layer SDAP header, the SDAP header includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and a processor, configured to remove the SDAP header in the data flow.
  • a data transmission method includes: processing, by a transmit end device, a data flow, where the processing includes: adding a flow identifier indication to the data flow, where the flow identifier indication is used to indicate whether a flow identifier is included; and sending, by the transmit end device, the processed data flow.
  • the flow identifier indication is added to the data flow.
  • the flow identifier indication is used to indicate whether the flow identifier is included.
  • the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • the flow identifier indication is used to indicate whether the flow identifier is included.
  • the processing specifically includes: adding the flow identifier indication to a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU.
  • the flow identifier indication may be added to a header or a trailer of a newly added SDAP PDU.
  • the processing specifically includes: adding the flow identifier indication to a packet data convergence protocol PDCP header.
  • the flow identifier indication may be added to the PDCP header. If the flow identifier is not included, the SDAP header may not be required. Therefore, transmission overheads can be further reduced.
  • the transmit end device includes a base station; the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication; and the method further includes: sending, by the base station, first signaling, where the first signaling includes a non-access stratum data flow reflective indication.
  • the transmit end device includes a base station; the flow identifier indication is further used to indicate whether the data flow includes a non-access stratum data flow reflective indication; and the method further includes: sending, by the base station, second signaling, where the second signaling includes an access stratum data flow reflective indication.
  • the flow identifier indication may be further used to implicitly indicate whether the data flow includes the access stratum data flow reflective indication or the non-access stratum data flow reflective indication. In this way, overheads of the SDAP header or the PDCP header can be reduced. Another indication is transmitted by using signaling.
  • the transmit end device includes a base station; and the method further includes: sending, by the base station, an access stratum data flow reflective indication by using radio resource control signaling; and forwarding, by the base station, a non- access stratum data flow reflective indication from a core network.
  • the access stratum data flow reflective indication and the non-access stratum data flow reflective indication may be transmitted by using signaling. In this way, overheads of the SDAP header can be reduced.
  • the method further includes: receiving, by the transmit end device, the data flow; and obtaining, by the transmit end device, the flow identifier indication.
  • the transmit end device after receiving the data flow, the transmit end device obtains the flow identifier indication. In this way, the transmit end device can learn of a quantity of transmitted data flows, to perform subsequent processing on the data flow.
  • the method further includes: removing, by the transmit end device, the SDAP header of the SDAP PDU.
  • the transmit end device when receiving the data flow, removes the service data adaptation protocol layer header in the data flow, so that processing on the data flow is completed.
  • a data transmission method includes: receiving, by a receive end device, a data flow, where the data flow includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and obtaining, by the receive end device, the flow identifier indication.
  • the receive end device obtains the flow identifier indication. In this way, the receive end device can learn of a quantity of transmitted data flows, to perform subsequent processing on the data flow.
  • the flow identifier indication is in a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU, or the flow identifier indication is in a packet data convergence protocol PDCP header.
  • the method further includes: removing, by the receive end device, the SDAP header of the SDAP PDU, In this implementation, the service data adaptation protocol layer header is defined. After the data flow is received, the service data adaptation protocol layer header in the data flow is removed, so that processing on the data flow is completed.
  • the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header.
  • the SDAP header needs to include the flow identifier. Some content of the flow identifier may be in the first byte of the SDAP header, to reduce the overheads of the SDAP header. If the flow identifier has a relatively large length, the flow identifier may be in the first byte and the second byte, or even more bytes.
  • the flow identifier indication is further used to indicate whether the data flow includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication.
  • the flow identifier indication may be further used to implicitly indicate whether the data flow includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way signaling overheads can be reduced.
  • the data flow further includes an indication of data information/control information.
  • the indication of the data information/control information is added to the data flow, and the control information may be, for example, the access stratum data flow reflective indication or the non-access stratum data flow reflective indication. If the indication of the data information/control information indicates that the data flow includes the data information, the data flow does not need to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. If the indication of the data information/control information indicates that the data flow includes the control information, the data flow needs to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the signaling overheads can be reduced to some extent.
  • the data flow further includes an uplink/downlink indication.
  • the uplink/downlink indication is added to the data flow.
  • the access stratum data flow reflective indication and the non-access stratum data flow reflective indication may not be carried in uplink transmission. Therefore, if the uplink/downlink indication indicates that current transmission is uplink transmission, the data flow does not need to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication; or if the uplink/downlink indication indicates that current transmission is downlink transmission, the data flow may include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the signaling overheads can be reduced to some extent.
  • a communications device has functions of implementing behavior of the communications device in the foregoing method.
  • the functions may be implemented by hardware, or may be implemented by hardware executing corresponding software.
  • the hardware or the software includes one or more modules corresponding to the foregoing functions.
  • the communications device includes: a processor, configured to process a data flow, where the processing includes: adding a flow identifier indication to the data flow, where the flow identifier indication is used to indicate whether a flow identifier is included; and a transmitter, configured to send the processed data flow.
  • a communications device has functions of implementing behavior of the communications device in the foregoing method.
  • the functions may be implemented by hardware, or may be implemented by hardware executing corresponding software.
  • the hardware or the software includes one or more modules corresponding to the foregoing functions.
  • the communications device includes: a receiver, configured to receive a data flow, where the data flow includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and a processor, configured to obtain the flow identifier.
  • Still another aspect of this application provides a computer readable storage medium.
  • the computer readable storage medium stores an instruction.
  • the instruction When the instruction is run on a computer, the computer is enabled to perform the method according to the foregoing aspects.
  • Still another aspect of this application provides a communications chip.
  • the chip stores an instruction.
  • a computer is enabled to perform the method according to the foregoing aspects.
  • Still another aspect of this application provides a computer program product including an instruction.
  • the computer program product When the computer program product is run on a computer, the computer is enabled to perform the method according to the foregoing aspects.
  • FIG. 1 is a schematic diagram of a user plane protocol stack architecture of a next- generation mobile communications network
  • FIG. 2 is a schematic architectural diagram of a communications system according to an embodiment of the present invention.
  • FIG. 3 is a schematic interaction diagram of a data transmission method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an SDAP layer
  • FIG. 5 is a schematic interaction diagram of an example of a data transmission method
  • FIG. 6 a to FIG. 6 k are schematic structural diagrams of examples of an SDAP header
  • FIG. 7 is a schematic diagram of a communications device according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of another communications device according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a communications device according to an embodiment of the present invention.
  • FIG. 2 is a schematic architectural diagram of a communications system according to an embodiment of the present invention.
  • the communications system includes a base station and a terminal device.
  • the communications system may be a global system for mobile communications (Global System for Mobile Communication, GSM), a code division multiple access (Code Division Multiple Access, CDMA) system, a wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) system, a worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, WiMAX) system, a long term evolution (Long Term Evolution, LTE) system, a 5G communications system (for example, a new radio (new radio, NR) system, or a communications system that integrates a plurality of communications technologies (for example, a communications system integrating an LTE technology and an NR technology)), or a subsequent evolved communications system.
  • GSM Global System for Mobile Communication
  • CDMA code division multiple access
  • WCDMA Wideband Code Division Multiple Access
  • WiMAX worldwide interoperability for
  • the terminal device in aspects of this application is a device having a wireless communication function, and may be a hand-held device, a vehicle-mounted device, a wearable device, or a computing device that has a wireless communication function, or another processing device connected to a wireless modem.
  • the terminal device may have different names in different networks, for example, user equipment (User Equipment, UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile console, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communications device, a user agent or a user apparatus, a cellular phone, a cordless telephone set, a session initiation protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital assistant (Personal Digital Assistant, PDA), or a terminal device in a 5G network or a future evolved network.
  • User Equipment User Equipment
  • a network device in this application is a device that is deployed in a radio access network and that is configured to provide a wireless communication function, and includes, but is not limited to, a base station (such as a BTS (Base Transceiver Station, BTS). a NodeB (NodeB, NB), an evolved NodeB (Evolutional Node B, eNB or eNodeB), a transmission node or a transmission reception point (transmission reception point TRP or TP) in an NR system, a next-generation NodeB (generation nodeB, gNB), or a base station or a network device in a future communications network), a relay station, an access point, a vehicle-mounted device, a wearable device, a wireless fidelity (Wireless-Fidelity, Wi-Fi) site, a wireless backhaul node, a small cell, a micro base station, or the like.
  • a base station such as a BTS (Base Transceiver Station, BTS).
  • a base station 102 may include a plurality of antenna groups.
  • Each antenna group may include one or more antennas.
  • one antenna group may include antennas 104 and 106
  • another antenna group may include antennas 108 and 110 .
  • an additional group may be included, and the additional group may include antennas 112 and 114 .
  • Different antenna groups in high-frequency communication may be combined into different antenna panels (panel). For example, an antenna group forms a beam that points to a direction, and another antenna group forms another beam that points to another direction. More antennas may be required to adapt to different device capabilities. Therefore, different quantities of antennas may be disposed for the additional group based on different device capabilities. For example, two antennas are shown for each antenna group in FIG.
  • each group may have more or fewer antennas.
  • the base station 102 may additionally include a transmitter chain and a receiver chain.
  • the transmitter chain and the receiver chain each may include a plurality of components related to signal sending and receiving, for example, a processor, a modulator, a multiplexer, a demodulator, a demultiplexer, or an antenna.
  • the base station 102 may communicate with one or more terminal devices, for example, a terminal device 116 and a terminal device 122 . However, it may be understood that the base station 102 may communicate with any quantity of terminal devices that are similar to the terminal device 116 or 122 . As shown in FIG. 2 , the terminal device 116 communicates with the antennas 112 and 114 . The antennas 112 and 114 send information to the terminal device 116 by using a forward link 118 , and receive information from the terminal device 116 by using a reverse link 120 . In addition, the terminal device 122 communicates with the antennas 104 and 106 .
  • the antennas 104 and 106 send information to the terminal device 122 by using a forward link 124 , and receive information from the terminal device 122 by using a reverse link 126 .
  • the forward link 118 may use a frequency band different from that used by the reverse link 120
  • the forward link 124 may use a frequency band different from that used by the reverse link 126 .
  • the forward link 118 and the reverse link 120 may use a same frequency band
  • the forward link 124 and the reverse link 126 may use a same frequency band.
  • An area covered by each group of antennas designed for communication and/or an area covered by transmission of each group of antennas are/is referred to as a sector of the base station 102 .
  • an antenna group may be designed to communicate with a terminal device in a sector within coverage of the base station 102 .
  • a transmit antenna of the base station 102 may improve signal-to-noise ratios of the forward links 118 and 124 through beamforming.
  • a mobile node in a neighboring cell is subject to less interference.
  • the base station 102 , the terminal device 116 , or the terminal device 122 may be a wireless communications sending apparatus and/or a wireless communications receiving apparatus.
  • the wireless communications sending apparatus may encode the data for transmission.
  • the wireless communications sending apparatus may obtain, for example, generate, receive from another communications apparatus, or store in a memory, a particular quantity of data bits that need to be sent to the wireless communications receiving apparatus through a channel.
  • the data bits may be included in one or more transport blocks of data, and the transport block may be segmented to generate a plurality of code blocks.
  • FIG. 1 is a schematic diagram of a user plane protocol stack architecture of a next-generation mobile communications network.
  • a service data adaptation protocol layer (Service Data Adaptation Protocol, SDAP) is newly added based on an LTE user plane protocol stack architecture
  • the LTE user plane protocol stack architecture includes a packet data convergence protocol (Packet Data Convergence Protocol, PDCP) layer, a radio link control protocol (Radio Link Control Protocol, RLC) layer, a media access control protocol (Media Access Control Protocol, MAC) layer, and a physical layer protocol (Physical Layer Protocol, PHY) layer).
  • PDCP Packet Data Convergence Protocol
  • RLC Radio Link Control Protocol
  • Media Access Control Protocol Media Access Control Protocol
  • PHY Physical Layer Protocol
  • the embodiments of the present invention provide a data transmission method and a communications device.
  • a flow identifier indication is added to a data flow, where the flow identifier indication is used to indicate whether a flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • FIG. 3 is a schematic interaction diagram of a data transmission method according to an embodiment of the present invention. The method may include the following steps.
  • a transmit end device processes a data flow.
  • the data flow may be transmitted in uplink, or may be transmitted in downlink.
  • the transmit end device may be a base station or a terminal device, and a receive end device may also be a terminal device or a base station.
  • the transmit end device and the receive end device may transmit data by using an air interface bearer.
  • the transmit end device receives a data flow on which flow transmission is performed, and then transmits the data flow by using a bearer; or flow transmission needs to be performed on a data flow that is transmitted by the transmit end device by using a bearer. Therefore, flow-to-bearer mapping needs to be performed.
  • an SDAP layer is added between a transmission control protocol/internet protocol (Transmission Control Protocol/Internet Protocol, TCP/IP) layer and a PDCP layer, to facilitate data transmission.
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • the SDAP layer is a protocol layer between the TCP/IP layer and the PDCP layer, and the SDAP layer may alternatively have another name. Any protocol layer between the TCP/IP layer and the PDCP layer may be understood as the SDAP layer in this application. This is not limited herein.
  • FIG. 4 is a schematic structural diagram of the SDAP layer.
  • the SDAP layer includes an SDAP header (SDAP Header) 401 and an SDAP service data unit (Service Data Unit, SDU) 402 .
  • the TCP/IP layer transmits an IP data packet, or referred to as a data flow (IP Packet), to the SDAP layer, and the SDAP layer adds the SDAP header 401 to the data flow.
  • IP Packet IP data packet
  • the foregoing data flow may be considered as an SDAP SDU.
  • the SDAP layer transmits, to the PDCP layer, the data flow to which the SDAP header is added.
  • the PDCP layer performs similar processing, that is, adds a PDCP header 404 .
  • the data flow to which the SDAP header is added may be considered as a PDCP SDU.
  • the data flow to which the PDCP header is added may be transmitted to a next layer.
  • FIG. 4 shows an example of processing on an nth IP packet and an (n+1) th IP packet.
  • a receive end device when receiving a data flow, a receive end device cannot learn of a size of an SDAP header before processing the data flow, and the size of the SDAP header mainly depends on a flow identifier (Flow ID, FID). Therefore, a flow identifier of each data flow needs to be indicated to the receive end device.
  • Flow ID Flow ID
  • FID flow identifier
  • the SDAP header includes a flow identifier indication (Flow ID Indication, FII), and the flow identifier indication is used to indicate whether a flow identifier is included.
  • Flow ID Indication Flow ID Indication
  • One flow identifier corresponds to one data flow.
  • One or more data flows may be mapped to one bearer. If a core network transmits one data flow to a transmit end device or the transmit end device sends one data flow to a core network, the flow identifier may not be included. If the core network transmits a plurality of data flows to the transmit end device or the transmit end device sends a plurality of data flows to the core network, the flow identifier needs to be included.
  • the flow identifier indication may be one bit. A value of the flow identifier indication may be “1” or “0”.
  • the SDAP header may be located at the front of the SDAP SDU, or may be located at the end of the SDAP SDU. If the SDAP header is located at the end of the SDAP SDU, a robust header compression protocol (RoHC) function can be conveniently used.
  • RoHC header compression protocol
  • the PDCP header may include the flow identifier indication.
  • the transmission overheads can be reduced when the flow identifier is not included. For a manner in which the PDCP header does not include the flow identifier indication, if the flow identifier is not included, the SDAP header may not be required. Therefore, the transmission overheads can be further reduced.
  • RoHC supports header compression of limited upper layer protocols, for example, the TCP/IP and the user datagram protocol (User Datagram Protocol, UDP)/IP. Therefore, the newly introduced SDAP protocol header cannot be identified by the RoHC protocol.
  • the flow identifier indication is in the PDCP, and the PDCP may learn of an exact length of an SDAP header of each data flow. Therefore, the PDCP may extract the SDAP header before the RoHC compression, and add the SDAP header to the PDCP header after the RoHC compression.
  • the transmit end only needs to add the flow identifier indication to the data flow, where the flow identifier indication may be added to the SDAP header or the SDAP trailer.
  • the transmit end device sends the processed data flow.
  • the transmit end device After processing in a protocol stack, the transmit end device sends the processed data flow to the receive end device.
  • the receive end device receives the data flow.
  • the receive end device obtains the flow identifier indication in the data flow.
  • the receive end device After receiving the data flow, the receive end device obtains the flow identifier indication. In this way, the receive end device can learn of a quantity of transmitted data flows, perform subsequent processing on the data flow.
  • the receive end device removes an SDAP header of the SDAP PDU. After receiving the processed data flow, that is, the data flow to which the SDAP header is added, the receive end device needs to remove the SOAP header, to obtain net data in the SDAP SDU. Alternatively, the data flow needs to be transmitted through flow transmission. The SOAP header also needs to be removed in the flow transmission, and data transmission is directly performed,
  • the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • the foregoing data transmission procedure is described below by using downlink transmission and uplink transmission.
  • the transmit end device is a base station, and the receive end device is a terminal device.
  • the transmit end device is a terminal device, and the receive end device is a base station. Therefore, when the transmit end device receives the data flow, the method may further include: receiving the data flow; and removing the SDAP header in the data flow.
  • FIG. 5 is a schematic interaction diagram of an example of a data transmission method.
  • FIG. 5 shows signaling and data exchange between UE, a base station, and a UPF.
  • the data transmission method includes the following steps: 501 .
  • a downlink IP data flow (briefly referred to as an “IP flow” below) arrives at the UPF of a core network, and the UPF maps the IP data flow into a QoS data flow (briefly referred to as a “QoS flow” below).
  • the UPF sends (through flow transmission) the QoS flow to a gNB through an interface between an access network and the core network, and the base station receives the QoS flow. 503 .
  • the gNB processes the QoS flow, that is, adds an SDAP header (certainly, the processing further includes processing of another protocol layer, refer to the prior art, and details are not described herein), and maps, to a bearer, the QoS flow on which flow transmission is performed. 504 .
  • the gNB transmits the QoS flow to the UE by using the bearer, and the UE receives the QoS flow. 505 .
  • the UE removes a header in the received QoS data flow. In this case, downlink transmission is completed. 506 .
  • the UE may perform uplink QoS data flow transmission. 507 .
  • the UE processes the QoS data flow, that is, adds the SDAP header, and maps the QoS flow to the bearer.
  • the UE transmits the QoS flow to the gNB by using the bearer, and the gNB receives the QoS flow. 509 .
  • the gNB needs to transmit the processed QoS flow to the core network through flow transmission, and needs to remove the header in the QoS flow. 510 .
  • the gNB sends the QoS flow without the header to the UPF through flow transmission, and the UPF receives the QoS flow.
  • the base station in FIG. 5 may be the gNB.
  • an FII indication bit is in a first byte.
  • FIG. 6 a is a schematic structural diagram of an example of an SDAP header. Bytes (Octa 1 , Oct) occupied by the SDAP header are aligned with bytes in an SDAP SDU. The FII indication bit is in Oct 1 , and occupies one bit. Another bit of this byte is used as a reserved bit (Reserved, R), to facilitate forward compatibility. If an FII indicates that the SDAP header includes a flow identifier, a second byte may include the flow identifier.
  • the flow identifier may still continue to occupy a third byte and a next byte of the SDAP header as required.
  • the flow identifier is in the second byte Oct 2 and the third byte Oct 3 .
  • the flow identifier may alternatively be in the first byte occupied by the FII indication bit.
  • FIG. 6 b is a schematic structural diagram of an example of another SDAP header, some FID content is in Oct 1 , and the remaining FID content is in Oct 2 and Oct 3 . In this way, overheads of the SDAP header can be reduced. If a length of the flow identifier is relatively large, the flow identifier may continue to occupy a third byte and a next byte of the SDAP header as required. In the example in FIG. 6 b , the flow identifier is in the first byte to the third byte of the SDAP header.
  • the UE may perform transmission in a reflective QoS (Reflective QoS) manner.
  • Reflective QoS is a method in which UE obtains a manner of mapping an uplink data transmission IP flow to a QoS flow and mapping a QoS flow to a bearer.
  • a basic idea is that the UE derives a manner of mapping an uplink data transmission QoS flow to the bearer based on information about mapping a downlink data transmission IP flow to the QoS flow and mapping the QoS flow to the bearer.
  • the UPF may add a reflective QoS indication (Reflective QoS Indication, RQI) to a packet header of a data flow.
  • RQI Reflective QoS Indication
  • the RQI further includes an access stratum data flow reflective indication (Access Stratum Reflective QoS Indication, ARI) and a non-access stratum data flow reflective indication (Non-Access Stratum Reflective QoS Indication, NRI).
  • the ARI is used to indicate whether to use the reflective QoS manner in transmission of a data flow on an access stratum.
  • the NRI is used to indicate whether to use the reflective QoS manner in transmission of a data flow on a non-access stratum.
  • FIG. 6 c is a schematic structural diagram of an example of still another SDAP header.
  • the SDAP header includes an FII, an ARI, and an NRI. If the FII indicates that a flow identifier is included, the SDAP header further includes the flow identifier.
  • An arrangement sequence of the FII, the ARI, and the NRI is not limited.
  • the ARI and the NRI each occupy one bit. For example, when a value of the ARI is “1”. it indicates that the reflective QoS manner is used in transmission of the data flow on the access stratum; when the value of the ARI is “0”, it indicates that the reflective QoS manner is not used in transmission of the data flow on the access stratum; and vice versa.
  • FIG. 6 d is a schematic structural diagram of an example of still another SOAP header.
  • Oct 1 further includes some RD content.
  • a same SOAP header is used in uplink and downlink.
  • different SOAP headers may be used in the uplink and the downlink. In other words, only the FII needs to be included in the uplink, and the ARI and the NRI do not need to be included.
  • a structure of an uplink SDAP header is shown in FIG. 6 a and FIG. 6 b.
  • the SOAP header includes the FII, and the FII is further used to indicate whether the SDAP header includes the ARI and the NRI. If the FII indicates that the flow identifier is included, the SOAP header further includes the flow identifier. As shown in FIG. 6 a and FIG. 6 b , the FII implicitly indicates whether the SDAP header includes the ARI and the NRI. To be specific, for example, if a value of the FII is “1”, it implicitly indicates that the SDAP header includes the ARI and the NRI; if a value of the FII is “0”, it implicitly indicates that the SDAP header does not include the ARI and the NRI.
  • the SDAP header includes the FII, and the FII is further used to indicate whether the SDAP header includes the ARI. If the RI indicates that the flow identifier is included, the SDAP header further includes the flow identifier.
  • FIG. 6 e is a schematic structural diagram of an example of still another SOAP header. The FII is further used to indicate whether the SOAP header includes the ARI.
  • the transmit end device is a base station
  • the base station sends first signaling, where the first signaling includes the NRI
  • a difference between FIG. 6 f and FIG. 6 e is that Oct 1 further includes FID content. In this way, overheads of the SDAP header can be reduced, and forward compatibility is facilitated.
  • the SDAP header includes the FII, and the FII is further used to indicate whether the SOAP header includes the NRI. If the FII indicates that the flow identifier is included, the SOAP header further includes the flow identifier, FIG. 6 g is a schematic structural diagram of an example of still another SDAP header. The FII is further used to indicate whether the SDAP header includes the NRI. When the transmit end device is a base station, the base station sends second signaling, where the second signaling includes the ARI. A difference between FIG. 6 h and FIG. 6 g is that Oct 1 further includes FID content.
  • the SDAP header includes the FII. If the FII indicates that the flow identifier is included, the SOAP header further includes the flow identifier. If the transmit end device is a base station, and the receive end device is UE, the base station may send radio resource control (Radio Resource Control, RRC) signaling to the UE, where the RRC signaling includes the ARI; and the base station forwards an NRI from the core network to the UE. In other words, the base station is used for only transparent transmission between the core network element and the UE.
  • RRC Radio Resource Control
  • the SDAP header includes the FII and an indication bit (O/C) of data information/control information. If the FII indicates that the flow identifier is included, the SDAP header further includes the flow identifier.
  • the ARI and the NRI may be considered as control information.
  • an SOAP header that carries indication information of the ARI/NRI may be expressed as [C, FII, ARI, NRI, R, R, R, R]; and an SOAP header that does not carry the indication information of the ARI/NRI may be expressed as [D, FII, R, R, R, R, R, R].
  • FIG. 6 i is a schematic structural diagram of still another SDAP header.
  • Indication bits of both the ARI and the NRI may be reused.
  • the control information may alternatively be other control information than the ARI and the NRI.
  • a difference between FIG. 6 j and FIG. 6 i is that Oct 1 may further include content of the flow identifier.
  • the SOAP header includes the FII and a downlink/uplink indication bit (D/U). If the FII indicates that the flow identifier is included, the SOAP header further includes the flow identifier. In this way, in downlink transmission, the SOAP header may be expressed as [D, FII, ARI, NRI, R, R, R]; and in uplink transmission, the SOAP header may be expressed as [U, FII, R, R, R, R, R, R].
  • the indication bits of both the ARI and the NRI may be reused. In this way, overheads of the SOAP header can be reduced, and forward compatibility is facilitated.
  • the SOAP header may be located at the front of the SDAP SDU.
  • the SOAP header may alternatively be added to the end of the SDAP SDU.
  • FIG. 6 k is a schematic structural diagram of an example of still another SDAP header.
  • the SOAP header is disposed at the end of an SDAP SDU. FI indication bits are aligned from a rear end.
  • FIG. 7 is a schematic diagram of modules of a communications device according to an embodiment of the present invention.
  • the communications device 7000 may include a processor 71 and a transmitter 72 .
  • the processor 71 is configured to process a data flow, where the processing includes: adding a flow identifier indication to the data flow, where the flow identifier indication is used to indicate whether a flow identifier is included.
  • the transmitter 72 is configured to send the processed data flow.
  • the processing specifically includes: adding the flow identifier indication to a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP POU.
  • the processing specifically includes: adding the flow identifier indication to a packet data convergence protocol PDCP header.
  • the communications device includes a base station
  • the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication
  • the transmitter 72 is further configured to send first signaling, where the first signaling includes a non-access stratum data flow reflective indication NRI; or
  • the flow identifier indication is further used to indicate whether the data flow includes a non-access stratum data flow reflective indication
  • the transmitter 72 is further configured to send second signaling, where the second signaling includes an access stratum data flow reflective indication.
  • the communications device includes a base station
  • the transmitter 72 is further configured to send an access stratum data flow reflective indication by using radio resource control signaling;
  • the transmitter 72 is further configured to forward a non-access stratum data flow reflective indication from a core network.
  • the communications device 7000 further includes a receiver (not shown).
  • the receiver is configured to receive the data flow.
  • the processor 71 is further configured to obtain the flow identifier indication.
  • the processor 71 is further configured to remove the SDAP header of the SDAP PDU in the data flow.
  • the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header.
  • the flow identifier indication is further used to indicate whether the data flow includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication.
  • the data flow further includes an indication of data information/control information.
  • the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • FIG. 8 is a schematic diagram of modules of another communications device according to an embodiment of the present invention.
  • the communications device 8000 includes a receiver 81 and a processor 82 .
  • the receiver 81 is configured to receive a data flow, where the data flow includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included.
  • the processor 82 is configured to obtain the flow identifier indication.
  • the flow identifier indication is in a header or a trailer of a service data adaptation protocol layer-protocol data unit SOAP PDU, or the flow identifier indication is in a packet data convergence protocol PDCP header.
  • the processor 82 is further configured to remove the SOAP header of the SDAP PDU.
  • the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SOAP header.
  • the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication and a non-access stratum data flow reflective indication.
  • the data flow further includes an indication of data information/control information.
  • the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • An embodiment of the present invention further provides a communications device 9000 .
  • the hardware architecture shown in FIG. 9 may be used for the communications device 9000 .
  • the communications device 9000 may be a base station, or may be a terminal device.
  • the communications device 9000 may include a receiver 91 , a transmitter 92 , a memory 93 , and a processor 94 .
  • the receiver, the transmitter, the memory, and the processor are connected to each other by using a bus.
  • the memory 93 includes, but is not limited to, a random access memory (Random Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), an erasable programmable read only memory (Erasable Programmable Read Only Memory, EPROM), or a compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM).
  • RAM Random Access Memory
  • ROM read-only memory
  • EPROM erasable programmable Read Only Memory
  • CD-ROM Compact disc read-only memory
  • the memory 93 is configured to store a related instruction and related data.
  • the receiver 91 is configured to receive data and/or a signal
  • the transmitter 92 is configured to send data and/or a signal.
  • the transmitter 92 and the receiver 91 may be independent components or an integral component such as a transceiver.
  • the processor 94 may include one or more processors, for example, include one or more central processing units (Central Processing Unit, CPU).
  • CPU Central Processing Unit
  • the processor may be a single-core CPU or a multi-core CPU.
  • the memory 93 is configured to store program code and data of the communications device, and may be a separate component or may be integrated into the processor.
  • the foregoing components may be integrated into a chip for implementation, for example, integrated into a baseband chip for implementation.
  • processor 94 performs the following operations:
  • processing a data flow includes: adding a flow identifier indication to the data flow, where the flow identifier indication is used to indicate whether a flow identifier is included;
  • the processing specifically includes: adding the flow identifier indication to a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU.
  • the processing specifically includes: adding the flow identifier indication to a packet data convergence protocol PDCP header.
  • the communications device 9000 includes a base station
  • the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication
  • the transmitter 92 sends first signaling, where the first signaling includes a non-access stratum data flow reflective indication; or
  • the flow identifier indication is further used to indicate whether the data flow includes a non-access stratum data flow reflective indication
  • the transmitter 92 sends second signaling, where the second signaling includes an access stratum data flow reflective indication.
  • the communications device 9000 includes a base station
  • the transmitter 92 sends an access stratum data flow reflective indication in radio resource control signaling
  • the transmitter 92 forwards a non-access stratum data flow reflective indication from a core network.
  • processor 94 is further configured to perform the following operations:
  • the processor 94 after performing the operation of receiving the data flow by using the receiver 91 , the processor 94 further performs the following operation: removing the SDAP header in the data flow.
  • the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header.
  • the flow identifier indication is further used to indicate whether the data flow includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication.
  • the data flow further includes an indication of data information/control information.
  • FIG. 9 shows merely a simplified design of the communications device.
  • the communications device may also include other necessary components, including but not limited to any quantity of transceivers, processors, controllers, memories, and the like, and all communications devices that can implement this embodiment of the present invention shall fall within the protection scope of the present invention.
  • the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • An embodiment of the present invention further provides a communications device.
  • the communications device may be the communications device in the foregoing communications system, for example, may be the base station, or may be the terminal device.
  • the hardware architecture shown in FIG. 9 may be used for the communications device.
  • the communications device may include a receiver, a transmitter, a memory, and a processor. The receiver, the transmitter, the memory, and the processor are connected to each other by using a bus.
  • the memory includes, but is not limited to, a RAM, a ROM, an EPROM, or a CD-ROM.
  • the memory is configured to store a related instruction and related data.
  • the receiver is configured to receive data and/or a signal
  • the transmitter is configured to send data and/or a signal.
  • the transmitter and the receiver may be independent components or an integral component such as a transceiver.
  • the processor may include one or more processors, for example, include one or more CPUs.
  • the processor may be one CPU, the CPU may be a single-core CPU or a multi-core CPU.
  • the memory is configured to store program code and data of the communications device, and may be a separate component or may be integrated into the processor.
  • the foregoing components may be integrated into a chip for implementation, for example, integrated into a baseband chip for implementation.
  • the processor performs the following operations:
  • the receiver receives a data flow by using the receiver, where the data flow includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included:
  • the flow identifier indication is in a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU, or the flow identifier indication is in a packet data convergence protocol PDCP header,
  • the processor is further configured to perform the following operation: removing the SDAP header of the SDAP PDU.
  • the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header.
  • the flow identifier indication is further used to indicate whether the data flow includes the access stratum data flow reflective indication and the non- access stratum data flow reflective indication.
  • the data flow further includes an indication of data information/control information.
  • FIG. 9 shows merely a simplified design of the communications device.
  • the communications device may also include other necessary components, including but not limited to any quantity of transceivers, processors, controllers, memories, and the like, and all communications devices that can implement the present invention shall fall within the protection scope of the present invention.
  • the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the described apparatus embodiments are merely examples.
  • the unit division is merely logical function division and may be other division during actual implementation.
  • a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed.
  • the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces.
  • the indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
  • the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected based on actual requirements to achieve the objectives of the solutions of the embodiments.
  • All or some of the foregoing embodiments may be implemented by means of software, hardware, firmware, or any combination thereof.
  • the embodiments may be implemented completely or partially in a form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable apparatuses.
  • the computer instruction may be stored in a computer readable storage medium, or may be transmitted by using the computer readable storage medium.
  • the computer instruction may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner.
  • the computer readable storage medium may be any available medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid-state disk (Solid State Disk, SSD)), or the like.
  • the program may be stored in a computer readable storage medium.
  • the foregoing storage medium includes any medium that can store program code, such as a ROM, a random access memory RAM, a magnetic disk, or an optical disc.

Landscapes

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

Abstract

A data transmission method and a communications device, wherein the method includes: processing, by a transmit end device, a data flow, where the processing includes: adding a flow identifier indication to the data flow, where the flow identifier indication is used to indicate whether a flow identifier is included; and sending, by the transmit end device, the processed data flow. A flow identifier indication is added to a data flow, where the flow identifier indication is used to indicate whether a flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application is a continuation of International Application No. PCT/CN2018/085514, filed on May 3, 2018, which claims priority to Chinese Patent Application No. 201710313752.7, filed on May 5, 2017, the disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
  • TECHNICAL FIELD
  • Aspects of the present invention relate to the field of communications technologies, and in particular, to a data transmission method and a communications device.
  • BACKGROUND
  • In an existing long term evolution (Long Term Evolution, LTE) communications system, an end-to-end quality of service (Quality of Service, QoS) mechanism is implemented based on a bearer. A concept of QoS flow is introduced to a next-generation mobile communications system (for example, 5th generation mobile communications (5th-Generation, 5G)), and data may be transferred on a core network (Core Network, CN) and an interface between the CN and an access network (Access Network, A/V) in a QoS flow-based manner. However, a concept of a bearer is retained in the A/V, including an air interface, and one or more QoS flows may be mapped to a same bearer.
  • Different from a concept of bearer in an end-to-end evolved packet system (Evolved Packet System, EPS) in LTE, there are two layers of mapping in a QoS architecture of a 5G network. Downlink is used as an example. When a downlink Internet protocol (Internet Protocol, IP) data flow arrives at a user plane function network element (User Plane Function, UPF) of a core network, the UPF first maps the IP data flow to a QoS flow, then sends the QoS flow data to a next-generation access network NodeB (NG-RAN NodeB, gNB) by using an interface between an access network and the core network, and then the gNB maps the QoS flow to a bearer. In a current LTE user plane protocol stack architecture, data flow processing cannot be completed.
  • SUMMARY
  • Aspects of this application provide a data transmission method and a communications device, to complete processing on a data flow.
  • According to an aspect of this application, a data transmission method is provided. The method includes: processing, by a transmit end device, a data flow, where the processing includes: adding a service data adaptation protocol layer SDAP header to the data flow, where the SDAP header includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and sending, by the transmit end device, the processed data flow. In this implementation, the service data adaptation protocol layer header is defined. The service data adaptation protocol layer header is added to the data flow, the data flow is processed, and the processed data is sent; and after the data flow is received, the service data adaptation protocol layer header in the data flow is removed. In this way, processing on the data flow is completed. In addition, the flow identifier indication is used to indicate whether the flow identifier is included. If the flow identifier indication indicates that the flow identifier is not included, no byte needs to be configured for the flow identifier in the SDAP header. Therefore, air interface overheads can be reduced. In an implementation, the transmit end device includes a base station; the flow identifier indication is further used to indicate whether the SDAP header includes an access stratum data flow reflective indication; and the method further includes: sending, by the base station, first signaling, where the first signaling includes a non-access stratum data flow reflective indication. Alternatively, in an implementation, the transmit end device includes a base station; the flow identifier indication is further used to indicate whether the SDAP header includes a non-access stratum data flow reflective indication; and the method further includes: sending, by the base station, second signaling, where the second signaling includes an access stratum data flow reflective indication. In this implementation, the flow identifier indication may be further used to implicitly indicate whether the SDAP header includes the access stratum data flow reflective indication or the non-access stratum data flow reflective indication. In this way, overheads of the SDAP header can be reduced. Another indication is transmitted by using signaling.
  • In another implementation, the transmit end device includes a base station; and the method further includes: sending, by the base station, an access stratum data flow reflective indication by using radio resource control signaling; and forwarding, by the base station, a non- access stratum data flow reflective indication from a core network. In this implementation, the access stratum data flow reflective indication and the non-access stratum data flow reflective indication may be transmitted by using signaling. In this way, overheads of the SDAP header can be reduced.
  • In still another implementation, the method further includes: receiving, by the transmit end device, the data flow; and removing, by the transmit end device, the SDAP header in the data flow. In this implementation, when receiving the data flow, the transmit end device removes the service data adaptation protocol layer header in the data flow, so that processing on the data flow is completed.
  • According to another aspect of this application, a data transmission method is provided. The method includes: receiving, by a receive end device, a data flow, where the data flow includes a service data adaptation protocol layer SDAP header, the SDAP header includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and removing, by the receive end device, the SDAP header in the data flow. In this implementation, the service data adaptation protocol layer header is defined. After the data flow is received, the service data adaptation protocol layer header in the data flow is removed, so that processing on the data flow is completed.
  • With reference to the aspect and another aspect of this application, in an implementation, the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header. In this implementation, if a plurality of data flows are mapped to a bearer through flow transmission, the SDAP header needs to include the flow identifier. Some content of the flow identifier may be in the first byte of the SDAP header, to reduce the overheads of the SDAP header. If the flow identifier has a relatively large length, the flow identifier may be in the first byte and the second byte, or even more bytes.
  • With reference to the aspect and the another aspect of this application, in another implementation, the flow identifier indication is further used to indicate whether the SDAP header includes the access stratum data flow reflective indication ARI and the non-access stratum data flow reflective indication NRI. In this implementation, the flow identifier indication may be further used to implicitly indicate whether the SDAP header includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the overheads of the SDAP header can be reduced.
  • With reference to the aspect and the another aspect of this application, in still another implementation, the SDAP header further includes an indication of data information/control information. In this implementation, the indication of the data information/control information is added to the SDAP header, and the control information may be, for example, the access stratum data flow reflective indication or the non-access stratum data flow reflective indication. If the indication of the data information/control information indicates that the SDAP header includes the data information, the SDAP header does not need to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. If the indication of the data information/control information indicates that the SDAP header includes the control information, the SDAP header needs to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the overheads of the SDAP header can be reduced to some extent.
  • With reference to the aspect and the another aspect of this application, in still another implementation, the SDAP header further includes an uplink/downlink indication. In this implementation, the uplink/downlink indication is added to the SDAP header. The access stratum data flow reflective indication and the non-access stratum data flow reflective indication may not be carried in uplink transmission. Therefore, if the uplink/downlink indication indicates that current transmission is uplink transmission, the SDAP header does not need to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication; or if the uplink/downlink indication indicates that current transmission is downlink transmission, the SDAP header may include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the overheads of the SDAP header can be reduced to some extent.
  • According to still another aspect of this application, a communications device is provided. The communications device has functions of implementing behavior of the communications device in the foregoing method. The functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more modules corresponding to the foregoing functions.
  • The communications device includes: a processor, configured to process a data flow, where the processing includes: adding a service data adaptation protocol layer SDAP header to the data flow, where the SDAP header includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and a transmitter, configured to send the processed data flow.
  • Based on a same inventive concept, for a problem resolving principle and a beneficial effect of the apparatus, refer to the implementations of the method according to the aspect of this application and the brought beneficial effect. Therefore, for implementation of the apparatus, refer to the implementation of the method. Details are not described herein again.
  • According to still another aspect of this application, a communications device is provided. The communications device has functions of implementing behavior of the communications device in the foregoing method. The functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more modules corresponding to the foregoing functions.
  • The communications device includes: a receiver, configured to receive a data flow, where the data flow includes a service data adaptation protocol layer SDAP header, the SDAP header includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and a processor, configured to remove the SDAP header in the data flow.
  • Based on a same inventive concept, for a problem resolving principle and a beneficial effect of the apparatus, refer to the implementations of the method according to the another aspect of this application and the brought beneficial effect. Therefore, for implementation of the apparatus, refer to the implementation of the method. Details are not described herein again.
  • According to still another aspect of this application, a data transmission method is provided. The method includes: processing, by a transmit end device, a data flow, where the processing includes: adding a flow identifier indication to the data flow, where the flow identifier indication is used to indicate whether a flow identifier is included; and sending, by the transmit end device, the processed data flow. In this implementation, the flow identifier indication is added to the data flow. The flow identifier indication is used to indicate whether the flow identifier is included. The data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed. In addition, the flow identifier indication is used to indicate whether the flow identifier is included. If the flow identifier indication indicates that the flow identifier is not included, no byte needs to be configured for the flow identifier in an SDAP header. Therefore, air interface overheads can be reduced. In an implementation, the processing specifically includes: adding the flow identifier indication to a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU. In this implementation, the flow identifier indication may be added to a header or a trailer of a newly added SDAP PDU.
  • In another implementation, the processing specifically includes: adding the flow identifier indication to a packet data convergence protocol PDCP header. In this implementation, the flow identifier indication may be added to the PDCP header. If the flow identifier is not included, the SDAP header may not be required. Therefore, transmission overheads can be further reduced.
  • In still another implementation, the transmit end device includes a base station; the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication; and the method further includes: sending, by the base station, first signaling, where the first signaling includes a non-access stratum data flow reflective indication. Alternatively, in an implementation, the transmit end device includes a base station; the flow identifier indication is further used to indicate whether the data flow includes a non-access stratum data flow reflective indication; and the method further includes: sending, by the base station, second signaling, where the second signaling includes an access stratum data flow reflective indication. In this implementation, the flow identifier indication may be further used to implicitly indicate whether the data flow includes the access stratum data flow reflective indication or the non-access stratum data flow reflective indication. In this way, overheads of the SDAP header or the PDCP header can be reduced. Another indication is transmitted by using signaling.
  • In still another implementation, the transmit end device includes a base station; and the method further includes: sending, by the base station, an access stratum data flow reflective indication by using radio resource control signaling; and forwarding, by the base station, a non- access stratum data flow reflective indication from a core network. In this implementation, the access stratum data flow reflective indication and the non-access stratum data flow reflective indication may be transmitted by using signaling. In this way, overheads of the SDAP header can be reduced.
  • In still another implementation, the method further includes: receiving, by the transmit end device, the data flow; and obtaining, by the transmit end device, the flow identifier indication. In this implementation, after receiving the data flow, the transmit end device obtains the flow identifier indication. In this way, the transmit end device can learn of a quantity of transmitted data flows, to perform subsequent processing on the data flow.
  • In still another implementation, after the receiving, by the transmit end device, the data flow, the method further includes: removing, by the transmit end device, the SDAP header of the SDAP PDU. In this implementation, when receiving the data flow, the transmit end device removes the service data adaptation protocol layer header in the data flow, so that processing on the data flow is completed.
  • According to still another aspect of this application, a data transmission method is provided. The method includes: receiving, by a receive end device, a data flow, where the data flow includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and obtaining, by the receive end device, the flow identifier indication. In this implementation, after receiving the data flow, the receive end device obtains the flow identifier indication. In this way, the receive end device can learn of a quantity of transmitted data flows, to perform subsequent processing on the data flow.
  • In an implementation, the flow identifier indication is in a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU, or the flow identifier indication is in a packet data convergence protocol PDCP header.
  • In another implementation, after the receiving, by a receive end device, a data flow, the method further includes: removing, by the receive end device, the SDAP header of the SDAP PDU, In this implementation, the service data adaptation protocol layer header is defined. After the data flow is received, the service data adaptation protocol layer header in the data flow is removed, so that processing on the data flow is completed.
  • With reference to the aspect and the another aspect of this application, in an implementation, the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header. In this implementation, if a plurality of data flows are mapped to a bearer through flow transmission, the SDAP header needs to include the flow identifier. Some content of the flow identifier may be in the first byte of the SDAP header, to reduce the overheads of the SDAP header. If the flow identifier has a relatively large length, the flow identifier may be in the first byte and the second byte, or even more bytes.
  • With reference to the aspect and the another aspect of this application, in another implementation, the flow identifier indication is further used to indicate whether the data flow includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this implementation, the flow identifier indication may be further used to implicitly indicate whether the data flow includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way signaling overheads can be reduced.
  • With reference to the aspect and the another aspect of this application, in still another implementation, the data flow further includes an indication of data information/control information. In this implementation, the indication of the data information/control information is added to the data flow, and the control information may be, for example, the access stratum data flow reflective indication or the non-access stratum data flow reflective indication. If the indication of the data information/control information indicates that the data flow includes the data information, the data flow does not need to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. If the indication of the data information/control information indicates that the data flow includes the control information, the data flow needs to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the signaling overheads can be reduced to some extent.
  • With reference to the aspect and the another aspect of this application, in still another implementation, the data flow further includes an uplink/downlink indication. In this implementation, the uplink/downlink indication is added to the data flow. The access stratum data flow reflective indication and the non-access stratum data flow reflective indication may not be carried in uplink transmission. Therefore, if the uplink/downlink indication indicates that current transmission is uplink transmission, the data flow does not need to include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication; or if the uplink/downlink indication indicates that current transmission is downlink transmission, the data flow may include the access stratum data flow reflective indication and the non-access stratum data flow reflective indication. In this way, the signaling overheads can be reduced to some extent.
  • According to still another aspect of this application, a communications device is provided. The communications device has functions of implementing behavior of the communications device in the foregoing method. The functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more modules corresponding to the foregoing functions.
  • The communications device includes: a processor, configured to process a data flow, where the processing includes: adding a flow identifier indication to the data flow, where the flow identifier indication is used to indicate whether a flow identifier is included; and a transmitter, configured to send the processed data flow.
  • Based on a same inventive concept, for a problem resolving principle and a beneficial effect of the apparatus, refer to the implementations of the method according to the aspect of this application and the brought beneficial effect. Therefore, for implementation of the apparatus, refer to the implementation of the method. Details are not described herein again.
  • According to still another aspect of this application, a communications device is provided. The communications device has functions of implementing behavior of the communications device in the foregoing method. The functions may be implemented by hardware, or may be implemented by hardware executing corresponding software. The hardware or the software includes one or more modules corresponding to the foregoing functions.
  • The communications device includes: a receiver, configured to receive a data flow, where the data flow includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included; and a processor, configured to obtain the flow identifier.
  • Based on a same inventive concept, for a problem resolving principle and a beneficial effect of the apparatus, refer to the implementations of the method according to the another aspect of this application and the brought beneficial effect. Therefore, for implementation of the apparatus, refer to the implementation of the method. Details are not described herein again.
  • Still another aspect of this application provides a computer readable storage medium. The computer readable storage medium stores an instruction. When the instruction is run on a computer, the computer is enabled to perform the method according to the foregoing aspects.
  • Still another aspect of this application provides a communications chip. The chip stores an instruction. When the instruction is run on a communications device, a computer is enabled to perform the method according to the foregoing aspects.
  • Still another aspect of this application provides a computer program product including an instruction. When the computer program product is run on a computer, the computer is enabled to perform the method according to the foregoing aspects.
  • BRIEF DESCRIPTION OF DRAWINGS
  • To describe the technical solutions in embodiments or the background of the present invention more clearly, the following describes the accompanying drawings required for the embodiments or the background of the present invention.
  • FIG. 1 is a schematic diagram of a user plane protocol stack architecture of a next- generation mobile communications network;
  • FIG. 2 is a schematic architectural diagram of a communications system according to an embodiment of the present invention;
  • FIG. 3 is a schematic interaction diagram of a data transmission method according to an embodiment of the present invention;
  • FIG. 4 is a schematic structural diagram of an SDAP layer;
  • FIG. 5 is a schematic interaction diagram of an example of a data transmission method;
  • FIG. 6a to FIG. 6k are schematic structural diagrams of examples of an SDAP header;
  • FIG. 7 is a schematic diagram of a communications device according to an embodiment of the present invention;
  • FIG. 8 is a schematic diagram of another communications device according to an embodiment of the present invention; and
  • FIG. 9 is a schematic diagram of a communications device according to an embodiment of the present invention.
  • DESCRIPTION OF EMBODIMENTS
  • The following describes embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention.
  • FIG. 2 is a schematic architectural diagram of a communications system according to an embodiment of the present invention. The communications system includes a base station and a terminal device. The communications system may be a global system for mobile communications (Global System for Mobile Communication, GSM), a code division multiple access (Code Division Multiple Access, CDMA) system, a wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA) system, a worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, WiMAX) system, a long term evolution (Long Term Evolution, LTE) system, a 5G communications system (for example, a new radio (new radio, NR) system, or a communications system that integrates a plurality of communications technologies (for example, a communications system integrating an LTE technology and an NR technology)), or a subsequent evolved communications system.
  • The terminal device in aspects of this application is a device having a wireless communication function, and may be a hand-held device, a vehicle-mounted device, a wearable device, or a computing device that has a wireless communication function, or another processing device connected to a wireless modem. The terminal device may have different names in different networks, for example, user equipment (User Equipment, UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile console, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communications device, a user agent or a user apparatus, a cellular phone, a cordless telephone set, a session initiation protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital assistant (Personal Digital Assistant, PDA), or a terminal device in a 5G network or a future evolved network.
  • A network device in this application is a device that is deployed in a radio access network and that is configured to provide a wireless communication function, and includes, but is not limited to, a base station (such as a BTS (Base Transceiver Station, BTS). a NodeB (NodeB, NB), an evolved NodeB (Evolutional Node B, eNB or eNodeB), a transmission node or a transmission reception point (transmission reception point TRP or TP) in an NR system, a next-generation NodeB (generation nodeB, gNB), or a base station or a network device in a future communications network), a relay station, an access point, a vehicle-mounted device, a wearable device, a wireless fidelity (Wireless-Fidelity, Wi-Fi) site, a wireless backhaul node, a small cell, a micro base station, or the like.
  • Specifically, in FIG. 2, a base station 102 may include a plurality of antenna groups. Each antenna group may include one or more antennas. For example, one antenna group may include antennas 104 and 106, and another antenna group may include antennas 108 and 110. In addition, an additional group may be included, and the additional group may include antennas 112 and 114. Different antenna groups in high-frequency communication may be combined into different antenna panels (panel). For example, an antenna group forms a beam that points to a direction, and another antenna group forms another beam that points to another direction. More antennas may be required to adapt to different device capabilities. Therefore, different quantities of antennas may be disposed for the additional group based on different device capabilities. For example, two antennas are shown for each antenna group in FIG. 2. However, each group may have more or fewer antennas. The base station 102 may additionally include a transmitter chain and a receiver chain. A person of ordinary skill in the art may understand that the transmitter chain and the receiver chain each may include a plurality of components related to signal sending and receiving, for example, a processor, a modulator, a multiplexer, a demodulator, a demultiplexer, or an antenna.
  • The base station 102 may communicate with one or more terminal devices, for example, a terminal device 116 and a terminal device 122. However, it may be understood that the base station 102 may communicate with any quantity of terminal devices that are similar to the terminal device 116 or 122. As shown in FIG. 2, the terminal device 116 communicates with the antennas 112 and 114. The antennas 112 and 114 send information to the terminal device 116 by using a forward link 118, and receive information from the terminal device 116 by using a reverse link 120. In addition, the terminal device 122 communicates with the antennas 104 and 106. The antennas 104 and 106 send information to the terminal device 122 by using a forward link 124, and receive information from the terminal device 122 by using a reverse link 126. In a frequency division duplex (Frequency Division Duplex, FDD) system, the forward link 118 may use a frequency band different from that used by the reverse link 120, and the forward link 124 may use a frequency band different from that used by the reverse link 126. In addition, in a time division duplex (Time Division Duplex, TDD) system, the forward link 118 and the reverse link 120 may use a same frequency band, and the forward link 124 and the reverse link 126 may use a same frequency band.
  • An area covered by each group of antennas designed for communication and/or an area covered by transmission of each group of antennas are/is referred to as a sector of the base station 102. For example, an antenna group may be designed to communicate with a terminal device in a sector within coverage of the base station 102. In a process in which the base station 102 communicates with the terminal devices 116 and 122 by using respective forward links 118 and 124, a transmit antenna of the base station 102 may improve signal-to-noise ratios of the forward links 118 and 124 through beamforming. In addition, compared with a manner in which a base station uses a single antenna to send signals to all access terminal devices served by the base station, when the base station 102 sends, through beamforming, signals to the terminal devices 116 and 122 that are randomly scattered in the related coverage area, a mobile node in a neighboring cell is subject to less interference.
  • At a given time, the base station 102, the terminal device 116, or the terminal device 122 may be a wireless communications sending apparatus and/or a wireless communications receiving apparatus. When sending data, the wireless communications sending apparatus may encode the data for transmission. Specifically, the wireless communications sending apparatus may obtain, for example, generate, receive from another communications apparatus, or store in a memory, a particular quantity of data bits that need to be sent to the wireless communications receiving apparatus through a channel. The data bits may be included in one or more transport blocks of data, and the transport block may be segmented to generate a plurality of code blocks.
  • FIG. 1 is a schematic diagram of a user plane protocol stack architecture of a next-generation mobile communications network. In next-generation mobile communications, a service data adaptation protocol layer (Service Data Adaptation Protocol, SDAP) is newly added based on an LTE user plane protocol stack architecture (the LTE user plane protocol stack architecture includes a packet data convergence protocol (Packet Data Convergence Protocol, PDCP) layer, a radio link control protocol (Radio Link Control Protocol, RLC) layer, a media access control protocol (Media Access Control Protocol, MAC) layer, and a physical layer protocol (Physical Layer Protocol, PHY) layer). However, at present, a packet header of the SDAP layer is not defined. Consequently, processing on a data flow cannot be completed, and the data flow cannot be transmitted.
  • The embodiments of the present invention provide a data transmission method and a communications device. A flow identifier indication is added to a data flow, where the flow identifier indication is used to indicate whether a flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • FIG. 3 is a schematic interaction diagram of a data transmission method according to an embodiment of the present invention. The method may include the following steps.
  • S301. A transmit end device processes a data flow.
  • In this embodiment, the data flow may be transmitted in uplink, or may be transmitted in downlink. The transmit end device may be a base station or a terminal device, and a receive end device may also be a terminal device or a base station. The transmit end device and the receive end device may transmit data by using an air interface bearer. The transmit end device receives a data flow on which flow transmission is performed, and then transmits the data flow by using a bearer; or flow transmission needs to be performed on a data flow that is transmitted by the transmit end device by using a bearer. Therefore, flow-to-bearer mapping needs to be performed. Therefore, in this embodiment of the present invention, an SDAP layer is added between a transmission control protocol/internet protocol (Transmission Control Protocol/Internet Protocol, TCP/IP) layer and a PDCP layer, to facilitate data transmission. It should be noted that the SDAP layer is a protocol layer between the TCP/IP layer and the PDCP layer, and the SDAP layer may alternatively have another name. Any protocol layer between the TCP/IP layer and the PDCP layer may be understood as the SDAP layer in this application. This is not limited herein.
  • FIG. 4 is a schematic structural diagram of the SDAP layer. The SDAP layer includes an SDAP header (SDAP Header) 401 and an SDAP service data unit (Service Data Unit, SDU) 402. In FIG. 4, the TCP/IP layer transmits an IP data packet, or referred to as a data flow (IP Packet), to the SDAP layer, and the SDAP layer adds the SDAP header 401 to the data flow. The foregoing data flow may be considered as an SDAP SDU. Then, the SDAP layer transmits, to the PDCP layer, the data flow to which the SDAP header is added. The PDCP layer performs similar processing, that is, adds a PDCP header 404. The data flow to which the SDAP header is added may be considered as a PDCP SDU. The data flow to which the PDCP header is added may be transmitted to a next layer. For subsequent processing, refer to the prior art. Details are not described herein. FIG. 4 shows an example of processing on an nth IP packet and an (n+1)th IP packet.
  • In NR, when receiving a data flow, a receive end device cannot learn of a size of an SDAP header before processing the data flow, and the size of the SDAP header mainly depends on a flow identifier (Flow ID, FID). Therefore, a flow identifier of each data flow needs to be indicated to the receive end device.
  • In an implementation, the SDAP header includes a flow identifier indication (Flow ID Indication, FII), and the flow identifier indication is used to indicate whether a flow identifier is included. One flow identifier corresponds to one data flow. One or more data flows may be mapped to one bearer. If a core network transmits one data flow to a transmit end device or the transmit end device sends one data flow to a core network, the flow identifier may not be included. If the core network transmits a plurality of data flows to the transmit end device or the transmit end device sends a plurality of data flows to the core network, the flow identifier needs to be included. The flow identifier indication may be one bit. A value of the flow identifier indication may be “1” or “0”. For example, “1” is used to indicate that the SDAP header includes the flow identifier, and “0” is used to indicate that the SDAP header does not include the flow identifier; or on the contrary, “1” is used to indicate that the SDAP header does not include the flow identifier, and “0” is used to indicate that the SOAP header includes the flow identifier. The SDAP header may be located at the front of the SDAP SDU, or may be located at the end of the SDAP SDU. If the SDAP header is located at the end of the SDAP SDU, a robust header compression protocol (RoHC) function can be conveniently used.
  • In another implementation, the PDCP header may include the flow identifier indication.
  • if the PDCP header includes the flow identifier indication, the following technical effects may be achieved:
  • (1) Transmission Overheads are Reduced.
  • The transmission overheads can be reduced when the flow identifier is not included. For a manner in which the PDCP header does not include the flow identifier indication, if the flow identifier is not included, the SDAP header may not be required. Therefore, the transmission overheads can be further reduced.
  • (2) The robust header compression protocol (RoHC) function is conveniently used.
  • RoHC supports header compression of limited upper layer protocols, for example, the TCP/IP and the user datagram protocol (User Datagram Protocol, UDP)/IP. Therefore, the newly introduced SDAP protocol header cannot be identified by the RoHC protocol. For a manner in which the PDCP header includes the flow identifier indication, the flow identifier indication is in the PDCP, and the PDCP may learn of an exact length of an SDAP header of each data flow. Therefore, the PDCP may extract the SDAP header before the RoHC compression, and add the SDAP header to the PDCP header after the RoHC compression. In this application, the transmit end only needs to add the flow identifier indication to the data flow, where the flow identifier indication may be added to the SDAP header or the SDAP trailer.
  • S302. The transmit end device sends the processed data flow.
  • After processing in a protocol stack, the transmit end device sends the processed data flow to the receive end device. The receive end device receives the data flow.
  • S303. The receive end device obtains the flow identifier indication in the data flow.
  • After receiving the data flow, the receive end device obtains the flow identifier indication. In this way, the receive end device can learn of a quantity of transmitted data flows, perform subsequent processing on the data flow.
  • Further, the receive end device removes an SDAP header of the SDAP PDU. After receiving the processed data flow, that is, the data flow to which the SDAP header is added, the receive end device needs to remove the SOAP header, to obtain net data in the SDAP SDU. Alternatively, the data flow needs to be transmitted through flow transmission. The SOAP header also needs to be removed in the flow transmission, and data transmission is directly performed,
  • According to the data transmission method provided in this embodiment of the present invention, the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed. 100801 The foregoing data transmission procedure is described below by using downlink transmission and uplink transmission. In downlink transmission, the transmit end device is a base station, and the receive end device is a terminal device. In uplink transmission, the transmit end device is a terminal device, and the receive end device is a base station. Therefore, when the transmit end device receives the data flow, the method may further include: receiving the data flow; and removing the SDAP header in the data flow. FIG. 5 is a schematic interaction diagram of an example of a data transmission method. FIG. 5 shows signaling and data exchange between UE, a base station, and a UPF. As shown in FIG. 5, the data transmission method includes the following steps: 501. A downlink IP data flow (briefly referred to as an “IP flow” below) arrives at the UPF of a core network, and the UPF maps the IP data flow into a QoS data flow (briefly referred to as a “QoS flow” below). 502. The UPF sends (through flow transmission) the QoS flow to a gNB through an interface between an access network and the core network, and the base station receives the QoS flow. 503. The gNB processes the QoS flow, that is, adds an SDAP header (certainly, the processing further includes processing of another protocol layer, refer to the prior art, and details are not described herein), and maps, to a bearer, the QoS flow on which flow transmission is performed. 504. The gNB transmits the QoS flow to the UE by using the bearer, and the UE receives the QoS flow. 505. The UE removes a header in the received QoS data flow. In this case, downlink transmission is completed. 506. The UE may perform uplink QoS data flow transmission. 507. The UE processes the QoS data flow, that is, adds the SDAP header, and maps the QoS flow to the bearer. 508. The UE transmits the QoS flow to the gNB by using the bearer, and the gNB receives the QoS flow. 509. After receiving the processed QoS flow, the gNB needs to transmit the processed QoS flow to the core network through flow transmission, and needs to remove the header in the QoS flow. 510. The gNB sends the QoS flow without the header to the UPF through flow transmission, and the UPF receives the QoS flow. The base station in FIG. 5 may be the gNB.
  • The following describes definition of the SDAP header by using some specific implementations.
  • In an implementation, an FII indication bit is in a first byte. FIG. 6a is a schematic structural diagram of an example of an SDAP header. Bytes (Octa1, Oct) occupied by the SDAP header are aligned with bytes in an SDAP SDU. The FII indication bit is in Oct1, and occupies one bit. Another bit of this byte is used as a reserved bit (Reserved, R), to facilitate forward compatibility. If an FII indicates that the SDAP header includes a flow identifier, a second byte may include the flow identifier. It should be noted that if a length of the flow identifier is relatively large, the flow identifier may still continue to occupy a third byte and a next byte of the SDAP header as required. In the example in FIG. 6a , the flow identifier is in the second byte Oct2 and the third byte Oct3.
  • In another implementation, the flow identifier may alternatively be in the first byte occupied by the FII indication bit. FIG. 6b is a schematic structural diagram of an example of another SDAP header, some FID content is in Oct1, and the remaining FID content is in Oct2 and Oct3. In this way, overheads of the SDAP header can be reduced. If a length of the flow identifier is relatively large, the flow identifier may continue to occupy a third byte and a next byte of the SDAP header as required. In the example in FIG. 6b , the flow identifier is in the first byte to the third byte of the SDAP header.
  • In an uplink transmission process of the UE and the gNB, the UE may perform transmission in a reflective QoS (Reflective QoS) manner. Reflective QoS is a method in which UE obtains a manner of mapping an uplink data transmission IP flow to a QoS flow and mapping a QoS flow to a bearer. A basic idea is that the UE derives a manner of mapping an uplink data transmission QoS flow to the bearer based on information about mapping a downlink data transmission IP flow to the QoS flow and mapping the QoS flow to the bearer.
  • If a network determines to use the reflective QoS manner in uplink, the UPF may add a reflective QoS indication (Reflective QoS Indication, RQI) to a packet header of a data flow. After the data flow arrives at the UE, if a packet header of a data packet includes the RQI, when transmitting an uplink data flow, the UE performs data transmission based on the same QoS indication as that of a downlink data flow that is recently received.
  • Specifically, in this embodiment, the RQI further includes an access stratum data flow reflective indication (Access Stratum Reflective QoS Indication, ARI) and a non-access stratum data flow reflective indication (Non-Access Stratum Reflective QoS Indication, NRI). The ARI is used to indicate whether to use the reflective QoS manner in transmission of a data flow on an access stratum. The NRI is used to indicate whether to use the reflective QoS manner in transmission of a data flow on a non-access stratum.
  • In still another implementation, FIG. 6c is a schematic structural diagram of an example of still another SDAP header. The SDAP header includes an FII, an ARI, and an NRI. If the FII indicates that a flow identifier is included, the SDAP header further includes the flow identifier. An arrangement sequence of the FII, the ARI, and the NRI is not limited. The ARI and the NRI each occupy one bit. For example, when a value of the ARI is “1”. it indicates that the reflective QoS manner is used in transmission of the data flow on the access stratum; when the value of the ARI is “0”, it indicates that the reflective QoS manner is not used in transmission of the data flow on the access stratum; and vice versa. For another example, when a value of the NRI is “1”, it indicates that the reflective QoS manner is used in transmission of the data flow on the non-access stratum; when the value of the NRI is “0”, it indicates that the reflective QoS manner is not used in transmission of the data flow on the non-access stratum; and vice versa. FIG. 6d is a schematic structural diagram of an example of still another SOAP header. A difference between FIG. 6d and FIG. 6c is that Oct1 further includes some RD content. In the foregoing described case, a same SOAP header is used in uplink and downlink. However, different SOAP headers may be used in the uplink and the downlink. In other words, only the FII needs to be included in the uplink, and the ARI and the NRI do not need to be included. A structure of an uplink SDAP header is shown in FIG. 6a and FIG. 6 b.
  • In still another implementation, the SOAP header includes the FII, and the FII is further used to indicate whether the SDAP header includes the ARI and the NRI. If the FII indicates that the flow identifier is included, the SOAP header further includes the flow identifier. As shown in FIG. 6a and FIG. 6b , the FII implicitly indicates whether the SDAP header includes the ARI and the NRI. To be specific, for example, if a value of the FII is “1”, it implicitly indicates that the SDAP header includes the ARI and the NRI; if a value of the FII is “0”, it implicitly indicates that the SDAP header does not include the ARI and the NRI. Alternatively, if a value of the FII is “1”, it implicitly indicates that the SDAP header does not include the ARI and the NRI; if a value of the FII is “0”, it implicitly indicates that the SDAP header includes the ARI and the NRI. In this way, overheads of the SDAP header can be reduced, and forward compatibility is facilitated.
  • In still another implementation, the SDAP header includes the FII, and the FII is further used to indicate whether the SDAP header includes the ARI. If the RI indicates that the flow identifier is included, the SDAP header further includes the flow identifier. FIG. 6e is a schematic structural diagram of an example of still another SOAP header. The FII is further used to indicate whether the SOAP header includes the ARI. When the transmit end device is a base station, the base station sends first signaling, where the first signaling includes the NRI, A difference between FIG. 6f and FIG. 6e is that Oct1 further includes FID content. In this way, overheads of the SDAP header can be reduced, and forward compatibility is facilitated.
  • In still another implementation, the SDAP header includes the FII, and the FII is further used to indicate whether the SOAP header includes the NRI. If the FII indicates that the flow identifier is included, the SOAP header further includes the flow identifier, FIG. 6g is a schematic structural diagram of an example of still another SDAP header. The FII is further used to indicate whether the SDAP header includes the NRI. When the transmit end device is a base station, the base station sends second signaling, where the second signaling includes the ARI. A difference between FIG. 6h and FIG. 6g is that Oct1 further includes FID content.
  • In still another implementation, the SDAP header includes the FII. If the FII indicates that the flow identifier is included, the SOAP header further includes the flow identifier. If the transmit end device is a base station, and the receive end device is UE, the base station may send radio resource control (Radio Resource Control, RRC) signaling to the UE, where the RRC signaling includes the ARI; and the base station forwards an NRI from the core network to the UE. In other words, the base station is used for only transparent transmission between the core network element and the UE.
  • In still another implementation, the SDAP header includes the FII and an indication bit (O/C) of data information/control information. If the FII indicates that the flow identifier is included, the SDAP header further includes the flow identifier. The ARI and the NRI may be considered as control information. In this way, an SOAP header that carries indication information of the ARI/NRI may be expressed as [C, FII, ARI, NRI, R, R, R, R]; and an SOAP header that does not carry the indication information of the ARI/NRI may be expressed as [D, FII, R, R, R, R, R, R]. FIG. 6i is a schematic structural diagram of still another SDAP header. Indication bits of both the ARI and the NRI may be reused. The control information may alternatively be other control information than the ARI and the NRI. A difference between FIG. 6j and FIG. 6i is that Oct1 may further include content of the flow identifier.
  • In still another implementation, the SOAP header includes the FII and a downlink/uplink indication bit (D/U). If the FII indicates that the flow identifier is included, the SOAP header further includes the flow identifier. In this way, in downlink transmission, the SOAP header may be expressed as [D, FII, ARI, NRI, R, R, R]; and in uplink transmission, the SOAP header may be expressed as [U, FII, R, R, R, R, R, R]. The indication bits of both the ARI and the NRI may be reused. In this way, overheads of the SOAP header can be reduced, and forward compatibility is facilitated.
  • In still another implementation, in the embodiments described above, the SOAP header may be located at the front of the SDAP SDU. To reduce influence on robust header compression (Robust Header Compression, RoHC) of the PDCP layer, the SOAP header may alternatively be added to the end of the SDAP SDU. FIG. 6k is a schematic structural diagram of an example of still another SDAP header. The SOAP header is disposed at the end of an SDAP SDU. FI indication bits are aligned from a rear end.
  • The method in the embodiments of the present invention is described above in detail, and an apparatus in an embodiment of the present invention is provided below.
  • FIG. 7 is a schematic diagram of modules of a communications device according to an embodiment of the present invention. The communications device 7000 may include a processor 71 and a transmitter 72.
  • The processor 71 is configured to process a data flow, where the processing includes: adding a flow identifier indication to the data flow, where the flow identifier indication is used to indicate whether a flow identifier is included.
  • The transmitter 72 is configured to send the processed data flow.
  • In an implementation, the processing specifically includes: adding the flow identifier indication to a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP POU.
  • In another implementation, the processing specifically includes: adding the flow identifier indication to a packet data convergence protocol PDCP header.
  • In still another implementation, the communications device includes a base station;
  • the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication; and
  • the transmitter 72 is further configured to send first signaling, where the first signaling includes a non-access stratum data flow reflective indication NRI; or
  • the flow identifier indication is further used to indicate whether the data flow includes a non-access stratum data flow reflective indication; and
  • the transmitter 72 is further configured to send second signaling, where the second signaling includes an access stratum data flow reflective indication.
  • In another implementation, the communications device includes a base station;
  • the transmitter 72 is further configured to send an access stratum data flow reflective indication by using radio resource control signaling; and
  • the transmitter 72 is further configured to forward a non-access stratum data flow reflective indication from a core network.
  • In still another implementation, the communications device 7000 further includes a receiver (not shown).
  • The receiver is configured to receive the data flow.
  • The processor 71 is further configured to obtain the flow identifier indication.
  • In still another implementation, the processor 71 is further configured to remove the SDAP header of the SDAP PDU in the data flow.
  • In still another implementation, the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header.
  • In still another implementation, the flow identifier indication is further used to indicate whether the data flow includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication.
  • In still another implementation, the data flow further includes an indication of data information/control information.
  • For details, refer to the descriptions in the foregoing method embodiments. Details are not described herein again.
  • According to the communications device provided in this embodiment of the present invention, the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • FIG. 8 is a schematic diagram of modules of another communications device according to an embodiment of the present invention. The communications device 8000 includes a receiver 81 and a processor 82.
  • The receiver 81 is configured to receive a data flow, where the data flow includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included.
  • The processor 82 is configured to obtain the flow identifier indication.
  • In an implementation, the flow identifier indication is in a header or a trailer of a service data adaptation protocol layer-protocol data unit SOAP PDU, or the flow identifier indication is in a packet data convergence protocol PDCP header.
  • In another implementation, the processor 82 is further configured to remove the SOAP header of the SDAP PDU.
  • In still another implementation, the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SOAP header.
  • In another implementation, the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication and a non-access stratum data flow reflective indication.
  • In still another implementation, the data flow further includes an indication of data information/control information.
  • For details, refer to the descriptions in the foregoing method embodiments. Details are not described herein again.
  • According to the communications device provided in this embodiment of the present invention, the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • An embodiment of the present invention further provides a communications device 9000. The hardware architecture shown in FIG. 9 may be used for the communications device 9000. For example, the communications device 9000 may be a base station, or may be a terminal device. The communications device 9000 may include a receiver 91, a transmitter 92, a memory 93, and a processor 94. The receiver, the transmitter, the memory, and the processor are connected to each other by using a bus.
  • The memory 93 includes, but is not limited to, a random access memory (Random Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), an erasable programmable read only memory (Erasable Programmable Read Only Memory, EPROM), or a compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM). The memory 93 is configured to store a related instruction and related data.
  • The receiver 91 is configured to receive data and/or a signal, and the transmitter 92 is configured to send data and/or a signal. The transmitter 92 and the receiver 91 may be independent components or an integral component such as a transceiver.
  • The processor 94 may include one or more processors, for example, include one or more central processing units (Central Processing Unit, CPU). When the processor is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
  • The memory 93 is configured to store program code and data of the communications device, and may be a separate component or may be integrated into the processor.
  • The foregoing components may be integrated into a chip for implementation, for example, integrated into a baseband chip for implementation.
  • Specifically, the processor 94 performs the following operations:
  • processing a data flow, where the processing includes: adding a flow identifier indication to the data flow, where the flow identifier indication is used to indicate whether a flow identifier is included; and
  • sending the processed data flow by using the transmitter 92.
  • In an implementation, the processing specifically includes: adding the flow identifier indication to a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU.
  • In another implementation, the processing specifically includes: adding the flow identifier indication to a packet data convergence protocol PDCP header.
  • In still another implementation, the communications device 9000 includes a base station;
  • the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication; and
  • the transmitter 92 sends first signaling, where the first signaling includes a non-access stratum data flow reflective indication; or
  • the flow identifier indication is further used to indicate whether the data flow includes a non-access stratum data flow reflective indication; and
  • the transmitter 92 sends second signaling, where the second signaling includes an access stratum data flow reflective indication.
  • In another implementation, the communications device 9000 includes a base station;
  • the transmitter 92 sends an access stratum data flow reflective indication in radio resource control signaling; and
  • the transmitter 92 forwards a non-access stratum data flow reflective indication from a core network.
  • In still another implementation, the processor 94 is further configured to perform the following operations:
  • receiving the data flow by using the receiver 91; and
  • obtaining the flow identifier indication.
  • In still another implementation, after performing the operation of receiving the data flow by using the receiver 91, the processor 94 further performs the following operation: removing the SDAP header in the data flow.
  • In still another implementation, the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header.
  • In still another implementation, the flow identifier indication is further used to indicate whether the data flow includes the access stratum data flow reflective indication and the non-access stratum data flow reflective indication.
  • In still another implementation the data flow further includes an indication of data information/control information.
  • For details, refer to the descriptions in the foregoing method embodiments. Details are not described herein again,
  • It may be understood that FIG. 9 shows merely a simplified design of the communications device. During actual application, the communications device may also include other necessary components, including but not limited to any quantity of transceivers, processors, controllers, memories, and the like, and all communications devices that can implement this embodiment of the present invention shall fall within the protection scope of the present invention.
  • According to the communications device provided in this embodiment of the present invention, the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • An embodiment of the present invention further provides a communications device. The communications device may be the communications device in the foregoing communications system, for example, may be the base station, or may be the terminal device. The hardware architecture shown in FIG. 9 may be used for the communications device. The communications device may include a receiver, a transmitter, a memory, and a processor. The receiver, the transmitter, the memory, and the processor are connected to each other by using a bus.
  • The memory includes, but is not limited to, a RAM, a ROM, an EPROM, or a CD-ROM. The memory is configured to store a related instruction and related data.
  • The receiver is configured to receive data and/or a signal, and the transmitter is configured to send data and/or a signal. The transmitter and the receiver may be independent components or an integral component such as a transceiver.
  • The processor may include one or more processors, for example, include one or more CPUs. When the processor is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
  • The memory is configured to store program code and data of the communications device, and may be a separate component or may be integrated into the processor.
  • The foregoing components may be integrated into a chip for implementation, for example, integrated into a baseband chip for implementation.
  • Specifically, the processor performs the following operations:
  • receiving a data flow by using the receiver, where the data flow includes a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is included: and
  • obtaining the flow identifier indication.
  • In an implementation, the flow identifier indication is in a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU, or the flow identifier indication is in a packet data convergence protocol PDCP header,
  • In another implementation, the processor is further configured to perform the following operation: removing the SDAP header of the SDAP PDU.
  • In still another implementation, the SDAP header further includes the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header.
  • In still another implementation, the flow identifier indication is further used to indicate whether the data flow includes the access stratum data flow reflective indication and the non- access stratum data flow reflective indication.
  • In still another implementation, the data flow further includes an indication of data information/control information.
  • For details, refer to the descriptions in the foregoing method embodiments. Details are not described herein again.
  • It may be understood that FIG. 9 shows merely a simplified design of the communications device. During actual application, the communications device may also include other necessary components, including but not limited to any quantity of transceivers, processors, controllers, memories, and the like, and all communications devices that can implement the present invention shall fall within the protection scope of the present invention.
  • According to the communications device provided in this embodiment of the present invention, the flow identifier indication is added to the data flow, where the flow identifier indication is used to indicate whether the flow identifier is included; and the data flow is transmitted according to the flow identifier indication, so that processing on the data flow is completed.
  • A person of ordinary skill in the art may be aware that units and algorithm steps in the examples described with reference to the embodiments disclosed in this specification can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on particular applications and design constraints of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that such implementation goes beyond the scope of this application.
  • A person skilled in the art may clearly understand that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, refer to a corresponding process in the foregoing method embodiments, and details are not described herein again.
  • In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiments are merely examples. For example, the unit division is merely logical function division and may be other division during actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented by using some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical, or other forms.
  • The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected based on actual requirements to achieve the objectives of the solutions of the embodiments.
  • In addition, functional units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.
  • All or some of the foregoing embodiments may be implemented by means of software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, the embodiments may be implemented completely or partially in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the procedure or functions according to the embodiments of the present invention are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable apparatuses. The computer instruction may be stored in a computer readable storage medium, or may be transmitted by using the computer readable storage medium. The computer instruction may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner. The computer readable storage medium may be any available medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid-state disk (Solid State Disk, SSD)), or the like.
  • A person of ordinary skill in the art may understand that all or some of the processes of the methods in the embodiments may be implemented by a computer program instructing related hardware. The program may be stored in a computer readable storage medium. When the program is being executed, the procedures in the foregoing method embodiments may be included. The foregoing storage medium includes any medium that can store program code, such as a ROM, a random access memory RAM, a magnetic disk, or an optical disc.

Claims (20)

1. A data transmission method, comprising:
processing, by a transmit end device, a data flow, wherein the processing comprises:
adding a flow identifier indication to the data flow, wherein the flow identifier indication is used to indicate whether a flow identifier is comprised; and
sending, by the transmit end device, the processed data flow.
2. The method according to claim 1, wherein the processing comprises: adding the flow identifier indication to a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU.
3. The method according to claim 1, wherein the processing specifically comprises: adding the flow identifier indication to a packet data convergence protocol PDCP header.
4. The method according to claim 1, wherein:
the transmit end device comprises a base station;
the flow identifier indication is further used to indicate whether the data flow comprises an access stratum data flow reflective indication; and
the method further comprises: sending, by the base station, first signaling, wherein the first signaling comprises a non-access stratum data flow reflective indication; or
the flow identifier indication is further used to indicate whether the data flow comprises the non-access stratum data flow reflective indication; and
the method further comprises: sending, by the base station, second signaling, wherein the second signaling comprises the access stratum data flow reflective indication.
5. The method according to claim 1, wherein the transmit end device comprises a base station; and
the method further comprises:
sending, by the base station, an access stratum data flow reflective indication by using radio resource control signaling; and
forwarding, by the base station, a non-access stratum data flow reflective indication from a core network.
6. The method according to claim 2, further comprising:
receiving, by the transmit end device, the data flow; and
obtaining, by the transmit end device, the flow identifier indication.
7. The method according to claim 6, wherein after the receiving, by the transmit end device, the data flow, the method further comprises:
removing, by the transmit end device, the SDAP header of the SDAP PDU.
8. A data transmission method, comprising:
receiving, by a receive end device, a data flow, wherein the data flow comprises a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is comprised; and
obtaining, by the receive end device, the flow identifier indication.
9. The method according to claim 8, wherein the flow identifier indication is in a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU, or the flow identifier indication is in a packet data convergence protocol PDCP header.
10. The method according to claim 9, wherein after the receiving, by the receive end device, the data flow, the method further comprises:
removing, by the receive end device, the SDAP header of the SDAP PDU.
11. The method according to claim 2, wherein the SDAP header comprises the flow identifier, and the flow identifier is in a first byte and/or a second byte of the SDAP header
12. The method according to claim 1, wherein the flow identifier indication is further used to indicate whether the data flow comprises an access stratum data flow reflective indication and a non-access stratum data flow reflective indication.
13. The method according to claim 1, wherein the data flow further comprises an indication of data information/control information.
14. A communications device, comprising:
a processor, configured to process a data flow, wherein the processing comprises: adding a flow identifier indication to the data flow, wherein the flow identifier indication is used to indicate whether a flow identifier is comprised; and
a transmitter, configured to send the processed data flow.
15. The communications device according to claim 14, wherein the processing comprises: adding the flow identifier indication to a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU.
16. The communications device according to claim 14, wherein the processing comprises: adding the flow identifier indication to a packet data convergence protocol PDCP header.
17. The communications device according to claim 14, wherein the communications device comprises a base station;
the flow identifier indication is further used to indicate whether the data flow comprises an access stratum data flow reflective indication; and
the transmitter is further configured to send first signaling, wherein the first signaling comprises a non-access stratum data flow reflective indication; or
the flow identifier indication is further used to indicate whether the data flow comprises the non-access stratum data flow reflective indication; and
the transmitter is further configured to send second signaling, wherein the second signaling comprises the access stratum data flow reflective indication.
18. A communications device, comprising:
a receiver, configured to receive a data flow, wherein the data flow comprises a flow identifier indication, and the flow identifier indication is used to indicate whether a flow identifier is comprised; and
a processor, configured to obtain the flow identifier indication.
19. The communications device according to claim 18, wherein the flow identifier indication is in a header or a trailer of a service data adaptation protocol layer-protocol data unit SDAP PDU, or the flow identifier indication is in a packet data convergence protocol PDCP header.
20. The method according to claim 19, wherein the processor is further configured to remove the SDAP header of the SDAP PDU.
US16/670,066 2017-05-05 2019-10-31 Data transmission method and communications device Active 2038-07-30 US11252095B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710313752.7 2017-05-05
CN201710313752.7A CN108809584B (en) 2017-05-05 2017-05-05 Data transmission method and communication equipment
PCT/CN2018/085514 WO2018202102A1 (en) 2017-05-05 2018-05-03 Data transmission method and communication device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/085514 Continuation WO2018202102A1 (en) 2017-05-05 2018-05-03 Data transmission method and communication device

Publications (3)

Publication Number Publication Date
US20200067843A1 US20200067843A1 (en) 2020-02-27
US20210006498A9 true US20210006498A9 (en) 2021-01-07
US11252095B2 US11252095B2 (en) 2022-02-15

Family

ID=64016384

Family Applications (1)

Application Number Title Priority Date Filing Date
US16/670,066 Active 2038-07-30 US11252095B2 (en) 2017-05-05 2019-10-31 Data transmission method and communications device

Country Status (4)

Country Link
US (1) US11252095B2 (en)
EP (1) EP3611865B1 (en)
CN (1) CN108809584B (en)
WO (1) WO2018202102A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102359746B1 (en) * 2017-06-05 2022-02-10 삼성전자 주식회사 Method and apparatus for transmitting data by inactive mode terminal in next generation mobile communication system
WO2018226024A1 (en) 2017-06-05 2018-12-13 삼성전자 주식회사 Method and apparatus for configuring pdcp device and sdap device in next-generation mobile communication system
GB201715920D0 (en) * 2017-09-29 2017-11-15 Nec Corp Communication system
CN110351221B (en) * 2018-04-02 2020-07-17 维沃移动通信有限公司 Method and device for configuring data stream
WO2020130673A1 (en) 2018-12-19 2020-06-25 삼성전자 주식회사 Method and device for identifying security key based on pdcp layer device in next-generation mobile communication system
KR20200076558A (en) * 2018-12-19 2020-06-29 삼성전자주식회사 Method and apparatus for identfying security key based on pdcp layer device in next generation wireless communication system
CN111447650B (en) * 2019-01-17 2021-11-19 中国移动通信有限公司研究院 Data forwarding method, equipment and storage medium
CN110071935B (en) * 2019-04-30 2021-03-30 重庆邮电大学 Method for realizing SDAP (software development association protocol) head assembly of terminal in 5G system
CN113381843B (en) * 2020-02-25 2023-09-08 中国移动通信有限公司研究院 Data transmission method, terminal and base station
CN113395239A (en) * 2020-03-12 2021-09-14 中国移动通信有限公司研究院 Data transmission method, device, related equipment and storage medium
CN114125950A (en) * 2020-08-11 2022-03-01 中国移动通信有限公司研究院 Data transmission method and equipment
EP4248665A4 (en) * 2020-12-24 2024-01-10 Huawei Technologies Co., Ltd. Sensing systems, methods, and apparatus in wireless communication networks

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867882B (en) * 2009-04-14 2015-10-21 中兴通讯股份有限公司 Message sends and message feedback preprocess method
CN102480468B (en) * 2010-11-25 2015-08-19 中国移动通信集团公司 A kind of data flow transmission method, Apparatus and system
US8908507B2 (en) * 2011-07-21 2014-12-09 Movik Networks RAN analytics, control and tuning via multi-protocol, multi-domain, and multi-RAT analysis
CN103581033B (en) * 2012-07-27 2016-12-21 重庆重邮信科通信技术有限公司 The method and apparatus of Data Stream Processing
TWI651979B (en) * 2016-07-07 2019-02-21 財團法人工業技術研究院 Method of service differentiation at radio access network, radio network system and radio access network access node
KR102695605B1 (en) * 2016-11-04 2024-08-19 삼성전자 주식회사 Structure of mac sub-header for supporting next generation mobile communication system and method and apparatus using the same
BR112019015657B1 (en) * 2017-02-01 2023-03-28 Lg Electronics Inc METHOD TO PERFORM REFLECTIVE QUALITY OF SERVICE (QOS) IN WIRELESS COMMUNICATION SYSTEM AND A DEVICE FOR THE SAME
KR102503556B1 (en) * 2017-03-23 2023-02-28 삼성전자 주식회사 A method and an apparatus for decreasing a load of processing between a terminal and a base station when applying a new qos model in a wireless system
WO2018196102A1 (en) * 2017-04-27 2018-11-01 北京小米移动软件有限公司 Information transmission method and apparatus and computer readable storage medium

Also Published As

Publication number Publication date
US20200067843A1 (en) 2020-02-27
WO2018202102A1 (en) 2018-11-08
US11252095B2 (en) 2022-02-15
CN108809584A (en) 2018-11-13
EP3611865A4 (en) 2020-04-01
EP3611865A1 (en) 2020-02-19
EP3611865B1 (en) 2021-07-28
CN108809584B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
US11252095B2 (en) Data transmission method and communications device
US11405773B2 (en) Method and device for relay transmission
EP3567945B1 (en) Radio access network node, wireless terminal, methods therefor, and non-temporary computer-readable medium
JP6889788B2 (en) Establishing a connection to the Internet in a cellular network
US11140729B2 (en) Relay transmission method and device
US11343874B2 (en) Relay transmission method and device
EP3618542A1 (en) Uplink data transmission method, and related devices
EP3585120B1 (en) Method and device for processing media access control protocol data unit
WO2018171491A1 (en) Wireless communication method, network device and terminal device
CN110636580A (en) Switching method and device
CN110996395B (en) Transmission configuration information indication method and device for auxiliary link, storage medium and terminal
EP4277308A1 (en) Communication method and apparatus, device, and readable storage medium
US11671985B2 (en) Downlink control information transmission method and apparatus
US20230276319A1 (en) Base station and user equipment
US11665587B2 (en) Data processing method and device to resolve packet loss in multi-hop link system
CN109155956A (en) A kind of data transmission method, apparatus and system
US20220240332A1 (en) First base station, second base station, method, program, and recording medium
CN107682893A (en) A kind of jamming control method and equipment of UDP business
US20200053780A1 (en) Communication method and transmit end device
CN109565722B (en) Data transmission method, network equipment and terminal equipment
WO2017076454A1 (en) Initiating measuring, reporting and/or use of secondary path delay to allocate packets or bearers among primary path and secondary path in wireless network
TW201815113A (en) Method for transmitting data, receiving device and sending device
WO2024169803A1 (en) Communication method and apparatus, and chip and module device
WO2023239365A1 (en) Apparatus and method for service data unit segment reassembly
US20230354264A1 (en) Base station, user equipment, and network node

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

AS Assignment

Owner name: HUAWEI TECHNOLOGIES CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LI, HONG;HAN, FENG;JIN, YINGHAO;SIGNING DATES FROM 20200703 TO 20201028;REEL/FRAME:054226/0150

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE