Method and device for establishing bearing
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for establishing a bearer.
Background
As EPC traffic grows, the traditional EPS gateways gradually create some constraints. User data stream processing is centralized at a PDN outlet gateway, so that the functions of gateway equipment are complex and the expandability is poor. The control plane of the gateway is highly coupled with the user plane, which is not favorable for the smooth evolution of the core network. The expansion demand frequency of the user plane is higher than that of the control plane, the tight coupling leads to synchronous expansion of the user plane of the control plane, and the updating period of the equipment is short, thus leading to composite cost increase. The network layer data forwarding is difficult to identify the user and Service characteristics, and can only forward according to the Quality Of Service (QoS) transmitted by the upper layer, which results in inefficient network resource utilization and difficulty in fine control Of data flow according to the user and Service characteristics. In addition, a large number of strategies require manual configuration, resulting in increased management complexity and high operation cost. Therefore, it is necessary to further separate the control function from the forwarding function in the packet domain gateway to meet the requirements of network development and market application.
Fig. 1 is a schematic diagram illustrating separation of a control Plane and a User Plane of a GW in a non-roaming scenario in the related art, and as shown in fig. 1, the architecture splits an S-GW/P-GW in an original EPS architecture into two types of functional network elements, namely, a Control Plane Function (CPF) and a User Plane Function (UPF). The CPF is responsible for the control plane functions of the S/P-GW, including functions of load sharing, selection of the UPF, allocation of IP addresses and tunnel identifiers, policy and charging control, and the like. The UPF includes a Serving Gateway User Plane Function (SUPF) and a Packet Data Network Gateway User Plane Function (PUPF), respectively corresponding to the User planes of the S-GW and the P-GW, and is responsible for the related functions of the User Plane of the S/P-GW, including functions of Data flow identification and deep Packet analysis, QoS processing and bearer binding, and caching of downlink paging Data. The user interface and the control interface which are butted are respectively corresponding to the CPF and the SUPF/PUPF, and the functions of the other corresponding interfaces are compared with the original EPS architecture.
After the GW control plane and the user plane are separated, a plurality of problems of the existing EPS gateway are solved, and the user plane is flexibly deployed to reduce traffic roundabout.
In the prior art, based on the fact that the CPF is definitely allocated in the current protocol and includes the address of the user for accessing the internet, the coupling established between the CPF and the UPF, hereinafter referred to as Sx connection, is established, the CPF and the UPF at both ends of each Sx connection are respectively identified by a Node ID, and the session/control message on the coupling carries the Node ID. The load reported by the UPF is the whole load based on the Node ID.
When there are multiple service processing units in the UPF and each service processing unit exposes an independent service address to the outside, the CPF needs to know not only the load of the entire UPF but also the load of each service processing unit in order to distribute the services uniformly in the nodes of each UPF.
Aiming at the problem that the load reported by the UPF is the whole load of the UPF and the load control effect on the UPF is poor in the prior art because the UPF-based processing units directly bind the addresses, a solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a method and a device for establishing a bearer, which are used for at least solving the problem that in the related technology, each processing unit based on UPF directly binds an address, and the load reported by the UPF is the whole load of the UPF, so that the load control effect on the UPF is poor.
According to an embodiment of the present invention, a method for establishing a bearer is provided, including:
selecting a service processing unit for issuing and establishing a bearing message according to the acquired load of each service processing unit of the user plane function UPF;
and issuing the bearer establishing message to the UPF, wherein the bearer establishing message carries the selected identification information of the service processing unit and is used for indicating the UPF to establish bearer with the service processing unit according to the identification information of the service processing unit.
Optionally, before selecting a service processing unit that issues a bearer establishment message according to the obtained load of each service processing unit of the UPF, the method further includes:
receiving the load of each service processing unit reported by the UPF; or,
and acquiring the load of each service processing unit carried by the UPF.
Optionally, selecting, according to the obtained load of each service processing unit of the UPF, a service processing unit that issues a bearer establishment message includes:
and under the condition that the load of the service processing units exceeds a preset threshold, selecting the service processing unit with the minimum load from the service processing units which do not exceed the preset threshold, and determining the service processing unit which sends the establishment bearing message.
Optionally, after issuing the bearer establishment message to the UPF, the method further includes:
and receiving the load of each service processing unit reported periodically by the UPF.
Optionally, after issuing the bearer establishment message to the UPF, the method further includes:
and issuing a deletion message for deleting the bearer to the UPF, wherein the deletion message carries the identification information of the service processing unit corresponding to the UPF and is used for indicating the UPF to delete the bearer established between the UPF and the service processing unit according to the identification information.
According to another embodiment of the present invention, there is also provided a method for establishing a bearer, including:
receiving a bearer establishment message issued by a Control Plane Function (CPF), wherein the bearer establishment message carries identification information of a service processing unit;
and establishing a bearer with the service processing unit according to the identification information of the service processing unit.
Optionally, before receiving the bearer establishment message issued by the CPF, the method further includes:
reporting the load of each service processing unit to the CPF; or,
and carrying the load of each service processing unit to the CPF.
Optionally, after establishing a bearer with the service processing unit according to the identification information of the service processing unit, the method further includes:
and reporting the load of each service processing unit to the CPF periodically.
Optionally, after establishing a bearer with the service processing unit according to the identification information of the service processing unit, the method further includes:
receiving a deletion message for deleting the bearer sent by the CPF, wherein the deletion message carries the identification information of the service processing unit corresponding to the UPF;
and deleting the bearer established between the service processing unit and the service processing unit according to the identification information.
According to another embodiment of the present invention, there is also provided a bearer establishment apparatus, including:
the selection module is used for selecting and issuing the service processing unit for establishing the bearing message according to the acquired load of each service processing unit of the user plane function UPF;
and the issuing module is used for issuing the bearer establishing message to the UPF, wherein the bearer establishing message carries the selected identification information of the service processing unit and is used for indicating the UPF to establish bearer with the service processing unit according to the identification information of the service processing unit.
According to another embodiment of the present invention, there is also provided a bearer establishment apparatus, including:
a receiving module, configured to receive a bearer establishment message sent by a control plane function CPF, where the bearer establishment message carries identification information of a service processing unit;
and the establishing module is used for establishing a bearer with the service processing unit according to the identification information of the service processing unit.
According to yet another embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program performs any one of the above methods when executed.
According to yet another embodiment of the present invention, there is also provided a processor for executing a program, wherein the program executes to perform the method of any one of the above.
According to the invention, the service processing unit for issuing the establishment bearing message is selected according to the acquired load of each service processing unit of the user plane function UPF; and issuing the bearer establishing message to the UPF, wherein the bearer establishing message carries selected identification information of the service processing unit and is used for indicating the UPF to establish bearer with the service processing unit according to the identification information of the service processing unit, so that the problem that in the related technology, addresses are directly bound to each processing unit based on the UPF, and the load reported by the UPF is the whole load of the UPF, so that the load control effect on the UPF is poor is solved, the load balancing and the load control on each service processing unit of the UPF are more effectively carried out, and the reliable operation of the UPF is ensured.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a diagram of separation of a GW control plane and a user plane according to a non-roaming scenario in the related art;
fig. 2 is a block diagram of a hardware structure of a mobile terminal of a bearer establishment method according to an embodiment of the present invention;
fig. 3 is a first flowchart of a method for establishing a bearer according to an embodiment of the present invention;
fig. 4 is a flowchart ii of a method for establishing a bearer according to an embodiment of the present invention;
fig. 5 is a first block diagram of a bearer setup apparatus according to an embodiment of the present invention;
fig. 6 is a second block diagram of a bearer setup apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the operation on the mobile terminal as an example, fig. 2 is a block diagram of a hardware structure of the mobile terminal of the method for establishing a bearer according to the embodiment of the present invention. As shown in FIG. 2, the mobile terminal 10 may include one or two (only one shown) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmitting device 106 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 2 is only an illustration and is not intended to limit the structure of the electronic device. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 2, or have a different configuration than shown in FIG. 2.
The memory 104 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the data transmission method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or two magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10.
Based on the foregoing mobile terminal, an embodiment of the present invention provides a method for establishing a bearer, and fig. 3 is a first flowchart of the method for establishing a bearer according to the embodiment of the present invention, as shown in fig. 3, including:
step S302, selecting a service processing unit for issuing and establishing a bearing message according to the acquired load of each service processing unit of the user plane function UPF;
step S304, issuing the bearer establishment message to the UPF, where the bearer establishment message carries the selected identification information of the service processing unit, and is used to instruct the UPF to establish a bearer with the service processing unit according to the identification information of the service processing unit.
Selecting a service processing unit for issuing and establishing a bearing message according to the acquired load of each service processing unit of the user plane function UPF; and issuing the bearer establishing message to the UPF, wherein the bearer establishing message carries selected identification information of the service processing unit and is used for indicating the UPF to establish bearer with the service processing unit according to the identification information of the service processing unit, so that the problem that in the related technology, addresses are directly bound to each processing unit based on the UPF, and the load reported by the UPF is the whole load of the UPF, so that the load control effect on the UPF is poor is solved, the load balancing and the load control on each service processing unit of the UPF are more effectively carried out, and the reliable operation of the UPF is ensured.
Optionally, before selecting a service processing unit for issuing a bearer establishment message according to the obtained load of each service processing unit of the UPF, the load of each service processing unit needs to be obtained, and the obtaining mode is not only one, but also the load of each service processing unit reported by the UPF can be received; alternatively, the load of each service processing unit carried by the UPF may be directly obtained.
Optionally, selecting, according to the obtained load of each service processing unit of the UPF, a service processing unit that issues a bearer establishment message according to a load balancing policy may include: and under the condition that the load of the service processing units exceeds a preset threshold, selecting the service processing unit with the minimum load from the service processing units which do not exceed the preset threshold, and determining the service processing unit which sends the establishment bearing message.
Optionally, after the bearer establishment message is issued to the UPF, the load of each service processing unit periodically reported by the UPF may also be received, so as to prepare for next load balancing.
Optionally, after the bearer establishment message is sent to the UPF, a bearer deletion message is sent to the UPF, where the deletion message carries identification information of a service processing unit corresponding to the UPF, and the deletion message is used to indicate that the UPF deletes the bearer established with the service processing unit according to the identification information.
In the embodiment of the invention, a field is newly defined for Sx connection of the CPF and the UPF, and a certain service processing unit of the UPF can be identified. The messages of various service classes in Sx connection, such as the message of load control, the message of usage reporting and the message of load reporting, are associated with each service processing unit of UPF. When the CPF establishes a new bearer, according to the load of each service processing unit in the UPF and the load balancing strategy in the CPF, the service processing unit is selected to send the message for establishing the bearer to the UPF through Sx connection. The CPF supports setting the load threshold of the service processing units of the UPF, and when the load of a certain service processing unit exceeds the threshold, the CPF will establish a new bearer on those service processing units whose load does not exceed the threshold. The UPF periodically reports the load of each service processing unit to the CPF through the Sx connection.
Example 2
According to another embodiment of the present invention, a method for establishing a bearer is further provided, and fig. 4 is a second flowchart of the method for establishing a bearer according to the embodiment of the present invention, as shown in fig. 4, including:
step S402, receiving a bearer establishment message issued by a control plane function CPF, wherein the bearer establishment message carries identification information of a service processing unit;
step S404, establishing a bearer with the service processing unit according to the identification information of the service processing unit.
Receiving a bearer establishment message issued by a Control Plane Function (CPF), wherein the bearer establishment message carries identification information of a service processing unit; and establishing a bearer according to the identification information of the service processing unit and the service processing unit, solving the problem that the load reported by the UPF is the whole load of the UPF in the related technology, so that the load control effect on the UPF is poor, more effectively performing load balancing and load control on each service processing unit of the UPF, and ensuring the reliable operation of the UPF.
Optionally, before receiving a bearer establishment message issued by the CPF, reporting a load of each service processing unit to the CPF; or, the load of each service processing unit is carried to the CPF.
Optionally, after a bearer is established with the service processing unit according to the identification information of the service processing unit, the load of each service processing unit is periodically reported to the CPF.
Optionally, after establishing a bearer with the service processing unit according to the identification information of the service processing unit, receiving a deletion message for deleting the bearer, which is issued by the CPF, where the deletion message carries the identification information of the service processing unit corresponding to the UPF; and deleting the bearer established between the service processing unit and the service processing unit according to the identification information.
The embodiment of the invention provides a CPF (compact peripheral component interconnect) for controlling a plurality of service processing units in UPF (unified power flow), which ensures the load balance and load control of the service processing units and specifically comprises the following steps:
step 1, separately deploying CPF and UPF of gateway equipment;
step 2, when an Sx connection is established between the CPF and the UPF, a definition is added in a protocol, and an interface of the Sx connection can carry information of each service processing unit in the UPF;
step 3, when the CPF needs to establish the load, selecting the service processing unit bearing the service according to the load of each service processing unit of the UPF, wherein the CPF carries the information of the service processing unit in the establishing load message issued by Sx connection;
step 4, after receiving Sx message for establishing load, UPF obtains information of service processing unit from the Sx message, and establishes load in the service processing unit;
step 5, the UPF reports the load of each service processing unit to the CPF at regular time;
step 6, when the CPF deletes the load, the CPF sends Sx information to the UPF, and the information carries the information of the corresponding service processing unit of the UPF;
and 7, after receiving the Sx message for deleting the bearer, the UPF acquires the information of the service processing unit from the Sx message and deletes the corresponding bearer.
After the CPF and the UPF of the SPGW network element are separated, when an Sx connection is established, the UPF carries information of the service processing unit, which may specifically include:
step 100, separately deploying the CPF and UPF of the SPGW;
step 101, initializing Sx connection between the CPF and the UPF;
102, carrying information of each service processing unit in the node to the CPF by the UPF;
step 103, the CPF and the UPF complete the Sx connection establishment process.
After separating the CPF and the UPF of the SPGW network element, the UPF reporting the load of each service processing unit may specifically include:
step 200, separately deploying the CPF and the UPF of the SPGW;
step 201, an Sx connection is established between the CPF and the UPF;
step 202, the UPF periodically reports the load of each service processing unit to the CPF
In step 203, the CPF records the load of each service processing unit.
After separating the CPF and the UPF of the SPGW network element, the CPF establishes a bearer, which specifically includes the following steps:
step 300, the CPF and UPF of the SPGW are separately deployed, and each service processing unit in the UPF configures an independent service address;
step 301, an Sx connection is established between the CPF and the UPF;
step 302, the CPF receives the request for establishing the bearer, and selects the service processing unit related to the service according to the recorded load of each service processing unit in the UPF by adopting a load balancing strategy;
step 303, the CPF encapsulates the Sx message, and instructs the UPF to establish a bearer, wherein the message carries the information of the service processing unit;
step 304, after receiving the UPF, according to the service processing unit information indicated in the Sx message, the UPF establishes a bearer on the corresponding service processing unit.
After separating the CPF and the UPF of the SPGW network element, an overload occurs in a certain service processing unit on the UPF, which specifically includes the following steps:
step 400, the CPF and UPF of the SPGW are separately deployed, and each service processing unit in the UPF configures an independent service address;
step 401, an Sx connection is established between the CPF and the UPF;
step 402, among the loads of the UPF service processing units recorded by the CPF, one service processing unit is overloaded and exceeds a threshold value;
step 403, the CPF receives the request for establishing a bearer, and selects a service processing unit related to the current service (with the minimum load selected from the rest) from the service processing units that do not exceed the load threshold value by using a load balancing strategy according to the recorded load of each service processing unit in the UPF;
step 404, CPF encapsulates Sx message, indicates UPF to establish bearing, the message carries information of service processing unit;
step 405, after receiving the UPF, the UPF establishes a bearer on the corresponding service processing unit according to the service processing unit information indicated in the Sx message.
Example 3
According to another embodiment of the present invention, there is further provided a bearer establishment apparatus, and fig. 5 is a first block diagram of the bearer establishment apparatus according to the embodiment of the present invention, as shown in fig. 5, including:
the selection module 52 is configured to select, according to the obtained load of each service processing unit of the user plane function UPF, a service processing unit that issues a bearer establishment message;
and an issuing module 54, configured to issue the bearer establishment message to the UPF, where the bearer establishment message carries the selected identification information of the service processing unit, and is used to instruct the UPF to establish a bearer with the service processing unit according to the identification information of the service processing unit.
Optionally, the apparatus further comprises:
the acquisition module is used for receiving the load of each service processing unit reported by the UPF; or acquiring the load of each service processing unit carried by the UPF.
Optionally, the selecting module is further configured to, when the load of the service processing unit exceeds a preset threshold, select a service processing unit with the smallest load from among service processing units that do not exceed the preset threshold, and determine the service processing unit that issues the bearer establishment message.
Optionally, the apparatus further comprises:
and the load receiving module is used for receiving the load of each service processing unit reported periodically by the UPF.
Optionally, the apparatus further comprises:
and the sending module is used for sending a deletion message for deleting the bearer to the UPF, wherein the deletion message carries the identification information of the service processing unit corresponding to the UPF and is used for indicating the UPF to delete the bearer established between the UPF and the service processing unit according to the identification information.
Example 4
According to another embodiment of the present invention, there is further provided a bearer establishment apparatus, and fig. 6 is a second block diagram of the bearer establishment apparatus according to the embodiment of the present invention, as shown in fig. 6, including:
a receiving module 62, configured to receive a bearer establishment message sent by a control plane function CPF, where the bearer establishment message carries identification information of a service processing unit;
the establishing module 64 is configured to establish a bearer with the service processing unit according to the identification information of the service processing unit.
Optionally, the apparatus further comprises:
a first reporting module, configured to report a load of each service processing unit to the CPF; or, the load of each service processing unit is carried to the CPF.
Optionally, the apparatus further comprises:
and the second reporting module is used for periodically reporting the load of each service processing unit to the CPF.
Optionally, the apparatus further comprises:
a message receiving module, configured to receive a deletion message for deleting a bearer sent by the CPF, where the deletion message carries identification information of a service processing unit corresponding to the UPF;
and the deleting module is used for deleting the load established between the service processing unit and the deleting module according to the identification information.
Example 5
An embodiment of the present invention further provides a storage medium including a stored program, where the program executes any one of the methods described above.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s11, selecting a service processing unit issuing a bearer establishing message according to the acquired load of each service processing unit of the user plane function UPF;
s12, issuing the bearer establishing message to the UPF, where the bearer establishing message carries the selected identification information of the service processing unit, and is used to instruct the UPF to establish a bearer with the service processing unit according to the identification information of the service processing unit.
Optionally, in this embodiment, the storage medium may be further configured to store program codes for performing the following steps:
s21, receiving a bearer establishment message issued by a control plane function CPF, wherein the bearer establishment message carries identification information of a service processing unit;
s22, establishing bearing with the service processing unit according to the identification information of the service processing unit.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Example 6
Embodiments of the present invention also provide a processor configured to execute a program, where the program executes to perform any of the steps in the method.
Optionally, in this embodiment, the program is configured to perform the following steps:
s31, selecting a service processing unit issuing a bearer establishing message according to the acquired load of each service processing unit of the user plane function UPF;
s32, issuing the bearer establishing message to the UPF, where the bearer establishing message carries the selected identification information of the service processing unit, and is used to instruct the UPF to establish a bearer with the service processing unit according to the identification information of the service processing unit.
Optionally, in this embodiment, the program is further configured to perform the following steps:
s41, receiving a bearer establishment message issued by a control plane function CPF, wherein the bearer establishment message carries identification information of a service processing unit;
s42, establishing bearing with the service processing unit according to the identification information of the service processing unit.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed over a network of two computing devices, and optionally they may be implemented in program code executable by a computing device, such that they may be stored in a memory device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into separate integrated circuit modules, or two of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.