CN117528556A - Data gateway selection method and signaling gateway - Google Patents

Data gateway selection method and signaling gateway Download PDF

Info

Publication number
CN117528556A
CN117528556A CN202210894094.6A CN202210894094A CN117528556A CN 117528556 A CN117528556 A CN 117528556A CN 202210894094 A CN202210894094 A CN 202210894094A CN 117528556 A CN117528556 A CN 117528556A
Authority
CN
China
Prior art keywords
data gateway
gateway
data
pool
signaling
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.)
Pending
Application number
CN202210894094.6A
Other languages
Chinese (zh)
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 Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210894094.6A priority Critical patent/CN117528556A/en
Publication of CN117528556A publication Critical patent/CN117528556A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure provides a data gateway selection method and a signaling gateway, and belongs to the technical field of mobile communication. The method comprises the following steps: receiving a session request initiated by a 5G small cell, wherein the session request is triggered by the 5G small cell based on a session application initiated by a terminal; and determining a first data gateway with the resource occupancy rate meeting a preset condition in a data gateway pool as a data gateway corresponding to the signaling gateway, wherein the data gateway pool comprises a plurality of data gateways deployed on different physical nodes. Based on the technical scheme provided by the embodiment of the disclosure, the problem of reduced reliability of a communication system caused by the failure of the data gateway can be solved.

Description

Data gateway selection method and signaling gateway
Technical Field
The disclosure belongs to the technical field of mobile communication, and in particular relates to a data gateway selection method and a signaling gateway.
Background
With the development of communication technology, in order to accurately supplement coverage, a 5G small base station may be deployed in a network.
In general, a 5G base station gateway is an access device that can be deployed between a 5G small cell and a 5G core network, and can provide functions such as aggregation and processing of signaling, security isolation, and data routing. The current 5G base station gateway may include two parts, a signaling gateway and a data gateway. The signaling gateway can be used as a convergence device of a control plane, and can realize the termination processing or the route forwarding of related signaling such as base station switching, context association and the like. The data gateway may perform routing and forwarding of the user plane.
However, the signaling gateways and the data gateways in the existing 5G base station gateways are usually deployed together, usually one base station gateway may include 2 groups of gateways as disaster recovery devices, and the 5G small base station may select one group of gateways in the base station gateways to establish a session, if the data gateways in the group of gateways have problems, the 5G small base station needs to perform hard handoff to switch to another group of gateways, and if the data gateways in the other group of gateways also have problems, the network interruption time may be long, so that the reliability of the communication system is reduced.
Disclosure of Invention
An object of an embodiment of the present disclosure is to provide a method for selecting a data gateway and a signaling gateway device, which can solve the problem that the reliability of a communication system is reduced due to a failure of the data gateway.
In order to solve the above technical problems, the present disclosure is implemented as follows:
in a first aspect, an embodiment of the present disclosure provides a method for selecting a data gateway, which is applied to a signaling gateway, where the method includes: receiving a session request initiated by a 5G small cell, wherein the session request is triggered by the 5G small cell based on a session application initiated by a terminal; and determining a first data gateway with the resource occupancy rate meeting a preset condition in a data gateway pool as a data gateway corresponding to the signaling gateway, wherein the data gateway pool comprises a plurality of data gateways deployed on different physical nodes.
Optionally, before receiving the session request initiated by the 5G small cell, the method further includes: establishing a heartbeat detection mechanism of the signaling gateway and the data gateway pool; periodically determining the survival state of each data gateway in the data gateway pool; the determining that the first data network with the resource occupancy rate meeting the preset condition in the data gateway pool is the data gateway corresponding to the signaling gateway includes: and determining a first data network which is in a survival state and the resource occupancy rate of which meets a preset condition in the data gateway pool as a data gateway corresponding to the signaling gateway.
Optionally, before determining the first data network with the resource occupancy rate meeting the preset condition in the data gateway pool as the data gateway corresponding to the signaling gateway, the method further includes: randomly selecting a first data gateway in the data gateway pool; sending a first query request to the first data gateway, wherein the first query request is used for requesting the resource occupation condition of the first data gateway; the determining the first data of which the resource occupancy rate in the data gateway pool meets the preset condition as the data gateway corresponding to the signaling gateway comprises the following steps: and if the resource occupancy rate of the first data gateway is smaller than or equal to a preset threshold value, determining the first data gateway as a data gateway.
Optionally, after the sending the first query request to the first data gateway, the method further includes: and if the resource occupancy rate of the first data gateway is larger than a preset threshold value, randomly selecting a second data gateway again, and sending a second query request to the second data gateway, wherein the second query request is used for requesting the resource occupancy condition of the second data gateway.
Optionally, before determining that the first data network in the data gateway pool with the resource occupancy rate meeting the preset condition is the user plane forwarding gateway corresponding to the signaling gateway, the method includes: sending a third query request to each data gateway in the data gateway pool, wherein the third query request is used for determining the resource occupancy rate of each data gateway in the data gateway pool; the determining the first data of which the resource occupancy rate in the data gateway pool meets the preset condition as the data gateway corresponding to the signaling gateway comprises the following steps: and determining the first data gateway with the minimum resource occupancy rate in the data gateway pool as the data gateway corresponding to the signaling gateway.
Optionally, before determining the first data network with the resource occupancy rate meeting the preset condition in the data gateway pool as the data gateway corresponding to the signaling gateway, the method further includes: determining a destination address which is requested to be established by the terminal according to the session request; if the destination address indicates that the terminal and the local server establish a session request, determining a data gateway group for local distribution in the data gateway pool, wherein the first data gateway is a data gateway for local distribution; or if the destination address indicates that the terminal and the external network server establish a session request, determining a data gateway group for forwarding in the data gateway pool, wherein the first data gateway is a data gateway for forwarding.
Optionally, the method further comprises: after the session is established, maintaining a heartbeat detection mechanism of the signaling gateway and the data gateway pool, and determining the survival state of the data gateway in the data gateway pool based on the heartbeat detection mechanism at regular intervals; and under the condition that the first data gateway is in a non-survival state, selecting the data gateway which survives from the data gateway pool again, wherein the second data gateway with the resource occupancy rate meeting the preset condition is the data gateway corresponding to the signaling gateway.
In a second aspect, embodiments of the present disclosure provide a signaling gateway, the signaling gateway comprising: a receiving module and a selecting module; the receiving module is used for receiving a session request initiated by the 5G small base station, wherein the session request is triggered by the 5G small base station based on a session application initiated by a terminal; and the selection module is used for determining a first data gateway with the resource occupancy rate meeting a preset condition in the data gateway pool as a data gateway corresponding to the signaling gateway, and the data gateway pool comprises a plurality of data gateways deployed on different physical nodes.
Optionally, the signaling gateway further comprises a building module and a determining module; the establishing module is used for establishing a heartbeat detection mechanism of the signaling gateway and the data gateway pool before receiving a session request initiated by the 5G small base station; the determining module is used for periodically determining the survival state of each data gateway in the data gateway pool; the selection module is specifically used for: and determining a first data network which is in a survival state and the resource occupancy rate of which meets a preset condition in the data gateway pool as a data gateway corresponding to the signaling gateway.
Optionally, the signaling gateway further comprises: a transmitting module; the selection module is further used for randomly selecting the first data gateway in the data gateway pool before determining the first data network with the resource occupancy rate meeting the preset condition in the data gateway pool as the user plane forwarding gateway corresponding to the signaling gateway; the sending module is used for sending a first query request to the first data gateway, wherein the first query request is used for requesting the resource occupation condition of the first data gateway; the selection module is specifically used for: and if the resource occupancy rate of the first data gateway is smaller than or equal to a preset threshold value, determining the first data gateway as a user plane forwarding gateway.
Optionally, the selecting module is further configured to, after the sending module sends the first query request to the first data gateway, reselect the second data gateway if the resource occupancy rate of the first data gateway is greater than a preset threshold; and the sending module is also used for sending a second query request to the second data gateway, wherein the second query request is used for requesting the resource occupation condition of the second data gateway.
Optionally, the sending module is further configured to send a third query request to each data gateway in the data gateway pool before the selecting module determines that the first data network in the data gateway pool with the resource occupancy rate meeting the preset condition is a user plane forwarding gateway corresponding to the signaling gateway, where the third query request is used to determine the resource occupancy rate of each data gateway in the data gateway pool; and the selection module is also used for determining the first data gateway with the minimum resource occupancy rate in the data gateway pool as the data gateway corresponding to the signaling gateway.
Optionally, the determining module is further configured to determine, according to the session request, a destination address that the terminal requests to establish before determining, as the data gateway corresponding to the signaling gateway, the first data network in which the resource occupancy rate in the data gateway pool meets a preset condition; if the destination address indicates that the terminal and the local server establish a session request, determining a data gateway group for local distribution in the data gateway pool, wherein the first data gateway is a data gateway for local distribution; or if the destination address indicates that the terminal and the external network server establish a session request, determining a data gateway group for forwarding in the data gateway pool, wherein the first data gateway is a data gateway for forwarding.
Optionally, the establishing module is further configured to: after the session is established, maintaining a heartbeat detection mechanism of the signaling gateway and the data gateway pool; the determining module is further used for determining the survival state of the data gateway in the data gateway pool based on the heartbeat detection mechanism at regular intervals; and the selection module is further configured to, when the first data gateway is in a non-surviving state, reselect a surviving second data gateway from the data gateway pool, where the second data gateway whose resource occupancy rate meets the preset condition is the data gateway corresponding to the signaling gateway.
In a third aspect, an embodiment of the present disclosure provides a signaling gateway, where the signaling gateway includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, where the program or instruction is executed by the processor to implement the steps of the method for selecting a data gateway according to the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the data gateway selection method according to the first aspect.
In a fifth aspect, an embodiment of the present disclosure provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement a method for selecting a data gateway according to the first aspect.
In a sixth aspect, embodiments of the present disclosure provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of selecting a data gateway as described in the first aspect.
In the embodiment of the disclosure, under the condition that the signaling gateway receives a session request initiated by the 5G small cell, the signaling gateway selects a first data gateway with the resource occupancy meeting a preset condition from the data gateway pool, and uses the first data gateway as a data gateway corresponding to the signaling gateway, so that the first data gateway is bound into a one-to-one correspondence relationship. Because the signaling gateway is a data gateway which is bound from the data gateway pool based on the resource occupancy rate, and the data gateways in the data gateway pool are data gateways which are deployed in different physical nodes, the signaling gateway can autonomously select the data gateway with smaller resource occupancy from different physical nodes to bind, so that the probability of the problem of the data gateway node possibly occurring in the selection of the data gateway can be reduced.
Drawings
Fig. 1 is a schematic diagram of a network architecture provided in an embodiment of the present disclosure;
fig. 2 is a flow chart of a method for selecting a data gateway according to an embodiment of the disclosure;
FIG. 3 is a second schematic diagram of a network architecture according to an embodiment of the disclosure;
fig. 4 is an interactive flow diagram of a base station gateway disaster recovery function provided in an embodiment of the present disclosure;
fig. 5 is a schematic diagram of one possible structure of a signaling gateway according to an embodiment of the present disclosure;
fig. 6 is a second possible structural diagram of a signaling gateway according to an embodiment of the present disclosure;
fig. 7 is a third possible structural diagram of a signaling gateway according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a possible structure of a signaling gateway according to an embodiment of the disclosure;
fig. 9 is a hardware schematic of a signaling gateway according to an embodiment of the present disclosure.
Detailed Description
The following description of the technical solutions in the embodiments of the present disclosure will be made clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure are intended to be within the scope of this disclosure.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, where appropriate, such that embodiments of the disclosure may be practiced in sequences other than those illustrated and described herein, and that the objects identified by "first," "second," etc. are generally of the same type and are not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
It is noted that the techniques described in embodiments of the present disclosure are not limited to LTE (Long Term Evolution )/LTE-a (LTE-Advanced, evolution of LTE) systems, but may also be used in other wireless communication systems, such as CDMA (Code Division Multiple Access ), TDMA (Time Division Multiple Access, time division multiple access), FDMA (Frequency Division Multiple Access ), OFDMA (Orthogonal Frequency Division Multiple Access, orthogonal frequency division multiple access), SC-FDMA (Single-carrier Frequency-Division Multiple Access, single carrier frequency division multiple access), and other systems. The terms "system" and "network" in embodiments of the present application are often used interchangeably, and the techniques described may be used for both the above-mentioned systems and radio technologies, as well as other systems and radio technologies. However, the following description describes an NR system for purposes of example and NR terminology is used in much of the following description, although the techniques may also be applied to applications other than NR system applications, such as 6G (6 th Generation) communication systems.
The method for selecting the data gateway provided by the embodiment of the disclosure is described in detail below through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a network architecture according to an embodiment of the disclosure. As shown in fig. 1, the network architecture includes: 5G base station network management 100, 5G small base station 101, and 5G base station gateway 102. The 5G base station gateway 102 is an access device deployed between the 5G small base station and the 5G core network, and may provide functions such as signaling aggregation and processing, and security isolation data routing. The 5G base station gateway 102 includes: at least two signaling gateways 103 and a data gateway pool 104. Included in the data gateway pool 104 are a plurality of data gateways 105 deployed on different physical nodes. And each data gateway in the data gateway pool shares the user plane forwarding of all accessed 5G small base stations. When a session is established, the 5G femto cell 101 may acquire the IP addresses of the at least two signaling gateways 103 through the 5G femto cell network manager 100, select one signaling gateway 103, and then the signaling gateway 103 may select one data gateway 105 from the data gateway pool 104 according to a preset rule to bind in a one-to-one relationship. The at least two signaling gateways 103 are disaster recovery devices, and if the N2 interface between the 5G small cell 101 and the signaling gateway for establishing connection is interrupted, the 5G small cell can reestablish the N2 connection with other signaling gateways. If the connection of the user plane is interrupted due to the node problem of the data gateway, the user terminal may resend the session establishment request, and the signaling gateway 103 may reselect another data gateway 105 from the data gateway pool, so as to avoid the interruption of the user for a long time.
Fig. 2 is a flow chart of a method for selecting a data gateway according to an embodiment of the present disclosure, as shown in fig. 2, the method includes the following steps S201 and S202:
s201, the signaling gateway receives a session request initiated by the 5G small cell.
The session request is triggered by the 5G small base station based on the session application initiated by the terminal.
Specifically, the terminal initiates a session application, the 5G small cell initiates a session request signaling to the signaling gateway, the signaling gateway forwards a registration signaling flow triggered by the 5G small cell to an AMF (Access and Mobility Management Function ) network element, and the 5G small cell initiates the session application to the signaling gateway.
S202, the signaling gateway determines a first data gateway with the resource occupancy rate meeting a preset condition in the data gateway pool as a data gateway corresponding to the signaling gateway.
Wherein the pool of data gateways comprises a plurality of data gateways deployed on different physical nodes.
Specifically, the preset condition may indicate that the resource occupancy of the data gateway is low.
Illustratively, the resource occupancy may be a CPU (Central Processing Unit/Processor, central processing unit) occupancy of the data gateway.
Specifically, after the signaling gateway selects the data gateway, the signaling gateway may initiate a GTP (GPRS (General Packet Radio Service, general packet radio service) Tunnel Protocol to the selected data gateway, and forward the reply signaling of the AMF to the session request to the 5G small cell, that is, the signaling gateway returns IP (Internet Protocol, protocol interconnected between networks) information of the selected data gateway to the 5G small cell, and set the local N3 end as the selected first data gateway, so that the 5G small cell establishes a user plane connection with a UPF (User Plane Function ) network element, and the first data gateway may implement user plane forwarding.
The embodiment of the disclosure provides a method for selecting a data gateway, wherein under the condition that a signaling gateway receives a session request initiated by a 5G small cell, the signaling gateway selects a first data gateway with a resource occupancy meeting a preset condition from a data gateway pool, and the first data gateway is used as a data gateway corresponding to the signaling gateway, so that the first data gateway is bound into a one-to-one correspondence relationship. Because the signaling gateway is a data gateway which is bound from the data gateway pool based on the resource occupancy rate, and the data gateways in the data gateway pool are data gateways which are deployed in different physical nodes, the signaling gateway can autonomously select the data gateway with smaller resource occupancy from different physical nodes to bind, so that the probability of the problem of the data gateway node possibly occurring in the selection of the data gateway can be reduced.
Optionally, in the method for selecting a data gateway provided in the embodiment of the present disclosure, before S201 described above, the following S203 and S204 may be further included:
S203, the signaling gateway establishes a heartbeat detection mechanism of the signaling gateway and the data gateway pool.
S204, the signaling gateway periodically determines the survival state of each data gateway in the data gateway pool.
Further, S202 described above may be specifically executed by S21 described below:
s21, the signaling gateway determines a first data network which is in a survival state in the data gateway pool and the resource occupancy rate of which meets the preset condition as a data gateway corresponding to the signaling gateway.
Based on the scheme, the signaling gateway can establish a heartbeat detection mechanism of the signaling gateway and the data gateway pool, so that the survival state of each data gateway in the data gateway pool can be determined regularly, and the bound data gateway can be selected from the surviving data gateways, and the selected data gateway is prevented from being an inactivated data gateway.
Optionally, in the method for selecting a data gateway provided in the embodiment of the present disclosure, before S202 described above, the method may further include S205 and S206 described below:
s205, the signaling gateway randomly selects a first data gateway in the data gateway pool.
S206, the signaling gateway sends a first query request to the first data gateway.
The first query request is used for requesting the resource occupation condition of the first data gateway.
After receiving the first query request, the first data gateway may send the resource occupancy rate of the first data gateway to the centripetal force gateway.
Further, S202 described above may be specifically executed by S22 described below:
s22, if the resource occupancy rate of the first data gateway is smaller than or equal to a preset threshold value, the signaling gateway determines the first data gateway as the data gateway corresponding to the signaling gateway.
Based on the scheme, the signaling gateway can randomly select any one data gateway in the data gateway pool, then request the resource occupation condition of the randomly selected data gateway in real time, and directly determine the randomly selected first data gateway as the data gateway corresponding to the signaling gateway under the condition that the resource occupation rate is smaller, namely smaller than or equal to the preset occupation rate, thereby avoiding selecting the data gateway with larger resource occupation rate and reducing the probability of interruption in the session process.
Optionally, in the method for selecting a data gateway according to the embodiment of the present disclosure, after S206 described above, the following S207 may be further included:
s207, if the resource occupancy rate of the first data gateway is larger than a preset threshold value, the signaling gateway reselects the second data gateway randomly and sends a second query request to the second data gateway.
Wherein the second query request is for requesting a resource occupancy of the second data gateway.
Based on the scheme, under the condition that the resource occupancy rate of the data gateway randomly selected by the signaling gateway is large, the probability that the data gateway generates node problems is large, so that the signaling gateway can randomly select one data gateway again to judge the resource occupancy rate until the data gateway with the resource occupancy rate smaller than or equal to a preset threshold value is selected.
Optionally, in the method for selecting a data gateway provided in the embodiment of the present disclosure, before S202 described above, the following S208 may be further included:
s208, the signaling gateway sends a third query request to each data gateway in the data gateway pool.
Wherein the third query request is used to determine a resource occupancy of each data gateway in the pool of data gateways.
Further, S202 described above may be specifically executed by S23 described below:
s23, the signaling gateway determines a first data gateway with the minimum resource occupancy rate in the data gateway pool as a data gateway corresponding to the signaling gateway.
Based on the scheme, after receiving the session request sent by the 5G small base station, the signaling gateway can also directly query the resource occupancy rate of each data gateway in the data gateway pool and directly select the data gateway with the minimum resource occupancy rate, thereby maximally reducing the probability of node problems generated by the selected data gateway.
Fig. 3 is a schematic diagram of a network architecture provided by an embodiment of the present disclosure, as shown in fig. 3, a 5G terminal 300 may access a 5G core network through a 5G small base station 301, the 5G small base station may be connected to a signaling gateway 302 through an N2 interface, the signaling gateway 302 may be connected to an AMF 303 network element in the 5G core network through an N2 interface, the 5G small base station 301 may be connected to a data gateway 304 through an N3 interface, the data gateway 304 may be connected to a UPF 305 in the core network through an N3 interface, the UPF 305 may access a data network through an N6 interface, and the data gateway 304 may also be connected to a local server.
In the embodiment of the present disclosure, the N2 interface (end), the N3 interface (end), and the N6 interface (end) are communication interfaces specified in a standard protocol.
Optionally, in the method for selecting a data gateway provided in the embodiment of the present disclosure, before S202 described above, the following S209 and S210, or S209 and S211 may be further included:
s209, the signaling gateway determines a destination address which is established by the terminal request according to the session request.
That is, the signaling gateway first determines the destination IP information of the session to be established, and determines whether the local server or the external network server is connected.
S210, if the destination address indicates that the terminal and the local server establish a session request, the signaling gateway determines a data gateway group for local offloading in the data gateway pool.
The first data gateway is a data gateway for local shunting.
That is, S202 described above may be specifically executed by S24 described below:
s24, the signaling gateway determines a first data gateway with the resource occupancy rate meeting a preset condition in a data gateway group for local shunting in the data gateway pool as a data gateway corresponding to the signaling gateway.
For accessing the local server, the data gateway forwards the user plane directly to the local server without forwarding through UPF, and the data gateway may be referred to as a local breakout data gateway.
S211, if the destination address indicates that the terminal and the external network server establish a session request, the signaling gateway determines a data gateway group used for forwarding in the data gateway pool.
Wherein the first data gateway is a data gateway for forwarding.
That is, the above S202 may be specifically performed by S25 described below
S25, the signaling gateway determines a first data gateway with the resource occupancy rate meeting a preset condition in a data gateway group used for forwarding in the data gateway pool as a data gateway corresponding to the signaling gateway.
For accessing the external network server, the data gateway is respectively connected with the small base station and the UPF of the core network through an N3 interface, and the gateway can be called as a forwarding data gateway.
Based on the proposal, the signaling gateway firstly judges the destination IP information of the session to be established, if the signaling gateway is a local server, the subsequent selection is based on a local shunt data gateway group, and if the signaling gateway is an external network server, the subsequent selection is based on a forwarding data gateway group. The signaling gateway then judges the position information of the small base station initiating the session, and selects a plurality of data gateways nearest to the 5G small base station according to the deployment place information of the data gateways. And finally, the signaling gateway sends a CPU occupation condition query application to the finally selected data gateway group, selects the data gateway with the lowest CPU as a user plane forwarding gateway, and also can randomly select one data gateway from the finally selected data gateway group to query the CPU occupation condition, and selects the data gateway with the CPU occupation rate smaller than a preset threshold as the user plane forwarding gateway.
Optionally, in the method for selecting a data gateway provided in the embodiment of the present disclosure, after S202 described above, the following S212 and S213 may be further included:
And S212, after the session is established, the signaling gateway maintains a heartbeat detection mechanism of the signaling gateway and the data gateway pool, and periodically determines the survival state of the data gateway in the data gateway pool based on the heartbeat detection mechanism.
That is, after session establishment, the signaling gateway may continue to establish heartbeat detection with the data gateway in the pool of data gateways, periodically acquiring the data gateway survival status.
S213, when the first data gateway is in a non-survival state, the signaling gateway reselects survival from the data gateway pool, and the third data gateway with the resource occupancy rate meeting the preset condition is the data gateway corresponding to the signaling gateway.
Based on the scheme, after the establishment of the session is determined, the signaling gateway can continuously execute a heartbeat detection mechanism established with the data gateway pool, the survival state of the data gateway is periodically determined, after the first data gateway is actively found to be deactivated, the alternative third data gateway can be timely selected from the data gateway pool again, the binding relation between the signaling gateway and the first data gateway is actively unbinding, the signaling gateway and the third data gateway are rebinding, the 5G small cell is unaware, the session can be re-established, and the long-time interruption of the session is avoided.
Example 1:
fig. 4 is an interactive flow diagram of a base station gateway disaster recovery function according to an embodiment of the present disclosure, which may include the following steps S401 to S413:
s401, a heartbeat detection mechanism is established between the signaling gateway and a data gateway in the data gateway pool, and the survival state of the data gateway is obtained regularly.
S402, the 5G base station initiates a registration signaling to a signaling gateway, and the signaling gateway forwards the registration signaling to the AMF.
S403, the terminal initiates a session application, and the 5G small base station initiates a session request signaling to the signaling gateway.
S404, the signaling gateway judges the destination IP information of the session to be established, and determines the data gateway according to the destination IP information.
The subsequent selections are based on the local breakout data gateway group if the server is a local server and the forwarding data gateway group if the server is an external network server. The signaling gateway then judges the position information of the small base station initiating the session, and selects a plurality of data gateways nearest to the 5G small base station according to the deployment place information of the data gateways. And finally, the signaling gateway sends a CPU occupation condition query application to the data gateway group selected last, and the data gateway with the lowest CPU is selected as a user plane forwarding gateway. The signaling gateway stores the last data gateway group information of the session established at this time.
S405, the signaling gateway forwards the session request signaling to the AMF, and the local N3 terminal is set as the first data gateway just selected.
S406, the signaling gateway initiates a GTP tunnel request to the selected first data gateway.
S407, the signaling gateway returns the IP information of the selected first data gateway to the 5G small base station.
Namely, the reply signaling of the AMF to the session request is forwarded to the 5G small base station, and the local N3 end is set as the first data gateway just selected.
And S408, the 5G small base station establishes user plane connection with the UPF, and the first data gateway is used as a user plane forwarding gateway.
S409, the signaling gateway establishes heartbeat detection with the data gateway in the data gateway pool, acquires the survival state of the data gateway, and discovers that the first data gateway has no survival state.
S410, the signaling gateway initiates a CPU query state to the data gateway group stored in S404, and selects the second data gateway with the lowest CPU as a user plane forwarding gateway.
S411, the signaling gateway initiates a tunnel request to the selected second data gateway.
And S412, the signaling gateway returns the IP information of the selected second data gateway to the 5G small base station.
S413, the 5G small base station establishes user plane connection with the UPF, and the second data gateway is used as a user plane forwarding gateway.
It should be noted that, as the 5G integrated base station is deployed in the existing network, more base stations need to be returned from the metropolitan area network, so that the 5G base station gateway will be deployed in the existing network scale.
It should be noted that, in the data gateway selection method provided in the embodiments of the present disclosure, the execution body may also be a signaling gateway, or a control module in the signaling gateway for executing the data gateway selection method. In the embodiment of the present disclosure, a method for selecting a data gateway by using a signaling gateway is taken as an example, and an apparatus for selecting a data gateway provided in the embodiment of the present disclosure is described.
Fig. 5 is a schematic structural diagram of a signaling gateway according to an embodiment of the present disclosure, as shown in fig. 5, the signaling gateway 500 includes: a receiving module 501 and a selecting module 502; a receiving module 501, configured to receive a session request initiated by a 5G small cell, where the session request is triggered by the 5G small cell based on a session application initiated by a terminal; the selecting module 502 is configured to determine, as a data gateway corresponding to the signaling gateway, a first data gateway in a data gateway pool whose resource occupancy rate meets a preset condition, where the data gateway pool includes a plurality of data gateways deployed on different physical nodes.
Optionally, in conjunction with fig. 5, as shown in fig. 6, the signaling gateway 500 further includes: a setup module 503 and a determination module 504; an establishing module 503, configured to establish a heartbeat detection mechanism of the signaling gateway and the data gateway pool before receiving a session request initiated by the 5G small cell; a determining module 504, configured to periodically determine a survival status of each data gateway in the pool of data gateways; the selection module is specifically used for: and determining a first data network which is in a survival state in the data gateway pool and the resource occupancy rate of which meets the preset condition as a data gateway corresponding to the signaling gateway.
Optionally, in conjunction with fig. 5, as shown in fig. 7, the signaling gateway 500 further includes: a transmission module 505; the selecting module 502 is further configured to randomly select a first data gateway in the data gateway pool before determining that the first data network in the data gateway pool with the resource occupancy rate meeting the preset condition is a user plane forwarding gateway corresponding to the signaling gateway; a sending module 505, configured to send a first query request to a first data gateway, where the first query request is used to request a resource occupation situation of the first data gateway; the selection module 502 is specifically configured to: and if the resource occupancy rate of the first data gateway is smaller than or equal to a preset threshold value, determining the first data gateway as the data gateway.
Optionally, the selecting module is further configured to, after the sending module sends the first query request to the first data gateway, re-randomly select the second data gateway if the resource occupancy rate of the first data gateway is greater than a preset threshold; the sending module is further configured to send a second query request to the second data gateway, where the second query request is used to request a resource occupation situation of the second data gateway.
Optionally, the sending module is further configured to send a third query request to each data gateway in the data gateway pool before the selecting module determines that the first data network in the data gateway pool with the resource occupancy rate meeting the preset condition is a user plane forwarding gateway corresponding to the signaling gateway, where the third query request is used to determine the resource occupancy rate of each data gateway in the data gateway pool; the selection module is specifically configured to determine a first data gateway with a minimum resource occupancy rate in the data gateway pool as a data gateway corresponding to the signaling gateway.
Optionally, the determining module is further configured to determine, according to the session request, a destination address that the terminal requests to establish before determining, as a data gateway corresponding to the signaling gateway, a first data network in which the resource occupancy rate in the data gateway pool meets a preset condition; if the destination address indicates that the terminal and the local server establish a session request, determining a data gateway group for local distribution in a data gateway pool, wherein the first data gateway is a data gateway for local distribution; or if the destination address indicates that the terminal and the external network server establish a session request, determining a data gateway group for forwarding in the data gateway pool, wherein the first data gateway is the data gateway for forwarding.
Optionally, the establishing module is further configured to: after the session is established, maintaining a heartbeat detection mechanism of the signaling gateway and the data gateway pool; the determining module is also used for determining the survival state of the data gateway in the data gateway pool based on the heartbeat detection mechanism at regular intervals; and the selection module is also used for selecting the surviving data gateway from the data gateway pool again under the condition that the first data gateway is in a non-surviving state, and the second data gateway with the resource occupancy rate meeting the preset condition is the data gateway corresponding to the signaling gateway.
The embodiment of the disclosure provides a signaling gateway, which selects a first data gateway with a resource occupancy meeting a preset condition from a data gateway pool under the condition that the signaling gateway receives a session request initiated by a 5G small cell, and uses the first data gateway as a data gateway corresponding to the signaling gateway, so that the first data gateway is bound into a one-to-one correspondence. Because the signaling gateway is a data gateway which is bound from the data gateway pool based on the resource occupancy rate, and the data gateways in the data gateway pool are data gateways which are deployed in different physical nodes, the signaling gateway can autonomously select the data gateway with smaller resource occupancy from different physical nodes to bind, so that the probability of the problem of the data gateway node possibly occurring in the selection of the data gateway can be reduced.
The signaling gateway 500 provided in the embodiments of the present disclosure can implement each process implemented by the embodiments of the methods of fig. 1 to 4, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 8, the embodiment of the present disclosure further provides a signaling gateway 600, including a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and capable of running on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the foregoing embodiment of the method for selecting a data gateway, and the same technical effects are achieved, and for avoiding repetition, a description is omitted herein.
It should be noted that the signaling gateway 900 shown in fig. 9 is only an example, and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.
As shown in fig. 9, 900 includes a CPU 901 which can execute various appropriate actions and processes according to a program stored in a ROM (Read Only Memory) 902 or a program loaded from a storage portion 908 into a RAM (Random Access Memory ) 903. In the RAM 903, various programs and data required for system operation are also stored. The CPU 901, ROM902, and RAM 903 are connected to each other through a bus 904. An I/O (Input/Output) interface 905 is also connected to bus 904.
The following components are connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, and the like; an output portion 907 including a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display ), and the like, and a speaker, and the like; a storage portion 908 including a hard disk or the like; and a communication section 909 including a network interface card such as a LAN (Local Area Network, wireless network) card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the I/O interface 905 as needed. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 910 so that a computer program read out therefrom is installed into the storage section 908 as needed.
In particular, according to embodiments of the present disclosure, the processes described below with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 909 and/or installed from the removable medium 911. When the computer program is executed by a central processing unit (CPU 901), various functions defined in the system of the present application are performed.
The embodiment of the present disclosure further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction, when executed by a processor, implement each process of the foregoing data gateway selection method embodiment, and achieve the same technical effect, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as ROM, RAM, magnetic disk or optical disk.
The embodiment of the disclosure further provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, implement each process of the foregoing data gateway selection method embodiment, and achieve the same technical effect, so that repetition is avoided, and no further description is given here.
It should be understood that the chips referred to in the embodiments of the present disclosure may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present disclosure provide a computer program product including instructions, which when executed on a computer, cause the computer to perform the steps of the method for selecting a data gateway as described above, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present disclosure is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present disclosure may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present disclosure.
The embodiments of the present disclosure have been described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the disclosure and the scope of the claims, which are all within the protection of the present disclosure.

Claims (11)

1. A method of selecting a data gateway, applied to a signaling gateway, the method comprising:
receiving a session request initiated by a 5G small cell, wherein the session request is triggered by the 5G small cell based on a session application initiated by a terminal;
and determining a first data gateway with the resource occupancy rate meeting a preset condition in a data gateway pool as a data gateway corresponding to the signaling gateway, wherein the data gateway pool comprises a plurality of data gateways deployed on different physical nodes.
2. The method of claim 1, wherein prior to receiving the 5G small cell initiated session request, the method further comprises:
establishing a heartbeat detection mechanism of the signaling gateway and the data gateway pool;
Periodically determining the survival state of each data gateway in the data gateway pool;
the determining that the first data network with the resource occupancy rate meeting the preset condition in the data gateway pool is the data gateway corresponding to the signaling gateway includes:
and determining a first data network which is in a survival state and the resource occupancy rate of which meets a preset condition in the data gateway pool as a data gateway corresponding to the signaling gateway.
3. The method according to claim 1 or 2, wherein before determining, as the data gateway corresponding to the signaling gateway, the first data network in which the resource occupancy rate in the data gateway pool satisfies the preset condition, the method further includes:
randomly selecting a first data gateway in the data gateway pool;
sending a first query request to the first data gateway, wherein the first query request is used for requesting the resource occupation condition of the first data gateway;
the determining the first data of which the resource occupancy rate in the data gateway pool meets the preset condition as the user plane forwarding gateway corresponding to the signaling gateway comprises the following steps:
and if the resource occupancy rate of the first data gateway is smaller than or equal to a preset threshold value, determining the first data gateway as a user plane forwarding gateway.
4. A method according to claim 3, wherein after said sending a first query request to said first data gateway, the method further comprises:
and if the resource occupancy rate of the first data gateway is larger than a preset threshold value, randomly selecting a second data gateway again, and sending a second query request to the second data gateway, wherein the second query request is used for requesting the resource occupancy condition of the second data gateway.
5. The method according to claim 1 or 2, wherein before determining, as the data gateway corresponding to the signaling gateway, the first data network in which the resource occupancy rate in the data gateway pool satisfies the preset condition, the method includes:
sending a third query request to each data gateway in the data gateway pool, wherein the third query request is used for determining the resource occupancy rate of each data gateway in the data gateway pool;
determining a first data network with the resource occupancy rate meeting a preset condition in a data gateway pool as a user plane forwarding gateway corresponding to the signaling gateway;
and determining the first data gateway with the minimum resource occupancy rate in the data gateway pool as the data gateway corresponding to the signaling gateway.
6. The method according to claim 1, wherein before determining, as the data gateway corresponding to the signaling gateway, the first data network in the pool of data gateways whose resource occupancy satisfies the preset condition, the method further includes:
determining a destination address which is requested to be established by the terminal according to the session request;
if the destination address indicates that the terminal and the local server establish a session request, determining a data gateway group for local distribution in the data gateway pool, wherein the first data gateway is a data gateway for local distribution;
or,
and if the destination address indicates that the terminal and the external network server establish a session request, determining a data gateway group for forwarding in the data gateway pool, wherein the first data gateway is a data gateway for forwarding.
7. The method according to claim 1, wherein the method further comprises:
after the session is established, maintaining a heartbeat detection mechanism of the signaling gateway and the data gateway pool, and determining the survival state of the data gateway in the data gateway pool based on the heartbeat detection mechanism at regular intervals;
and under the condition that the first data gateway is in a non-survival state, selecting the data gateway which survives from the data gateway pool again, wherein the second data gateway with the resource occupancy rate meeting the preset condition is the data gateway corresponding to the signaling gateway.
8. A signaling gateway, the signaling gateway comprising: a receiving module and a selecting module;
the receiving module is used for receiving a session request initiated by a 5G small cell, wherein the session request is triggered by the 5G small cell based on a session application initiated by a terminal;
the selection module is configured to determine a first data gateway in a data gateway pool, where the first data gateway has a resource occupancy rate that meets a preset condition, as a data gateway corresponding to the signaling gateway, where the data gateway pool includes a plurality of data gateways deployed on different physical nodes.
9. A signalling gateway comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor carries out the steps of the data gateway selection method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that it stores thereon a program or instructions, which when executed by a processor, implement the steps of the data gateway selection method according to any of claims 1 to 7.
11. A computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the data gateway selection method according to any one of claims 1 to 7.
CN202210894094.6A 2022-07-27 2022-07-27 Data gateway selection method and signaling gateway Pending CN117528556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210894094.6A CN117528556A (en) 2022-07-27 2022-07-27 Data gateway selection method and signaling gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210894094.6A CN117528556A (en) 2022-07-27 2022-07-27 Data gateway selection method and signaling gateway

Publications (1)

Publication Number Publication Date
CN117528556A true CN117528556A (en) 2024-02-06

Family

ID=89759216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210894094.6A Pending CN117528556A (en) 2022-07-27 2022-07-27 Data gateway selection method and signaling gateway

Country Status (1)

Country Link
CN (1) CN117528556A (en)

Similar Documents

Publication Publication Date Title
CN112153098B (en) Application migration method and device
CN110248352B (en) Session management method, device and computer readable storage medium
US11606421B2 (en) Edge computing relocation
US20200323029A1 (en) Session Processing Method and Apparatus
CN110278096B (en) Communication method and device based on network slice
US10986543B2 (en) Method and device for determining a bearer identifier, and storage medium therefor
JP2021185690A (en) Session management method, system and terminal
US11425604B2 (en) User plane resource management method, user plane network element, and control plane network element
WO2020030109A1 (en) Information transmission method and apparatus, storage medium, and electronic apparatus
KR20200062272A (en) Mobile network interaction proxy
WO2019237999A1 (en) Transmission link management, establishment, and migration methods, apparatus, node, and storage medium
CN110972224B (en) Communication method, device and system
CN118890664A (en) User plane establishment during 5G system to evolved packet system handover
CN110266826B (en) Address management method, equipment and system
KR102586114B1 (en) Method and apparatus for controlling disorder in downlink data and computer readable medium
WO2019184721A1 (en) Redirection method and device
US20240340077A1 (en) Satellite switching method, apparatus, storage medium, and chip system
CN107277882B (en) Data routing method, device and base station
US11576101B2 (en) Air interface inactive state maintaining method and device
CN115243396A (en) Information processing method, session management function network element and user plane function network element
CN111436162B (en) Processing method and equipment
CN107113687B (en) Method and entity for mobility support selection
CN111565479B (en) Communication method, device and system thereof
CN113411815A (en) Method and device for accessing network slice
CN117528556A (en) Data gateway selection method and signaling gateway

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