Data transmission method and communications device
11252095 · 2022-02-15
Assignee
Inventors
Cpc classification
H04W28/06
ELECTRICITY
H04W28/24
ELECTRICITY
H04W28/0268
ELECTRICITY
H04W40/02
ELECTRICITY
H04L47/2408
ELECTRICITY
H04L47/2491
ELECTRICITY
International classification
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.
Claims
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 2, further comprising: receiving, by the transmit end device, the data flow; and obtaining, by the transmit end device, the flow identifier indication.
4. The method according to claim 3, wherein after h 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.
5. 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.
6. The method according to claim 1, wherein the processing further comprises: adding the flow identifier indication to a packet data convergence protocol PDCP header.
7. 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.
8. 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.
9. 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.
10. The method according to claim 1, wherein the data flow further comprises an indication of data information/control information.
11. 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.
12. The method according to claim 11, wherein the flow identifier indication is in a header or a trader 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.
13. The method according to claim 12, 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.
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.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) 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.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DESCRIPTION OF EMBODIMENTS
(11) The following describes embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention.
(12)
(13) 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.
(14) 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.
(15) Specifically, in
(16) 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
(17) 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.
(18) 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.
(19)
(20) 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.
(21)
(22) S301. A transmit end device processes a data flow.
(23) 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.
(24)
(25) 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.
(26) 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 SDAP 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.
(27) In another implementation, the PDCP header may include the flow identifier indication.
(28) If the PDCP header includes the flow identifier indication, the following technical effects may be achieved:
(29) (1) Transmission overheads are reduced.
(30) 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.
(31) (2) The robust header compression protocol (RoHC) function is conveniently used.
(32) 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.
(33) S302. The transmit end device sends the processed data flow.
(34) 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.
(35) S303. The receive end device obtains the flow identifier indication in the data flow.
(36) 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.
(37) 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 SDAP header, to obtain net data in the SDAP SDU. Alternatively, the data flow needs to be transmitted through flow transmission. The SDAP header also needs to be removed in the flow transmission, and data transmission is directly performed,
(38) 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.
(39) 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.
(40) The following describes definition of the SDAP header by using some specific implementations.
(41) In an implementation, an FII indication bit is in a first byte.
(42) In another implementation, the flow identifier may alternatively be in the first byte occupied by the FII indication bit.
(43) 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.
(44) 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.
(45) 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.
(46) In still another implementation,
(47) 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 and the NRI. If the FII indicates that the flow identifier is included, the SDAP header further includes the flow identifier. As shown in
(48) 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.
(49) In still another implementation, the SDAP header includes the FII, and the FII is further used to indicate whether the SDAP header includes the NRI. If the FII indicates that the flow identifier is included, the SDAP header further includes the flow identifier,
(50) In still another implementation, the SDAP header includes the FII. If the FII indicates that the flow identifier is included, the SDAP 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.
(51) 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 SDAP header that carries indication information of the ARI/NRI may be expressed as [C, FII, ARI, NRI, R, R, R, R]; and an SDAP header that does not carry the indication information of the ARI/NRI may be expressed as [D, FII, R, R, R, R, R, R].
(52) In still another implementation, the SDAP header includes the FII and a downlink/uplink indication bit (D/U). If the FII indicates that the flow identifier is included, the SDAP header further includes the flow identifier. In this way, in downlink transmission, the SDAP header may be expressed as [D, FII, ARI, NRI, R, R, R]; and in uplink transmission, the SDAP 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 SDAP header can be reduced, and forward compatibility is facilitated.
(53) In still another implementation, in the embodiments described above, the SDAP 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 SDAP header may alternatively be added to the end of the SDAP SDU.
(54) 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.
(55)
(56) 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.
(57) The transmitter 72 is configured to send the processed data flow.
(58) 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.
(59) In another implementation, the processing specifically includes: adding the flow identifier indication to a packet data convergence protocol PDCP header.
(60) In still another implementation, the communications device includes a base station;
(61) the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication; and
(62) 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
(63) the flow identifier indication is further used to indicate whether the data flow includes a non-access stratum data flow reflective indication; and
(64) the transmitter 72 is further configured to send second signaling, where the second signaling includes an access stratum data flow reflective indication.
(65) In another implementation, the communications device includes a base station;
(66) the transmitter 72 is further configured to send an access stratum data flow reflective indication by using radio resource control signaling; and
(67) the transmitter 72 is further configured to forward a non-access stratum data flow reflective indication from a core network.
(68) In still another implementation, the communications device 7000 further includes a receiver (not shown).
(69) The receiver is configured to receive the data flow.
(70) The processor 71 is further configured to obtain the flow identifier indication.
(71) In still another implementation, the processor 71 is further configured to remove the SDAP header of the SDAP PDU in the data flow.
(72) 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.
(73) 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.
(74) In still another implementation, the data flow further includes an indication of data information/control information.
(75) For details, refer to the descriptions in the foregoing method embodiments. Details are not described herein again.
(76) 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.
(77)
(78) 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.
(79) The processor 82 is configured to obtain the flow identifier indication.
(80) 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.
(81) In another implementation, the processor 82 is further configured to remove the SDAP header of the SDAP PDU.
(82) 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.
(83) 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.
(84) In still another implementation, the data flow further includes an indication of data information/control information.
(85) For details, refer to the descriptions in the foregoing method embodiments. Details are not described herein again.
(86) 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.
(87) An embodiment of the present invention further provides a communications device 9000. The hardware architecture shown in
(88) 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.
(89) 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.
(90) 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.
(91) 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.
(92) The foregoing components may be integrated into a chip for implementation, for example, integrated into a baseband chip for implementation.
(93) Specifically, the processor 94 performs the following operations:
(94) 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
(95) sending the processed data flow by using the transmitter 92.
(96) 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.
(97) In another implementation, the processing specifically includes: adding the flow identifier indication to a packet data convergence protocol PDCP header.
(98) In still another implementation, the communications device 9000 includes a base station;
(99) the flow identifier indication is further used to indicate whether the data flow includes an access stratum data flow reflective indication; and
(100) the transmitter 92 sends first signaling, where the first signaling includes a non-access stratum data flow reflective indication; or
(101) the flow identifier indication is further used to indicate whether the data flow includes a non-access stratum data flow reflective indication; and
(102) the transmitter 92 sends second signaling, where the second signaling includes an access stratum data flow reflective indication.
(103) In another implementation, the communications device 9000 includes a base station;
(104) the transmitter 92 sends an access stratum data flow reflective indication in radio resource control signaling; and
(105) the transmitter 92 forwards a non-access stratum data flow reflective indication from a core network.
(106) In still another implementation, the processor 94 is further configured to perform the following operations:
(107) receiving the data flow by using the receiver 91; and
(108) obtaining the flow identifier indication.
(109) 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.
(110) 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.
(111) 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.
(112) In still another implementation the data flow further includes an indication of data information/control information.
(113) For details, refer to the descriptions in the foregoing method embodiments. Details are not described herein again.
(114) It may be understood that
(115) 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.
(116) 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
(117) 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.
(118) 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.
(119) 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.
(120) 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.
(121) The foregoing components may be integrated into a chip for implementation, for example, integrated into a baseband chip for implementation.
(122) Specifically, the processor performs the following operations:
(123) 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
(124) obtaining the flow identifier indication.
(125) 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.
(126) In another implementation, the processor is further configured to perform the following operation: removing the SDAP header of the SDAP PDU.
(127) 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.
(128) 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.
(129) In still another implementation, the data flow further includes an indication of data information/control information.
(130) For details, refer to the descriptions in the foregoing method embodiments. Details are not described herein again.
(131) It may be understood that
(132) 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.
(133) 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.
(134) 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.
(135) 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.
(136) 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.
(137) 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.
(138) 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.
(139) 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.