CN115967935B - Method, device, equipment and readable medium for 5G base station to communicate with 5GC through NAT gateway - Google Patents

Method, device, equipment and readable medium for 5G base station to communicate with 5GC through NAT gateway Download PDF

Info

Publication number
CN115967935B
CN115967935B CN202111177224.6A CN202111177224A CN115967935B CN 115967935 B CN115967935 B CN 115967935B CN 202111177224 A CN202111177224 A CN 202111177224A CN 115967935 B CN115967935 B CN 115967935B
Authority
CN
China
Prior art keywords
address
base station
core network
pdu session
nat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111177224.6A
Other languages
Chinese (zh)
Other versions
CN115967935A (en
Inventor
朱红绿
孙丽楠
周海洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China 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 CN202111177224.6A priority Critical patent/CN115967935B/en
Publication of CN115967935A publication Critical patent/CN115967935A/en
Application granted granted Critical
Publication of CN115967935B publication Critical patent/CN115967935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present disclosure provides a method, apparatus, device and readable medium for a 5G base station to communicate with a 5GC via a NAT gateway, wherein the method includes: in a non-tunnel communication mode, controlling the NAT detection module to request the converted IP address from the NAT gateway; receiving a response fed back by the NAT gateway, wherein the response comprises the IP address; receiving a PDU session resource configuration request sent by the 5GC core network in response to a PDU session request sent by a terminal device; analyzing a transport layer address in the PDU conversation resource configuration request, and triggering the signaling modification module to write the IP address into the PDU conversation resource configuration response; and feeding back PDU session resource configuration response to the 5GC core network to indicate a transport layer address for transmitting user plane data to the 5GC core network. According to the embodiment of the invention, on the premise of not changing the networking architecture, the interaction of the 5G base station and the 5GC core network in the NAT conversion scene is realized, and the reliability of the 5GC core network for transmitting downlink user plane data is improved.

Description

Method, device, equipment and readable medium for 5G base station to communicate with 5GC through NAT gateway
Technical Field
The disclosure relates to the technical field of communication, in particular to a method, a device, equipment and a readable medium for a 5G base station to communicate with a 5GC through a NAT gateway.
Background
Currently, when a base station communicates with a 5GC core network, a cell Transport LAYER ADDRESS (Transport layer address) in a signaling PDU Session Resource Setup Response (PDU session resource allocation response) usually carries an IP address of a user plane of the base station, and the 5GC core network analyzes the IP address in the cell to send downlink data of the user plane.
In the related art, when NAT (Network Address Translation ) conversion exists between the base station and the 5GC core network, the IP address seen by the 5GC core network at the IP layer is different from the IP address seen at the signaling layer, and the 5GC core network sends data to the base station according to the signaling layer address, which may cause that the downlink user plane data cannot be routed correctly.
In order to solve the problem of NAT conversion, an IPSec tunnel can be established between a base station and an NAT gateway by deploying equipment such as a security gateway and a signaling gateway, IPSec (IP Security) is a long-term direction of secure networking, active protection is provided by end-to-end security to prevent the attack of a private network and the Internet, the address transmitted by the base station in the tunnel is consistent with the address packaged in the signaling through tunnel shielding NAT conversion, and the traversing problem of the NAT gateway can be solved.
However, in the industrial 5G private network project, devices such as a security gateway and a signaling gateway are not necessarily deployed, and the problem that the downlink user plane data cannot be routed correctly due to NAT conversion devices is caused.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a method, apparatus, device, and readable medium for 5G base station to communicate with 5GC via NAT gateway, which overcome, at least in part, the problem of incorrect routing of downstream user plane data due to limitations and drawbacks of the related art.
According to a first aspect of an embodiment of the present disclosure, there is provided a method for a 5G base station to communicate with a 5GC core network via a NAT gateway, including: in a non-tunnel communication mode, controlling the NAT detection module to request the converted IP address from the NAT gateway; receiving a response fed back by the NAT gateway, wherein the response comprises the IP address; receiving a PDU session resource configuration request sent by the 5GC core network in response to a PDU session request sent by a terminal device; analyzing a transport layer address in the PDU conversation resource configuration request, and triggering the signaling modification module to write the IP address into the PDU conversation resource configuration response; and feeding back PDU session resource configuration response to the 5GC core network to indicate a transport layer address for transmitting user plane data to the 5GC core network.
In an exemplary embodiment of the present disclosure, parsing a transport layer address in the PDU session resource configuration request and triggering the signaling modification module to write the IP address into the PDU session resource configuration response includes: analyzing a transport layer address in the PDU session resource allocation request, and determining a 5G base station IP address in the transport layer address; triggering the signaling modification module to modify the IP address of the 5G base station into the IP address, and writing the IP address into the PDU session resource configuration response.
According to a second aspect of the embodiments of the present disclosure, there is provided a method for a 5G base station to communicate with a 5GC core network via a NAT gateway, applicable to the NAT gateway, where the 5G base station is provided with a NAT detection module and a signaling modification module, and the method for the 5G base station to communicate with the 5GC core network via the NAT gateway includes: receiving a request for acquiring the converted IP address sent by the NAT detection module; and feeding back a response to the NAT detection module, wherein the response comprises the IP address, so that the signaling modification module writes the IP address into the PDU session resource configuration response and feeds back the PDU session resource configuration response to the 5GC core network.
According to a third aspect of the embodiments of the present disclosure, there is provided a method for a 5G base station to communicate with a 5GC core network via a NAT gateway, which is applicable to the 5GC core network, where the 5G base station is provided with a NAT detection module and a signaling modification module, and the method for the 5G base station to communicate with the 5GC core network via the NAT gateway includes: responding to a PDU conversation request sent by a terminal device, and feeding back a PDU conversation resource allocation request to the 5G base station network, wherein the PDU conversation resource allocation request carries a transport layer address; receiving PDU conversation resource allocation response fed back by the 5G base station, wherein the PDU conversation resource allocation response carries a transport layer address written with an IP address, the NAT detection module acquires the converted IP address fed back by an NAT gateway and sends the IP address to the signaling modification module, and the signaling modification module writes the IP address into the PDU conversation resource allocation response; and feeding back user plane data to the 5G base station according to the transport layer address carried by the PDU session resource allocation response.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for a 5G base station to communicate with a 5GC core network via a NAT gateway, adapted to the 5G base station, where the 5G base station is provided with a NAT detection module and a signaling modification module, and the method for the 5G base station to communicate with the 5GC core network via the NAT gateway includes: the control module is arranged for controlling the NAT detection module to request the converted IP address from the NAT gateway in a non-tunnel communication mode; the receiving module is configured to receive a response fed back by the NAT gateway, wherein the response comprises the IP address; the receiving module is configured to receive a PDU session resource configuration request sent by the 5GC core network in response to a PDU session request sent by the terminal device; the analyzing module is configured to analyze the transport layer address in the PDU session resource configuration request and trigger the signaling modifying module to write the IP address into the PDU session resource configuration response; and the sending module is configured to feed back a PDU session resource configuration response to the 5GC core network so as to indicate a transport layer address for transmitting user plane data to the 5GC core network.
In an exemplary embodiment of the present disclosure, the parsing module is further configured to: analyzing a transport layer address in the PDU session resource allocation request, and determining a 5G base station IP address in the transport layer address; triggering the signaling modification module to modify the IP address of the 5G base station into the IP address, and writing the IP address into the PDU session resource configuration response.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an apparatus for communicating a 5G base station with a 5GC core network via a NAT gateway, adapted for the NAT gateway, the 5G base station being provided with a NAT detection module and a signaling modification module, the apparatus for communicating the 5G base station with the 5GC core network via the NAT gateway comprising: the receiving module is configured to receive a request for acquiring the converted IP address sent by the NAT detection module; and the sending module is configured to feed back a response to the NAT detection module, wherein the response comprises the IP address, so that the signaling modification module writes the IP address into the PDU session resource configuration response and feeds back the PDU session resource configuration response to the 5GC core network.
According to a sixth aspect of the embodiments of the present disclosure, there is provided an apparatus for communicating a 5G base station with a 5GC core network via a NAT gateway, adapted to the 5GC core network, the 5G base station being provided with a NAT detection module and a signaling modification module, the apparatus for communicating the 5G base station with the 5GC core network via the NAT gateway, including: the sending module is configured to respond to a PDU session request sent by the terminal equipment and feed back a PDU session resource configuration request to the 5G base station network, wherein the PDU session resource configuration request carries a transport layer address; the receiving module is configured to receive a PDU session resource configuration response fed back by the 5G base station, wherein the PDU session resource configuration response carries a transport layer address written with an IP address, the NAT detection module acquires the converted IP address fed back by the NAT gateway and sends the IP address to the signaling modification module, and the signaling modification module writes the IP address into the PDU session resource configuration response; and the sending module is further configured to feed back user plane data to the 5G base station according to the transport layer address carried by the PDU session resource allocation response.
According to a seventh aspect of the present disclosure, there is provided an electronic device comprising: a memory; and a processor coupled to the memory, the processor configured to perform the method of any of the above based on instructions stored in the memory.
According to an eighth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a program which when executed by a processor implements a method of a 5G base station according to any one of the above, communicating with a 5GC core network via a NAT gateway.
According to the embodiment of the disclosure, by detecting the IP address converted by the NAT gateway and writing the IP address into the transport layer address, the transport layer address is carried in the PDU session resource allocation response and fed back to the 5GC core network, based on the IP address, the 5GC core network performs accurate routing of the downlink user data plane according to the converted IP address, and the reliability and stability of data interaction of the 5GC core network are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 is a flow chart of a method of a 5G base station communicating with a 5GC core network via a NAT gateway in one exemplary embodiment of the present disclosure;
Fig. 2 is a flow chart of a method of a 5G base station communicating with a 5GC core network via a NAT gateway in another exemplary embodiment of the present disclosure;
Fig. 3 is a flow chart of a method of a 5G base station communicating with a 5GC core network via a NAT gateway in another exemplary embodiment of the present disclosure;
Fig. 4 is a flow chart of a method of a 5G base station communicating with a 5GC core network via a NAT gateway in another exemplary embodiment of the disclosure;
FIG. 5 is a schematic diagram of a 5G base station in an exemplary embodiment of the present disclosure in communication architecture with a 5GC core network via a NAT gateway;
fig. 6 is an interaction diagram of a 5G base station with a 5GC core network communication architecture via a NAT gateway in another exemplary embodiment of the present disclosure;
FIG. 7 is a block diagram of an apparatus for a 5G base station to communicate with a 5GC core network via a NAT gateway in one exemplary embodiment of the disclosure;
Fig. 8 is a block diagram of an apparatus for a 5G base station to communicate with a 5GC core network via a NAT gateway in another exemplary embodiment of the present disclosure;
Fig. 9 is a block diagram of an apparatus for a 5G base station to communicate with a 5GC core network via a NAT gateway in another exemplary embodiment of the present disclosure;
Fig. 10 is a block diagram of an electronic device in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are only schematic illustrations of the present disclosure, in which the same reference numerals denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The following describes example embodiments of the present disclosure in detail with reference to the accompanying drawings.
Fig. 1 is a flow chart of a method of a 5G base station communicating with a 5GC core network via a NAT gateway in an exemplary embodiment of the present disclosure.
Referring to fig. 1, the method applicable to a 5G base station, where the 5G base station is provided with a NAT detection module and a signaling modification module, and the method for the 5G base station to communicate with a 5GC core network via a NAT gateway may include:
Step S102, in a non-tunnel communication mode, the NAT detection module is controlled to request the converted IP address from the NAT gateway.
Step S104, receiving a response fed back by the NAT gateway, wherein the response comprises the IP address.
Step S106, receiving PDU conversation resource allocation request sent by the 5GC core network in response to the PDU conversation request sent by the terminal equipment.
Step S108, analyzing the transport layer address in the PDU conversation resource allocation request, and triggering the signaling modification module to write the IP address into the PDU conversation resource allocation response.
Step S110, the PDU session resource allocation response is fed back to the 5GC core network to indicate the transport layer address used for transmitting the user plane data to the 5GC core network.
According to the embodiment of the disclosure, by detecting the IP address converted by the NAT gateway and writing the IP address into the transport layer address, the transport layer address is carried in the PDU session resource allocation response and fed back to the 5GC core network, based on the detection, the 5GC core network can accurately route the downlink user data surface according to the converted IP address without changing the 5GC networking structure, and the reliability and stability of the data interaction of the 5GC core network are improved.
Next, each step of the method for the 5G base station to communicate with the 5GC core network via the NAT gateway will be described in detail.
In an exemplary embodiment of the present disclosure, as shown in fig. 2, parsing a transport layer address in the PDU session resource configuration request, and triggering the signaling modification module to write the IP address into the PDU session resource configuration response includes:
step S202, analyzing the transport layer address in the PDU conversation resource allocation request, and determining the IP address of the 5G base station in the transport layer address.
Step S204, triggering the signaling modification module to modify the IP address of the 5G base station into the IP address, and writing the IP address into the PDU session resource configuration response.
Fig. 3 is a flow chart of a method of a 5G base station communicating with a 5GC core network via a NAT gateway in an exemplary embodiment of the present disclosure.
Referring to the method for the 5G base station to communicate with the 5GC core network through the NAT gateway shown in fig. 3, the method is applicable to the NAT gateway, the 5G base station is provided with a NAT detection module and a signaling modification module, and the method for the 5G base station to communicate with the 5GC core network through the NAT gateway includes:
Step S302, a request for obtaining the translated IP address sent by the NAT probe module is received.
Step S304, a response is fed back to the NAT detection module, wherein the response comprises the IP address, so that the signaling modification module writes the IP address into the PDU session resource configuration response, and feeds back the PDU session resource configuration response to the 5GC core network.
Fig. 4 is a flow chart of a method of a 5G base station communicating with a 5GC core network via a NAT gateway in an exemplary embodiment of the disclosure.
Referring to the method for the 5G base station to communicate with the 5GC core network through the NAT gateway shown in fig. 4, the method is applicable to the 5GC core network, the 5G base station is provided with a NAT detection module and a signaling modification module, and the method for the 5G base station to communicate with the 5GC core network through the NAT gateway includes:
Step S402, in response to the PDU session request sent by the terminal equipment, feeding back a PDU session resource allocation request to the 5G base station network, wherein the PDU session resource allocation request carries a transport layer address.
Step S404, receiving PDU conversation resource allocation response fed back by the 5G base station, wherein the PDU conversation resource allocation response carries a transport layer address written with an IP address, the NAT detection module obtains the converted IP address fed back by the NAT gateway and sends the IP address to the signaling modification module, and the signaling modification module writes the IP address into the PDU conversation resource allocation response.
And step S406, feeding back the user plane data to the 5G base station according to the transport layer address carried by the PDU conversation resource allocation response.
As shown in fig. 5, the architecture of 5G base station communication with 5GC core network via NAT gateway includes 5G base station 502, NAT gateway 504 and 5GC core network 506,5G base station 502 includes NAT probe module 5022 and signaling modification module 5024.
As shown in fig. 6, a 5G base station 502, a NAT gateway 504 (home/government/gateway), and a 5GC core network 506 implement a 5G base station and 5GC core network communication procedure, including:
1. a switch is configured at the 5G base station 502 to switch to the tunnel-less mode.
2. The NAT probe module 5022 sends a request to the NAT gateway 504 to probe the next hop IP address.
3. The NAT gateway 504 feeds back the response IP address to the NAT probe 5022.
4. The NAT detection module 5022 notifies the signaling modification module 5024 of the IP address after NAT.
5. In response to the signaling that the user requests access, the 5GC core network 506 feeds back PDU Session Resource Setup Request to the signaling modification module 5024.
6. The signaling modification module 5024 writes the IP address into the Transport LAYER ADDRESS as the post-NAT routing address of the 5G base station 502 and feeds back PDU Session Resource Setup Response, PDU Session Resource Setup Response to the 5GC core network 506 carrying the forcedly modified Transport LAYER ADDRESS, for example, modify Transport LAYER ADDRESS "192.168.1.2" to the post-NAT IP address "10.32.88.9".
Fig. 7 is a schematic diagram of an apparatus for a 5G base station to communicate with a 5GC core network via a NAT gateway in an exemplary embodiment of the present disclosure.
Referring to fig. 7, an apparatus 700 for communicating a 5G base station with a 5GC core network via a NAT gateway is applicable to a 5G base station, where the 5G base station is provided with a NAT detection module and a signaling modification module, and the apparatus 700 for communicating a 5G base station with a 5GC core network via a NAT gateway includes:
the control module 702 is configured to control the NAT probe module to request the converted IP address from the NAT gateway in the non-tunnel communication mode.
And a receiving module 704, configured to receive a response fed back by the NAT gateway, where the response includes the IP address.
The receiving module 704 is configured to receive a PDU session resource configuration request sent by the 5GC core network in response to a PDU session request sent by a terminal device.
And the parsing module 706 is configured to parse the transport layer address in the PDU session resource configuration request, and trigger the signaling modification module to write the IP address into the PDU session resource configuration response.
A sending module 708, configured to feed back a PDU session resource configuration response to the 5GC core network, to indicate to the 5GC core network a transport layer address for transmitting user plane data.
In an exemplary embodiment of the present disclosure, the parsing module 706 is further configured to: analyzing a transport layer address in the PDU session resource allocation request, and determining a 5G base station IP address in the transport layer address; triggering the signaling modification module to modify the IP address of the 5G base station into the IP address, and writing the IP address into the PDU session resource configuration response.
Fig. 8 is a schematic diagram of an apparatus in which a 5G base station communicates with a 5GC core network via a NAT gateway in an exemplary embodiment of the present disclosure.
Referring to fig. 8, a device 800 for communicating a 5G base station with a 5GC core network via a NAT gateway is applicable to the NAT gateway, the 5G base station is provided with a NAT detection module and a signaling modification module, and the device 800 for communicating a 5G base station with a 5GC core network via a NAT gateway includes:
a receiving module 802, configured to receive a request sent by the NAT probe module to obtain the translated IP address;
a sending module 804, configured to feed back a response to the NAT probe module, where the response includes the IP address, so that the signaling modification module writes the IP address into the PDU session resource configuration response, and feeds back the PDU session resource configuration response to the 5GC core network.
Fig. 9 is a schematic diagram of an apparatus in which a 5G base station communicates with a 5GC core network via a NAT gateway in an exemplary embodiment of the present disclosure.
Referring to fig. 9, the apparatus 900 for communicating a 5G base station with a 5GC core network via a NAT gateway is applicable to the 5GC core network, where the 5G base station is provided with a NAT detection module and a signaling modification module, and the apparatus 900 for communicating a 5G base station with a 5GC core network via a NAT gateway includes:
And the sending module 902 is configured to respond to a PDU session request sent by the terminal equipment and feed back a PDU session resource configuration request to the 5G base station network, wherein the PDU session resource configuration request carries a transport layer address.
The receiving module 904 is configured to receive a PDU session resource allocation response fed back by the 5G base station, where the PDU session resource allocation response carries a transport layer address written with an IP address, the NAT detection module obtains the converted IP address fed back by the NAT gateway and sends the converted IP address to the signaling modification module, and the signaling modification module writes the IP address into the PDU session resource allocation response.
The sending module 902 is further configured to feed back user plane data to the 5G base station according to a transport layer address carried by the PDU session resource configuration response.
Corresponding to the above method embodiment, the present disclosure further provides an apparatus for communicating, by a 5G base station, with a 5GC core network via a NAT gateway, which may be configured to perform the above method embodiment.
Since the functions of the device 700 for communicating with the 5GC core network through the NAT gateway by the 5G base station, the device 800 for communicating with the 5GC core network through the NAT gateway by the 5G base station, and the device 900 for communicating with the 5GC core network through the NAT gateway by the 5G base station are described in detail in the corresponding method embodiments, the disclosure is not repeated herein.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 1000 according to this embodiment of the present invention is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. Components of electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one memory unit 1020, and a bus 1030 that connects the various system components, including the memory unit 1020 and the processing unit 1010.
Wherein the storage unit stores program code that is executable by the processing unit 1010 such that the processing unit 1010 performs steps according to various exemplary embodiments of the present invention described in the above section of the "exemplary method" of the present specification. For example, the processing unit 1010 may perform methods as shown in embodiments of the present disclosure.
The memory unit 1020 may include readable media in the form of volatile memory units such as Random Access Memory (RAM) 10201 and/or cache memory unit 10202, and may further include Read Only Memory (ROM) 10203.
The storage unit 1020 may also include a program/utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
Bus 1030 may be representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1000 can also communicate with one or more external devices 1040 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any device (e.g., router, modem, etc.) that enables the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1050. Also, electronic device 1000 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 over the bus 1030. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with the electronic device 1000, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
The program product for implementing the above-described method according to an embodiment of the present invention may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. The method for the 5G base station to communicate with the 5GC core network through the NAT gateway is characterized by being suitable for the 5G base station, wherein the 5G base station is provided with an NAT detection module and a signaling modification module, and the method for the 5G base station to communicate with the 5GC core network through the NAT gateway comprises the following steps:
In a non-tunnel communication mode, controlling the NAT detection module to request the converted IP address from the NAT gateway;
receiving a response fed back by the NAT gateway, wherein the response comprises the IP address;
receiving a PDU session resource configuration request sent by the 5GC core network in response to a PDU session request sent by a terminal device;
Analyzing a transport layer address in the PDU conversation resource configuration request, and triggering the signaling modification module to write the IP address into the PDU conversation resource configuration response;
And feeding back PDU session resource configuration response to the 5GC core network to indicate a transport layer address for transmitting user plane data to the 5GC core network.
2. The method of claim 1, wherein resolving a transport layer address in the PDU session resource configuration request and triggering the signaling modification module to write the IP address into the PDU session resource configuration response comprises:
Analyzing a transport layer address in the PDU session resource allocation request, and determining a 5G base station IP address in the transport layer address;
triggering the signaling modification module to modify the IP address of the 5G base station into the IP address, and writing the IP address into the PDU session resource configuration response.
3. The method for the 5G base station to communicate with the 5GC core network through the NAT gateway is characterized by being suitable for the NAT gateway, the 5G base station is provided with an NAT detection module and a signaling modification module, and the method for the 5G base station to communicate with the 5GC core network through the NAT gateway comprises the following steps:
receiving a request for acquiring the converted IP address sent by the NAT detection module;
And feeding back a response to the NAT detection module, wherein the response comprises the IP address, so that the signaling modification module writes the IP address into a PDU session resource configuration response and feeds back the PDU session resource configuration response to the 5GC core network.
4. The method for the 5G base station to communicate with the 5GC core network through the NAT gateway is characterized by being suitable for the 5GC core network, wherein the 5G base station is provided with an NAT detection module and a signaling modification module, and the method for the 5G base station to communicate with the 5GC core network through the NAT gateway comprises the following steps:
Responding to a PDU conversation request sent by a terminal device, and feeding back a PDU conversation resource allocation request to the 5G base station network, wherein the PDU conversation resource allocation request carries a transport layer address;
Receiving PDU conversation resource allocation response fed back by the 5G base station, wherein the PDU conversation resource allocation response carries a transport layer address written with an IP address, the NAT detection module acquires the converted IP address fed back by an NAT gateway and sends the IP address to the signaling modification module, and the signaling modification module writes the IP address into the PDU conversation resource allocation response;
and feeding back user plane data to the 5G base station according to the transport layer address carried by the PDU session resource allocation response.
5. The device for communicating the 5G base station with the 5GC core network through the NAT gateway is characterized by being suitable for the 5G base station, wherein the 5G base station is provided with an NAT detection module and a signaling modification module, and the method for communicating the 5G base station with the 5GC core network through the NAT gateway comprises the following steps:
The control module is arranged for controlling the NAT detection module to request the converted IP address from the NAT gateway in a non-tunnel communication mode;
the receiving module is configured to receive a response fed back by the NAT gateway, wherein the response comprises the IP address;
The receiving module is configured to receive a PDU session resource configuration request sent by the 5GC core network in response to a PDU session request sent by the terminal device;
The analyzing module is configured to analyze the transport layer address in the PDU session resource configuration request and trigger the signaling modifying module to write the IP address into the PDU session resource configuration response;
and the sending module is configured to feed back a PDU session resource configuration response to the 5GC core network so as to indicate a transport layer address for transmitting user plane data to the 5GC core network.
6. The apparatus of claim 5G base station in communication with a 5GC core network via a NAT gateway, wherein the parsing module is further configured to:
Analyzing a transport layer address in the PDU session resource allocation request, and determining a 5G base station IP address in the transport layer address;
triggering the signaling modification module to modify the IP address of the 5G base station into the IP address, and writing the IP address into the PDU session resource configuration response.
7. The device for communicating the 5G base station with the 5GC core network through the NAT gateway is characterized by being suitable for the NAT gateway, wherein the 5G base station is provided with an NAT detection module and a signaling modification module, and the device for communicating the 5G base station with the 5GC core network through the NAT gateway comprises:
the receiving module is configured to receive a request for acquiring the converted IP address sent by the NAT detection module;
And the sending module is configured to feed back a response to the NAT detection module, wherein the response comprises the IP address, so that the signaling modification module writes the IP address into a PDU session resource configuration response and feeds back the PDU session resource configuration response to the 5GC core network.
8. The device for communicating the 5G base station with the 5GC core network through the NAT gateway is characterized by being suitable for the 5GC core network, wherein the 5G base station is provided with an NAT detection module and a signaling modification module, and the device for communicating the 5G base station with the 5GC core network through the NAT gateway comprises:
The sending module is configured to respond to a PDU session request sent by the terminal equipment and feed back a PDU session resource configuration request to the 5G base station network, wherein the PDU session resource configuration request carries a transport layer address;
The receiving module is configured to receive a PDU session resource configuration response fed back by the 5G base station, wherein the PDU session resource configuration response carries a transport layer address written with an IP address, the NAT detection module acquires the converted IP address fed back by the NAT gateway and sends the IP address to the signaling modification module, and the signaling modification module writes the IP address into the PDU session resource configuration response;
And the sending module is further configured to feed back user plane data to the 5G base station according to the transport layer address carried by the PDU session resource allocation response.
9. An electronic device, comprising:
A memory; and
A processor coupled to the memory, the processor configured to perform the method of the 5G base station of any of claims 1-4 communicating with a 5GC core network via a NAT gateway based on instructions stored in the memory.
10. A computer readable storage medium having stored thereon a program which when executed by a processor implements a method of a 5G base station according to any of claims 1-4 communicating with a 5GC core network via a NAT gateway.
CN202111177224.6A 2021-10-09 2021-10-09 Method, device, equipment and readable medium for 5G base station to communicate with 5GC through NAT gateway Active CN115967935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111177224.6A CN115967935B (en) 2021-10-09 2021-10-09 Method, device, equipment and readable medium for 5G base station to communicate with 5GC through NAT gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111177224.6A CN115967935B (en) 2021-10-09 2021-10-09 Method, device, equipment and readable medium for 5G base station to communicate with 5GC through NAT gateway

Publications (2)

Publication Number Publication Date
CN115967935A CN115967935A (en) 2023-04-14
CN115967935B true CN115967935B (en) 2024-04-30

Family

ID=87358831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111177224.6A Active CN115967935B (en) 2021-10-09 2021-10-09 Method, device, equipment and readable medium for 5G base station to communicate with 5GC through NAT gateway

Country Status (1)

Country Link
CN (1) CN115967935B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6779035B1 (en) * 2000-03-06 2004-08-17 Microsoft Corporation Application programming interface and generalized network address translator for translation of transport-layer sessions
CN101562601A (en) * 2008-04-17 2009-10-21 三星电子株式会社 Method of Home Node B crossing NAT in WCDMA system
CN110035134A (en) * 2019-03-22 2019-07-19 新华三技术有限公司 Method for network address translation, device and access device
CN110061820A (en) * 2018-01-19 2019-07-26 中兴通讯股份有限公司 The method and device of address transmission, storage medium, electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150304427A1 (en) * 2014-04-22 2015-10-22 Alcatel-Lucent Canada, Inc. Efficient internet protocol security and network address translation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6779035B1 (en) * 2000-03-06 2004-08-17 Microsoft Corporation Application programming interface and generalized network address translator for translation of transport-layer sessions
CN101562601A (en) * 2008-04-17 2009-10-21 三星电子株式会社 Method of Home Node B crossing NAT in WCDMA system
CN110061820A (en) * 2018-01-19 2019-07-26 中兴通讯股份有限公司 The method and device of address transmission, storage medium, electronic device
CN110035134A (en) * 2019-03-22 2019-07-19 新华三技术有限公司 Method for network address translation, device and access device

Also Published As

Publication number Publication date
CN115967935A (en) 2023-04-14

Similar Documents

Publication Publication Date Title
CN112738791B (en) User information correlation backfill method, device, equipment and medium based on 5G core network
CN114727291B (en) Local shunting system, method, device, network equipment and storage medium
CN114244906A (en) Data flow shunting method, device, equipment and medium
CN110831005A (en) Device adding method of Mesh network, gateway device and storage medium
CN108881247B (en) Message conversion method, device, gateway equipment and storage medium
CN114095587A (en) Client, message sending and receiving method, device and storage medium
CN115967935B (en) Method, device, equipment and readable medium for 5G base station to communicate with 5GC through NAT gateway
CN114980100B (en) Service data distribution method and device, electronic equipment and storage medium
CN114158074B (en) 5G network element address determination method and device, electronic equipment and storage medium
CN111988221B (en) Data transmission method, data transmission device, storage medium and electronic equipment
CN117202229A (en) Communication control method, terminal device, network device and medium
CN115022074A (en) User authentication and authorization method, device, medium and equipment
CN114268669A (en) Access processing method and system
CN114760350B (en) Service realization method, device, equipment and medium in 5G network indirect communication scene
CN103580805A (en) Message processing method and device
CN117614952A (en) Service realization method and device based on edge cloud tunnel
CN114760133B (en) RESTful interface authentication method, device, system, equipment and medium
CN116846840A (en) Method, device, equipment and medium for interaction of service traffic in multi-domain IPv 6-only network
CN116261175A (en) Application access method and device based on edge calculation, electronic equipment and medium
CN116095870A (en) Method, device and system for realizing data traffic migration of PON network and 5G network
CN117615042A (en) Data communication method, device, computer equipment and storage medium
CN116887443A (en) Personal networking communication method, device, equipment and storage medium
CN115297529A (en) Special network access method, device, storage medium and electronic equipment
CN116233964A (en) Method, system, electronic device and storage medium for improving image transmission efficiency
CN117675251A (en) Method and device for interaction of Radius message, electronic equipment and readable medium

Legal Events

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