CN111050363B - Mapping method, device and storage medium of IP flow and QoS flow - Google Patents

Mapping method, device and storage medium of IP flow and QoS flow Download PDF

Info

Publication number
CN111050363B
CN111050363B CN201811192220.3A CN201811192220A CN111050363B CN 111050363 B CN111050363 B CN 111050363B CN 201811192220 A CN201811192220 A CN 201811192220A CN 111050363 B CN111050363 B CN 111050363B
Authority
CN
China
Prior art keywords
flow
qti
qos
mapping
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.)
Active
Application number
CN201811192220.3A
Other languages
Chinese (zh)
Other versions
CN111050363A (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 CN201811192220.3A priority Critical patent/CN111050363B/en
Publication of CN111050363A publication Critical patent/CN111050363A/en
Application granted granted Critical
Publication of CN111050363B publication Critical patent/CN111050363B/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/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
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1263Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a mapping method, a mapping device and a storage medium of IP flow and quality of service flow (QoS flow), wherein the method comprises the following steps: the core network configures preset mapping rules of IP flow and QoS flow to a base station and a terminal through signaling during service establishment; and in the data transmission process, the core network, the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule.

Description

Mapping method, device and storage medium of IP flow and QoS flow
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, and a storage medium for mapping a network protocol flow (IP flow) and a quality of service flow (QoS flow).
Background
In the 3GPP protocol, a one-to-one correspondence between QFI (QoS Flow Identity) and 5QI (5G QoS Indicator) values of the standard is specified. There is no definition in the current protocol as to how non-standard 5QI and QFI mappings are defined. However, in the latest SA2 conference, all QFI occupy 6 bits, the value range is 0-63, and the maximum value of QFI is 63. This means that the defined 5QI cannot be mapped with QFI one to one. For the above change of SA2, the configuration and mapping scheme of QoS flow is fundamentally changed, and the mapping of IP flow to QoS flow is changed.
According to the scheme adopted by the SA2 at present, each time the relevant configuration of a QoS Flow is established or changed, the corresponding 5QI of the QoS Flow needs to be configured through corresponding signaling (NAS signaling or RRC signaling). And QFI and 5QI are completely separated, when the core network and the radio access network start reflective mapping (reflective mapping), the 5QI corresponding to each QoS Flow needs a corresponding signaling configuration receiver, which greatly increases signaling overhead.
Disclosure of Invention
In view of this, embodiments of the present invention are to provide a mapping method, apparatus and storage medium for IP flow and QoS flow.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a mapping method of IP flow and QoS flow of network protocol flow, which comprises the following steps:
the core network configures preset mapping rules of IP flow and QoS flow to a base station and a terminal through signaling during service establishment;
and in the data transmission process, the core network, the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule.
Optionally, the method further includes:
and when the data transmission channel is determined to need to be updated, judging whether the mapping rules of the IP flow and the QoS flow need to be updated or not, and if so, updating the mapping rules.
In the embodiment of the present invention, the mapping of the IP flow and the QoS flow is controlled by the core network, the base station, and the terminal according to the mapping rule, respectively, and the mapping includes:
the core network determines that a downlink data packet needing to be sent exists on the IP flow;
judging whether the IP flow is the existing IP flow or not; if not, selecting the corresponding QoS flow for the IP flow according to the mapping rule; if yes, directly acquiring corresponding QoS flow;
and carrying the downlink data packet on the QoS flow for transmission.
In the embodiment of the present invention, the mapping of the IP flow and the QoS flow is controlled by the core network, the base station, and the terminal according to the mapping rule, respectively, and the mapping includes:
receiving a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
In the embodiment of the invention, the preset mapping rules of the IP flow and the QoS flow are realized by a preconfigured QoS type index QTI table; wherein the content of the first and second substances,
the QTI table takes a QTI value as a unique index keyword, and the QTI value is as follows: 0,1, \ 8230;, N-1, N is a positive integer, N represents the number of the largest QTI values.
In the embodiment of the present invention, the preset mapping rule of the IP flow and the QoS flow includes:
when determining that one IP flow needs to be mapped to QoS flow, after each QoS parameter of the IP flow is subjected to preset calculation, obtaining each parameter in a QTI table corresponding to the IP flow and marking as each parameter in the QTI table
Figure BDA0001827792360000021
Figure BDA0001827792360000023
Respectively finding the closest approach from the QTI table
Figure BDA0001827792360000022
The QTI parameter with the highest priority is used as the QoS parameter of the QoS flow mapped by the IP flow, and the QTI is obtained according to the QTI parameter set;
and obtaining QFI (QFI) of QoS flow mapped by the IP flow based on the QTI.
In the embodiment of the present invention, the core network configures a preset mapping rule of an IP flow and a QoS flow to a base station and a terminal through a signaling when a service is established, and the method includes:
receiving an end-to-end Protocol Data Unit (PDU) session establishment request;
establishing PDU session connection between the core network and the base station;
sending the PDU session establishment message to a base station, and forwarding the PDU session establishment message to a terminal through the base station; and the PDU session establishment message carries the configuration information of the QTI table.
In the embodiment of the invention, the QTI table comprises 5G QoS index 5QI in the protocol and 5QI expanded and configured according to needs, the two 5 QIs are indexed by the QTI value, and the service types indexed by different QTI values are different.
Optionally, the method further includes:
when the QTI table is determined to only have the service type corresponding to the standard 5QI, signaling configuration is used or not used;
and when the QTI table is determined to have the service types which are configured according to the requirement, signaling configuration is used.
In the embodiment of the invention, the service types of the adjacent QTI value indexes have continuity.
Optionally, the method further includes:
and when the mapping from the IP Flow to the QoS Flow is determined, selecting the service type indicated by the only QTI from the QTI table as the service type for identifying the QoS requirement of the IP Flow according to the QoS requirement of the IP Flow.
The embodiment of the invention also provides a mapping method of the IP flow and the QoS flow of the network protocol flow, which comprises the following steps:
a terminal receives an IP flow and QoS flow mapping rule configured by a core network through a signaling when a service is established;
and in the data transmission process, the terminal, the core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule.
In the embodiment of the invention, the mapping of the IP flow and the QoS flow is controlled by the terminal, the core network and the base station based on the mapping rule, and the mapping comprises the following steps:
receiving a downlink data packet forwarded by a base station, and acquiring QoS flow information and data from the downlink data packet;
judging whether a flexible mapping rule starting identifier of an uplink data packet carried in the data packet is activated or not; if so, applying the flexible mapping rule to uplink data transmission, and recording the flexible mapping rule; if not, the existing mapping rule is not changed.
In the embodiment of the present invention, the mapping of the IP flow and the QoS flow is controlled by the terminal, the core network, and the base station based on the mapping rule, including:
and the terminal selects a corresponding QoS flow to bear the IP flow or the radio bearer RB to bear the QoS flow according to the mapping rule configured by the core network through the signaling and the flexible mapping rule carried in the downlink data packet.
In the embodiment of the invention, the mapping of the IP flow and the QoS flow is controlled by the terminal, the core network and the base station based on the mapping rule, and the mapping comprises the following steps:
the terminal receives a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
In the embodiment of the present invention, the mapping of the IP flow and the QoS flow is controlled by the terminal, the core network, and the base station based on the mapping rule, including:
determining whether a core network is configured with mapping rules of IP flow and QoS flow; if not, initiating a PDU session establishment request;
if yes, determining whether the IP flow is newly built, and if so, mapping a corresponding QoS flow for the IP flow; if the IP flow is the existing IP flow, directly acquiring the existing QoS flow;
and carrying the data packet of the IP flow onto the QoS flow to be sent.
The embodiment of the invention also provides a mapping device of IP flow and QoS flow of network protocol flow, which comprises:
the device comprises a setting module, a base station and a terminal, wherein the setting module is used for configuring the preset mapping rules of IP flow and QoS flow to the base station and the terminal through the signaling during service establishment;
and the first transmission module is used for controlling the mapping of the IP flow and the QoS flow by the base station and the terminal respectively according to the mapping rule in the data transmission process.
The embodiment of the invention also provides a mapping device of IP flow and QoS flow of network protocol flow, which comprises:
the receiving module is used for receiving the mapping rules of IP flow and QoS flow configured by the core network through the signaling when the service is established;
and the second transmission module is used for controlling the mapping of the IP flow and the QoS flow based on the mapping rule by the core network and the base station in the data transmission process.
The embodiment of the invention also provides a mapping device of the IP flow and the QoS flow of the network protocol flow, which comprises the following steps: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the above method when running the computer program.
Embodiments of the present invention further provide a storage medium, on which a computer program is stored, where the computer program implements the steps of the above method when executed by a processor.
In the mapping method, device and storage medium for IP flow and QoS flow provided in the embodiments of the present invention, a core network configures a preset mapping rule for IP flow and QoS flow to a base station and a terminal through a signaling during service establishment; and in the data transmission process, the core network, the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule. The embodiment of the invention does not need signaling to dynamically configure the QoS information of the IP flow and the QoS flow in the data receiving and transmitting process. The embodiment of the invention can realize the mapping from the IP flow to the QoS flow by using a small amount of signaling or even without using the signaling, thereby greatly reducing the signaling overhead.
Drawings
Fig. 1 is a first flowchart illustrating a mapping method of IP flow and QoS flow according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second mapping method for IP flow and QoS flow according to an embodiment of the present invention;
fig. 3 is a first structural diagram of a mapping apparatus for IP flow and QoS flow according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mapping apparatus for IP flow and QoS flow according to an embodiment of the present invention;
fig. 5 is a processing flow diagram of IP flow and QoS flow configured by static signaling in this embodiment;
FIG. 6 is a diagram illustrating the mapping of IP flow to Qos flow via QTI table in this embodiment;
fig. 7 is a schematic diagram of a signaling-free IP flow transceiving process according to this embodiment.
Detailed Description
The invention is described below with reference to the figures and examples.
An embodiment of the present invention provides a mapping method for IP flow and QoS flow, as shown in fig. 1, the method includes:
step 101: the core network configures preset mapping rules of IP flow and QoS flow to a base station and a terminal through signaling during service establishment;
step 102: and in the data transmission process, the core network, the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule.
The embodiment of the invention does not need to dynamically configure the QoS information of the IP flow and the QoS flow by signaling in the data receiving and transmitting process. The embodiment of the invention can realize the mapping from the IP flow to the QoS flow by using a small amount of signaling even without using the signaling, thereby greatly reducing the signaling overhead.
In one embodiment, the method further comprises:
when determining that the data transmission channel needs to be updated (for example, when the user applies for the data transmission channel and needs to be updated or the network side judges that the data transmission channel of the user needs to be updated), judging whether the mapping rules of the IP flow and the QoS flow need to be updated, and if so, updating the mapping rules.
In the embodiment of the present invention, the mapping of the IP flow and the QoS flow is controlled by the core network, the base station, and the terminal according to the mapping rule, respectively, including:
the core network determines that a downlink data packet needing to be sent exists on the IP flow;
judging whether the IP flow is the existing IP flow or not; if not, selecting the corresponding QoS flow for the IP flow according to the mapping rule; if yes, directly acquiring corresponding QoS flow;
and carrying the downlink data packet on the QoS flow for sending.
In the embodiment of the present invention, the mapping of the IP flow and the QoS flow is controlled by the core network, the base station, and the terminal according to the mapping rule, respectively, including:
receiving a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
In the embodiment of the invention, the preset mapping rules of the IP flow and the QoS flow are realized by a preconfigured QoS type index QTI table; wherein the content of the first and second substances,
the QTI table takes a QTI value as a unique index keyword, and the QTI value is as follows: 0,1, \ 8230;, N-1, N is a positive integer, N represents the number of the largest QTI values.
In the embodiment of the present invention, the preset mapping rule of the IP flow and the QoS flow includes:
when determining that one IP flow needs to be mapped to QoS flow, after each QoS parameter of the IP flow is subjected to preset calculation, obtaining each parameter in a QTI table corresponding to the IP flow and marking as each parameter in the QTI table
Figure BDA0001827792360000071
Figure BDA0001827792360000073
Respectively finding the closest approach from the QTI table
Figure BDA0001827792360000072
The QTI parameter with the highest priority is used as the QoS parameter of the QoS flow mapped by the IP flow, and the QTI is obtained according to the QTI parameter set;
and obtaining QFI (QFI) of QoS flow mapped by the IP flow based on the QTI.
In one embodiment, the configuring, by the core network, a preset mapping rule of an IP flow and a QoS flow to a base station and a terminal through signaling during service establishment includes:
receiving a Protocol Data Unit (PDU) session establishment request from an end to end;
establishing PDU session connection between the core network and the base station;
sending the PDU session establishment message to a base station, and forwarding the PDU session establishment message to a terminal through the base station; and the PDU session establishment message carries configuration information of the QTI table.
In the embodiment of the invention, the QTI table comprises 5G QoS index 5QI in the protocol and 5QI expanded and configured according to needs, the two 5 QIs are indexed by the QTI value, and the service types indexed by different QTI values are different.
In one embodiment, the method further comprises:
when the QTI table is determined to only have the service type corresponding to the standard 5QI, signaling configuration is used or not used;
and when the QTI table is determined to have the service types which are configured according to the requirement, signaling configuration is used.
In the embodiment of the invention, the service types of the adjacent QTI value indexes have continuity.
In an embodiment of the present invention, the method further includes:
and when the mapping from the IP Flow to the QoS Flow is determined, selecting the service type indicated by the only QTI from the QTI table as the service type for identifying the QoS requirement of the IP Flow according to the QoS requirement of the IP Flow.
An embodiment of the present invention further provides a mapping method for IP flow and QoS flow, and as shown in fig. 2, the method includes:
step 201: a terminal receives an IP flow and QoS flow mapping rule configured by a core network through a signaling when a service is established;
step 202: and in the data transmission process, the terminal, the core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule.
In the embodiment of the present invention, the mapping of the IP flow and the QoS flow is controlled by the terminal, the core network, and the base station based on the mapping rule, including:
receiving a downlink data packet forwarded by a base station, and acquiring QoS flow information and data from the downlink data packet;
judging whether a flexible mapping rule starting identifier of an uplink data packet carried in the data packet is activated or not; if so, applying the flexible mapping rule to uplink data transmission, and recording the flexible mapping rule; if not, the existing mapping rule is not changed.
In one embodiment, the controlling, by the terminal, mapping of the IP flow and the QoS flow based on the mapping rule with the core network and the base station includes:
and the terminal selects a corresponding QoS flow to bear the IP flow or the radio bearer RB to bear the QoS flow according to the mapping rule configured by the core network through the signaling and the flexible mapping rule carried in the downlink data packet.
In one embodiment, the controlling, by the terminal, mapping of the IP flow and the QoS flow based on the mapping rule with the core network and the base station includes:
the terminal receives a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
In one embodiment, the controlling, by the terminal, mapping of the IP flow and the QoS flow based on the mapping rule with the core network and the base station includes:
determining whether a core network is configured with mapping rules of IP flow and QoS flow; if not, initiating a PDU session establishment request;
if yes, determining whether the IP flow is newly established, and if so, mapping corresponding QoS flow for the IP flow; if the IP flow is the existing IP flow, directly acquiring the existing QoS flow;
and carrying the data packet of the IP flow onto the QoS flow to be sent.
An embodiment of the present invention further provides a mapping apparatus for IP flow and QoS flow, and as shown in fig. 3, the apparatus is applied to a core network, and includes:
a setting module 301, configured to configure a preset mapping rule of an IP flow and a QoS flow to a base station and a terminal through a signaling during service establishment;
and a first transmission module 302, configured to control, in a data transmission process, mapping of the IP flow and the QoS flow according to the mapping rule by the base station and the terminal, respectively.
In an embodiment, the setting module 301 is further configured to determine whether the mapping rules of the IP flow and the QoS flow need to be updated when determining that the data transmission channel needs to be updated, and if so, update the mapping rules.
In this embodiment of the present invention, the controlling, by the first transmission module 302, the mapping of the IP flow and the QoS flow by the base station and the terminal according to the mapping rule includes:
determining that a downlink data packet needing to be sent exists on the IP flow;
judging whether the IP flow is the existing IP flow or not; if not, selecting a corresponding QoS flow for the IP flow according to the mapping rule; if yes, directly acquiring corresponding QoS flow;
and carrying the downlink data packet on the QoS flow for sending.
In an embodiment, the first transmission module 302, the base station and the terminal respectively control mapping of IP flow and QoS flow according to the mapping rule, including:
receiving a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
In the embodiment of the invention, the preset mapping rules of the IP flow and the QoS flow are realized by a preconfigured QoS type index QTI table; wherein the content of the first and second substances,
the QTI table takes a QTI value as a unique index keyword, and the QTI value is as follows: 0,1, \ 8230;, N-1, N is a positive integer, N represents the number of the largest QTI values.
In the embodiment of the present invention, the preset mapping rule of the IP flow and the QoS flow includes:
when the setting module 301 determines that an IP flow needs to be mapped to QoS flow, after performing preset calculation on each QoS parameter of the IP flow, each parameter in the QTI table corresponding to the IP flow is obtained and marked as
Figure BDA0001827792360000103
Respectively finding the closest approach from the QTI table
Figure BDA0001827792360000102
The QTI parameter with the highest priority is used as the QoS parameter of the QoS flow mapped by the IP flow, and the QTI is obtained according to the QTI parameter set;
and obtaining QFI (QFI) of QoS flow mapped by the IP flow based on the QTI.
In one embodiment, the configuring module 301 configures a preset mapping rule of an IP flow and a QoS flow to a base station and a terminal through a signaling during service establishment, and includes:
receiving a Protocol Data Unit (PDU) session establishment request from an end to end;
establishing PDU session connection between the core network and the base station;
sending the PDU session establishment message to a base station, and forwarding the PDU session establishment message to a terminal through the base station; and the PDU session establishment message carries configuration information of the QTI table.
In the embodiment of the invention, the QTI table comprises 5G QoS index 5QI in the protocol and 5QI configured by expanding according to needs, the two 5 QIs are indexed by the QTI value, and the service types indexed by different QTI values are different.
In one embodiment, the setting module 301 is further configured to determine whether signaling configuration is used or not when only a service type corresponding to a standard 5QI is included in the QTI table;
and when the QTI table is determined to have the service types which are configured according to the requirement, signaling configuration is used.
In the embodiment of the invention, the service types of the adjacent QTI value indexes have continuity.
In an embodiment, the first transmission module 302 is further configured to select, according to the QoS requirement of the IP Flow, a service type indicated by one QTI from the QTI table as the service type that identifies the QoS requirement of the IP Flow when determining that the IP Flow maps to the QoS Flow.
An embodiment of the present invention further provides a mapping device for IP flow and QoS flow, as shown in fig. 4, where the mapping device is applied to a terminal, and includes:
a receiving module 401, configured to receive mapping rules of an IP flow and a QoS flow configured by a core network through a signaling when a service is established;
and a second transmission module 402, configured to control, in a data transmission process, mapping of the IP flow and the QoS flow based on the mapping rule by the core network and the base station.
In this embodiment of the present invention, the second transmission module 402, the core network and the base station control mapping of IP flow and QoS flow based on the mapping rule, including:
receiving a downlink data packet forwarded by a base station, and acquiring QoS flow information and data from the downlink data packet;
judging whether a flexible mapping rule starting identifier of an uplink data packet carried in the data packet is activated or not; if so, applying the flexible mapping rule to uplink data transmission, and recording the flexible mapping rule; if not, the existing mapping rule is not changed.
In this embodiment of the present invention, the second transmission module 402, the core network and the base station control mapping of IP flow and QoS flow based on the mapping rule, including:
and selecting the corresponding QoS flow to bear the IP flow or the radio bearer RB to bear the QoS flow according to the mapping rule configured by the core network through the signaling and the flexible mapping rule carried in the downlink data packet.
In this embodiment of the present invention, the second transmission module 402, the core network and the base station control mapping of the IP flow and the QoS flow based on the mapping rule, including:
the terminal receives a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to the IP information carried in the IP packet.
In this embodiment of the present invention, the second transmission module 402, the core network and the base station control mapping of IP flow and QoS flow based on the mapping rule, including:
determining whether a core network is configured with mapping rules of IP flow and QoS flow; if not, initiating a PDU session establishment request;
if yes, determining whether the IP flow is newly built, and if so, mapping a corresponding QoS flow for the IP flow; if the current IP flow is the current IP flow, directly acquiring the current QoS flow;
and carrying the data packet of the IP flow onto the QoS flow to be sent.
The embodiment of the invention also provides a mapping device of the IP flow and the QoS flow, which comprises the following steps: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to, when running the computer program, perform:
the preset mapping rules of IP flow and QoS flow are configured to the base station and the terminal through the signaling during service establishment;
and in the data transmission process, the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule.
The processor is further configured to, when executing the computer program, perform:
and when the data transmission channel is determined to need to be updated, judging whether the mapping rules of the IP flow and the QoS flow need to be updated or not, and if so, updating the mapping rules.
When the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule, the processor is further configured to execute, when running the computer program:
determining that a downlink data packet needing to be sent exists on the IP flow;
judging whether the IP flow is the existing IP flow or not; if not, selecting a corresponding QoS flow for the IP flow according to the mapping rule; if yes, directly acquiring corresponding QoS flow;
and carrying the downlink data packet on the QoS flow for transmission.
When the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule, the processor is further configured to execute, when running the computer program:
receiving a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
In the embodiment of the invention, the preset mapping rules of the IP flow and the QoS flow are realized by a preconfigured QoS type index QTI table; wherein, the first and the second end of the pipe are connected with each other,
the QTI table takes a QTI value as a unique index keyword, and the QTI value is as follows: 0,1, \8230, N-1, N is a positive integer, and N represents the number of the maximum QTI values.
In the embodiment of the present invention, the preset mapping rule of the IP flow and the QoS flow includes:
when determining that one IP flow needs to be mapped to QoS flow, after each QoS parameter of the IP flow is subjected to preset calculation, obtaining each parameter in a QTI table corresponding to the IP flow and marking as each parameter in the QTI table
Figure BDA0001827792360000131
Figure BDA0001827792360000133
Respectively finding the closest approach from the QTI table
Figure BDA0001827792360000132
The QTI parameter with the highest priority is used as the QoS parameter of the QoS flow mapped by the IP flow, and the QTI is obtained according to the QTI parameter set; />
And obtaining the QFI of the QoS flow mapped by the IP flow based on the QTI.
When the preset mapping rules of the IP flow and the QoS flow are configured to the base station and the terminal through the signaling during service establishment, the processor is further configured to execute, when the computer program is run:
receiving an end-to-end Protocol Data Unit (PDU) session establishment request;
establishing PDU session connection between the core network and the base station;
sending the PDU session establishment message to a base station, and forwarding the PDU session establishment message to a terminal through the base station; and the PDU session establishment message carries the configuration information of the QTI table.
In the embodiment of the invention, the QTI table comprises 5G QoS index 5QI in the protocol and 5QI configured by expanding according to needs, the two 5 QIs are indexed by the QTI value, and the service types indexed by different QTI values are different.
In the embodiment of the invention, the service types of the adjacent QTI value indexes have continuity.
The processor is further configured to, when executing the computer program, perform:
when the QTI table is determined to only have the service type corresponding to the standard 5QI, signaling configuration is used or not used;
and when the QTI table is determined to have the service types which are configured according to the requirement, signaling configuration is used.
The processor is further configured to, when executing the computer program, perform:
and when determining that one IP Flow is mapped to the QoS Flow, selecting the service type indicated by one QTI in the QTI table as the service type for identifying the QoS requirement of the IP Flow according to the QoS requirement of the IP Flow.
The embodiment of the invention also provides a mapping device of IP flow and QoS flow, which comprises: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to, when running the computer program, perform:
receiving mapping rules of IP flow and QoS flow configured by a core network through signaling when a service is established;
and in the data transmission process, the terminal, the core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule.
When the co-core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule, the processor is further configured to execute, when running the computer program:
receiving a downlink data packet forwarded by a base station, and acquiring QoS flow information and data from the downlink data packet;
judging whether a flexible mapping rule starting identifier of an uplink data packet carried in the data packet is activated or not; if so, applying the flexible mapping rule to uplink data transmission, and recording the flexible mapping rule; if not, the existing mapping rule is not changed.
When the co-core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule, the processor is further configured to execute, when running the computer program:
and selecting the corresponding QoS flow to bear the IP flow or the radio bearer RB to bear the QoS flow according to the mapping rule configured by the core network through the signaling and the flexible mapping rule carried in the downlink data packet.
When the co-core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule, the processor is further configured to execute, when running the computer program:
receiving a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
When the co-core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule, the processor is further configured to execute, when running the computer program:
determining whether a core network is configured with mapping rules of IP flow and QoS flow; if not, initiating a PDU session establishment request;
if yes, determining whether the IP flow is newly established, and if so, mapping corresponding QoS flow for the IP flow; if the IP flow is the existing IP flow, directly acquiring the existing QoS flow;
and carrying the data packet of the IP flow onto the QoS flow to be sent.
It should be noted that: the apparatus provided in the foregoing embodiment is only illustrated by the division of the program modules when mapping the IP flow and the QoS flow, and in practical applications, the processing allocation may be completed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the apparatus provided in the above embodiments and the corresponding method embodiments belong to the same concept, and the specific implementation process thereof is described in the method embodiments, which is not described herein again.
In an exemplary embodiment, the embodiment of the present invention further provides a computer-readable storage medium, which may be a Memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or a variety of devices, such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above memories.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs:
the preset mapping rules of IP flow and QoS flow are configured to the base station and the terminal through the signaling during service establishment;
and in the data transmission process, the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule.
And when the data transmission channel is determined to need updating, judging whether the mapping rules of the IP flow and the QoS flow need updating, and if so, updating the mapping rules.
When the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule, and the computer program is run by the processor, the computer program further executes:
determining that a downlink data packet needing to be sent exists on the IP flow;
judging whether the IP flow is an existing IP flow or not; if not, selecting the corresponding QoS flow for the IP flow according to the mapping rule; if yes, directly acquiring corresponding QoS flow;
and carrying the downlink data packet on the QoS flow for transmission.
When the mapping of the IP flow and the QoS flow is controlled by the base station and the terminal respectively according to the mapping rule, and the computer program is executed by a processor, the computer program further executes:
receiving a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
In the embodiment of the invention, the preset mapping rules of the IP flow and the QoS flow are realized through a preconfigured QoS type index QTI table; wherein the content of the first and second substances,
the QTI table takes a QTI value as a unique index keyword, and the QTI value is as follows: 0,1, \ 8230;, N-1, N is a positive integer, N represents the number of the largest QTI values.
In the embodiment of the present invention, the preset mapping rule of the IP flow and the QoS flow includes:
when determining that one IP flow needs to be mapped to QoS flow, after each QoS parameter of the IP flow is subjected to preset calculation, obtaining each parameter in a QTI table corresponding to the IP flow and marking as each parameter in the QTI table
Figure BDA0001827792360000161
Figure BDA0001827792360000163
Respectively finding the closest approach from the QTI table
Figure BDA0001827792360000162
The QTI parameter with the highest priority is used as the QoS parameter of the QoS flow mapped by the IP flow, and the QTI is obtained according to the QTI parameter set;
and obtaining the QFI of the QoS flow mapped by the IP flow based on the QTI.
When the preset mapping rules of the IP flow and the QoS flow are configured to the base station and the terminal through the signaling during the service establishment,
the computer program, when executed by the processor, further performs:
receiving an end-to-end Protocol Data Unit (PDU) session establishment request;
establishing PDU session connection between the core network and the base station;
sending the PDU session establishment message to a base station, and forwarding the PDU session establishment message to a terminal through the base station; and the PDU session establishment message carries the configuration information of the QTI table.
In the embodiment of the invention, the QTI table comprises 5G QoS index 5QI in the protocol and 5QI expanded and configured according to needs, the two 5 QIs are indexed by the QTI value, and the service types indexed by different QTI values are different.
In the embodiment of the invention, the service types of the adjacent QTI value indexes have continuity.
The computer program, when executed by the processor, further performs:
when the QTI table is determined to only have the service type corresponding to the standard 5QI, signaling configuration is used or not used;
and when the QTI table is determined to have the service types which are configured according to the requirement, signaling configuration is used.
The computer program, when executed by a processor, further performs:
and when the mapping from the IP Flow to the QoS Flow is determined, selecting the service type indicated by the only QTI from the QTI table as the service type for identifying the QoS requirement of the IP Flow according to the QoS requirement of the IP Flow.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs:
receiving mapping rules of IP flow and QoS flow configured by a core network through signaling when a service is established;
and in the data transmission process, the terminal, the core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule.
When the co-core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule, and the computer program is executed by the processor, the computer program further executes:
receiving a downlink data packet forwarded by a base station, and acquiring QoS flow information and data from the downlink data packet;
judging whether a flexible mapping rule starting identifier of an uplink data packet carried in the data packet is activated or not; if so, applying the flexible mapping rule to uplink data transmission, and recording the flexible mapping rule; if not, the existing mapping rule is not changed.
When the co-core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule, and the computer program is executed by the processor, the computer program further executes:
and selecting the corresponding QoS flow to bear the IP flow or the radio bearer RB to bear the QoS flow according to the mapping rule configured by the core network through the signaling and the flexible mapping rule carried in the downlink data packet.
When the co-core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule, and the computer program is executed by the processor, the computer program further executes:
receiving a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
When the co-core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule, and the computer program is executed by the processor, the computer program further executes:
determining whether a core network is configured with mapping rules of IP flow and QoS flow; if not, initiating a PDU session establishment request;
if yes, determining whether the IP flow is newly built, and if so, mapping a corresponding QoS flow for the IP flow; if the IP flow is the existing IP flow, directly acquiring the existing QoS flow;
and carrying the data packet of the IP flow onto the QoS flow to be sent.
The present invention is described in detail below with reference to scene embodiments.
The scheme establishes a detailed and comprehensive QoS Type index table in the 23.501 protocol, wherein the QTI (QoS Type Indicator: qoS Type index) table is the general field of QoS information between the IP flow and the QoS flow, and then realizes the configuration without signaling.
The embodiment provides the mapping scheme of IP flow and QoS flow configured by static signaling:
when a user applies for service establishment, a core network configures a base station and a terminal. And then in the data transmission process, the core network, the base station and the terminal respectively control the flexible mapping of the IP flow and the QoS flow according to the configured unified rule.
Similarly, when the user applies for the data transmission channel and needs to be updated or the network side judges that the data transmission channel of the user needs to be updated, if the mapping rules of the IP flow and the QoS flow need to be updated, the mapping rules can be continuously updated.
Fig. 5 shows a process flow description of IP flow and QoS flow of static signaling configuration, where the process flow is divided into two parts, signaling processing and data processing, as shown in fig. 5:
and (3) signaling processing:
1. the network side receives the service establishment application sent by the terminal side (user) and triggers the establishment process of the core network to the user data transmission channel.
2. The core network generates a configuration signaling, and configures the mapping rules of the IP flow and the QoS flow to the base station and the terminal. The mapping rule of IP flow and QoS flow is described in the form of QTI table, and the configuration of the rule is called as a configuration QTI table.
3. After receiving the configuration of the core network, the NgAp signaling protocol entity (NgAp) at the network side generates the bearer signaling of the Ng interface, completes the establishment or modification of the Ng interface bearer, and records the mapping rules and mapping relationship of the IP flow and the interface bearer.
4. After receiving the configuration of the core network, the RRC signaling protocol entity at the network side generates the mapping rules and mapping relationships of QoS flow and RB (radio bearer) of the base station.
5. After receiving the signaling configuration of the network side, the NAS and AS signaling processing function entity at the terminal side generates the IP flow and the QoS flow at the terminal side, and the mapping rules and the mapping relation of the QoS flow and the RB.
Data processing:
downlink data processing:
1. and a downlink data packet needing to be sent exists on the IP flow of the core network side.
2. The core network judges whether the IP flow is the existing IP flow.
And 2.1, if the IP flow is not the existing IP flow, namely the IP flow is a new IP flow, selecting a proper QoS flow for the IP flow by the core network according to the QTI table, and setting the QFI value of the QoS flow as the QTI value.
3. And carrying the data packet of the IP flow onto the QoS flow and sending the data packet to the Ng interface.
4. And transmitting the data packet of the QoS flow on the Ng interface through an interface bearer.
5. And the base station receives the data packet from the Ng interface to obtain the QFI and the data packet. And the data is sent to the terminal through the RB (Radio bearer) through an air interface.
6. And the terminal receives the data packet from the RB, acquires QoS flow information and data, and judges whether the data packet carries a flexible mapping rule (reflective) starting identifier of the uplink data packet or not.
And 6.1, if the starting identifier value is activated flexible mapping, applying the rule to uplink data transmission and recording the mapping rule.
6.2, if the starting identifier value is that the flexible mapping is not required to be activated, the existing mapping rule is not changed.
And (3) uplink data processing:
1. and the NAS layer at the terminal side selects proper QoS flow to bear the IP flow according to the mapping rule configured by the core network signaling at the network side and the mapping rule of the core network carried by the downlink data.
2. And the AS layer at the terminal side selects a proper RB to bear the QoS flow according to the mapping rule configured by the RRC signaling at the network side and the mapping rule of the base station carried by the downlink data.
As for the mapping rules in the uplink data processing, the priority of the "mapping rule configured by signaling" is lower than the "mapping rule carried by downlink data (i.e. the flexible mapping rule)", and when the "mapping rule carried by downlink data" exists, the terminal side preferentially uses the rule; when the rule does not exist, the mapping rule configured by signaling is reused.
And the data packet of the IP flow is carried by the QoS flow and the RB and then reaches a base station and a core network at the network side.
In the embodiment of the present invention, the configuration of the mapping rule may introduce a Table (Table) using the QTI value as an index into the 23.501 protocol, as shown in Table 1:
a) The table takes a QTI value as a unique index key field, and the QTI value is as follows: n-1, wherein N =1,2,3, 4. N represents the number of maximum QTI values. Defined by example Table5.7.4-1, QTI is the first column of the new table.
Figure BDA0001827792360000201
TABLE 1 QTI Table
B) In addition to the standard 5QI (Standardized 5 QI) already given in the protocol, the table also includes other customized 5QI, and both of the two are uniformly indexed by QTI. The form supports the user to expand according to the needs of the user. The number N of QTI values can be defined by the user, and then the corresponding service types can be expanded according to the requirements. The length of the QTI value is not limited to the 6-bit or 7-bit length defined in the current protocol at all, and the user may define a number of bits of 8 bits, 16 bits, or less or more.
C) The characteristic value of the QoS type indexed by each QTI in the table can be flexibly expanded. Besides the classic GBR/NGBR, delay Budget, etc., the method can also extend service characteristic value identifiers such as eMBB/mtc/URLLC, related characteristic values defined by sliding, characteristic values for air interface frequency bands or carriers, etc.
D) One type of service indexed by each QTI is unique in the table because QTI values are unique. The service types of different QTI indexes are different.
E) Alternatively, the service types indexed by adjacent QTI values may have a certain continuity, that is, service types with similar types are identified by a group of continuous QTI values as much as possible, for example, all service types of GBR use a continuous QTI value, and NGBR service uses another continuous QTI value.
In this embodiment, the configuration method of the QTI table is as follows:
1. if the QTI table has only standard 5QI defined service types, the signaling configuration can be used or not. If signaling configuration is not used, the functional module needing the information can be directly used by reference according to the standard 5QI defined in the protocol text.
2. If the self-defined service type exists in the QTI table, signaling configuration is needed.
After receiving PDU Session Establishment Request sent by the terminal side, the network side writes the service type information in the QTI table into the PDU Session Establishment Accept signaling and configures to the terminal. Meanwhile, the service type information is configured to the base station through a signaling PDU SESSION RESOURCE SETUP REQUEST between the wireless access network and the core network.
If the QTI table needs to be modified, the modified content can be configured through the signaling.
Table 2 below is a configuration of 5QI as given in the 3gpp TS 38.413v0.7.0 (2018-03) protocol.
9.3.1.12 QoS Flow Level QoS Parameters
Editor’s Note:Further details FFS.
This IE defines the QoS parameters to be applied to a QoS flow.
Figure BDA0001827792360000211
/>
Figure BDA0001827792360000221
TABLE 2
For the configuration mode of the QTI, the following mode can be adopted for configuration:
Figure BDA0001827792360000222
Figure BDA0001827792360000231
TABLE 3
Wherein, the QTI is a key index field of the configuration parameter table as an index identifier of the QoS parameter. The Presence field of QTI is of type "O" (Optional) because if all of the QTI tables are standard 5QI, no configuration is required. The type of QTI is the INTEGER type, with a maximum value of n, n =1,2,3.
As defined with reference to the 38.413 protocol of the above version, for a standard 5QI, it is still referred to as Non-Dynamic 5QI, and a Non-standard QoS type is referred to as Dynamic QTI. Both Presence field types are "O", an optional type. When the signaling is configured, only one of the two types of signaling can be configured, and the signaling can be configured at the same time. When both are not configured at the same time, the QTI field is directly set to be invalid.
The specific content of Non-Dynamic 5QI and Dynamic QTI is the parameters of each column in the QTI table. And the value of each parameter is selected and configured according to the requirement of each service type defined by the QTI table.
In this embodiment, an IP flow and QoS flow mapping mechanism using the QTI table as an interleaver is established as follows:
when any IP Flow is mapped to the QoS Flow, the service type indicated by only one QTI is selected from the QTI table as the service type for identifying the QoS requirement of the IP Flow, namely the QFI of the QoS Flow according to the QoS requirement of the IP Flow.
The mapping of IP flow # m to QoS flow # l procedure is as follows:
QTI l (q QTI,QoS0 ,q QTI,QoS1 ,...,q QTI,QoSn )=f IP_flow_m (q IP,QoS0 ,q IP,QoS1, ...,q IP,QoSn ),n=1,2,3,...(1),
the final QoS flow # l ID value is:
QFI l =QTI l ........(2);
wherein:
QTI is the QTI index value corresponding to the IP flow after mapping;
QTI(q QTI,QoS0 ,q QTI ,QoS1,...,q QTI,QoSn ) Mapping in QTI table representing QTI indexParameter (d) of
q QTI,QoSi I = 1.. And n denotes a QoS parameter of QoS flow # m, i.e., a QoS parameter component in the QTI table;
q IP,QoSi i = 1.. And n denotes a QoS parameter of IP flow # m;
f IP_flow_m (q n IP,QoS0):
Figure BDA0001827792360000243
Figure BDA0001827792360000244
Figure BDA0001827792360000245
in the formula (3), k 0 ,k 1 ,...,k n Coefficients mapped separately for each QoS parameter. For the parameters of the rate class and the priority class, the value of k is: k is more than or equal to 1; for the parameters of the time class, the value of k is: k is less than or equal to 1.
When an IP flow is required to be mapped to the QoS flow, each QoS parameter of the IP flow is calculated through a formula (1), and each parameter of the IP flow is subjected to a function (3) to obtain each parameter in a QTI (quantitative trait locus) table corresponding to the QoS parameter and is marked as
Figure BDA0001827792360000241
Respectively finding the closest approach from the QTI table
Figure BDA0001827792360000242
QTI parameter Max (q) with highest priority QTI,QoS ) And obtaining the QTI according to the parameter set as the QoS parameter of the QoS flow mapped by the IP flow. The identification QFI (ID of QoS flow) of QoS flow mapped by the IP flow is obtained according to equation (2).
As shown in fig. 6, one IP Flow is mapped to one QoS Flow through the QTI Table, and after QTI Table Interleaver interleaving, the ID of the QoS Flow mapped by each IP Flow, that is, the value of QTI, is obtained.
The sending and receiving processes of the QFI at the sending end and the receiving end are given below.
After the QFI of the QoS flow corresponding to each IP flow is obtained, the sending end can send the IP flow data packet on the QoS flow identified by the QFI.
When sending the IP flow data packet, the network side does not need to send the signaling established by the QoS flow to the terminal side, and only needs to bear the IP flow data packet to the corresponding QoS flow to directly send the IP flow data packet.
When the sending end sends, the IP flow entity loads the data packet on the QoS flow identified by the QFI and sends the data packet to the receiving end, namely, mapping from the IP flow to the QoS flow is completed.
After receiving a data packet from a QoS flow, the receiving end may record the ID of the QoS flow, i.e., QFI, or may not record the QFI. And directly submitting the data packet to an IP layer, wherein the IP layer obtains an IP flow identifier according to the IP address carried in the data packet, and the demapping (demapping) from the QoS flow to the IP flow is completed.
Fig. 7 shows a flow of end-to-end transmission of IP flow through QoS flow, as shown in fig. 7, including:
1. the Request information for establishing the end-to-end PDU Session is carried by a protocol data unit Session Establishment Request (PDU Session Establishment Request).
Step 1, carrying NAS (Non Access Stratum) information of PDU Session establishment Request in RRC Connection configuration Request or RRC Connection Setup Request.
And 2, the base station (gNB) receives the NAS PDU and then sends the NAS PDU to the CN.
2. After receiving the PDU Session establishment request, the core network firstly establishes the PDU Session connection between the core network and the base station.
And step 3, carrying configuration information of the QTI table in the PDU SESSION RESOURCE SETUP REQUEST. That is, in the PDU Session, the QoS flow identified by any one QTI in the QTI table is a legally available (available) transport bearer.
And 4, when the base station is successfully established, replying a confirmation message PDU SESSION RESOURCE SETUP RESPONSE to the core network to identify that the base station is correctly established. If the failure occurs, the base station will also reply an indication of the failure to the core network.
3. And carrying configuration information for establishing the end-to-end PDU Session through the PDU Session Establishment exception Accept.
And step 5, the core network sends the information carrying the PDU Session establishment to the base station. Step 5 may be combined with step 3, that is, when a PDU Session request and response interaction is established between the core network and the base station, PDU Session establishment information sent to the terminal is sent to the base station together. When the base station completes the low-layer link, the information established by the PDU Session is directly sent to the terminal. The NAS PDU carries configuration information of a QTI table. That is, in the PDU Session, the QoS flow identified by any QTI in the QTI table is a legally available (available) transport bearer.
And step 6, carrying the message of NAS (Non Access Stratum) established by PDU Session in RRC Connection Reconfiguration Complete or RRC Connection Setup Complete to send to the terminal side.
Through the above 6 steps, the end-to-end PDU Session is established. The established PDU Session contains all QoS flows supported by the PDU Session, and QFI of each QoS flow corresponds to QTI values in the QTI table one by one. Each QoS flow can be found directly through the QTI table.
For Downlink (Downlink) transmission:
1. a sending end: when the core network side needs to send a data packet of an IP flow of a user, if the IP flow is newly established, mapping proper QoS flow for the IP flow; if the IP flow is the existing IP flow, directly taking the QoS flow; data packets are sent to the terminal side over the QoS flow.
2. Receiving end: the receiving end receives a data packet from a QoS flow, obtains an IP packet of the data packet, and then directly delivers the IP packet to an upper layer, and the upper layer obtains the identification of the IP flow according to the IP information carried in the IP packet.
For Uplink (Uplink) transmission:
1. a sending end: when a terminal side needs to send a data packet of IP flow, the terminal firstly refers to whether a network side is configured with a QTI table or not, and if not, the terminal side initiates a PDU Session establishment request; if the IP flow is configured, judging whether the IP flow is newly established, and if the IP flow is newly established, mapping proper QoS flow for the IP flow; if the IP flow is the existing IP flow, directly taking the QoS flow; and carrying the data packet on the QoS flow and sending the data packet to the network side.
2. Receiving end: the receiving end receives a data packet from a QoS flow, obtains an IP packet thereof, and then directly submits the IP packet to an upper layer, and the upper layer obtains an identification of the IP flow according to IP information carried in the IP packet.
No matter on the network side or the terminal side, the receiving end and the transmitting end use the QTI table as the basis for mapping the IP flow to the QoS flow. The QTI table is already configured from the network side to the terminal side when the PDU Session is established. When an IP flow data packet is sent, the IP flow data packet is directly sent on the QoS flow marked by the QFI, and a receiving end directly receives the IP flow data packet.
The core network of the embodiment of the invention configures the preset mapping rules of the IP flow and the QoS flow to the base station and the terminal through the signaling during the service establishment, so that the core network, the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rules in the data transmission process, namely, the signaling is not required to dynamically configure the QoS information of the IP flow and the QoS flow in the data receiving and transmitting process. The embodiment of the invention can realize the mapping from the IP flow to the QoS flow by using a small amount of signaling even without using the signaling, thereby greatly reducing the signaling overhead.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (18)

1. A mapping method of IP flow and QoS flow of network protocol flow is characterized in that the method comprises the following steps:
the core network configures preset mapping rules of IP flow and QoS flow to a base station and a terminal through signaling during service establishment; the mapping rule of the IP flow and the QoS flow is realized through a preconfigured QoS type index QTI table; the QTI table takes a QTI value as a unique index keyword, and the QTI value is as follows: 0,1, \8230, N-1, N is a positive integer, N represents the number of the maximum QTI values;
the mapping rule of the IP flow and the QoS flow comprises the following steps:
when determining that one IP flow needs to be mapped to QoS flow, after each QoS parameter of the IP flow is subjected to preset calculation, obtaining each parameter in a QTI table corresponding to the IP flow and marking as each parameter in the QTI table
Figure DEST_PATH_IMAGE001
N =1,2,3, \8230, n represents the number of columns in the QTI table;
respectively finding out the nearest QTI table
Figure 347439DEST_PATH_IMAGE001
The QTI parameter with the highest priority is used as the QoS parameter of the QoS flow mapped by the IP flow, and the QTI is obtained according to the QTI parameter set; obtaining the QFI (QFI) of the QoS flow mapped by the IP flow based on the QTI;
and in the data transmission process, the core network, the base station and the terminal respectively control the mapping of the IP flow and the QoS flow according to the mapping rule.
2. The method of claim 1, further comprising:
and when the data transmission channel is determined to need updating, judging whether the mapping rules of the IP flow and the QoS flow need updating, and if so, updating the mapping rules.
3. The method of claim 1, wherein the core network, the base station and the terminal control mapping of IP flow and QoS flow according to the mapping rule, respectively, comprising:
the core network determines that a downlink data packet needing to be sent exists on the IP flow;
judging whether the IP flow is the existing IP flow or not; if not, selecting the corresponding QoS flow for the IP flow according to the mapping rule; if yes, directly acquiring corresponding QoS flow;
and carrying the downlink data packet on the QoS flow for sending.
4. The method as claimed in claim 1, wherein the mapping of the IP flow and the QoS flow is controlled by the core network, the base station and the terminal according to the mapping rules, respectively, comprising:
receiving a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
5. The method of claim 1, wherein the core network configures preset mapping rules of IP flow and QoS flow to the base station and the terminal through signaling during service establishment, and the method comprises:
receiving an end-to-end Protocol Data Unit (PDU) session establishment request;
establishing PDU session connection between the core network and the base station;
sending the PDU session establishment message to a base station, and forwarding the PDU session establishment message to a terminal through the base station; and the PDU session establishment message carries configuration information of the QTI table.
6. The method of claim 1,
the QTI table comprises 5G QoS index 5QI in the protocol standard and also comprises 5QI which is configured according to the requirement of expansion, the two 5 QIs are indexed by the QTI value, and the service types indexed by different QTI values are different.
7. The method of claim 1 or 6, further comprising:
when the QTI table is determined to only have the service type corresponding to the standard 5QI, signaling configuration is used or not used;
and when the QTI table is determined to have the service type which needs to be expanded and configured, signaling configuration is used.
8. The method of claim 1, wherein the type of service of adjacent QTI value indexes has continuity.
9. The method of claim 1, further comprising:
and when determining that one IP Flow is mapped to the QoS Flow, selecting the service type indicated by one QTI in the QTI table as the service type for identifying the QoS requirement of the IP Flow according to the QoS requirement of the IP Flow.
10. A mapping method of IP flow and QoS flow of network protocol flow is characterized in that the method comprises the following steps:
a terminal receives an IP flow and QoS flow mapping rule configured by a core network through a signaling when a service is established; the mapping rule of the IP flow and the QoS flow is realized through a preconfigured QoS type index QTI table; the QTI table takes a QTI value as a unique index keyword, and the QTI value is as follows: 0,1, \8230, N-1, N is a positive integer, N represents the number of the maximum QTI values;
the mapping rule of the IP flow and the QoS flow comprises the following steps:
when determining that one IP flow needs to be mapped to QoS flow, after each QoS parameter of the IP flow is subjected to preset calculation, obtaining each parameter in a QTI table corresponding to the IP flow and marking as each parameter in the QTI table
Figure 467842DEST_PATH_IMAGE001
N =1,2,3, \8230, n represents the number of columns in the QTI table;
respectively finding out the nearest QTI table
Figure 74010DEST_PATH_IMAGE001
The QTI parameter with the highest priority as the QoS flow of the IP flow mappingQoS parameter, and get QTI according to the QTI parameter set; obtaining the QFI (QFI) of the QoS flow mapped by the IP flow based on the QTI;
and in the data transmission process, the terminal, the core network and the base station control the mapping of the IP flow and the QoS flow based on the mapping rule.
11. The method of claim 10, wherein the terminal controls mapping of IP flow and QoS flow based on the mapping rule with the core network and the base station, comprising:
receiving a downlink data packet forwarded by a base station, and acquiring QoS flow information and data from the downlink data packet;
judging whether a flexible mapping rule starting identifier of an uplink data packet carried in the data packet is activated or not; if so, applying the flexible mapping rule to uplink data transmission, and recording the flexible mapping rule; if not, the existing mapping rule is not changed.
12. The method of claim 11, wherein the terminal controls mapping of IP flow and QoS flow based on the mapping rule with the core network and the base station, comprising:
and the terminal selects the corresponding IP flow or the QoS flow borne by the radio bearer RB according to the mapping rule configured by the core network through the signaling and the flexible mapping rule carried in the downlink data packet.
13. The method of claim 10, wherein the terminal controls mapping of IP flow and QoS flow based on the mapping rule with the core network and the base station, comprising:
the terminal receives a data packet from a QoS flow;
and acquiring a corresponding IP packet from the data packet, and acquiring an IP flow identifier according to IP information carried in the IP packet.
14. The method of claim 10, wherein the terminal controls mapping of IP flow and QoS flow based on the mapping rule with the core network and the base station, comprising:
determining whether a core network is configured with mapping rules of IP flow and QoS flow; if not, initiating a PDU session establishment request;
if yes, determining whether the IP flow is newly built, and if so, mapping a corresponding QoS flow for the IP flow; if the current IP flow is the current IP flow, directly acquiring the current QoS flow;
and carrying the data packet of the IP flow onto the QoS flow to be sent.
15. A mapping device of IP flow and QoS flow of network protocol flow is characterized in that the device is applied to a core network and comprises:
the device comprises a setting module, a base station and a terminal, wherein the setting module is used for configuring the preset mapping rules of IP flow and QoS flow to the base station and the terminal through the signaling during service establishment; the mapping rules of the IP flow and the QoS flow are realized through a pre-configured QoS type index QTI table; the QTI table takes a QTI value as a unique index keyword, and the QTI value is as follows: 0,1, \8230, N-1, N is a positive integer, N represents the number of the maximum QTI values;
the mapping rule of the IP flow and the QoS flow comprises the following steps:
when determining that one IP flow needs to be mapped to QoS flow, after each QoS parameter of the IP flow is subjected to preset calculation, obtaining each parameter in a QTI table corresponding to the IP flow and marking as each parameter in the QTI table
Figure 797116DEST_PATH_IMAGE001
N =1,2,3, \ 8230, n denotes the number of columns in the QTI table;
respectively finding out the nearest QTI table
Figure 80329DEST_PATH_IMAGE001
The QTI parameter with the highest priority is used as the QoS parameter of the QoS flow mapped by the IP flow, and the QTI is obtained according to the QTI parameter set; obtaining QFI (QFI) of QoS flow mapped by the IP flow based on the QTI;
and the first transmission module is used for controlling the mapping of the IP flow and the QoS flow by the base station and the terminal respectively according to the mapping rule in the data transmission process.
16. A mapping device of IP flow and QoS flow of network protocol flow is characterized in that the device is applied to a terminal and comprises:
the receiving module is used for receiving the mapping rules of IP flow and QoS flow configured by the core network through the signaling when the service is established; the mapping rules of the IP flow and the QoS flow are realized through a pre-configured QoS type index QTI table; the QTI table takes a QTI value as a unique index keyword, and the QTI value is as follows: 0,1, \8230, N-1, N is a positive integer, N represents the number of the maximum QTI values;
the mapping rule of the IP flow and the QoS flow comprises the following steps:
when determining that one IP flow needs to be mapped to the QoS flow, after each QoS parameter of the IP flow is subjected to preset calculation, obtaining each parameter in a QTI table corresponding to the IP flow and marking as each parameter
Figure 965109DEST_PATH_IMAGE001
N =1,2,3, \8230, n represents the number of columns in the QTI table;
respectively finding out the closest QTI table
Figure 560038DEST_PATH_IMAGE001
The QTI parameter with the highest priority is used as the QoS parameter of the QoS flow mapped by the IP flow, and the QTI is obtained according to the QTI parameter set; obtaining QFI (QFI) of QoS flow mapped by the IP flow based on the QTI;
and the second transmission module is used for controlling the mapping of the IP flow and the QoS flow based on the mapping rule by the core network and the base station in the data transmission process.
17. An apparatus for mapping IP flow and QoS flow of a network protocol, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1-9 or to perform the steps of the method of any one of claims 10-14 when running the computer program.
18. A storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, is adapted to carry out the steps of the method of any one of claims 1 to 9 or to carry out the steps of the method of any one of claims 10 to 14.
CN201811192220.3A 2018-10-12 2018-10-12 Mapping method, device and storage medium of IP flow and QoS flow Active CN111050363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811192220.3A CN111050363B (en) 2018-10-12 2018-10-12 Mapping method, device and storage medium of IP flow and QoS flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811192220.3A CN111050363B (en) 2018-10-12 2018-10-12 Mapping method, device and storage medium of IP flow and QoS flow

Publications (2)

Publication Number Publication Date
CN111050363A CN111050363A (en) 2020-04-21
CN111050363B true CN111050363B (en) 2023-03-28

Family

ID=70230076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811192220.3A Active CN111050363B (en) 2018-10-12 2018-10-12 Mapping method, device and storage medium of IP flow and QoS flow

Country Status (1)

Country Link
CN (1) CN111050363B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125950A (en) * 2020-08-11 2022-03-01 ***通信有限公司研究院 Data transmission method and equipment
CN117478512A (en) * 2022-07-19 2024-01-30 中兴通讯股份有限公司 Service guarantee method, system, storage medium and electronic device
CN115633358B (en) * 2022-12-07 2023-03-21 深圳国人无线通信有限公司 Method and system for improving service safety capability of 5G terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107027151B (en) * 2017-03-28 2020-06-02 北京小米移动软件有限公司 Method and device for ensuring service quality

Also Published As

Publication number Publication date
CN111050363A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US11159976B2 (en) Handling of mapped EPS bearer context for invalid QoS flow description
WO2018201506A1 (en) Communication method and related device
WO2018059268A1 (en) Method and device for creating network slice
CN102404861B (en) Method for controlling user to access network and portable WIFI (Wireless Fidelity) hotspot equipment
KR20190028553A (en) Method and apparatus for managing data communication in a wireless communication network
KR20180134685A (en) Method for establishing protocol data unit in communication system
JP2020504559A (en) PDU session management
WO2018232570A1 (en) Registration and session establishment methods, terminal, and amf entity
WO2019042184A1 (en) Data transmission method, device and system
CN111050363B (en) Mapping method, device and storage medium of IP flow and QoS flow
WO2014101887A1 (en) Method and apparatus for performing communications in wireless software defined network
WO2021243837A1 (en) Application data routing method based on ursp rule, and user equipment
WO2016191963A1 (en) Method for bearer establishment, user equipment and base station
JP7100135B6 (en) Data transmission control method and related products
WO2021031065A1 (en) A method of registration with access and mobility management function re-allocation
WO2017177753A1 (en) Flow-based bearer management method, and data transmission method and device
CN111801961A (en) Method and device for determining SSC mode
TWI669019B (en) Device and method of handling an interworking procedure
US10187922B2 (en) Wireless communication method and device
CN109314893B (en) Switching method and device
CN114173368A (en) Method for monitoring QoS
CN110769461B (en) QoS parameter configuration method, qoS parameter configuration device and computer readable storage medium
US10476914B2 (en) Device and method for performing an internet protocol multimedia subsystem service
CN110677925B (en) Method for processing radio bearer and terminal equipment
WO2018145292A1 (en) Communication method, device, and system

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