CN111465052B - Method, device, equipment and medium for generating core network mapping and mapping table - Google Patents

Method, device, equipment and medium for generating core network mapping and mapping table Download PDF

Info

Publication number
CN111465052B
CN111465052B CN201910049940.2A CN201910049940A CN111465052B CN 111465052 B CN111465052 B CN 111465052B CN 201910049940 A CN201910049940 A CN 201910049940A CN 111465052 B CN111465052 B CN 111465052B
Authority
CN
China
Prior art keywords
value
mapping
qci
parameter
rab
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
CN201910049940.2A
Other languages
Chinese (zh)
Other versions
CN111465052A (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 CN201910049940.2A priority Critical patent/CN111465052B/en
Publication of CN111465052A publication Critical patent/CN111465052A/en
Application granted granted Critical
Publication of CN111465052B publication Critical patent/CN111465052B/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/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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • 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]

Abstract

The invention discloses a method, a device, electronic equipment and a storage medium for generating mapping and mapping tables of a 5G core network and a 4G core network, wherein the method comprises the following steps: determining whether a value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists or not according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in a 5QI table; if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter; and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value. In the embodiment of the invention, the target QCI value corresponding to the 5QI value is determined according to the QCI value corresponding to the matched value of the second parameter, so that the mapping table is generated, and the interoperation of the 4G core network device and the 5G core network device can be realized based on the mapping table.

Description

Method, device, equipment and medium for generating core network mapping and mapping table
Technical Field
The present invention relates to the field of wireless technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for mapping a 5G core network and a 4G core network and generating a mapping table.
Background
In the 5G system, a relationship definition table of a 5G QoS indicator (5G QoS Indicator,5QI) and QoS configuration (QoS profile) is specified. In a 4G system, there is no quality of service flow (Quality of service flow, qoS flow) in the S1 interface, and only the enhanced radio access bearer (enhanced radio access bearer, E-RAB) is present. Interoperation of the 4G core network device and the 5G core network device cannot be achieved.
Disclosure of Invention
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for generating mapping and mapping tables of a 5G core network and a 4G core network, which are used for solving the problem that the 4G and the 5G cannot realize interoperation in the prior art.
The embodiment of the invention provides a mapping table generation method, which comprises the following steps:
determining whether a value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists or not according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in a 5QI table;
if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter;
and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value.
Further, the first parameter includes: resource type, priority, packet delay budget, and packet error rate.
Further, when the first parameter includes: when the resource type, the priority, the packet delay budget and the packet error rate are determined, the determining whether the value of the second parameter matched with the value of the first parameter corresponding to the 5QI value includes:
judging whether the priority value and the resource type value corresponding to the 5QI value exist or not, and corresponding to the same candidate QCI value;
if not, determining that there is no value of a second parameter matching the value of the first parameter corresponding to the 5QI value;
if so, judging whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
Further, if there are at least two QCI values for which the second parameter matches the first parameter, the determining the target QCI value corresponding to the 5QI value includes:
And selecting one of the at least two QCI values as a target QCI value corresponding to the 5QI value.
The embodiment of the invention provides a mapping method of a 5G core network and a 4G core network, which comprises the following steps:
determining a value to be mapped corresponding to the QoS flow or the E-RAB according to the received QoS flow or the E-RAB, wherein the value to be mapped is a 5QI value or a QCI value;
determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table;
and determining E-RAB or QoS flow corresponding to the mapping value, and mapping the QoS flow or E-RAB to the E-RAB or QoS flow.
Further, if the first core network device is a 4G core network device, before determining a mapping value having a mapping relationship with the value to be mapped according to the value to be mapped and the stored target mapping table, the method further includes:
receiving a first mapping table sent by 5G core network equipment, wherein the first mapping table comprises a mapping relation between a value of QCI and a value of 5 QI;
and storing the first mapping table as a target mapping table.
Further, the method further comprises:
receiving mapped E-RAB or QoS flow sent by second core network equipment;
According to the received mapped QoS flow or E-RAB sent by the second core network equipment;
and judging whether the mapping relation between the QoS flow corresponding to the value to be mapped of the first core network equipment and the second core network equipment is consistent with the E-RAB.
Further, if it is determined that the mapping relationship between the QoS flows corresponding to the values to be mapped of the first core network device and the second core network device is inconsistent with the E-RAB, the method further includes:
and determining the priority of the first core network equipment and the second core network equipment, and synchronizing according to the mapping relation between the QoS flow and the E-RAB corresponding to the value to be mapped and stored by the core network equipment with the highest priority.
Further, if the mapping value is a 5QI value, and at least one mapping value having a mapping relationship with the value to be mapped is determined, the mapping the QoS flow or E-RAB to the E-RAB or QoS flow includes:
selecting a target mapping value from the at least one mapping value, and mapping the E-RAB to QoS flow corresponding to the target mapping value; or (b)
Mapping the E-RAB to a preset target QoS flow corresponding to the at least one mapping value.
Further, if the mapping value is a QCI value, before the QoS flow corresponding to the mapping value is determined, the method further includes:
and judging whether the QCI value is effective, and if so, carrying out the subsequent steps.
The embodiment of the invention provides a mapping table generating device, which comprises:
a first determining module, configured to determine whether there is a value of a second parameter that matches a value of a first parameter corresponding to a 5QI value according to a value of the first parameter corresponding to the 5QI value in the 5QI table and a value of a second parameter corresponding to each QCI value;
a second determining module, configured to determine, if there is a value of a second parameter that matches a value of a first parameter corresponding to the 5QI value, a target QCI value corresponding to the 5QI value according to a QCI value corresponding to the matched value of the second parameter;
and a third determining module, configured to determine, if there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value, that the target QCI value corresponding to the 5QI value is an invalid value.
The embodiment of the invention provides a mapping device of a 5G core network and a 4G core network, which comprises the following components:
a first determining module, configured to determine a value to be mapped corresponding to a QoS flow or an E-RAB according to the received QoS flow or the E-RAB, where the value to be mapped is a 5QI value or a QCI value;
The second determining module is used for determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table;
and the mapping module is used for determining the E-RAB or the QoS flow corresponding to the mapping value and mapping the QoS flow or the E-RAB to the E-RAB or the QoS flow.
The embodiment of the invention provides electronic equipment, which comprises a memory and a processor;
the processor is configured to read the program in the memory, and perform the following procedures:
determining whether a value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists or not according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in a 5QI table;
if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter;
and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value.
Further, the processor is further configured to, when the first parameter includes: judging whether the priority value corresponding to the 5QI value and the resource type value correspond to the same candidate QCI value or not when the resource type, the priority, the packet delay budget and the packet error rate exist; if not, determining that there is no value of a second parameter matching the value of the first parameter corresponding to the 5QI value; if so, judging whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
Further, the processor is further configured to, if there are at least two QCI values for which the value of the second parameter matches the value of the first parameter, arbitrarily select one of the at least two QCI values as the target QCI value corresponding to the 5QI value.
The embodiment of the invention provides electronic equipment, which comprises a memory and a processor;
the processor is configured to read the program in the memory, and perform the following procedures:
determining a value to be mapped corresponding to the QoS flow or the E-RAB according to the received QoS flow or the E-RAB, wherein the value to be mapped is a 5QI value or a QCI value;
determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table;
and determining E-RAB or QoS flow corresponding to the mapping value, and mapping the QoS flow or E-RAB to the E-RAB or QoS flow.
Further, the processor is further configured to receive a first mapping table sent by the 5G core network device, where the first mapping table includes a mapping relationship between a value of the QCI and a value of the 5 QI; and storing the first mapping table as a target mapping table.
Further, the processor is configured to select a target mapping value from the at least one mapping value, and map the E-RAB to a QoS flow corresponding to the target mapping value; or mapping the E-RAB to a preset target QoS flow corresponding to the at least one mapping value.
The embodiment of the invention also provides electronic equipment, which comprises: the 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 perform the map generation method steps of any one of the above.
The embodiment of the invention also provides electronic equipment, which comprises: the 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 perform the mapping method steps of any of the above.
The embodiment of the invention also provides a computer readable storage medium storing a computer program executable by an electronic device, which when run on the electronic device, causes the electronic device to perform the mapping table generating method steps of any one of the above.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program executable by an electronic device, which when run on the electronic device, causes the electronic device to perform the mapping method steps of any one of the above.
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for generating mapping and mapping tables of a 5G core network and a 4G core network, wherein the method comprises the following steps: determining whether a value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists or not according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in a 5QI table; if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter; and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value. In the embodiment of the invention, the value of the first parameter corresponding to the 5QI value in the 5QI table is matched with the value of the second parameter corresponding to each QCI value, and the target QCI value corresponding to the 5QI value is determined according to the QCI value corresponding to the matched value of the second parameter, so that a mapping table is generated, and the interoperation of the 4G core network equipment and the 5G core network equipment can be realized based on the mapping table.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a mapping table generating method provided in embodiment 1 of the present invention;
fig. 2 is a flow chart of a mapping method of a 5G core network and a 4G core network based on a mapping table generating method provided in embodiment 3 of the present invention;
fig. 3 is a flow chart of a mapping table generation method of a 5G core network device and a 4G core network provided in embodiment 4 of the present invention;
fig. 4 is a schematic structural diagram of a mapping table generating device according to embodiment 5 of the present invention;
fig. 5 is a schematic structural diagram of a mapping device for a 5G core network and a 4G core network provided in embodiment 6 of the present invention;
fig. 6 is an electronic device provided in embodiment 7 of the present invention;
fig. 7 is an electronic device provided in embodiment 8 of the present invention;
fig. 8 is an electronic device provided in embodiment 9 of the present invention;
fig. 9 is an electronic device provided in embodiment 10 of the present invention.
Detailed Description
The present invention will be described in further detail below with reference to the attached drawings, wherein it is apparent that the embodiments described are only some, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1:
fig. 1 is a mapping table generating method according to an embodiment of the present invention, where the method includes the following steps:
s101: determining whether there is a value of a second parameter matching the value of the first parameter corresponding to the 5QI value according to the value of the first parameter corresponding to the 5QI value in the 5G quality of service indicator (5G Quality of Service Indicator,5QI) table and the value of the second parameter corresponding to each quality of service class identity (Quality of Service Class Identifer, QCI) value.
The 5G network is a fifth generation mobile communication network, and its transmission speed can reach tens of Gb per second, which is hundreds of times faster than that of the 4G network. However, in the promotion of the 5G network and in the early application period, the 4G network still exists, so that the 5G network and the 4G network can interoperate for the convenience of the user, and the method has a crucial role, namely that the user can switch from the 5G network to the 4G network or from the 4G network to the 5G network. Because there is no QoS flow in the 4G network, only there is E-RAB, if the interoperability of the 5G network and the 4G network is to be realized, a mapping relationship between QoS flows and E-RAB needs to be established, where a QoS flow and a 5QI value have a correspondence, that is, a QoS flow may be retrieved through the 5QI value and an E-RAB may be retrieved through the QCI value, and therefore, in a specific implementation process, a mapping relationship between the QCI value and the 5QI value is actually established, and after the mapping relationship is established, the mapping relationship may be stored in the 5QI table. In a specific implementation process, a 5QI table and a QCI table are pre-stored in a 5G core network device, where the 5QI table includes a 5QI value and a value of a first parameter corresponding to each 5QI value, where the first parameter includes a resource type, a priority, a packet delay budget and a packet error rate, and the QCI table includes a QCI value and a value of a second parameter corresponding to each QCI value, where the second parameter includes a resource type, a priority, a packet delay budget and a packet error rate.
In the 5G core network device, since the parameters in the QCI table are in the 5QI table, it can be determined whether the first parameter corresponding to the 5QI value matches the second parameter corresponding to the QCI value according to the values of the parameters in the 5QI table and the QCI table.
Specifically, the 5G core network device determines, according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in the 5QI table, whether there is a value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
For example, if the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to a certain QCI value in the QCI table are within a preset range, it may be determined that the value of the first parameter corresponding to the 5QI value matches the value of the second parameter corresponding to the QCI value.
S102: and if the target QCI value corresponding to the 5QI value is determined according to the QCI value corresponding to the matched value of the second parameter.
In order to establish a one-to-one mapping relationship between the 5QI value in the 5QI table and the QCI value in the QCI table, since the value of the first parameter and the value of the second parameter that are matched with each other are found according to the value of the first parameter and the value of the second parameter, that is, the QCI value and the 5QI value that are matched with each other are found, the target QCI value corresponding to the 5QI value can be determined according to the value of the matched second parameter.
Specifically, if there is a match between the value of the second parameter corresponding to the QCI value and the value of the first parameter corresponding to the 5QI value in the 5QI table in the QCI table, determining the QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter. Specifically, the matched QCI value is taken as the target QCI value corresponding to the 5QI value.
S103: and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value.
If there is no match between the value of the second parameter corresponding to the QCI value and the value of the first parameter corresponding to the 5QI value in the 5QI table in the QCI table, the value of the first parameter corresponding to the 5QI value cannot find the corresponding mapped QCI value in the QCI table, but for convenience of subsequent use, the corresponding target QCI value is set for the 5QI value, so the target QCI value corresponding to the 5QI value is an invalid value, for example, the invalid value may be "NULL", "#", or "×", or other characters. In the implementation process, a column is added in the 5QI table, the attribute corresponding to the column is the target QCI value, and the 5QI table after the column is added is used as a mapping table.
In the embodiment of the invention, the value of the first parameter corresponding to the 5QI value in the 5QI table is matched with the value of the second parameter corresponding to each QCI value, and the target QCI value corresponding to the 5QI value is determined according to the QCI value corresponding to the matched value of the second parameter, so that a mapping table is generated, and the interoperation of the 4G core network equipment and the 5G core network equipment can be realized based on the mapping table.
Example 2:
in order to better generate the mapping table, on the basis of the foregoing embodiment, in an embodiment of the present invention, the first parameter includes: resource type, priority, packet delay budget, and packet error rate.
Wherein the resource types include guaranteed stream bit rates (Guranteed Bit Rate, GBR) and Non-guaranteed stream bit rates (Non Guranteed Bit Rate, non-GBR); each QCI value is associated with a priority, with a priority value of 1 being the highest priority level; the packet delay budget may be, for example, 100ms, and the packet error rate may be, for example, 10 -2 Etc.
In order to obtain a more accurate mapping table, in the embodiments of the present invention, when the first parameter includes: when the resource type, the priority, the packet delay budget and the packet error rate are determined, the determining whether the value of the second parameter matched with the value of the first parameter corresponding to the 5QI value includes:
judging whether the priority value and the resource type value corresponding to the 5QI value exist or not, and corresponding to the same candidate QCI value;
if not, determining that there is no value of a second parameter matching the value of the first parameter corresponding to the 5QI value;
If so, judging whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
As can be seen from the description of the above embodiments, the first parameters include, in particular, the resource type, the priority, the packet delay budget and the packet error rate. Therefore, when the first parameter includes a resource type, a priority, a packet delay budget, and a packet error rate, the value of the second parameter matching the value of the first parameter corresponding to the 5QI value is determined according to the value of the resource type, the value of the priority, the value of the packet delay budget, and the value of the packet error rate.
Since GBR in a resource type refers to a bit rate of a bearer requirement being "permanently" constantly allocated by the network, the corresponding bit rate can be maintained even in case of network resources being strained. In contrast, non-GBR refers to the requirement that traffic (or bearers) need to withstand reduced rates in the case of network congestion, since Non-GBR bearers do not occupy fixed network resources and can be established for a long time, whereas GBR bearers are typically established only when needed. Therefore, the traffic requirements that the GBR and Non-GBR in the resource type need to implement are completely different, so the value of the resource type must be the same when determining whether the value of the first parameter corresponding to the 5QI value matches the value of the second parameter of the QCI value. And the priority refers to the importance of the service or whether it should be handled in time, so that the value of the priority must be the same when determining whether the value of the first parameter corresponding to the 5QI value matches the value of the second parameter.
Specifically, for any QCI value, the value of the second parameter corresponding to the QCI value is determined, and for any 5QI value, the value of the first parameter corresponding to the 5QI value is also determined, so when determining whether the value of the first parameter corresponding to the 5QI value matches the value of the second parameter, firstly judging whether the value of the priority corresponding to the 5QI value and the value of the resource type are equal, if so, taking the QCI value as a candidate QCI value, and if not, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value; if so, it is also necessary to determine whether the packet delay budget and the packet error rate meet the requirements. Specifically, whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value or not is judged, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value or not is judged; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, it is determined that there is no value of the second parameter that matches the value of the first parameter corresponding to the 5QI value.
For example, the resource type, priority, packet delay budget and packet error rate corresponding to a certain 5QI value in the 5QI table are respectively: GBR,20, 100ms,0.02, the 5QI value is 2, and the resource type, priority, packet delay budget and packet error rate corresponding to a certain QCI value in the QCI table are respectively: GBR,20, 50ms,0.025, the QCI value is 12. The first set threshold value is 20ms, the second set threshold value is 0.001, the value of the corresponding resource type is GBR when the specific 5QI value is 2, the value of the priority is 20, the value of the corresponding resource type is GBR when the QCI value is 12, and the value of the priority is 20 the same, therefore, the QCI value can be used as a candidate QCI value corresponding to the 5QI value, but the difference between the value of the packet delay budget corresponding to the 5QI value is 100ms and the value of the packet delay budget corresponding to the QCI value is 12 is 50ms and is larger than the first set threshold value by 20ms, and the difference between the value of the packet error rate corresponding to the 5QI value is 0.005 and the value of the packet error rate corresponding to the QCI value is 12 and is larger than the second set threshold value by 0.001, so that the 5QI value is not matched with the QCI value.
In order to achieve one-to-one mapping between the 5QI value and the QCI value, in the above embodiments, if there are at least two values of the second parameter of the QCI value that match the value of the first parameter, the determining the target QCI value corresponding to the 5QI value includes:
And selecting one of the at least two QCI values as a target QCI value corresponding to the 5QI value.
For one 5QI value, if it is determined that the value of the second parameter having at least two QCI values matches the value of the first parameter corresponding to the 5QI value according to the above matching manner, one of the at least two QCI values may be arbitrarily selected as the target QCI value corresponding to the 5QI value.
Example 3:
fig. 2 is a flow chart of a mapping method of a 5G core network and a 4G core network based on a mapping table generating method according to an embodiment of the present invention, where the method includes the following steps:
s201: and determining a value to be mapped corresponding to the QoS flow or the E-RAB according to the received QoS flow or the E-RAB, wherein the value to be mapped is a 5QI value or a QCI value.
When the QoS flow or the E-RAB is received, a value to be mapped corresponding to the QoS flow or the E-RAB may be determined according to the QoS flow or the E-RAB, where the value to be mapped may be a 5QI value or a QCI value. Specifically, when the received QoS flow is the QoS flow, determining a 5QI value corresponding to the QoS flow according to the QoS flow; when the E-RAB is received, determining the QCI value corresponding to the E-RAB according to the E-RAB.
S202: and determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table.
Because the first core network device pre-stores the target mapping table, wherein the target mapping table comprises 5QI values and QCI values corresponding to each 5QI value, and the mapping value having a mapping relation with the value to be mapped is determined according to the value to be mapped and the target mapping table.
For example, when the value to be mapped is a 5QI value, searching a QCI value having a mapping relation with the 5QI value from a target mapping table; and when the value to be mapped is the QCI value, searching a 5QI value with a mapping relation with the QCI value from a target mapping table.
S203: and determining E-RAB or QoS flow corresponding to the mapping value, and mapping the QoS flow or E-RAB to the E-RAB or QoS flow.
When the mapping value is determined, according to the mapping value, the E-RAB or QoS flow corresponding to the mapping value can be determined, and the QoS flow or E-RAB can be mapped to the E-RAB or QoS flow.
After defining a one-to-one mapping relation between QCI and corresponding 5QI, when receiving an E-RAB, determining a value to be mapped corresponding to the E-RAB, namely a QCI value, according to the E-RAB, directly indexing to the corresponding 5QI value according to the QCI value, and then determining QoS flow corresponding to the 5QI value according to the 5QI value, so as to map the E-RAB into QoS flow. Similarly, when a QoS flow is received, a value to be mapped, i.e., a 5QI value, corresponding to the QoS flow is determined according to the QoS flow, the corresponding QCI value can be directly indexed to by the 5QI value, and then the corresponding E-RAB is determined according to the QCI value, so that the QoS flow is mapped into the E-RAB.
Example 4:
in order to more accurately determine a mapping value having a mapping relationship with a value to be mapped, in the embodiment of the present invention, if the first core network device is a 4G core network device, before determining the mapping value having the mapping relationship with the value to be mapped according to the value to be mapped and a stored target mapping table, the method further includes:
receiving a first mapping table sent by 5G core network equipment, wherein the first mapping table comprises a mapping relation between a value of QCI and a value of 5 QI;
and storing the first mapping table as a target mapping table.
The key to realizing interoperability between the 5G network and the 4G network is that the mapping table in the core network device carrying the 5G network is the same as the mapping table in the core network device carrying the 4G network.
Specifically, after the 5G core network device generates the first mapping table according to the mapping table generating method described in the foregoing embodiment, the first mapping table is sent to the 4G core network device. The 4G core network device receives the first mapping table and takes the first mapping table as a target mapping table.
On the basis of the above embodiment, in an embodiment of the present invention, the method further includes:
Receiving mapped E-RAB or QoS flow sent by second core network equipment;
according to the received mapped QoS flow or E-RAB sent by the second core network equipment;
and judging whether the mapping relation between the QoS flow corresponding to the value to be mapped of the first core network equipment and the second core network equipment is consistent with the E-RAB.
The second core network device can determine the QoS flow or E-RAB having a mapping relation with the E-RAB or QoS flow according to the E-RAB or QoS flow and the target mapping table, and send the mapped E-RAB or QoS flow to the first core network device, the first core network device receives the mapped E-RAB or QoS flow, and the first core network device can also determine the mapping relation between the QoS flow and the E-RAB according to the value to be mapped. And judging whether the mapped E-RAB or QoS flow of the first core network equipment is consistent with the mapping relation between the QoS flow and the E-RAB determined by the second core network equipment.
Therefore, in the embodiment of the present invention, if it is determined that the mapping relationship between QoS flows and E-RABs corresponding to the values to be mapped of the first core network device and the second core network device is inconsistent, the method further includes:
And determining the priority of the first core network equipment and the second core network equipment, and synchronizing according to the mapping relation between the QoS flow and the E-RAB corresponding to the value to be mapped and stored by the core network equipment with the highest priority.
In order to realize synchronization of the mapping relationship between the QoS flow and the E-RAB, when the mapping relationship between the first core network device and the second core network device is inconsistent, priorities of the first core network device and the second core network device may be preset, and then the QoS flow with inconsistent mapping relationship and the E-RAB are synchronized according to the priorities of the first core network device and the second core network device. Specifically, if the mapping relationship determined by the first core network device is inconsistent with the mapping relationship determined by the second core network device, taking the mapping relationship between the QoS flow and the E-RAB corresponding to the mapping value stored by the core network device with the highest priority as the mapping relationship after synchronization according to the priorities of the first core network device and the second core network device.
When the two mapping relations are inconsistent, the priority of each core network device is preset in order to synchronize the mapping relation of the first core network device and the second core network device. Specifically, the mapping relationship may be sent to the peer end with information of a priority corresponding to the core network device, for example, when the 5G core network device sends the mapping relationship corresponding to the mapping value to the 4G core network device, the information of the priority corresponding to the 5G core network device and the mapping relationship are sent to the 4G core network device together, or when the 4G core network device sends the mapping relationship corresponding to the mapping value to the 5G core network device, the information of the priority corresponding to the 4G core network device and the mapping relationship are sent to the 5G core network device together. In the implementation process, the priority corresponding to the 5G core network device may be set to be the highest.
In the embodiment of the present invention, if the mapping value is a 5QI value, and at least one mapping value having a mapping relationship with the value to be mapped is determined, the mapping the QoS flow or E-RAB to the E-RAB or QoS flow includes:
selecting a target mapping value from the at least one mapping value, and mapping the E-RAB to QoS flow corresponding to the target mapping value; or (b)
Mapping the E-RAB to a preset target QoS flow corresponding to the at least one mapping value.
Specifically, when the mapping value is a 5QI value and at least one mapping value having a mapping relationship with a value to be mapped exists in the target mapping table, one mapping value may be selected from the at least one mapping values as a target mapping value, specifically, any one mapping value may be selected as a target mapping value, and the E-RAB is mapped to a QoS flow corresponding to the target mapping value; the target QoS flow may also be pre-specified and the E-RAB mapped into the target QoS flow.
Specifically, a mapping relationship exists between one 5QI value and one QCI value in the mapping table, and a mapping relationship exists between one QCI value and at least one 5QI value, that is, only one QCI value can be determined according to one 5QI value, and multiple 5QI values can be determined according to one QCI value. Therefore, when the QCI value is received, a plurality of mapping values, namely a plurality of 5QI values, can be determined according to the QCI value, if a plurality of mapping values exist, a plurality of corresponding QoS flows exist, and at the moment, one mapping value can be selected as a target mapping value to map the E-RAB into the QoS flow corresponding to the target mapping value; the E-RAB may also be mapped to a target QoS flow that is set in advance.
In the embodiment of the present invention, if the mapping value is a QCI value, before determining the QoS flow corresponding to the mapping value, the method further includes:
and judging whether the QCI value is effective, and if so, carrying out the subsequent steps.
In the target mapping table, the QCI value may be a valid value or an invalid value, where the QCI value being an invalid value represents the E-RAB corresponding to the QCI not supporting the mutual mapping with QoS flows. Therefore, when the mapping value is a QCI value, it should also be determined whether the QCI value is valid, if so, the QoS flow corresponding to the QCI value is determined, and if not, the QCI value has no corresponding QoS flow.
When the QoS flow to be mapped exists, the corresponding QCI value of the QoS flow is filled in through the target mapping table. The QCI value may be a valid value or an invalid value. Wherein a QCI value of invalid value represents a mutual mapping between the QoS flow unsupported and the E-RAB. In the implementation process, the target mapping table may be stored in the 5G core network device.
When an E-RAB is established, the QCI value corresponding to the E-RAB is used for searching the 5QI value corresponding to the QCI value in the target mapping table, so that the E-RAB can be mapped to the QoS flow corresponding to the 5QI value. In the implementation process, the target mapping table may be stored in the 4G core network device.
When QoS flow and E-RAB are needed to be mapped mutually, if QoS flow is received, a 5QI value corresponding to the QoS flow is determined, a QCI value is determined according to the 5QI value, and a corresponding E-RAB is determined according to the QCI value, so that the QoS flow is mapped to the E-RAB. If the E-RAB is received, determining a QCI value corresponding to the E-RAB, determining a 5QI value according to the QCI value, and determining a corresponding QoS flow according to the 5QI value, so as to map the E-RAB to the QoS flow. Based on the above embodiment of the present invention, in the embodiment of the present invention, the mapping relationship is pre-established and stored in the mapping table, specifically, when the mapping relationship is established, the mapping relationship between each QoS profile and the E-RAB is defined based on the 5QI table, for example, when a handover request is received, for example, the request includes a 5QI value, a corresponding QCI value is found according to the 5QI value, and a corresponding E-RAB can be found according to the QCI value.
The table 1 is shown as a 5QI table, wherein the first column is 5QI value, the value range of 5QI value is 0-127, the second column is resource type including GBR and non-GBR, the third column is priority, the fourth column is packet delay budget, the fifth column is packet error rate, and the sixth column is exemplary service.
Figure BDA0001950416460000171
TABLE 1
Establishing a mapping relation between 5QI and QCI:
according to the value or index requirement of the QoS parameter defined by the QCI of 4G, searching the value or index requirement of all QoS parameters in a 5QI table, searching the 5QI closest to the value or index requirement of the QoS parameter defined by the QCI, and then establishing a one-to-one mapping relation between the QCI and the 5 QI.
If the QoS parameters or indexes defined in the 5QI table do not meet the requirements, the setting personnel can redefine a new 5QI value, and the values of the various columns of parameters are the values of the QoS parameters defined by the QCI or the index requirements, and when the values of the parameters required in the 5QI are not in the QCI, the values of the parameters in the 5QI can be the default values of the system. In addition, the mapping relation is set to an invalid value of 5QI which does not correspond to any E-RAB, for example, the invalid value may be NULL, special characters, or the like.
The mapping relationship between QCI and 5QI may be defined by a target mapping table. In the current 5QI table, a column is added at the last of the table, and the value corresponding to the column is the QCI value corresponding to the 5QI value. If the 5QI value does not correspond to any QCI value, the value of this term is an invalid value.
For example, fig. 3 is a flow chart of a 5G core network device and a method for generating a mapping table and mapping table of a 4G core network, where 5G CN refers to a virtualized 5G network structure and is used to represent the 5G core network device, and 4G CN refers to a virtualized 4G network structure and is used to represent the 4G core network device.
The process of map generation and interoperation is set forth in detail below:
1. determining whether the value of the second parameter matched with the value of the first parameter corresponding to the 5QI value exists according to the value of the first parameter corresponding to the 5QI value in the 5QI table and the value of the second parameter corresponding to each QCI value; if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter; and if the target QCI value does not exist, determining that the target QCI value corresponding to the 5QI value is an invalid value, and thus determining a target mapping table.
2. And determining a value to be mapped corresponding to the QoS flow or the E-RAB according to the received QoS flow or the E-RAB, wherein the value to be mapped is a 5QI value or a QCI value.
3. And determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table.
4. E-RAB or QoS flow corresponding to the mapping value is determined, and QoS flow or E-RAB is mapped to E-RAB or QoS flow.
Example 5:
on the basis of the foregoing embodiments, in an embodiment of the present invention, a mapping table generating device is further provided, and fig. 4 is a schematic structural diagram of a mapping table generating device provided in the embodiment of the present invention, where the mapping table generating device includes:
A first determining module 401, configured to determine whether there is a value of a second parameter that matches a value of a first parameter corresponding to a 5QI value according to a value of the first parameter corresponding to the 5QI value and a value of a second parameter corresponding to each QCI value in a 5QI table;
a second determining module 402, configured to determine, if there is a value of a second parameter that matches a value of a first parameter corresponding to the 5QI value, a target QCI value corresponding to the 5QI value according to a QCI value corresponding to the matched value of the second parameter;
a third determining module 403, configured to determine, if there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value, that the target QCI value corresponding to the 5QI value is an invalid value.
Further, the first determining module 401 is further configured to, when the first parameter includes: judging whether the priority value corresponding to the 5QI value and the resource type value correspond to the same candidate QCI value or not when the resource type, the priority, the packet delay budget and the packet error rate exist; if not, determining that there is no value of a second parameter matching the value of the first parameter corresponding to the 5QI value; if so, judging whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
Further, the second determining module 402 is further configured to, if there are at least two QCI values for which the value of the second parameter matches the value of the first parameter, arbitrarily select one of the at least two QCI values as the target QCI value corresponding to the 5QI value.
Example 6:
on the basis of the foregoing embodiments, in an embodiment of the present invention, there is further provided a mapping device for a 5G core network and a 4G core network based on a mapping table generating method, and fig. 5 is a schematic structural diagram of the mapping device for a 5G core network and a 4G core network provided in the embodiment of the present invention, where the device includes:
a first determining module 501, configured to determine a value to be mapped corresponding to a QoS flow or an E-RAB according to the received QoS flow or E-RAB, where the value to be mapped is a 5QI value or a QCI value;
a second determining module 502, configured to determine a mapping value having a mapping relationship with the value to be mapped according to the value to be mapped and a stored target mapping table;
and a mapping module 503, configured to determine an E-RAB or QoS flow corresponding to the mapping value, and map the QoS flow or the E-RAB to the E-RAB or QoS flow.
Further, the second determining module 502 is further configured to receive a first mapping table sent by the 5G core network device, where the first mapping table includes a mapping relationship between a value of the QCI and a value of the 5 QI; and storing the first mapping table as a target mapping table.
Further, the mapping module 503 is specifically configured to select a target mapping value from the at least one mapping value, and map the E-RAB to a QoS flow corresponding to the target mapping value; or mapping the E-RAB to a preset target QoS flow corresponding to the at least one mapping value.
Further, the second determining module 502 is further configured to determine whether the QCI value is valid, and if not, execute the mapping module 503.
Example 7:
on the basis of the above embodiments, the embodiment of the present invention further provides an electronic device 600, as shown in fig. 6, including a memory 601 and a processor 602;
the processor 602 is configured to read the program in the memory 601, and perform the following procedures:
determining whether a value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists or not according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in a 5QI table;
if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter;
and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value.
In fig. 6, a bus architecture may be comprised of any number of interconnected buses and bridges, and in particular one or more processors represented by processor 602 and various circuits of the memory represented by memory 601. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein.
Alternatively, the processor 602 may be a CPU (Central processing Unit), ASIC (Application Specific Integrated Circuit ), FPGA (Field-Programmable Gate Array, field programmable Gate array), or CPLD (Complex Programmable Logic Device ).
The processor is further configured to, when the first parameter includes: judging whether the priority value corresponding to the 5QI value and the resource type value correspond to the same candidate QCI value or not when the resource type, the priority, the packet delay budget and the packet error rate exist; if not, determining that there is no value of a second parameter matching the value of the first parameter corresponding to the 5QI value; if so, judging whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
The processor is further configured to, if there are at least two QCI values for which the value of the second parameter matches the value of the first parameter, arbitrarily select one of the at least two QCI values as the target QCI value corresponding to the 5QI value.
Example 8:
on the basis of the above embodiments, the embodiment of the present invention further provides an electronic device 700, as shown in fig. 7, including a memory 701 and a processor 702;
the processor 702 is configured to read the program in the memory 701, and perform the following procedures:
determining a value to be mapped corresponding to the QoS flow or the E-RAB according to the received QoS flow or the E-RAB, wherein the value to be mapped is a 5QI value or a QCI value;
determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table;
and determining E-RAB or QoS flow corresponding to the mapping value, and mapping the QoS flow or E-RAB to the E-RAB or QoS flow.
In fig. 7, a bus architecture may be comprised of any number of interconnected buses and bridges, and in particular one or more processors represented by the processor 702 and various circuits of the memory represented by the memory 701. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein.
Alternatively, the processor 702 may be a CPU (Central processing Unit), ASIC (Application Specific Integrated Circuit ), FPGA (Field-Programmable Gate Array, field programmable Gate array), or CPLD (Complex Programmable Logic Device ).
The processor is further configured to receive a first mapping table sent by the 5G core network device, where the first mapping table includes a mapping relationship between a value of the QCI and a value of the 5 QI; and storing the first mapping table as a target mapping table.
The processor is configured to, if the mapping value is a 5QI value, determine at least one mapping value having a mapping relationship with the value to be mapped, select a target mapping value from the at least one mapping value, and map the E-RAB to a QoS flow corresponding to the target mapping value; or mapping the E-RAB to a preset target QoS flow corresponding to the at least one mapping value.
And the processor is also used for judging whether the QCI value is valid or not, and if so, carrying out the subsequent steps.
Example 9:
on the basis of the above embodiments, the embodiment of the present invention further provides an electronic device 800, as shown in fig. 8, including: a processor 801, a communication interface 802, a memory 803, and a communication bus 808, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 808;
The memory 803 stores a computer program that, when executed by the processor 801, causes the processor 801 to perform the steps of:
determining whether a value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists or not according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in a 5QI table;
if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter;
and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value.
Further, when the first parameter includes: judging whether the priority value corresponding to the 5QI value and the resource type value correspond to the same candidate QCI value or not when the resource type, the priority, the packet delay budget and the packet error rate exist; if not, determining that there is no value of a second parameter matching the value of the first parameter corresponding to the 5QI value; if so, judging whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
Further, if there are at least two QCI values for which the value of the second parameter matches the value of the first parameter, one of the at least two QCI values is arbitrarily selected as the target QCI value corresponding to the 5QI value.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface 802 is used for communication between the electronic device and other devices described above.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; but also digital instruction processors (Digital Signal Processing, DSP), application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
Example 10:
on the basis of the above embodiments, the embodiment of the present invention further provides an electronic device 900, as shown in fig. 9, including: the processor 901, the communication interface 902, the memory 903 and the communication bus 909, wherein the processor 901, the communication interface 902 and the memory 903 perform communication with each other through the communication bus 909;
the memory 903 has stored therein a computer program which, when executed by the processor 901, causes the processor 901 to perform the steps of:
determining a value to be mapped corresponding to the QoS flow or the E-RAB according to the received QoS flow or the E-RAB, wherein the value to be mapped is a 5QI value or a QCI value;
determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table;
and determining E-RAB or QoS flow corresponding to the mapping value, and mapping the QoS flow or E-RAB to the E-RAB or QoS flow.
Further, the processor 901 receives a first mapping table sent by the 5G core network device, where the first mapping table includes a mapping relationship between a value of QCI and a value of 5 QI; and storing the first mapping table as a target mapping table.
Further, selecting a target mapping value from the at least one mapping value, and mapping the E-RAB to a QoS flow corresponding to the target mapping value; or mapping the E-RAB to a preset target QoS flow corresponding to the at least one mapping value.
Further, whether the QCI value is valid is judged, and if so, the subsequent steps are carried out.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface 902 is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; but also digital instruction processors (Digital Signal Processing, DSP), application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
Example 11:
on the basis of the above embodiments, the embodiments of the present invention further provide a computer readable storage medium having stored therein a computer program executable by an electronic device, which when run on the electronic device, causes the electronic device to perform the steps of:
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of:
determining whether a value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists or not according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in a 5QI table;
if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter;
and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value.
Further, when the first parameter includes: judging whether the priority value corresponding to the 5QI value and the resource type value correspond to the same candidate QCI value or not when the resource type, the priority, the packet delay budget and the packet error rate exist; if not, determining that there is no value of a second parameter matching the value of the first parameter corresponding to the 5QI value; if so, judging whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
Further, if there are at least two QCI values for which the value of the second parameter matches the value of the first parameter, one of the at least two QCI values is arbitrarily selected as the target QCI value corresponding to the 5QI value.
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 memories such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc., optical memories such as CD, DVD, BD, HVD, etc., and semiconductor memories such as ROM, EPROM, EEPROM, nonvolatile memories (NAND FLASH), solid State Disks (SSD), etc.
Example 13:
on the basis of the above embodiments, the embodiments of the present invention further provide a computer readable storage medium having stored therein a computer program executable by an electronic device, which when run on the electronic device, causes the electronic device to perform the steps of:
the memory has stored therein a computer program which, when executed by the processor, causes the processor to perform the steps of:
determining a value to be mapped corresponding to the QoS flow or the E-RAB according to the received QoS flow or the E-RAB, wherein the value to be mapped is a 5QI value or a QCI value;
Determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table;
and determining E-RAB or QoS flow corresponding to the mapping value, and mapping the QoS flow or E-RAB to the E-RAB or QoS flow.
Further, the processor receives a first mapping table sent by the 5G core network device, wherein the first mapping table comprises a mapping relation between a value of QCI and a value of 5 QI; and storing the first mapping table as a target mapping table.
Further, selecting a target mapping value from the at least one mapping value, and mapping the E-RAB to a QoS flow corresponding to the target mapping value; or mapping the E-RAB to a preset target QoS flow corresponding to the at least one mapping value.
Further, whether the QCI value is valid is judged, and if so, the subsequent steps are carried out.
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 memories such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc., optical memories such as CD, DVD, BD, HVD, etc., and semiconductor memories such as ROM, EPROM, EEPROM, nonvolatile memories (NAND FLASH), solid State Disks (SSD), etc.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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. It is therefore intended that the following claims be interpreted as including the 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 modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (23)

1. A mapping table generating method, which is applied to a 5G core network device, the method comprising:
Determining whether a value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists or not according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in a 5QI table;
if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter;
and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value.
2. The method of claim 1, wherein the first parameter comprises: resource type, priority, packet delay budget, and packet error rate.
3. The method of claim 2, wherein when the first parameter comprises: when the resource type, the priority, the packet delay budget and the packet error rate are determined, the determining whether the value of the second parameter matched with the value of the first parameter corresponding to the 5QI value includes:
judging whether the priority value and the resource type value corresponding to the 5QI value exist or not, and corresponding to the same candidate QCI value;
if not, determining that there is no value of a second parameter matching the value of the first parameter corresponding to the 5QI value;
if so, judging whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
4. The method of claim 1, wherein if there are at least two QCI values for which the value of the second parameter matches the value of the first parameter, the determining the target QCI value for which the 5QI value corresponds comprises:
and selecting one of the at least two QCI values as a target QCI value corresponding to the 5QI value.
5. A 5G core network and 4G core network mapping method based on the mapping table generating method according to any of claims 1-4, characterized in that it is applied to a first core network device, the method comprising:
determining a value to be mapped corresponding to the QoS flow or the E-RAB according to the received QoS flow or the E-RAB, wherein the value to be mapped is a 5QI value or a QCI value;
determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table;
and determining E-RAB or QoS flow corresponding to the mapping value, and mapping the QoS flow or E-RAB to the E-RAB or QoS flow.
6. The method of claim 5, wherein if the first core network device is a 4G core network device, before determining a mapping value having a mapping relationship with the value to be mapped according to the value to be mapped and a stored target mapping table, the method further comprises:
Receiving a first mapping table sent by 5G core network equipment, wherein the first mapping table comprises a mapping relation between a value of QCI and a value of 5 QI;
and storing the first mapping table as a target mapping table.
7. The method of claim 5, wherein the method further comprises:
receiving mapped E-RAB or QoS flow sent by second core network equipment;
according to the received mapped QoS flow or E-RAB sent by the second core network equipment;
and judging whether the mapping relation between the QoS flow corresponding to the value to be mapped of the first core network equipment and the second core network equipment is consistent with the E-RAB.
8. The method of claim 7, wherein if it is determined that the QoS flows corresponding to the values to be mapped for the first core network device and the second core network device do not agree with the mapping relationship between E-RABs, the method further comprises:
and determining the priority of the first core network equipment and the second core network equipment, and synchronizing according to the mapping relation between the QoS flow and the E-RAB corresponding to the value to be mapped and stored by the core network equipment with the highest priority.
9. The method of claim 5, wherein if the mapping value is a 5QI value and at least one mapping value having a mapping relationship with the value to be mapped is determined, the mapping the QoS flow or E-RAB to the E-RAB or QoS flow comprises:
Selecting a target mapping value from the at least one mapping value, and mapping the E-RAB to QoS flow corresponding to the target mapping value; or (b)
Mapping the E-RAB to a preset target QoS flow corresponding to the at least one mapping value.
10. The method of claim 5, wherein if the mapping value is a QCI value, the method further comprises, prior to the determining the QoS flow corresponding to the mapping value:
and judging whether the QCI value is effective, and if so, carrying out the subsequent steps.
11. A mapping table generating apparatus, the apparatus comprising:
a first determining module, configured to determine whether there is a value of a second parameter that matches a value of a first parameter corresponding to a 5QI value according to a value of the first parameter corresponding to the 5QI value in the 5QI table and a value of a second parameter corresponding to each QCI value;
a second determining module, configured to determine, if there is a value of a second parameter that matches a value of a first parameter corresponding to the 5QI value, a target QCI value corresponding to the 5QI value according to a QCI value corresponding to the matched value of the second parameter;
and a third determining module, configured to determine, if there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value, that the target QCI value corresponding to the 5QI value is an invalid value.
12. A 5G core network and 4G core network mapping apparatus, the apparatus comprising:
a first determining module, configured to determine a value to be mapped corresponding to a QoS flow or an E-RAB according to the received QoS flow or the E-RAB, where the value to be mapped is a 5QI value or a QCI value;
the second determining module is used for determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table;
and the mapping module is used for determining the E-RAB or the QoS flow corresponding to the mapping value and mapping the QoS flow or the E-RAB to the E-RAB or the QoS flow.
13. An electronic device comprising a memory and a processor;
the processor is configured to read the program in the memory, and perform the following procedures:
determining whether a value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists or not according to the value of the first parameter corresponding to the 5QI value and the value of the second parameter corresponding to each QCI value in a 5QI table;
if the target QCI value exists, determining the target QCI value corresponding to the 5QI value according to the QCI value corresponding to the matched value of the second parameter;
and if the target QCI value corresponding to the 5QI value does not exist, determining the target QCI value corresponding to the 5QI value as an invalid value.
14. The electronic device of claim 13, wherein the processor is further configured to, when the first parameter comprises: judging whether the priority value corresponding to the 5QI value and the resource type value correspond to the same candidate QCI value or not when the resource type, the priority, the packet delay budget and the packet error rate exist; if not, determining that there is no value of a second parameter matching the value of the first parameter corresponding to the 5QI value; if so, judging whether the difference between the packet delay budget value corresponding to the 5QI value and the packet delay budget value corresponding to the candidate QCI value is smaller than a first set threshold value, and whether the difference between the packet error rate value corresponding to the 5QI value and the packet error rate value corresponding to the candidate QCI value is smaller than a second set threshold value; if so, determining that the value of a second parameter matched with the value of the first parameter corresponding to the 5QI value exists; otherwise, determining that there is no value of the second parameter matching the value of the first parameter corresponding to the 5QI value.
15. The electronic device of claim 13, wherein the processor is further configured to arbitrarily select one of the at least two QCI values as the target QCI value corresponding to the 5QI value if a value of a second parameter for which there are at least two QCI values matches a value of the first parameter.
16. An electronic device comprising a memory and a processor;
the processor is configured to read the program in the memory, and perform the following procedures:
determining a value to be mapped corresponding to the QoS flow or the E-RAB according to the received QoS flow or the E-RAB, wherein the value to be mapped is a 5QI value or a QCI value;
determining a mapping value with a mapping relation with the value to be mapped according to the value to be mapped and a stored target mapping table;
and determining E-RAB or QoS flow corresponding to the mapping value, and mapping the QoS flow or E-RAB to the E-RAB or QoS flow.
17. The electronic device of claim 16, wherein the processor is further configured to receive a first mapping table sent by a 5G core network device, wherein the first mapping table comprises a mapping of values of QCI to values of 5 QI; and storing the first mapping table as a target mapping table.
18. The electronic device of claim 16, wherein the processor is configured to select a target mapping value from at least one mapping value, map the E-RAB to a QoS flow corresponding to the target mapping value; or mapping the E-RAB to a preset target QoS flow corresponding to the at least one mapping value.
19. The electronic device of claim 16, wherein the processor is further configured to determine whether the QCI value is valid, and if so, to perform the following steps.
20. An electronic device, comprising: the 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 perform the steps of the method of any of claims 1-4.
21. An electronic device, comprising: the 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 perform the steps of the method of any of claims 5-10.
22. A computer readable storage medium, characterized in that it stores a computer program executable by an electronic device, which when run on the electronic device causes the electronic device to perform the steps of the method of any one of claims 1-4.
23. A computer readable storage medium, characterized in that it stores a computer program executable by an electronic device, which when run on the electronic device causes the electronic device to perform the steps of the method of any one of claims 5-10.
CN201910049940.2A 2019-01-18 2019-01-18 Method, device, equipment and medium for generating core network mapping and mapping table Active CN111465052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910049940.2A CN111465052B (en) 2019-01-18 2019-01-18 Method, device, equipment and medium for generating core network mapping and mapping table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910049940.2A CN111465052B (en) 2019-01-18 2019-01-18 Method, device, equipment and medium for generating core network mapping and mapping table

Publications (2)

Publication Number Publication Date
CN111465052A CN111465052A (en) 2020-07-28
CN111465052B true CN111465052B (en) 2023-05-09

Family

ID=71678210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910049940.2A Active CN111465052B (en) 2019-01-18 2019-01-18 Method, device, equipment and medium for generating core network mapping and mapping table

Country Status (1)

Country Link
CN (1) CN111465052B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367713B (en) * 2020-11-05 2021-08-31 广州爱浦路网络技术有限公司 Session establishing method, session releasing method and session processing system
CN113727390B (en) * 2021-08-23 2023-07-07 中国联合网络通信集团有限公司 Data transmission method, device and communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102017697B (en) * 2008-04-21 2014-04-23 艾利森电话股份有限公司 QCI mapping at roaming and handover
US10772022B2 (en) * 2017-02-10 2020-09-08 Mediatek Inc. Method and apparatus for inter-system handover in wireless communication
CN108811153A (en) * 2017-05-05 2018-11-13 华为技术有限公司 Communication means, centralized unit, distributed unit, base station and terminal device
EP3621354B1 (en) * 2017-05-08 2022-01-19 Huawei Technologies Co., Ltd. Method and device for moving between communication systems

Also Published As

Publication number Publication date
CN111465052A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
TW201837735A (en) Block chain consensus method and device
CN109392033B (en) Data transmission method, device, system, base station, AMF and medium
CN111465052B (en) Method, device, equipment and medium for generating core network mapping and mapping table
CN109964507B (en) Network function management method, management unit and system
US10939240B2 (en) Location information processing method and apparatus, storage medium and processor
CN111147395B (en) Network resource adjusting method and device
CN106713028B (en) Service degradation method and device and distributed task scheduling system
EP3349397A1 (en) Scaling out method, device and system
CN110572859B (en) AP switching method, device, equipment and medium
KR20210104902A (en) Resource Scheduling Method and Device for Network Slice
WO2021098369A1 (en) System information sending method, network device, base station, and storage medium
EP3310093A1 (en) Traffic control method and apparatus
EP3624397A1 (en) Node processing
EP3748913A1 (en) Link bandwidth utilization rate acquisition method and device, and terminal
US9503385B2 (en) Delay request processing method and apparatus based on token bucket
KR20160076971A (en) Techniques for synchronized execution of a command at network fabric nodes
EP4120754A1 (en) Clock calibration method and apparatus
CN110351044A (en) A kind of transmission method, device and the network side equipment of access control information
CN110891033B (en) Network resource processing method, device, gateway, controller and storage medium
CN108449705B (en) Method and device for controlling internet access position of wireless broadband user
CN110731109B (en) Resource indication method, equipment and computer storage medium
CN113453285B (en) Resource adjusting method, device and storage medium
CN112085282B (en) Cell traffic prediction method and server
CN111292524B (en) Congestion information determination method and device, electronic equipment and storage medium
EP3197228A1 (en) Method and device for user access to base station

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