Communication method, device, computer readable medium and electronic device
By introducing a PFCP proxy gateway and a DNS load balancing gateway between UPF and SMF, the problem of PFCP signaling security and deployment flexibility between UPF and SMF is solved when the 5G private network core network is moved to the cloud, and efficient Business processing and failover reduce costs.
Patent Information
- Application Number
- CN202110558247.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-21
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-05-21
AI Technical Summary
When the 5G private network core network is moved to the cloud for deployment, the security issue of PFCP signaling between UPF and SMF needs to be solved urgently. The existing technology relies on IPsec gateways, which limits the deployment flexibility and fault response capabilities of SMF.
Introduce PFCP proxy gateway, convert PFCP protocol messages into gRPC or HTTP/2 messages through PFCP proxy gateway, optimize the networking method between UPF and SMF, ensure secure communication, and realize flexible deployment and failure of SMF through DNS load balancing gateway switch.
It achieves flexible deployment of SMF and improves business processing capabilities, reduces dependence on cloud service providers, reduces remote deployment costs, and improves fault handling capabilities.
Smart Images

Figure CN113347739B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer and communication technology, and in particular to a communication method, device, computer-readable medium and electronic device. Background Art
[0002] In related technologies, if it is necessary to deploy a 5G private network core network in the local computer room of an enterprise private network, then since it is interconnected through the local LAN, the interaction information between the core network elements will not be exposed to the public network, which will not cause security concerns.
[0003] When migrating the core network elements of the 5G private network to the cloud for deployment, it may be necessary to deploy the network elements related to the service data of the UE (User Equipment), namely the UPF (User Plane Function), in the local computer room of the enterprise, and migrate other control plane related network elements such as AMF (Access and Mobility Management Function) and SMF (Session Management Function) to the cloud for deployment, so as to ensure that the sensitive business data of the enterprise does not directly access the local business through the public network. However, how to solve the security problem of the PFCP (Packet Forward Control Protocol) signaling between the UPF and the SMF deployed in the cloud is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The embodiments of the present application provide a communication method, device, computer-readable medium and electronic device, which can optimize the networking mode between UPF and SMF at least to a certain extent. On the premise of ensuring secure communication between SMF and UPF, the flexibility of SMF deployment can be achieved, which is also conducive to improving the business processing capabilities of SMF.
[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0006] According to one aspect of an embodiment of the present application, a communication method is provided, comprising: in response to a message forwarding control protocol PFCP connection request sent by a user plane function entity UPF, establishing a PFCP connection with the UPF; after establishing the PFCP connection with the UPF, receiving a service establishment request sent by the UPF based on the PFCP connection, and encapsulating the request data contained in the service establishment request into a request message; querying the SMF network address corresponding to the SMF domain name information according to the pre-configured session management function entity SMF domain name information, and sending the request message to the target SMF corresponding to the SMF network address; encapsulating the response message returned by the target SMF based on the PFCP protocol, and transmitting it to the UPF.
[0007] According to one aspect of an embodiment of the present application, a communication method is provided, including: sending a PFCP connection request to a PFCP proxy gateway to establish a PFCP connection with the PFCP proxy gateway; after establishing the PFCP connection with the PFCP proxy gateway, sending a service establishment request to the PFCP proxy gateway based on the PFCP connection, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request into a request message and sends it to a target SMF, wherein the target SMF is queried by the PFCP proxy gateway based on pre-configured SMF domain name information; receiving a response result returned by the PFCP proxy gateway based on the PFCP connection, wherein the response result is obtained by encapsulating the response message returned by the PFCP proxy gateway based on the PFCP protocol.
[0008] According to one aspect of an embodiment of the present application, a communication method is provided, including: receiving a DNS query request sent by a PFCP proxy gateway, the DNS query request being sent by the PFCP proxy gateway according to preconfigured SMF domain name information; allocating an SMF network address corresponding to the SMF domain name information according to the DNS query request; generating a DNS query response according to the SMF network address, and sending the DNS query response to the PFCP proxy gateway, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request sent by the UPF based on the PFCP connection into a request message and sends it to the target SMF corresponding to the SMF network address.
[0009] According to one aspect of an embodiment of the present application, a communication device is provided, including: a first establishing unit, configured to establish a PFCP connection with the UPF in response to a PFCP connection request sent by the UPF; a first receiving unit, configured to receive a service establishment request sent by the UPF based on the PFCP connection after establishing the PFCP connection with the UPF, and encapsulate the request data contained in the service establishment request into a request message; a processing unit, configured to query the SMF network address corresponding to the SMF domain name information according to the pre-configured SMF domain name information, and send the request message to the target SMF corresponding to the SMF network address; a first sending unit, configured to encapsulate the response message returned by the target SMF based on the PFCP protocol, and transmit it to the UPF.
[0010] In some embodiments of the present application, based on the aforementioned scheme, the processing unit is configured to: generate a domain name system DNS query request according to the pre-configured SMF domain name information; send the DNS query request to the DNS load balancing gateway, so that the DNS load balancing gateway allocates the corresponding SMF network address according to the DNS query request; receive the DNS query response returned by the DNS load balancing gateway, and obtain the SMF network address from the DNS query response.
[0011] In some embodiments of the present application, based on the aforementioned scheme, the processing unit is configured to: send the request message to the SMF load balancer corresponding to the SMF network address according to the SMF network address, so that the SMF load balancer distributes the request message to the specified SMF instance for processing; and receive a response message to the request message returned by the specified SMF instance.
[0012] In some embodiments of the present application, based on the aforementioned scheme, the first receiving unit is also configured to: after establishing a PFCP connection with the UPF, receive a business processing request sent by the UPF based on the PFCP connection, and encapsulate the request data contained in the business processing request into a business processing message and send it to the target SMF; the first sending unit is also configured to: encapsulate a response message to the business processing message returned by the target SMF based on the PFCP protocol, and transmit it to the UPF.
[0013] In some embodiments of the present application, based on the aforementioned scheme, the processing unit is also configured to: if an abnormality is detected in the target SMF, re-query the SMF network address corresponding to the SMF domain name information according to the pre-configured SMF domain name information; and respond to the business processing request from the UPF based on the SMF network address obtained by the re-query.
[0014] In some embodiments of the present application, based on the aforementioned scheme, if the pre-configured access and mobility function entity SMF domain name information includes globally shared SMF domain name information, the SMF network address corresponding to the SMF domain name information is the network address of the SMF adjacent to the UPF.
[0015] In some embodiments of the present application, based on the aforementioned scheme, if the domain name information of the pre-configured access and mobility function entity SMF includes exclusive SMF domain name information, the SMF network address corresponding to the SMF domain name information is the network address of the SMF exclusive to the UPF.
[0016] In some embodiments of the present application, based on the aforementioned scheme, the first receiving unit is further configured to: encapsulate the request data contained in the service establishment request as a remote procedure call message; or encapsulate the request data contained in the service establishment request as a hypertext transfer protocol message.
[0017] According to one aspect of an embodiment of the present application, a communication device is provided, including: a second establishing unit, configured to send a PFCP connection request to a PFCP proxy gateway to establish a PFCP connection with the PFCP proxy gateway; a second sending unit, configured to send a service establishment request to the PFCP proxy gateway based on the PFCP connection after establishing the PFCP connection with the PFCP proxy gateway, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request into a request message and sends it to a target SMF, wherein the target SMF is queried by the PFCP proxy gateway based on pre-configured SMF domain name information; a second receiving unit, configured to receive a response result returned by the PFCP proxy gateway based on the PFCP connection, wherein the response result is obtained by encapsulating the response message returned by the PFCP proxy gateway based on the PFCP protocol.
[0018] In some embodiments of the present application, based on the aforementioned solution, the second establishing unit is configured to: send a PFCP connection request to the PFCP proxy gateway according to a preconfigured network address of the PFCP proxy gateway.
[0019] According to one aspect of an embodiment of the present application, a communication device is provided, including: a third receiving unit, configured to receive a DNS query request sent by a PFCP proxy gateway, wherein the DNS query request is sent by the PFCP proxy gateway according to preconfigured SMF domain name information; an allocation unit, configured to allocate an SMF network address corresponding to the SMF domain name information according to the DNS query request; a third sending unit, configured to generate a DNS query response according to the SMF network address, and send the DNS query response to the PFCP proxy gateway, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request sent by the UPF based on the PFCP connection into a request message and sends it to the target SMF corresponding to the SMF network address.
[0020] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the communication method described in the above embodiment is implemented.
[0021] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the communication method as described in the above embodiments.
[0022] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the communication method provided in the above various optional embodiments.
[0023] In the technical solutions provided in some embodiments of the present application, after the PFCP proxy gateway establishes a PFCP connection with the UPF, it receives the service establishment request sent by the UPF based on the PFCP connection, encapsulates the request data contained in the service establishment request into a request message, and then queries the SMF network address corresponding to the SMF domain name information according to the pre-configured SMF domain name information, and sends the encapsulated request message to the target SMF corresponding to the SMF network address, and then encapsulates the response message returned by the target SMF based on the PFCP protocol, and transmits it to the UPF. It can be seen that the technical solution of the embodiment of the present application optimizes the networking mode between the UPF and the SMF through the PFCP proxy gateway. On the premise of ensuring secure communication between the SMF and the UPF, it not only realizes the flexibility of the SMF deployment, but also can realize the reasonable allocation of the SMF by querying the SMF network address based on the SMF domain name information, which is conducive to improving the business processing capability of the SMF. In addition, the technical solution of the embodiment of the present application also makes it unnecessary to deploy other equipment in the cloud where the SMF is located, reducing the cost of remote deployment.
[0024] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0026] Figure 1 A schematic diagram of a 5G network key network element architecture is shown;
[0027] Figure 2 A schematic diagram showing information transmission between UPF and SMF through encapsulation of IPsec tunnel;
[0028] Figure 3 A schematic diagram showing information transmission between UPF and SMF by adding a PFCP proxy gateway according to an embodiment of the present application;
[0029] Figure 4 A flow chart of a communication method according to an embodiment of the present application is shown;
[0030] Figure 5 A flow chart of a communication method according to an embodiment of the present application is shown;
[0031] Figure 6A flow chart of a communication method according to an embodiment of the present application is shown;
[0032] Figure 7 A flow chart of a communication method according to an embodiment of the present application is shown;
[0033] Figure 8 A block diagram of a communication device according to an embodiment of the present application is shown;
[0034] Fig. 9 A block diagram of a communication device according to an embodiment of the present application is shown;
[0035] Fig.10 A block diagram of a communication device according to an embodiment of the present application is shown;
[0036] Fig.11 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0037] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0038] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0039] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0040] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0041] It should be noted that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0042] like Figure 1 The figure shows the key network element architecture of 5G network defined by 3GPP (The 3rd Generation Partnership Project), among which AMF, SMF, UPF, PCF (Policy Control Function), NSSF (Network Slice Selection Function), AUSF (Authentication Server Function), UDM (Unified Data Management), NSSAAF (Network Slice Specific Authentication and Authorization Function) are the core network elements of 5G network. UE (User Equipment) can be 5G terminals such as mobile phones and tablets; (R) AN ((Radio) Access Network) can be a 5G base station; DN (Data Network) is the data network, that is, the service server accessed by UE.
[0043] Continue to refer to Figure 1As shown, in the 5G core network element, AMF is responsible for terminating the N2 interface of the base station control plane and implementing the encoding and decoding of NGAP (Next Generation Application Protocol) based on the SCTP (Stream Control Transmission Protocol) protocol. The base station and AMF transmit the application layer NGAP protocol through the SCTP transport layer protocol, and carry the NAS signaling data of the UE in the NGAP. Among them, SCTP is a transport layer protocol, similar to TCP (Transmission Control Protocol) and UDP (User Datagram Protocol), and is widely used in 4G LTE (Long Term Evolution) networks and 5G core networks, but is not supported by mainstream commercial NAT (Network Address Translation) gateways and load balancers.
[0044] AMF is also responsible for terminating the N1 interface of the UE, implementing encryption and integrity protection of NAS (Non-Access Stratum), and is responsible for UE access authentication, authorization management, registration, connection, reachability and mobility management functions, as well as transparent transmission of session management messages between the UE and SMF.
[0045] In addition, refer to Figure 1 As shown, (R)AN and UPF interact through the N3 interface; UPFs can interact through the N9 interface; UPF and SMF interact through the N4 interface; UPF and DN interact through the N6 interface; SMF and AMF interact through the N11 interface; SMF and PCF interact through the N7 interface; SMF and UDM interact through the N10 interface; PCF and AF interact through the N5 interface; AMFs can interact through the N14 interface; AMF and PCF interact through the N15 interface; AMF and UDM interact through the N8 interface; AMF and NSSF interact through the N22 interface; AMF and AUSF interact through the N12 interface; AMF and NSSAAF interact through the N58 interface; AUSF and UDM interact through the N13 interface; UDM and NSSAAF interact through the N59 interface.
[0046] At the same time, in the 5G core network element, after the UE and AMF complete access verification, authorization and registration, SMF is responsible for the UE session establishment, modification and release management. At the same time, SMF is responsible for allocating IP for the UE session, selecting the UPF that provides services to the UE, and configuring the UPF for UE data forwarding, QoS (Quality of Service), policy control and billing data collection functions through the PFCP protocol. After the UE session is established, business data such as browsing web pages, videos, game interactions, etc. pass through the base station and UPF and then reach the corresponding business server through the local area network or the public network.
[0047] PFCP is an application layer protocol based on UDP transmission. It is one of the new major protocols introduced by the 3GPP organization for the 5G core network. It is also used in the 4G / LTE EPC (Evolved Packet Core) network to achieve separation of control and user planes. SMF controls UPF to create and modify sessions through PFCP messages, indicates the packet detection rules, forwarding rules, QoS implementation rules and usage reporting rules of the session, and implements UPF's forwarding, QoS and billing functions for terminal 5G user data messages. UPF can report the idle state of terminal 5G users' traffic, billing data, cache reports and other contents through PFCP messages, triggering SMF to perform subsequent processing on the current state of UE.
[0048] In related technologies, if a 5G private network core network needs to be deployed in the local computer room of an enterprise private network, then since it is interconnected through the local LAN, the interaction information between the core network elements will not be exposed to the public network, which will not cause security concerns. When the 5G private network core network elements are migrated to the cloud for deployment, it may be necessary to deploy the network elements related to the UE's business data, namely UPF, in the local computer room of the enterprise, and migrate other control plane related network elements such as AMF and SMF to the cloud for deployment, so as to ensure that the enterprise's sensitive business data does not directly access local business through the public network.
[0049] After the control plane network elements are moved to the cloud for deployment, Figure 2 As shown, it is usually necessary to control the UPF through the public network based on an IPsec (Internet Protocol Security) tunnel to ensure the security and integrity protection of the PFCP signaling between the SMF and the UPF.
[0050] but Figure 2The technical solution of the illustrated embodiment requires that the UPF has IPsec capabilities or a post-IPsec gateway, and that the cloud SMF has a pre-IPsec gateway. Requiring the cloud service provider to provide IPsec gateway capabilities will also result in dependence on the cloud service provider. At the same time, the pre-IPsec gateway limits the deployment scale of the SMF, and cannot fully utilize the advantages of horizontal expansion of the cloud, nor the flexibility of cross-regional deployment of the cloud. In addition, since both the IPsec tunnel and PFCP use IP connections, when the cloud SMF or IPsec gateway changes its IP, the configuration of the IPsec gateway needs to be changed accordingly. When the SMF corresponding to the IP fails, the UPF cannot switch to the normal SMF to continue business, and its fault response capability is weak.
[0051] Based on the above problems, the technical solution of the embodiment of the present application proposes a new solution. Figure 3 As shown, a PFCP proxy gateway is added between UPF and SMF, and the PFCP protocol messages are converted into gRPC (google Remote Procedure Call) and HTTP / 2 (Hypertext Transfer Protocol 2.0) messages through the PFCP proxy gateway. On the one hand, the security and reliability of business data transmission in the public network are guaranteed, and on the other hand, the limitations of the IPsec gateway are eliminated, so that SMF can be deployed more flexibly, for example, it can be flexibly deployed to cloud computing resources provided by any cloud service provider, thus getting rid of the dependence on cloud service providers.
[0052] based on Figure 3 In the system architecture shown, UPF 301 can send a PFCP connection request to PFCP proxy gateway 302, and then PFCP proxy gateway 302 establishes a PFCP connection with UPF 301. After UPF 301 establishes a PFCP connection with PFCP proxy gateway 302, UPF 301 can send a PFCP service establishment request to PFCP proxy gateway 302 based on the PFCP connection, and then PFCP proxy gateway 302 encapsulates the request data (i.e., the payload of the PFCP service establishment request) contained in the PFCP service establishment request into a request message (such as a gRPC message, HTTP / 2 message, etc.).
[0053] At the same time, the PFCP proxy gateway 302 can send a DNS query request to the DNS load balancing gateway 303 according to the pre-configured SMF domain name information. The DNS load balancing gateway 303 allocates the corresponding SMF network address (such as the SMF network address of area 1) to it according to the DNS query request, and returns the DNS query response. After receiving the DNS query response returned by the DNS load balancing gateway 303, the PFCP proxy gateway 302 obtains the allocated SMF network address from the DNS query response, and then sends the encapsulated request message to the target SMF corresponding to the SMF network address. Optionally, the encapsulated request message can be sent to the load balancer corresponding to the SMF network address, and then the load balancer distributes it to a certain SMF instance for processing. After the SMF instance completes the processing, the SMF instance returns the processed response message to the PFCP proxy gateway 302, and then the PFCP proxy gateway 302 encapsulates the received response message based on the PFCP protocol and transmits it to the UPF 301.
[0054] Similarly, UPF 304 may send a PFCP connection request to PFCP proxy gateway 302', and then PFCP proxy gateway 302' establishes a PFCP connection with UPF 304. After UPF 304 establishes a PFCP connection with PFCP proxy gateway 302', UPF 304 may send a PFCP service establishment request to PFCP proxy gateway 302' based on the PFCP connection, and then PFCP proxy gateway 302' encapsulates the request data (i.e., the payload of the PFCP service establishment request) contained in the PFCP service establishment request into a request message (such as a gRPC message, HTTP / 2 message, etc.).
[0055] At the same time, the PFCP proxy gateway 302' can send a DNS query request to the DNS load balancing gateway 303 according to the pre-configured SMF domain name information. The DNS load balancing gateway 303 allocates the corresponding SMF network address (such as the SMF network address of area 2) to it according to the DNS query request, and returns a DNS query response. After receiving the DNS query response returned by the DNS load balancing gateway 303, the PFCP proxy gateway 302' obtains the allocated SMF network address from the DNS query response, and then sends the encapsulated request message to the target SMF corresponding to the SMF network address. Optionally, the encapsulated request message can be sent to the load balancer corresponding to the SMF network address, and then the load balancer distributes it to a certain SMF instance for processing. After the SMF instance completes the processing, the SMF instance returns the processed response message to the PFCP proxy gateway 302', and then the PFCP proxy gateway 302' encapsulates the received response message based on the PFCP protocol and transmits it to UPF304.
[0056] It can be seen that in Figure 3 In the system architecture of the illustrated embodiment, by deploying multi-level load balancing distribution capabilities such as the DNS load balancing gateway 303 and the load balancer of the SMF traffic entrance, the SMF can make full use of the ability of horizontal expansion in the cloud and greatly improve the business processing capability. The PFCP proxy gateway greatly reduces the configuration work by querying the SMF domain name to obtain the network address. At the same time, the DNS load balancing gateway 303 can realize the regional deployment of SMF on the cloud, and allocate SMF services nearby according to the source IP of the DNS query request (i.e., the PFCP proxy gateway IP), thereby improving the service quality. When the SMF changes its IP, it only needs to be changed on the DNS load balancing gateway 303. When an abnormality occurs in the SMF service corresponding to a certain IP, the PFCP proxy gateway can quickly switch to a normal SMF service through the query response returned by the DNS load balancing gateway 303.
[0057] In addition, compared to Figure 2 The system architecture shown, Figure 3 The system architecture shown in the replaces the IPsec gateway at the UPF with the PFCP proxy gateway, removes the IPsec gateway at the cloud front end, reduces dependence on cloud service providers, and can effectively reduce the procurement costs of various businesses.
[0058] The implementation details of the technical solution of the embodiment of the present application are described in detail below:
[0059] Figure 4 FIG. 1 is a flow chart showing a communication method according to an embodiment of the present application, which communication method may be performed by a PFCP proxy gateway. Figure 4 As shown, the communication method at least includes steps S410 to S440, which are described in detail as follows:
[0060] In step S410, in response to the PFCP connection request sent by the UPF, a PFCP connection is established with the UPF.
[0061] In one embodiment of the present application, the network address of the PFCP proxy gateway, such as an IP address, may be pre-configured on the UPF. Then the UPF may send a PFCP connection request to the PFCP proxy gateway based on the pre-configured network address of the PFCP proxy gateway. After receiving the PFCP connection request, the PFCP proxy gateway may establish a PFCP connection with the UPF.
[0062] In step S420, after establishing a PFCP connection with the UPF, a service establishment request sent by the UPF based on the PFCP connection is received, and the request data contained in the service establishment request is encapsulated into a request message.
[0063] In one embodiment of the present application, the request data contained in the service establishment request can be encapsulated as a remote procedure call message, i.e., a gRPC message; or the request data contained in the service establishment request can be encapsulated as a hypertext transfer protocol message, i.e., an HTTP / 2 message.
[0064] In step S430, the SMF network address corresponding to the SMF domain name information is queried according to the pre-configured SMF domain name information, and the encapsulated request message is sent to the target SMF corresponding to the SMF network address.
[0065] In one embodiment of the present application, the process of querying the SMF network address corresponding to the domain name information according to the pre-configured SMF domain name information may be: the PFCP proxy gateway generates a DNS query request according to the pre-configured SMF domain name information, and sends the DNS query request to the DNS load balancing gateway, so that the DNS load balancing gateway allocates the corresponding SMF network address according to the DNS query request. Then the PFCP proxy gateway can receive the DNS query response returned by the DNS load balancing gateway, and obtain the SMF network address from the DNS query response.
[0066] In one embodiment of the present application, the process of the PFCP proxy gateway sending the request message to the target SMF corresponding to the SMF network address can be to send the request message to the SMF load balancer corresponding to the SMF network address according to the SMF network address, so that the SMF load balancer distributes the request message to the specified SMF instance for processing. Then the PFCP proxy gateway can receive a response message to the request message returned by the specified SMF instance.
[0067] In one embodiment of the present application, if the domain name information of the pre-configured SMF is the globally shared SMF domain name information, the SMF network address corresponding to the SMF domain name information may be the network address of the SMF adjacent to the UPF. That is, the technical solution of this embodiment may allocate a closer SMF by the DNS load balancing gateway to communicate and interact with the UPF.
[0068] In one embodiment of the present application, if the pre-configured SMF domain name information is exclusive SMF domain name information, the SMF network address corresponding to the SMF domain name information can be the network address of the SMF exclusive to the UPF. That is, the technical solution of this embodiment can meet the requirements of exclusive SMF.
[0069] Continue to refer to Figure 4 As shown, in step S440, the response message returned by the target SMF is encapsulated based on the PFCP protocol and transmitted to the UPF.
[0070] Figure 4The technical solution of the illustrated embodiment optimizes the networking mode between UPF and SMF through the PFCP proxy gateway. Under the premise of ensuring secure communication between SMF and UPF, it not only realizes the flexibility of SMF deployment, but also can realize the reasonable allocation of SMF by querying the SMF network address based on SMF domain name information, which is beneficial to improving the business processing capability of SMF. In addition, the technical solution of the embodiment of the present application also makes it unnecessary to deploy other equipment in the cloud where SMF is located, thereby reducing the cost of remote deployment.
[0071] based on Figure 4 The technical solution of the embodiment shown, in one embodiment of the present application, after the PFCP proxy gateway establishes a PFCP connection with the UPF, if it receives a service processing request sent by the UPF based on the PFCP connection, the PFCP proxy gateway can encapsulate the request data contained in the service processing request into a service processing message, and send it to the target SMF, and then encapsulate the response message to the service processing message returned by the target SMF based on the PFCP protocol, and transmit it to the UPF. The technical solution of this embodiment realizes the process of UPF and SMF performing service processing through the PFCP proxy gateway.
[0072] In one embodiment of the present application, if the PFCP proxy gateway detects that the target SMF is abnormal, it can re-query the SMF network address corresponding to the domain name information according to the pre-configured SMF domain name information, and then respond to the service processing request from the UPF based on the SMF network address obtained by the re-query. The technical solution of this embodiment enables the PFCP proxy gateway to switch to the normal SMF service in time when the SMF is abnormal.
[0073] Figure 4 The technical solution of the embodiment shown is explained from the perspective of the PFCP proxy gateway. Figure 5 and Figure 6 The implementation details of the technical solution of the embodiment of the present application are described from the perspectives of UPF and DNS load balancing gateway respectively:
[0074] Figure 5 FIG. 1 is a flow chart showing a communication method according to an embodiment of the present application, which communication method may be performed by a UPF. Figure 5 As shown, the communication method at least includes steps S510 to S530, which are described in detail as follows:
[0075] In step S510, a PFCP connection request is sent to the PFCP proxy gateway to establish a PFCP connection with the PFCP proxy gateway.
[0076] In one embodiment of the present application, the UPF may be pre-configured with a network address of a PFCP proxy gateway, such as an IP address. Then the UPF may send a PFCP connection request to the PFCP proxy gateway based on the pre-configured network address of the PFCP proxy gateway. After receiving the PFCP connection request, the PFCP proxy gateway may perform a communication handshake with the UPF to establish a PFCP connection with the UPF.
[0077] In step S520, after establishing a PFCP connection with the PFCP proxy gateway, a service establishment request is sent to the PFCP proxy gateway based on the PFCP connection, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request into a request message and sends it to the target SMF, which is the target SMF queried by the PFCP proxy gateway based on the pre-configured SMF domain name information.
[0078] In one embodiment of the present application, the PFCP proxy gateway may encapsulate the request data contained in the service establishment request as a remote procedure call message, i.e., a gRPC message; or it may encapsulate the request data contained in the service establishment request as a hypertext transfer protocol message, i.e., an HTTP / 2 message.
[0079] In step S530, a response result returned by the PFCP proxy gateway based on the PFCP connection is received, where the response result is obtained by encapsulating the response message returned by the target SMF by the PFCP proxy gateway based on the PFCP protocol.
[0080] Figure 5 The specific implementation details of the illustrated embodiment can refer to the technical solutions of the aforementioned embodiments and will not be described in detail.
[0081] Figure 6 A flow chart of a communication method according to an embodiment of the present application is shown, and the communication method can be performed by a DNS load balancing gateway. Figure 6 As shown, the communication method at least includes steps S610 to S630, which are described in detail as follows:
[0082] In step S610, a DNS query request sent by the PFCP proxy gateway is received. The DNS query request is sent by the PFCP proxy gateway according to pre-configured SMF domain name information.
[0083] In step S620, the SMF network address corresponding to the SMF domain name information is allocated according to the DNS query request.
[0084] In one embodiment of the present application, if the domain name information of the SMF is the globally shared SMF domain name information, the SMF network address corresponding to the SMF domain name information assigned by the DNS load balancing gateway may be the network address of the SMF adjacent to the UPF. That is, the technical solution of this embodiment can be that the DNS load balancing gateway assigns a closer SMF to communicate and interact with the UPF.
[0085] In one embodiment of the present application, if the domain name information of the SMF is exclusive SMF domain name information, the SMF network address corresponding to the SMF domain name information allocated by the DNS load balancing gateway can be the network address of the SMF exclusive to the UPF. That is, the technical solution of this embodiment can meet the requirements of exclusive SMF.
[0086] In step S630, a DNS query response is generated according to the SMF network address, and the DNS query response is sent to the PFCP proxy gateway, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request sent by the UPF based on the PFCP connection into a request message and sends it to the target SMF corresponding to the SMF network address.
[0087] The above respectively describes the implementation details of the technical solution of the embodiment of the present application from the perspectives of PFCP proxy gateway, UPF and DNS load balancing gateway. Figure 7 The interaction process between each entity is elaborated in detail:
[0088] In execution Figure 7 Before each step of the communication method shown, pre-configuration needs to be performed at the UPF, PFCP proxy gateway and DNS load balancing gateway. Specifically, the IP address of the PFCP proxy gateway is pre-configured on the UPF, the SMF domain name is pre-configured on the PFCP proxy gateway, and the response rules are pre-configured on the DNS load balancing gateway.
[0089] Optionally, when UPF is deployed in a private network coverage area, the SMF PFCP IP configured on the UPF can be replaced with the PFCP listening IP of the PFCP proxy gateway in the area. Then, the UPF can send a request to the PFCP proxy gateway in the area based on the PFCP listening IP.
[0090] When deploying the PFCP proxy gateway, you can configure the SMF domain name according to the needs of the business party: if the business party chooses a shared cloud-based 5G core network, the SMF domain name configured on the PFCP proxy gateway is the globally shared SMF domain name; if the business party chooses a dedicated cloud-based 5G core network and applies for a dedicated domain name, the SMF domain name configured on the PFCP proxy gateway is the SMF domain name exclusive to the business party.
[0091] At the same time, in order to achieve nearby services, when deploying the 5G core network in different regions in the cloud, DNS LB (Load Balance) can be pre-configured: if the source address of the DNS request comes from the PFCP proxy gateway, the IP of the 5G core network SMF in the corresponding region can be selected and returned in combination with the business configuration. At the same time, intervention methods can also be added to return the configured IP for different source addresses, such as returning the set IP address for a certain source address.
[0092] Based on the pre-configured information in the above embodiments, such as Figure 7 As shown, a communication method according to an embodiment of the present application includes the following steps:
[0093] Step S701: UPF initiates establishment of a PFCP connection. Specifically, UPF initiates a request to establish a PFCP connection to a PFCP proxy gateway.
[0094] Step S702: The PFCP proxy gateway accepts the PFCP connection request of the UPF. After the connection between the PFCP proxy gateway and the UPF is established, session management and session status reporting can be performed based on the PFCP connection.
[0095] Step S703, UPF initiates a PFCP service request based on the PFCP connection. Optionally, UPF can send messages such as PFCP Session Report to the PFCP proxy gateway, and the PFCP proxy gateway takes out the content (Payload) carried by PFCP and encapsulates it into gRPC and HTTP / 2 messages.
[0096] Step S704, the PFCP proxy gateway queries the IP of the SMF according to the configured SMF domain name.
[0097] Specifically, the PFCP proxy gateway queries the DNS LB (ie, DNS load balancing gateway) for the IP corresponding to the pre-configured SMF domain name according to the configured SMF domain name.
[0098] Step S705, the DNS load balancing gateway returns the nearest SMF IP or the exclusive SMF IP to the PFCP proxy gateway. Specifically, if the configured SMF domain name is a globally shared SMF domain name, the nearest SMF IP is returned; if the configured SMF domain name is a private domain name, the exclusive SMF IP is returned.
[0099] Step S706: The PFCP proxy gateway sends the encapsulated gRPC and HTTP / 2 messages to the corresponding SMF IP.
[0100] Step S707: The load balancer in the cloud distributes the message to the SMF instance for processing through the configured load balancing strategy.
[0101] Optionally, the cloud-based load balancer can use a four-layer (i.e., L4) or seven-layer (i.e., L7) load balancing method to forward gRPC and HTTP / 2 messages to an SMF instance in the SMF instance pool for processing according to configuration rules and load conditions.
[0102] Among them, L4 load balancing mainly works on the transport layer in the middle of the OSI (Open System Interconnection Reference Model) model. It mainly handles the transmission of messages, regardless of the content of the messages. L4 load balancing only targets network packets sent and received by upstream services, and does not check the specific content of the packets. L4 load balancing can determine whether to restrict routing by checking the first few packets in the TCP stream.
[0103] Layer 7 load balancing works mainly at the application layer, which is at the top of the OSI model. It mainly processes the actual content of each message. On the Internet, HTTP is the dominant Layer 7 protocol in network communication. Layer 7 load balancing is more complex and clever than Layer 4 load balancing in routing network transmission, and is particularly suitable for TCP-based transmission methods such as HTTP. A layer 7 load balancer terminates network transmission and reads the content of the message. It can make load balancing decisions based on the content of the message (such as the URL (Uniform Resource Locator) or information in cookies). After that, the layer 7 load balancer establishes a new TCP connection to select an upstream service (or reuses an existing TCP connection through HTTP keepalives) to send requests to this service.
[0104] Step S708: After the SMF instance processing is completed, a request response is returned to the PFCP proxy gateway.
[0105] Step S709: The PFCP proxy gateway encapsulates the request response through the PFCP protocol and returns it to the UPF.
[0106] It can be seen that the technical solution of the above-mentioned embodiment of the present application optimizes the networking mode between UPF and SMF through the PFCP proxy gateway. Under the premise of ensuring secure communication between SMF and UPF, it not only realizes the flexibility of SMF deployment, but also can realize the reasonable allocation of SMF by querying the SMF network address based on SMF domain name information, so that SMF can make full use of the ability of horizontal expansion in the cloud and greatly improve the business processing capability. And when an SMF service is abnormal, the PFCP proxy gateway can quickly switch to a normal SMF service, improving the fault handling capability and service quality. In addition, the technical solution of the embodiment of the present application also makes it unnecessary to deploy other equipment in the cloud where the SMF is located, reducing the cost of remote deployment.
[0107] The following describes an apparatus embodiment of the present application, which can be used to execute the communication method in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the above-mentioned embodiment of the communication method of the present application.
[0108] Figure 8 A block diagram of a communication device according to an embodiment of the present application is shown, and the communication device can be set in a PFCP proxy gateway.
[0109] Reference Figure 8 As shown, a communication device 800 according to an embodiment of the present application includes: a first establishing unit 802 , a first receiving unit 804 , a processing unit 806 and a first sending unit 808 .
[0110] Among them, the first establishing unit 802 is configured to establish a PFCP connection with the UPF in response to the PFCP connection request sent by the UPF; the first receiving unit 804 is configured to receive the service establishment request sent by the UPF based on the PFCP connection after establishing the PFCP connection with the UPF, and encapsulate the request data contained in the service establishment request into a request message; the processing unit 806 is configured to query the SMF network address corresponding to the SMF domain name information according to the pre-configured SMF domain name information, and send the request message to the target SMF corresponding to the SMF network address; the first sending unit 808 is configured to encapsulate the response message returned by the target SMF based on the PFCP protocol, and transmit it to the UPF.
[0111] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 806 is configured to: generate a domain name system DNS query request according to the pre-configured SMF domain name information; send the DNS query request to the DNS load balancing gateway so that the DNS load balancing gateway allocates the corresponding SMF network address according to the DNS query request; receive the DNS query response returned by the DNS load balancing gateway, and obtain the SMF network address from the DNS query response.
[0112] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 806 is configured to: send the request message to the SMF load balancer corresponding to the SMF network address according to the SMF network address, so that the SMF load balancer distributes the request message to the specified SMF instance for processing; and receive a response message to the request message returned by the specified SMF instance.
[0113] In some embodiments of the present application, based on the aforementioned scheme, the first receiving unit 804 is further configured to: after establishing a PFCP connection with the UPF, receive a business processing request sent by the UPF based on the PFCP connection, and encapsulate the request data contained in the business processing request into a business processing message and send it to the target SMF; the first sending unit 808 is also configured to: encapsulate the response message returned by the target SMF to the business processing message based on the PFCP protocol, and transmit it to the UPF.
[0114] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 806 is also configured to: if an abnormality is detected in the target SMF, re-query the SMF network address corresponding to the domain name information according to the pre-configured SMF domain name information; and respond to the business processing request from the UPF based on the SMF network address obtained by the re-query.
[0115] In some embodiments of the present application, based on the aforementioned scheme, if the domain name information of the pre-configured access and mobility function entity SMF includes globally shared SMF domain name information, the SMF network address corresponding to the domain name information is the network address of the SMF adjacent to the UPF.
[0116] In some embodiments of the present application, based on the aforementioned scheme, if the domain name information of the pre-configured access and mobility function entity SMF includes exclusive SMF domain name information, the SMF network address corresponding to the domain name information is the network address of the SMF exclusive to the UPF.
[0117] In some embodiments of the present application, based on the aforementioned scheme, the first receiving unit 804 is further configured to: encapsulate the request data contained in the service establishment request as a remote procedure call message; or encapsulate the request data contained in the service establishment request as a hypertext transfer protocol message.
[0118] Fig. 9 A block diagram of a communication device according to an embodiment of the present application is shown, and the communication device can be set in a UPF.
[0119] Reference Fig. 9 As shown, according to an embodiment of the present application, a communication device 900 includes: a second establishing unit 902 , a second sending unit 904 and a second receiving unit 906 .
[0120] Among them, the second establishing unit 902 is configured to send a PFCP connection request to the PFCP proxy gateway to establish a PFCP connection with the PFCP proxy gateway; the second sending unit 904 is configured to send a service establishment request to the PFCP proxy gateway based on the PFCP connection after establishing the PFCP connection with the PFCP proxy gateway, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request into a request message and sends it to the target SMF, and the target SMF is queried by the PFCP proxy gateway according to the pre-configured SMF domain name information; the second receiving unit 906 is configured to receive a response result returned by the PFCP proxy gateway based on the PFCP connection, and the response result is obtained by the PFCP proxy gateway encapsulating the response message returned by the target SMF based on the PFCP protocol.
[0121] In some embodiments of the present application, based on the aforementioned solution, the second establishing unit 902 is configured to: send a PFCP connection request to the PFCP proxy gateway according to the pre-configured network address of the PFCP proxy gateway.
[0122] Fig.10 A block diagram of a communication device according to an embodiment of the present application is shown, and the communication device can be set in a DNS load balancing gateway.
[0123] Reference Fig.10 As shown, according to an embodiment of the present application, the communication device 1000 includes: a third receiving unit 1002 , an allocating unit 1004 and a third sending unit 1006 .
[0124] Among them, the third receiving unit 1002 is configured to receive a DNS query request sent by the PFCP proxy gateway, and the DNS query request is sent by the PFCP proxy gateway according to the pre-configured SMF domain name information; the allocation unit 1004 is configured to allocate an SMF network address corresponding to the SMF domain name information according to the DNS query request; the third sending unit 1006 is configured to generate a DNS query response according to the SMF network address, and send the DNS query response to the PFCP proxy gateway, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request sent by the UPF based on the PFCP connection into a request message and sends it to the target SMF corresponding to the SMF network address.
[0125] Fig.11 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.
[0126] It should be noted that Fig.11 The computer system 1100 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0127] like Fig.11 As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1102 or the program loaded from the storage part 1108 to the random access memory (RAM) 1103, such as executing the method described in the above embodiment. In the RAM 1103, various programs and data required for system operation are also stored. The CPU 1101, the ROM 1102 and the RAM 1103 are connected to each other through the bus 1104. The input / output (I / O) interface 1105 is also connected to the bus 1104.
[0128] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed so that a computer program read therefrom is installed into the storage section 1108 as needed.
[0129] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1109, and / or installed from a removable medium 1111. When the computer program is executed by a central processing unit (CPU) 1101, various functions defined in the system of the present application are executed.
[0130] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0131] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0132] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0133] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.
[0134] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0135] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0136] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0137] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A communication method, It is characterized in that include: In response to a message forwarding control protocol PFCP connection request sent by a user plane function entity UPF, establish a PFCP connection with the UPF; After establishing a PFCP connection with the UPF, receiving a service establishment request sent by the UPF based on the PFCP connection, and encapsulating request data contained in the service establishment request into a request message; Query the SMF network address corresponding to the SMF domain name information according to the preconfigured session management function entity SMF domain name information, and send the request message to the target SMF corresponding to the SMF network address; The response message returned by the target SMF is encapsulated based on the PFCP protocol and transmitted to the UPF.
2. The communication method according to claim 1, It is characterized in that Querying the SMF network address corresponding to the SMF domain name information according to the pre-configured session management function entity SMF domain name information includes: Generates a DNS query request based on the pre-configured SMF domain name information; Sending the DNS query request to a DNS load balancing gateway so that the DNS load balancing gateway allocates a corresponding SMF network address according to the DNS query request; Receive the DNS query response returned by the DNS load balancing gateway, and obtain the SMF network address from the DNS query response.
3. The communication method according to claim 1, It is characterized in that Sending the request message to the target SMF corresponding to the SMF network address includes: According to the SMF network address, the request message is sent to the SMF load balancer corresponding to the SMF network address, so that the SMF load balancer distributes the request message to the specified SMF instance for processing; Receive a response message for the request message returned by the specified SMF instance.
4. The communication method according to claim 1, It is characterized in that After establishing a PFCP connection with the UPF, the communication method further includes: Receiving a service processing request sent by the UPF based on the PFCP connection; Encapsulate the request data contained in the business processing request into a business processing message, and send it to the target SMF; The response message returned by the target SMF in response to the business processing message is encapsulated based on the PFCP protocol and transmitted to the UPF.
5. The communication method according to claim 1, It is characterized in that The communication method further comprises: If an abnormality is detected in the target SMF, the SMF network address corresponding to the SMF domain name information is requeried according to the pre-configured SMF domain name information; Based on the SMF network address obtained by re-querying, respond to the business processing request from the UPF.
6. The communication method according to claim 1, It is characterized in that If the pre-configured access and mobility function entity SMF domain name information includes globally shared SMF domain name information, the SMF network address corresponding to the SMF domain name information is the network address of the SMF adjacent to the UPF.
7. The communication method according to claim 1, It is characterized in that If the pre-configured access and mobility function entity SMF domain name information includes exclusive SMF domain name information, the SMF network address corresponding to the SMF domain name information is the network address of the SMF exclusive to the UPF.
8. The communication method according to any one of claims 1 to 7, It is characterized in that Encapsulating the request data contained in the service establishment request into a request message, including: Encapsulating the request data contained in the service establishment request into a remote procedure call message; or The request data contained in the service establishment request is encapsulated as a hypertext transfer protocol message.
9. A communication method, It is characterized in that include: Sending a PFCP connection request to the PFCP proxy gateway to establish a PFCP connection with the PFCP proxy gateway; After establishing a PFCP connection with the PFCP proxy gateway, sending a service establishment request to the PFCP proxy gateway based on the PFCP connection, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request into a request message and sends it to the target SMF, the target SMF is queried by the PFCP proxy gateway according to the pre-configured SMF domain name information; Receive a response result returned by the PFCP proxy gateway based on the PFCP connection, where the response result is obtained by encapsulating the response message returned by the target SMF by the PFCP proxy gateway based on the PFCP protocol.
10. The communication method according to claim 9, It is characterized in that Send a PFCP connection request to the PFCP proxy gateway, including: According to the preconfigured network address of the PFCP proxy gateway, a PFCP connection request is sent to the PFCP proxy gateway.
11. A communication method, It is characterized in that include: Receiving a DNS query request sent by a PFCP proxy gateway, wherein the DNS query request is sent by the PFCP proxy gateway according to pre-configured SMF domain name information; Allocate an SMF network address corresponding to the SMF domain name information according to the DNS query request; Generate a DNS query response based on the SMF network address, and send the DNS query response to the PFCP proxy gateway, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request sent by the UPF based on the PFCP connection into a request message and sends it to the target SMF corresponding to the SMF network address.
12. A communication device, It is characterized in that include: A first establishing unit, configured to establish a PFCP connection with the UPF in response to a PFCP connection request sent by the UPF; A first receiving unit, configured to, after establishing a PFCP connection with the UPF, receive a service establishment request sent by the UPF based on the PFCP connection, and encapsulate the request data included in the service establishment request into a request message; A processing unit configured to query an SMF network address corresponding to the SMF domain name information according to pre-configured SMF domain name information, and send the request message to a target SMF corresponding to the SMF network address; The first sending unit is configured to encapsulate the response message returned by the target SMF based on the PFCP protocol and transmit it to the UPF.
13. A communication device, It is characterized in that include: A second establishing unit is configured to send a PFCP connection request to the PFCP proxy gateway to establish a PFCP connection with the PFCP proxy gateway; A second sending unit is configured to send a service establishment request to the PFCP proxy gateway based on the PFCP connection after establishing a PFCP connection with the PFCP proxy gateway, so that the PFCP proxy gateway encapsulates the request data contained in the service establishment request into a request message and sends it to a target SMF, wherein the target SMF is queried by the PFCP proxy gateway according to pre-configured SMF domain name information; The second receiving unit is configured to receive a response result returned by the PFCP proxy gateway based on the PFCP connection, wherein the response result is obtained by encapsulating a response message returned by the target SMF by the PFCP proxy gateway based on the PFCP protocol.
14. A computer readable medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the computer program implements the communication method according to any one of claims 1 to 8, or the communication method according to any one of claims 9 to 10, or the communication method according to claim 11.
15. An electronic device, It is characterized in that include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the communication method as described in any one of claims 1 to 8, or to implement the communication method as described in any one of claims 9 to 10, or to implement the communication method as described in claim 11.
Citation Information
Patent Citations
PFCP connection processing method, device, network element, system and storage medium
CN109167670A
Support for CUPS PFCP Session at UE Level for Serving Gateway
US20210092585A1
Method and apparatus for transmitting message
WO2020029922A1
KR20210051486A
