CN111586750A - Data sending and receiving method and device, electronic equipment and medium - Google Patents

Data sending and receiving method and device, electronic equipment and medium Download PDF

Info

Publication number
CN111586750A
CN111586750A CN201910118132.7A CN201910118132A CN111586750A CN 111586750 A CN111586750 A CN 111586750A CN 201910118132 A CN201910118132 A CN 201910118132A CN 111586750 A CN111586750 A CN 111586750A
Authority
CN
China
Prior art keywords
data packet
pdu
qfi
layer
qos flow
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
CN201910118132.7A
Other languages
Chinese (zh)
Other versions
CN111586750B (en
Inventor
孙军帅
王莹莹
黄学艳
韩星宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910118132.7A priority Critical patent/CN111586750B/en
Publication of CN111586750A publication Critical patent/CN111586750A/en
Application granted granted Critical
Publication of CN111586750B publication Critical patent/CN111586750B/en
Active legal-status Critical Current
Anticipated 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/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/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
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • 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
    • 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
    • H04W28/0263Traffic management, e.g. flow control or congestion control per individual bearer or channel involving mapping traffic to individual bearers or channels, e.g. traffic flow template [TFT]

Abstract

The invention discloses a method, a device, electronic equipment and a medium for sending and receiving data, wherein the data sending method comprises the steps that a sending end constructs a QoS Flow PDU according to an IP Flow received by a non-access NAS layer, wherein a data packet head of the QoS Flow PDU carries a QFI (quality of service data packet identifier); the NAS layer sends the QoS flow PDU to an access AS layer; the AS layer builds a service discovery application specification protocol data packet (SDAP PDU) according to the received QoS flow PDU, wherein the data packet head of the SDAP PDU carries the QFI; and the AS layer sends the SDAP PDU to a Data Radio Bearer (DRB) so that the DRB sends the SDAP PDU, thereby realizing carrying QFI in the process of data packet transmission, reducing the complexity of data transmission and avoiding modifying a network side interface channel.

Description

Data sending and receiving method and device, electronic equipment and medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for transmitting and receiving data.
Background
A QFI mapping function of canceling QoS flow of a Non Access Stratum (NAS) side quality of Service data packet (QoS flow) and an Access Stratum (AS) side Service Discovery Application Profile (SDAP) is proposed in a Radio Access Network (RAN 2) session of the 2 nd time. This means that QFI used between the base station and the core network, or between the AS layer and the NAS layer at the terminal side is only one parameter.
The 3GPP protocol specifies the PDU format of the data packet of the SDAP protocol sublayer of the AS layer. Fig. 1 shows a Service Discovery Application Profile data Unit (SDAP PDU) carrying a data header. In the protocol, in order to form an SDAP PDU, a Service Discovery application profile Service Data Unit (SDAP SDU) added with QFI, Radio channel indication (RQI) and Service Discovery application profile SDAP identification (RDI) received from an upper layer (Upperlayers), i.e. NAS layer, may be grouped into an SDAP PDU, where the QFI has a length of 6 bits and a position is shown in a diagram of the protocol. The QFI is sent by the upper layer of the SDAP protocol sublayer and then written into the data packet when the SDAP protocol sublayer constructs the SDAP PDU, i.e., the SDAP layer does not modify any value of the QFI received from the upper layer and writes directly into the SDAP PDU.
AS can be seen from the above description, the QFI in the existing protocol is delivered through the inter-layer primitive, so how to transmit QFI will be the technical problem to be solved next if the QFI mapping functions of the NAS layer and the AS layer are to be cancelled.
Disclosure of Invention
The embodiment of the invention provides a method, a device, electronic equipment and a medium for sending and receiving data, which are used for solving the problem of how to transmit QFI.
The embodiment of the invention provides a data sending method, which comprises the following steps:
a sending end constructs a QoS Flow protocol data packet QoSflow PDU according to an IP Flow received by a non-access NAS layer, wherein a data packet header of the QoS Flow PDU carries a QoS data packet identifier QFI;
the NAS layer sends the QoS flow PDU to an access AS layer;
the AS layer builds a service discovery application specification protocol data packet SDAPPDU according to the received QoS flow PDU, wherein the data packet header of the SDAP PDU carries the QFI;
the AS layer sends the SDAP PDU to a Data Radio Bearer (DRB) so that the DRB sends the SDAP PDU.
Further, the packet header of the QoS flow PDU is also configured to carry a radio channel indication RQI and a reserved field.
Further, in the data header of the QoS flow PDU, the QFI, the RQI, and the reserved field occupy one byte in total.
Further, the data packet header of the SDAP PDU also carries an identification RDI of a service discovery application specification, SDAP, where the RDI occupies a reserved field of the data packet header of the SDAP PDU.
Further, in a data packet header of the SDAP PDU, the QFI, the RQI and the RDI occupy one byte in total.
The embodiment of the invention provides a data receiving method, which comprises the following steps:
an access AS layer of a receiving end receives a data packet, wherein a data packet header of the data packet carries a service quality data packet identifier QFI;
the AS layer sends the data packet to a non-access NAS layer;
and the NAS layer removes the QFI carried by the data packet header of the received data packet and sends the data packet without the QFI to the IP Flow.
Further, the data packet header of the data packet also carries an identifier RDI of a service discovery application specification, SDAP, and the sending, by the AS layer, the data packet to the non-access NAS layer includes:
and the AS layer removes the RDI carried in the data packet and sends the data packet without the RDI to the NAS layer.
Further, a reserved field is also carried in a data packet header of the data packet.
An embodiment of the present invention provides a data transmission apparatus, where the apparatus includes:
the first modeling block is used for constructing a QoS Flow PDU according to the IP Flow received by the non-access NAS layer, wherein the data packet head of the QoS Flow PDU carries a QFI (quality of service data packet identifier);
the first sending module is used for sending the QoS flow PDU to the second building module;
the second modeling block group is used for building a service discovery application specification protocol data packet (SDAP PDU) according to the received QoS flow PDU, wherein the data packet header of the SDAP PDU carries the QFI;
a second sending module, configured to send the SDAP PDU to a data radio bearer DRB, so that the DRB sends the SDAP PDU.
An embodiment of the present invention provides a data receiving apparatus, where the apparatus includes:
the receiving module is used for receiving a data packet, wherein a data packet header of the data packet carries a service quality data packet identifier QFI;
a third sending module, configured to send the data packet to a mapping module;
the mapping module is configured to remove the QFI carried by the data packet header of the received data packet, and send the data packet with the QFI removed to the IP Flow.
The embodiment of the invention provides electronic equipment, which comprises a memory and a processor;
the processor is used for reading the program in the memory and executing the following processes: establishing a QoS Flow PDU according to an IP Flow received by a non-access NAS layer, wherein a data packet header of the QoS Flow PDU carries a QFI (quality of service data packet identifier); causing the NAS layer to send the QoS flow PDUs to an access AS layer; enabling the AS layer to establish a service discovery application specification protocol data packet (SDAP PDU) according to the received QoS flow PDU, wherein the data packet head of the SDAP PDU carries the QFI; causing the AS layer to send the SDAP PDU onto a Data Radio Bearer (DRB) to cause the DRB to send the SDAP PDU.
The embodiment of the invention provides electronic equipment, which comprises a memory and a processor;
the processor is used for reading the program in the memory and executing the following processes: receiving a data packet, wherein a data packet header of the data packet carries a quality of service data packet identifier QFI; enabling the AS layer to send the data packet to a non-access NAS layer; and enabling the NAS layer to remove the QFI carried by the data packet header of the received data packet, and sending the data packet without the QFI to the IP Flow.
Further, the processor is further configured to enable the AS layer to remove an identifier RDI of the service discovery application specification SDAP carried in the data packet, and send the data packet with the RDI removed to the NAS layer.
The embodiment of the invention provides electronic equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory finish mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of any of the methods described above.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program executable by an electronic device, and when the program runs on the electronic device, the program causes the electronic device to execute the steps of any one of the above methods.
The embodiment of the invention provides electronic equipment, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory finish mutual communication through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of any of the methods described above.
An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program executable by an electronic device, and when the program runs on the electronic device, the program causes the electronic device to execute the steps of any one of the above methods.
The embodiment of the invention provides a method, a device, electronic equipment and a medium for sending and receiving data, wherein the method for sending the data comprises the following steps: a sending end constructs a QoS Flow PDU according to an IP Flow received by a non-access NAS layer, wherein a data packet header of the QoS Flow PDU carries a QFI (quality of service data packet identifier); the NAS layer sends the QoS flow PDU to an access AS layer; the AS layer builds a service discovery application specification protocol data packet (SDAP PDU) according to the received QoS flow PDU, wherein the data packet head of the SDAP PDU carries the QFI; the AS layer sends the SDAP PDU to a Data Radio Bearer (DRB) so that the DRB sends the SDAP PDU.
In the embodiment of the invention, the packet header of the NAS layer building data carries QFI QoS flow PDU; and sending the QoSflow PDU to the AS layer, so that the AS layer constructs a data packet header carrying the SDAP PDU of the QFI and sends the SDAP PDU to a data radio bearer DRB, thereby realizing carrying the QFI in the data packet transmission process, reducing the complexity of data transmission and avoiding modifying a network side interface channel.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an SDAP PDU carrying a data packet header provided in the background art;
fig. 2 is a flowchart of a method for sending data according to embodiment 1 of the present invention;
fig. 3 is a schematic diagram of a QoS flow PDU established by the NAS layer according to embodiment 2 of the present invention;
fig. 4 is a schematic diagram of an SDAP PDU constructed by an AS layer according to embodiment 2 of the present invention;
fig. 5 is a flowchart of a method for receiving data according to embodiment 3 of the present invention;
fig. 6 is a schematic diagram of a data transceiving method according to embodiment 4 of the present invention;
fig. 7 is a schematic structural diagram of a data transmitting apparatus according to embodiment 5 of the present invention;
fig. 8 is a schematic structural diagram of a data receiving device according to embodiment 6 of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to embodiment 7 of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to embodiment 8 of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to embodiment 9 of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to embodiment 11 of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 2 is a flowchart of a method for sending data according to an embodiment of the present invention, where the method includes:
s201, a sending end constructs a Quality of Service Flow Protocol Data Unit (QoS Flow PDU) according to the IP Flow received by an NAS layer, wherein the Data packet head of the QoS Flow PDU carries QFI.
The sending end may be a core network device or a terminal. When receiving the IP Flow, the NAS layer of the transmitting end is responsible for mapping the IP Flow to the QoS Flow, and during mapping, the NAS layer builds a quality of Service Flow Data Unit (QoS Flow SDU). In order to reduce the complexity of QFI transmission, in the embodiment of the present invention, when a QoS Flow PDU is established, QFI is carried in a packet header of the QoS Flow PDU.
Whether the data packet header of the QoS Flow PDU carries other information is not specifically limited in the embodiment of the present invention, and can be flexibly set according to needs when in use.
S202: the NAS layer sends the QoS flow PDUs to an AS layer.
And after the NAS layer is built to obtain the QoS flow PDU, sending the QoS flow PDU carrying the QFI in the data packet header to the AS layer so AS to facilitate the AS layer to perform subsequent operation.
The specific sending process is the prior art and is not described herein again.
S203: and the AS layer builds an SDAP PDU according to the received QoS flow PDU, wherein the data packet header of the SDAP PDU carries the QFI.
After the AS layer receives the QoS flow PDU, the SDAP protocol sublayer of the AS layer is responsible for mapping the QoS flow to a Data Radio Bearer (DRB), and during mapping, the AS layer builds the SDAP PDU.
S204: and the AS layer sends the SDAP PDU to a DRB so that the DRB sends the SDAP PDU.
After the AS layer builds the SDAP PDU, the SDAP PDU is sent to the DRB, so that the DRB sends the SDAP PDU, and a specific process of sending the SDAP PDU by the DRB is the prior art and is not described herein again.
In the embodiment of the invention, the packet header of the NAS layer building data carries QFI QoS flow PDU; and sending the QoSflow PDU to the AS layer, so that the AS layer constructs a data packet header carrying the SDAP PDU of the QFI and sends the SDAP PDU to a data radio bearer DRB, thereby realizing carrying the QFI in the data packet transmission process, reducing the complexity of data transmission and avoiding modifying a network side interface channel.
Example 2:
on the basis of the above embodiments, when the NAS layer constructs a QoS flow PDU, the data packet header of the QoS flow PDU that is constructed also carries a Radio Quality Indication (RQI) and a reserved field.
In the data header of the QoS flow PDU, the QFI, the RQI, and the reserved field may occupy one byte in total.
Fig. 3 is a schematic diagram of a QoS flow PDU established by the NAS layer, according to fig. 3, a packet header of the QoS flow PDU includes a reserved field R, RQI and QFI, and the QFI, RQI, and reserved field may occupy the first byte Oct 1. The QoS flow PDU also carries specific data, which may occupy the second byte Oct 2 and its subsequent bytes.
Specifically, the length and position of each of the reserved field, RQI, and QFI are known and fixed, where the length of the reserved field, RQI is 1 bit and the length of QFI is 6 bits.
Because the data packet header of the QoS flow PDU established by the NAS layer carries the reserved field, the RQI and the QFI, when the AS layer establishes the SDAP PDU, the QFI carried in the data packet header of the QoS flow PDU is obtained, and the SDAP PDU carrying the QFI and the RDI in the data packet header is established. Among them, in the data header of the SDAP PDU, QFI, RQI and RDI may occupy a byte.
The length of the RDI and the RQI is 1 bit, and the length of the QFI is 6 bits.
Fig. 4 is a schematic diagram of an SDAP PDU constructed by an AS layer, and AS shown in fig. 4, a Data packet header of the SDAP PDU includes RDI, RQI, and QFI, and the RDI, RQI, and QFI may jointly occupy a first byte Oct1, and the SDAP PDU also carries specific Data, which may occupy a second byte Oct 2 and subsequent bytes. Specifically, since the data structure of the SDAP PDU corresponds to the data structure of the QoS flow PDU, it can be known that the RDI occupies the position corresponding to the reserved field of the packet header.
As the data packet header of the QoS flow PDU established in the embodiment of the invention also carries RQI and the reserved field, and the data packet header of the SDAP PDU also carries RDI, wherein the RDI occupies the reserved field of the data packet header of the SDAP PDU, the RDI and the RQI do not need to be additionally transmitted, and the complexity of data transmission is further reduced.
Example 3:
based on the above embodiments, in order to reduce the complexity of receiving a data packet between the AS layer and the NAS layer, fig. 5 is a flowchart of a method for receiving a data packet according to an embodiment of the present invention.
S501: an access AS layer at a receiving end receives a data packet, wherein a data packet header of the data packet carries a service quality data packet identifier QFI.
The receiving end may be a network side device or a terminal. The AS layer at the receiving end receives the data packet, wherein the data packet header of the data packet carries QFI, and can also carry other information, and the other information carried specifically is not limited in the embodiment of the invention, and can be flexibly set according to actual needs when in use.
Specifically, an SDAP protocol sub-layer of the AS layer receives a data packet SDAP PDU sent on the DRB, wherein a data packet header of the SDAP PDU carries QFI.
S502: and the AS layer sends the data packet to a non-access NAS layer.
The AS layer sends the data packet to the NAS layer so AS to facilitate subsequent operation.
S503: and the NAS layer removes the QFI carried by the data packet header of the received data packet and sends the data packet without the QFI to the IP Flow.
After receiving the data packet, the NAS layer may remove the QFI carried by the data packet header of the data packet and send the data packet with the QFI removed to the IP Flow, so that the NAS layer implements demapping from QoS Flow to IP Flow.
In the embodiment of the invention, an access AS layer at a receiving end receives a data packet, wherein a data packet header of the data packet carries a QFI (quality of service) data packet identifier, and the AS layer sends the data packet to an NAS layer; the NAS layer removes the QFI carried by the data packet header of the received data packet, and sends the data packet without the QFI to the IP Flow, so that the QFI is carried in the data packet transmission process, the complexity of data transmission is reduced, and the modification of a network side interface channel is not required.
Example 4:
on the basis of the foregoing embodiments, in order to further reduce the complexity of data transmission, the data packet header of the data packet further carries an RDI, and the sending, by the AS layer, the data packet to the non-access NAS layer includes:
and the AS layer removes the RDI carried in the data packet and sends the data packet without the RDI to the NAS layer.
The data packet header of the data packet also carries the RDI, that is, the data packet header of the data packet carries the QFI and the RDI, and specifically, the data packet header of the SDAP PDU may carry the QFI and the RDI. Therefore, after receiving the SDAP PDU, the AS layer removes the RDI in the data packet header of the SDAP PDU, sets the corresponding field of the RDI in the data packet header AS the reserved field R because the RDI is removed, and demaps the removed RDISDAP PDU into the QoS flow PDU. Specific QoSflow PDU structure is shown in fig. 3.
Fig. 6 is a schematic diagram of a data transceiving method according to an embodiment of the present invention, specifically, as shown in fig. 6, a schematic diagram of mapping and demapping processes from an IP Flow to a QoS Flow, and from the QoS Flow to a bottom Layer (Lower Layer):
in the process of sending the data packet, when the NAS layer is responsible for mapping the IP Flow to the QoS Flow, writing the QFI carrying the QoS Flow of the IPflow into the data packet of the QoS Flow, namely writing the QFI into the QoS Flow PDU. Specifically, when the NAS layer constructs the QoS flow PDU, a header (header) is added to each QoS flow SDU, and the QFI, RQI, and reserved fields are added to the header.
The AS layer is responsible for mapping the QoS Flow to a Lower layer bearer (Lower layer bearer), and writing the RDI information to be added by the Lower layer bearer into a QoS Flow data packet. Specifically, the information that the bottom bearer needs to be added may be placed in a data packet header corresponding to the QoS flow PDU, where the data packet header corresponding to the QoS flow PDU carries QFI, RQI, and RDI. This process has been explained in the above embodiments and will not be described herein.
In the data packet receiving process, the AS layer is responsible for demapping the bottom layer bearer to QoS Flow, and removes the information added to the bottom layer bearer carried in the SDAP PDU sent by the received bottom layer, that is, takes out other information carried in the data packet header of the SDAP PDU, and demaps the SDAP PDU to QoS Flow PDU. Specifically, the SDAP protocol sub-layer in the AS layer may extract the RDI carried in the data packet header of the SDAP PDU.
The NAS layer is responsible for de-mapping QoS Flow to IP Flow, removing a data packet header of QoS Flow PDU, taking out corresponding QFI and other information carried in the data packet header, and then sending QoS Flow SDU with the data packet header removed to the IP Flow. Specifically, QFI and RQI carried in the header of the QoS Flow PDU may be removed, and then the QoS Flow PDU with the QFI and RQI removed is sent to the IP Flow.
Example 5:
on the basis of the foregoing embodiments, fig. 7 is a schematic structural diagram of a data transmitting apparatus according to an embodiment of the present invention, where the apparatus includes:
a first modeling block 701, configured to build a Quality of Service Flow Protocol Data Unit (QoS Flow PDU) according to the IP Flow received by the NAS layer, where a packet header of the QoS Flow PDU carries QFI;
a first sending module 702, configured to send the QoS flow PDUs to a second set of modeling blocks 703;
the second modeling block 703 is configured to build a Service Discovery Application Protocol Data Unit (SDAP PDU) according to the received QoS flow PDU, where a Data packet header of the SDAP PDU carries the QFI;
a second sending module 704, configured to send the SDAP PDU to a Data Radio Bearer (DRB), so that the DRB sends the SDAP PDU.
The first modeling block 701 in the embodiment of the present invention is configured to construct a QoS Flow PDU according to an IP Flow received by an NAS layer, where a packet header of the QoS Flow PDU carries QFI; a first sending module 702, configured to send the QoS flow PDU to a second group modeling block 703; the second modeling block group 703 is configured to build an SDAP PDU according to the received QoS flowPDU, where a packet header of the SDAP PDU carries the QFI; the second sending module 704 is configured to send the SDAP PDU to the DRB, so that the DRB sends the SDAP PDU, thereby implementing that the QFI is carried in the data packet transmission process, reducing the complexity of data transmission, and also not requiring modification of a network side interface channel.
Example 6:
on the basis of the foregoing embodiments, fig. 8 is a schematic structural diagram of a data receiving apparatus according to an embodiment of the present invention, where the apparatus includes:
a receiving module 801, configured to receive a data packet, where a data packet header of the data packet carries a QFI;
a third sending module 802, configured to send the QoS flow PDU to a mapping module 804;
the mapping module 804 is configured to send the data packet to the mapping module 803;
the mapping module 803 is configured to remove the QFI carried in the data packet header of the received data packet, and send the data packet with the removed QFI to the IP Flow.
Further, the third sending module 802 is specifically configured to remove the RDI carried in the data packet, and send the data packet without the RDI to the mapping module 803.
In the embodiment of the present invention, the receiving module 801 is configured to receive a data packet, where a data packet header of the data packet carries QFI; a third sending module 802, configured to send the data packet to the mapping module 803; the mapping module 803 is configured to remove the QFI carried in the data packet header of the received data packet, and send the data packet with the removed QFI to the IP Flow, so that the complexity of data transmission can be reduced.
Example 7:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides an electronic device, as shown in fig. 9, including: a processor 901, a memory 902;
the processor 901 is configured to execute the program read from the memory 902, and perform the following processes: establishing a Quality of Service Flow protocol data packet (QoS Flow PDU) according to the IP Flow received by the NAS layer, wherein the data packet header of the QoS Flow PDU carries QFI; causing the NAS layer to send the QoS flow PDUs to an AS layer; enabling the AS layer to establish a Service Discovery Application Protocol Data packet (SDAP PDU) according to the received QoS flow PDU, wherein a Data packet header of the SDAP PDU carries the QFI; causing the AS layer to transmit the SDAP PDU onto a Data Radio Bearer (DRB) such that the DRB transmits the SDAP PDU.
Based on the same inventive concept, the embodiment of the present invention further provides an electronic device, and because the principle of solving the problem of the electronic device is similar to that of the data transmission method, the implementation of the electronic device may refer to the implementation of the method, and repeated details are not described again.
In fig. 9, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 901, and various circuits, represented by memory 902, linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The processor 901 is responsible for managing a bus architecture and general processing, and the memory 902 may store data used by the processor 901 in performing operations.
Alternatively, the processor 901 may be a CPU (central processing unit), an ASIC (Application specific integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device).
Example 8:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides an electronic device, as shown in fig. 10, including: a processor 1001, a memory 1002;
the processor 1001 is configured to execute the program in the read memory 1002, and perform the following processes: receiving a data packet, wherein a data packet header of the data packet carries a quality of service data packet identifier QFI; enabling the AS layer to send the data packet to the NAS layer; and enabling the NAS layer to remove the QFI carried by the data packet header of the received data packet, and sending the data packet without the QFI to the IP Flow.
Based on the same inventive concept, the embodiment of the present invention further provides an electronic device, and because the principle of the electronic device for solving the problem is similar to that of the data receiving method, the implementation of the electronic device may refer to the implementation of the method, and repeated details are not repeated.
In fig. 10, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by the processor 1001, and various circuits, represented by the memory 1002, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The processor 1001 is responsible for managing the bus architecture and general processing, and the memory 1002 may store data used by the processor 1001 in performing operations.
Alternatively, the processor 1001 may be a CPU (central processing unit), an ASIC (Application specific integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device).
The processor is further configured to enable the AS layer to remove the RDI carried in the data packet, and send the data packet with the RDI removed to the NAS layer.
Example 9:
on the basis of the foregoing embodiments, an electronic device according to an embodiment of the present invention is provided, as shown in fig. 11, and includes a processor 1101, a communication interface 1102, a memory 1103, and a communication bus 1104, where the processor 1101, the communication interface 1102, and the memory 1103 complete communication with each other through the communication bus 1104;
the memory 1103 has stored therein a computer program that, when executed by the processor 401, causes the processor 1101 to perform the steps of:
establishing a Quality of service Flow Protocol Data Unit (QoS Flow PDU) according to the IP Flow received by the NAS layer, wherein the Data packet head of the QoS Flow PDU carries QFI;
the NAS layer sends the QoS flow PDU to an AS layer;
the AS layer builds a Service Discovery Application Protocol Data Unit (SDAP PDU) according to the received QoS flow PDU, wherein a Data packet header of the SDAP PDU carries the QFI and an identification (RDI) of the SDAP;
the AS layer transmits the SDAP PDU to a Data Radio Bearer (DRB) so that the DRB transmits the SDAP PDU.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 1102 is used for communication between the electronic apparatus and other apparatuses.
The Memory 1103 may include a Random Access Memory (RAM) and a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The processor 1101 may be a general-purpose processor, and includes a central processing unit (cpu), a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Further, the packet header of the QoS flow PDU is configured to also carry a radio channel Indication (RQI) and a reserved field.
Further, in the data header of the QoS flow PDU, the QFI, the RQI, and the reserved field occupy one byte in total.
Further, the data packet header of the SDAP PDU also carries an identification RDI of a service discovery application specification, SDAP, where the RDI occupies a reserved field of the data packet header of the SDAP PDU.
Further, in a data packet header of the SDAP PDU, the QFI, the RQI and the RDI occupy one byte in total.
Example 10:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program executable by an electronic device, where the computer program, when executed on the electronic device, causes the electronic device to perform the following steps:
establishing a Quality of service Flow Protocol Data Unit (QoS Flow PDU) according to the IP Flow received by the NAS layer, wherein the Data packet header of the QoS Flow PDU carries a QFI (Quality of service Data packet identifier);
the NAS layer sends the QoS flow PDU to an AS layer;
the AS layer builds a Service Discovery Application Protocol Data packet (SDAP PDU) according to the received QoS flow PDU, wherein a Data packet header of the SDAP PDU carries the QFI and an identifier RDI of the SDAP;
the AS layer transmits the SDAP PDU to a Data Radio Bearer (DRB) so that the DRB transmits the SDAP PDU.
Further, the packet header of the QoS flow PDU is configured to also carry a radio channel Indication (RQI) and a reserved field.
Further, in the data header of the QoS flow PDU, the QFI, the RQI, and the reserved field occupy one byte in total.
Further, the data packet header of the SDAP PDU also carries an identification RDI of a service discovery application specification, SDAP, where the RDI occupies a reserved field of the data packet header of the SDAP PDU.
Further, in a data packet header of the SDAP PDU, the QFI, the RQI and the RDI occupy one byte in total.
The computer readable storage medium may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tape, magneto-optical disks (MO), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, nonvolatile memories (NANDFLASH), Solid State Disks (SSDs), etc.
Example 11:
on the basis of the foregoing embodiments, an electronic device according to an embodiment of the present invention is provided, as shown in fig. 12, including a processor 1201, a communication interface 1202, a memory 1203, and a communication bus 1204, where the processor 1201, the communication interface 1202, and the memory 1203 complete communication with each other through the communication bus 1204;
the memory 1203 has stored therein a computer program which, when executed by the processor 401, causes the processor 1201 to perform the steps of:
enabling an AS layer to receive a data packet, wherein a data packet header of the data packet carries a service quality data packet identifier QFI;
the AS layer sends the data packet to a non-access NAS layer;
and the NAS layer removes the QFI carried by the data packet header of the received data packet and sends the data packet without the QFI to the IP Flow.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 1202 is used for communication between the electronic apparatus and other apparatuses.
The Memory 1203 may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The processor 1201 may be a general-purpose processor, and includes a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Further, the processor 1201 is further configured to enable the AS layer to remove the RDI carried in the data packet, and send the data packet with the RDI removed to the NAS layer.
Further, a reserved field is also carried in a data packet header of the data packet.
Example 12:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program executable by an electronic device, where the computer program, when executed on the electronic device, causes the electronic device to perform the following steps:
enabling an AS layer to receive a data packet, wherein a data packet header of the data packet carries a service quality data packet identifier QFI;
the AS layer sends the data packet to a non-access NAS layer;
and the NAS layer removes the QFI carried by the data packet header of the received data packet and sends the data packet without the QFI to the IP Flow.
Further, the data packet header of the data packet also carries an RDI, and the sending, by the AS layer, the data packet to the NAS layer includes:
and the AS layer removes the RDI carried in the data packet and sends the data packet without the RDI to the NAS layer.
Further, a reserved field is also carried in a data packet header of the data packet.
The computer readable storage medium may be any available medium or data storage device that can be accessed by a processor in an electronic device, including but not limited to magnetic memory such as floppy disks, hard disks, magnetic tape, magneto-optical disks (MO), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, nonvolatile memories (NANDFLASH), Solid State Disks (SSDs), etc.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is to be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.

Claims (17)

1. A method for transmitting data, the method comprising:
a sending end constructs a QoS Flow PDU according to an IP Flow received by a non-access NAS layer, wherein a data packet header of the QoS Flow PDU carries a QFI (quality of service data packet identifier);
the NAS layer sends the QoS flow PDU to an access AS layer;
the AS layer builds a service discovery application specification protocol data packet (SDAP PDU) according to the received QoS flow PDU, wherein the data packet head of the SDAP PDU carries the QFI;
and the AS layer sends the SDAP PDU to a Data Radio Bearer (DRB) so that the DRB sends the SDAP PDU.
2. The method of claim 1, wherein a packet header of the constructed QoS flow PDU also carries a radio channel indication RQI and a reserved field.
3. The method of claim 2, wherein the QFI, the RQI, and the reserved field occupy a total of one byte in a header of the QoS flow PDU.
4. The method of claim 2, wherein the data header of the SDAP PDU also carries an identification RDI of a service discovery application Specification (SDAP), wherein the RDI occupies a reserved field of the SDAP PDU data header.
5. The method of claim 4, wherein the QFI, the RQI, and the RDI occupy a total of one byte in a data header of the SDAP PDU.
6. A method for receiving data, the method comprising:
an access AS layer of a receiving end receives a data packet, wherein a data packet header of the data packet carries a service quality data packet identifier QFI;
the AS layer sends the data packet to a non-access NAS layer;
and the NAS layer removes the QFI carried by the data packet header of the received data packet and sends the data packet without the QFI to the IP Flow.
7. The method of claim 6, wherein a data header of the data packet further carries an identification (RDI) of a service discovery application Specification (SDAP), and wherein the AS layer sending the data packet to a non-access NAS layer comprises:
and the AS layer removes the RDI carried in the data packet and sends the data packet without the RDI to the NAS layer.
8. The method of claim 7, wherein a reserved field is further carried in a packet header of the assembled data packet.
9. A data transmission apparatus, characterized in that the apparatus comprises:
the first modeling block is used for constructing a QoS Flow PDU according to the IP Flow received by the non-access NAS layer, wherein the data packet head of the QoS Flow PDU carries a QFI (quality of service data packet identifier);
the first sending module is used for sending the QoS flow PDU to the second building module;
the second modeling block group is used for building a service discovery application specification protocol data packet (SDAP PDU) according to the received QoS flow PDU, wherein the data packet header of the SDAP PDU carries the QFI;
a second sending module, configured to send the SDAP PDU to a data radio bearer DRB, so that the DRB sends the SDAP PDU.
10. A data receiving apparatus, the apparatus comprising:
the receiving module is used for receiving a data packet, wherein a data packet header of the data packet carries a service quality data packet identifier QFI;
a third sending module, configured to send the data packet to a mapping module;
the mapping module is configured to remove the QFI carried by the data packet header of the received data packet, and send the data packet with the QFI removed to the IP Flow.
11. An electronic device, comprising a memory, a processor;
the processor is used for reading the program in the memory and executing the following processes: establishing a QoS Flow PDU according to an IP Flow received by a non-access NAS layer, wherein a data packet header of the QoS Flow PDU carries a QFI (quality of service data packet identifier); causing the NAS layer to send the QoS flow PDUs to an access AS layer; enabling the AS layer to establish a service discovery application specification protocol data packet (SDAP PDU) according to the received QoS flow PDU, wherein the data packet head of the SDAP PDU carries the QFI; causing the AS layer to send the SDAP PDU onto a Data Radio Bearer (DRB) to cause the DRB to send the SDAP PDU.
12. An electronic device, comprising a memory, a processor;
the processor is used for reading the program in the memory and executing the following processes: receiving a data packet, wherein a data packet header of the data packet carries a quality of service data packet identifier QFI; enabling the AS layer to send the data packet to a non-access NAS layer; and enabling the NAS layer to remove the QFI carried by the data packet header of the received data packet, and sending the data packet without the QFI to the IP Flow.
13. The electronic device according to claim 11, wherein the processor is specifically configured to cause the AS layer to remove an RDI that identifies the service discovery application specification SDAP carried in the data packet, and send the data packet from which the RDI is removed to the NAS layer.
14. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method of any one of claims 1-5.
15. A computer-readable storage medium, characterized in that it stores a computer program executable by an electronic device, which program, when run on the electronic device, causes the electronic device to carry out the steps of the method according to any one of claims 1-5.
16. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory has stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method of any one of claims 6 to 8.
17. A computer-readable storage medium, having stored thereon a computer program executable by an electronic device, for causing the electronic device to perform the steps of the method of any one of claims 6-8, when the program is run on the electronic device.
CN201910118132.7A 2019-02-15 2019-02-15 Data sending and receiving method and device, electronic equipment and medium Active CN111586750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910118132.7A CN111586750B (en) 2019-02-15 2019-02-15 Data sending and receiving method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910118132.7A CN111586750B (en) 2019-02-15 2019-02-15 Data sending and receiving method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN111586750A true CN111586750A (en) 2020-08-25
CN111586750B CN111586750B (en) 2023-01-10

Family

ID=72114770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910118132.7A Active CN111586750B (en) 2019-02-15 2019-02-15 Data sending and receiving method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN111586750B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108476508A (en) * 2017-07-25 2018-08-31 北京小米移动软件有限公司 Downlink data packet configuration method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108476508A (en) * 2017-07-25 2018-08-31 北京小米移动软件有限公司 Downlink data packet configuration method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "R2-1803157 "SDAP QFI mapping between AS and NAS"", 《3GPP TSG_RAN\WG2_RL2》 *

Also Published As

Publication number Publication date
CN111586750B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
EP3739912B1 (en) Default quality of service (qos) control method and device
CN109302372A (en) A kind of communication means, equipment and storage medium
CN109587732B (en) Transmission method and device for service quality flow
EP3703316A1 (en) Frame aggregation method, network setup frame sending method, and device
CN109672513B (en) Transmission path configuration method, device and equipment
CN112217615B (en) Method and device for supporting time-sensitive network
CN109561395A (en) A kind of blue-tooth transmission method and device
CN104993979A (en) Network connection monitoring method, terminal equipment and communication system
CN107257553A (en) User plane link establishing method, base station and mobility management apparatus
CN108235382A (en) A kind of method, node device and the server of transmission rate adjustment
CN111064788B (en) Signal transmission method, robot, and computer-readable storage medium
CN111490799B (en) Information transmission method and device
CN115278775A (en) Reflection QoS control method, UPF entity, communication system and storage medium
CN102265688B (en) Communications system
CN111586750B (en) Data sending and receiving method and device, electronic equipment and medium
CN113498597B (en) PCIe-based data transmission method and device
CN108540489A (en) PCS protocol multiplexings chip and method
CN104601431A (en) Access method of VPN business and network device
CN107026857A (en) A kind of information processing method and gateway device
CN110769460B (en) BSR transmission method, device, related equipment and storage medium
CN106453017A (en) MII (Media Independent Interface) and GPMC (General-Purpose Memory Controller) interface data communication system and communication method
CN110752903B (en) SRB mapping relation establishment method, data transmission method, data processing method, data transmission device, data processing device and data processing system
CN108563604A (en) PCS protocol multiplexings chip and method
CN105981429B (en) The resetting of Internet resources in wireless network
CN113709015A (en) Data transmission method, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant