Edge application discovery method, system and enhanced firewall
By enhancing the function of the firewall device, the address translation of DNS request and response messages is realized, which solves the problem of edge computing application server discovery, simplifies the network architecture, reduces the cost and complexity, and ensures high reliability and low latency under the 5G architecture. Ductility.
Patent Information
- Application Number
- CN202010757271.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-31
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-07-31
AI Technical Summary
In edge computing scenarios, it is difficult for existing technologies to effectively discover and analyze the edge servers closest to users. As a result, the excellent performance of high reliability and low latency under the 5G architecture cannot be fully exerted, and the existing network transformation costs are high and the complexity increases. affect performance.
By enhancing the functions of existing firewall-related equipment, the address translation of DNS request and response messages is realized to ensure that traffic can be normally diverted to the local DNS server and avoid changes to the existing network architecture and processing procedures.
Solve the discovery problem of edge computing application servers simply and at low cost, reduce the impact on existing network performance, realize IP address discovery of local servers, and give full play to the excellent performance of the 5G architecture.
Smart Images

Figure CN114095562B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and more specifically, to an edge application discovery method, system, and enhanced firewall. Background Art
[0002] With the evolution of communication technology, the fifth generation of mobile communication (5G) technology, as the latest generation of cellular mobile communication technology, is becoming increasingly popular. Multi-access Edge Computing (MEC) is an emerging technology based on the 5G evolution architecture that deeply integrates access network and Internet services. It deploys the application server (AS) and some service processing and resource scheduling functions of the mobile broadband (MBB) core network to the network edge close to the access network, and provides an ultimate service experience with high reliability and ultra-low latency by processing services close to users.
[0003] In the edge computing scenario, application servers are moved down to the edge of the network. When it comes to 2B2C (to Business, to merchants; to Customer, to consumers) services, distributed deployment of application servers is usually required, that is, application servers providing the same services need to be deployed on adjacent MEC platforms. At this time, the application server usually has multiple service Internet Protocol (IP) addresses. If the traditional Internet addressing method is used, the client can only specify the central DNS when initiating a DNS (Domain Name System) request, and the central DNS cannot perceive the user's precise location, so it cannot resolve the specific IP address of the edge server closest to the user, and naturally cannot give full play to the high reliability and low latency of edge computing under the 5G architecture. Excellent performance. In the communications industry, the discovery problem of such edge computing application servers needs to be solved urgently.
[0004] In the face of the above-mentioned discovery problem of edge computing application servers, there is currently no standard network solution worldwide, and 3GPP's standardization work is still in progress. Based on the existing mobile network standards in my country's industry, as a solution, for the service area of the corresponding edge UPF (User Plane Function), the IP address resolution of the edge application is implemented by building a local DNS (Local DNS), and the DNS request of the edge application is directed to the local DNS through the local diversion of the network. However, in the actual implementation of this solution, it is necessary to enhance the control plane and user plane of the network, including the signaling system, and define new functions to support the network to transform the DNS server address of the DNS request message so that the UE and the local DNS can communicate normally. Such enhancements require a large transformation of the existing network and are difficult to implement. They will complicate the network implementation and affect the performance of the network.
[0005] According to the prior art, a DNS request message including local services is sent to the central UPF through the UE (User Equipment) via the radio access network RAN (Radio Access Network), and the central UPF reports it to the central SMF (Session Management Function). The central SMF makes a decision based on the reported information and replaces the address through signaling instructions. The edge UPF that receives the instruction diverts the corresponding uplink traffic including the DNS request message of the local service and replaces the target address, so that the uplink DNS message is directed to the local DNS deployed on the MEC platform; for the downlink DNS, the source address of the DNS response message needs to be replaced accordingly. In the existing solution, 5GC (5G Core) is required to implement the address replacement of uplink and downlink DNS messages, which has a great impact on the 5GC signaling system and performance. In some test scenarios, in addition to the cost of modifying the existing network such as UPF, the service performance will also be significantly reduced. In actual work, how to minimize the impact on the existing network performance, solve the discovery problem of edge computing application servers simply and at low cost, so as to give full play to the high reliability and low latency performance of edge computing under the 5G architecture has become an issue that needs to be urgently solved in the industry. Summary of the invention
[0006] Based on the existing network architecture, in order to solve the problem of discovering edge computing applications, the existing network needs to be significantly modified, which is difficult to implement, has high costs and has a great impact on the existing network. In view of this, the purpose of the present disclosure is to provide an edge application discovery method, system and enhanced firewall, which can easily and effectively realize the IP address discovery of local servers by enhancing the functions of existing firewall-related devices without changing the existing network architecture and processing flow.
[0007] A brief overview of the disclosure is given below in order to provide a basic understanding of some aspects of the disclosure. However, it should be understood that this overview is not an exhaustive overview of the disclosure. It is not intended to limit the key or important parts of the disclosure, nor is it intended to limit the scope of the disclosure. Its purpose is simply to give some concepts about the disclosure in a simplified form as a prelude to a more detailed description given later.
[0008] According to one aspect of the present disclosure, an edge application discovery method is provided, which is performed by an enhanced firewall connected to an edge user plane function UPF. The method may include: a DNS request message identification step, determining whether the uplink traffic is a traffic including a DNS request message; a target address conversion step, when the uplink traffic is determined to be a traffic including a DNS request message in the DNS request message identification step, the original DNS request target address in the DNS request message is replaced with a pre-configured local DNS server address, and the mapping relationship is retained, and the converted DNS request message is sent via the uplink interface; a DNS response message identification step, determining whether the downlink traffic is a traffic including a DNS response message; and a source address conversion step, when the downlink traffic is determined to be a traffic including a DNS response message in the DNS response message identification step, the source address in the DNS response message is replaced with the corresponding original DNS request target address with the reserved mapping relationship, and sent to the edge UPF via the downlink interface.
[0009] According to another aspect of the present disclosure, an enhanced firewall is provided, which is connected to the edge UPF. The enhanced firewall may include: a DNS message identification and determination unit, which determines whether the upstream traffic is the traffic including the DNS request message, and determines whether the downstream traffic is the traffic including the DNS response message; and a DNS server network address translation unit, which, when the DNS message identification and determination unit determines that the upstream traffic is the traffic including the DNS request message, replaces the original DNS request target address in the DNS request message with a pre-configured local DNS server address, retains the mapping relationship, and then sends the converted DNS request message via the upstream interface; and when the DNS message identification and determination unit determines that the downstream traffic is the traffic including the DNS response message, replaces the source address in the DNS response message with the corresponding original DNS request target address with the retained mapping relationship, and then sends it to the edge UPF via the downstream interface.
[0010] According to another aspect of the present disclosure, an edge application discovery system is provided, including: an edge UPF, which identifies edge services accessing edge applications and diverts them to interfaces corresponding to edge computing; the above-mentioned enhanced firewall; and a local DNS server, which is deployed on the MEC platform and retains the address resolution relationship of edge applications deployed in the corresponding MEC platform, and is used to provide domain name resolution services for edge applications deployed on the MEC platform.
[0011] According to another aspect of the present disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores executable instructions, and when the executable instructions are executed by an information processing device, the information processing device executes the above-mentioned edge application discovery method.
[0012] According to another aspect of the present disclosure, an edge application discovery device is provided, comprising: a memory, and a processing circuit, wherein the processing circuit is configured to: determine whether the uplink traffic is traffic including a DNS request message; when it is determined that the uplink traffic is traffic including a DNS request message, replace the original DNS request target address in the DNS request message with a pre-configured local DNS server address, retain the mapping relationship, and then send out the converted DNS request message via the uplink interface; determine whether the downlink traffic is traffic including a DNS response message; and when it is determined that the downlink traffic is traffic including a DNS response message, replace the source address in the DNS response message with the corresponding original DNS request target address with the retained mapping relationship, and then send it to the edge UPF via the downlink interface.
[0013] According to the present invention, it is possible to easily and effectively realize the IP address discovery of the local server by enhancing the functions of the existing firewall-related equipment without changing the existing network architecture and processing flow. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is an exemplary schematic diagram showing a communication system according to an embodiment of the present disclosure;
[0015] Figure 2 An exemplary flow chart of an edge application discovery method performed by an enhanced firewall 700 according to an embodiment of the present disclosure is shown;
[0016] Figure 3 An exemplary schematic diagram showing the structure of an enhanced firewall 700 according to an embodiment of the present disclosure;
[0017] Figure 4 An exemplary schematic diagram of the specific implementation process of the edge application discovery method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0018] The preferred embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement of the components and steps, the numerical expressions and the numerical values described in these embodiments do not limit the scope of the present disclosure. At the same time, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to the actual proportional relationship. The following description of at least one exemplary embodiment is actually only illustrative and is not intended to limit the present disclosure and its application or use.
[0019] The techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the techniques, methods and devices should be considered as part of the specification.The technology of the present disclosure can be applied to various products.
[0020] For the sake of ease of explanation, as the implementing body of the edge application discovery method, this disclosure mainly takes the general firewall in the existing network as an example for explanation, but those skilled in the art can understand that the technology disclosed in this disclosure can be applied to any other software or hardware functional entity with network address translation NAT (Network Address Translation) function and deep packet inspection DPI (Deep Packet Inspection) function, or similar or corresponding functions, and is not limited to firewalls.
[0021] To facilitate a better understanding of the technical solution according to the present disclosure, some communication industry technology-related concepts used in the embodiments of the present disclosure are briefly introduced below.
[0022] Domain Name System DNS (Domain Name System): As a database server that can map domain names and Internet Protocol (IP) addresses, it enables users to access the Internet more conveniently without having to remember IP address data strings that can be directly read by machines.
[0023] Network Address Translation (NAT): A technology used to access the Internet or Wide Area Network (WAN) to convert private (reserved) addresses into legal IP addresses. With NAT, when the "internal" network of a private (reserved) address sends a data packet, the private address is converted into a legal IP address. A local area network only needs to use a small number of IP addresses (even 1) to meet the communication needs of all computers in the private address network and the Internet. NAT will automatically modify the source IP address and destination IP address of the IP message, and the IP address verification is automatically completed during the NAT processing. In the implementation of NAT, multiple devices such as firewalls and routers can usually be integrated together.
[0024] Deep Packet Inspection (DPI): A deep inspection technology based on data packets. It performs deep inspection on different network application layer loads (such as HTTP, DNS, etc.) and determines its properties by inspecting the payload of the message. By inspecting and analyzing the traffic and message content at key points of the network, the inspection traffic can be filtered and controlled according to pre-defined policies. It can complete the refined identification of the services on the link, business traffic flow analysis, business traffic share statistics, business share shaping, application layer denial of service attacks, filtering of viruses and Trojans, and control of P2P abuse. Current firewalls generally have certain DPI functions.
[0025] In addition, for ease of explanation, the present disclosure mainly uses the 5G network architecture as an example, but the technology of the present disclosure can be applied to any general network architecture, such as the existing network architecture, or the network architecture of the future communication system.
[0026] The 5G mobile network architecture used as the application background in this disclosure mainly includes the 5G access network (NG-RAN) and the 5G core network (5GC, 5G Core). In the 5G core network 5GC, AMF (Access and Mobility Management Function), SMF (Session Management Function), and UPF (UserPlane Function) play the main role, among which AMF is mainly responsible for terminal access rights and mobility management, etc.; SMF is used for session management to provide service continuity and uninterrupted user experience of services, including changes in IP addresses and / or anchor points; UPF is responsible for user plane processing.
[0027] Hereinafter, the overall structure of a communication system according to an embodiment of the present disclosure will be described. Figure 1 An exemplary schematic diagram of a communication system according to an embodiment of the present disclosure is shown. The communication system mainly involves a 5G core network 5GC 1 and a MEC platform 2, and a user equipment UE (User Equipment) 100 accesses the 5G core network 5GC 1 via a radio access network RAN (Radio Access Network) 200. The 5G core network 5GC 1 includes an AMF, a session management function SMF 400, and a user plane function UPF 300, which are not shown in the figure. The user plane function UPF 300 is further subdivided into a central UPF 301 and an edge UPF 302; the 5G core network 5GC 1 uses the existing 5GC mechanisms, such as the contracted DDN (Digital Data Network), ULCL (Uplink Classifier) diversion mechanism, etc., to implement and ensure access to local services (including DNS requests for local services) from the edge UPF 302. The central DNS server (hereinafter sometimes referred to as "central DNS") 501 is connected to the central UPF 301, which is a traditional DNS and is used to provide domain name resolution services for traditional mobile Internet services. MEC platform 2 provides the deployment environment and necessary management means for edge applications. Local DNS server (hereinafter sometimes referred to as "local DNS") 502 is a DNS deployed on MEC platform 2, providing domain name resolution services for edge applications deployed on MEC platform 2. Edge application server (hereinafter sometimes referred to as "edge server") 600 is an application server deployed on MEC platform 2. Figure 1The N6 interface in the system is an interface between the user plane function UPF 300 and the data network in accordance with the standard definition, and in some embodiments, also includes its sub-interfaces. In the embodiments of the present disclosure, the term "enhanced firewall" is named to distinguish it from the general "firewall" in the prior art, and is not intended to impose any restrictive restrictions on the content of the network element as a firewall. Figure 1 The enhanced firewall 700 is a security protection and address translation device behind the N6 interface, which can perform, for example, IP address translation of the UE.
[0028] The edge application discovery system according to the embodiment of the present disclosure preferably includes: edge UPF 302, which identifies edge services accessing edge applications including DNS requests for local services, and diverts them to the interface corresponding to the MEC platform; enhanced firewall 700; and local DNS server 502, which is deployed on the MEC platform 2, retains the address resolution relationship of the edge applications deployed in the corresponding MEC platform 2, and is used to provide domain name resolution services for edge applications deployed on the MEC platform 2. The details of the enhanced firewall 700 will be described later.
[0029] Next, the edge application discovery method according to the embodiment of the present disclosure is described. Figure 2 is an exemplary flow chart showing an edge application discovery method according to an embodiment of the present disclosure. Preferably, this embodiment can be performed by an enhanced firewall 700 included in the communication system of the present disclosure. The method may include the following steps:
[0030] DNS request message identification step S210: determining whether the uplink traffic is traffic including the DNS request message;
[0031] The target address conversion step S220, when it is determined in the DNS request message identification step S210 that the uplink traffic is the traffic including the DNS request message, replaces the original DNS request target address (e.g., IP: 88.88.88.88) in the DNS request message with a pre-configured local DNS server address (e.g., IP: 66.66.66.66), retains the mapping relationship, and sends the converted DNS request message via the uplink interface;
[0032] DNS response message identification step S230: determining whether the downstream traffic is traffic including a DNS response message; and
[0033] Source address conversion step S240: When the downstream traffic is determined to be traffic including a DNS response message in the DNS response message identification step S230, the source address in the DNS response message (for example, IP: 66.66.66.66) is replaced with the corresponding original DNS request target address (for example, IP: 88.88.88.88) with a retained mapping relationship, and sent to the edge UPF 302 via the downstream interface (such as the N6 interface or sub-interface).
[0034] Therefore, it is possible to easily and effectively discover the IP address of the local server by enhancing the functions of existing firewall-related equipment without changing the existing network architecture and processing flow.
[0035] Among them, preferably, the enhanced firewall 700 is a logically independent firewall pre-set corresponding to the edge UFP 302, and is connected to the edge UPF 302 via N6 or a sub-interface.
[0036] Preferably, the uplink traffic is local business diversion traffic including DNS requests for local services, and the local business diversion traffic is obtained by anchoring the UE session to the edge UPF 302 or diverting it from the edge UPF 302 through the 5G core network 5GC 1 according to the user plane policy.
[0037] Preferably, in the DNS request message identification step S210, when the port number of the upstream traffic is identified as 53 using deep packet inspection DPI, it is determined that the upstream traffic is the traffic including the DNS request message; in the DNS response message identification step S230, when the port number of the downstream traffic is identified as 53 using DPI, it is determined that the downstream traffic is the traffic including the DNS response message.
[0038] Preferably, when the UE is assigned an IPv4 address, UE address translation is performed on the uplink traffic and the downlink traffic. On the other hand, when the UE is assigned an IPv6 address, UE address translation can be omitted.
[0039] Preferably, after the target address conversion step S220, for the uplink traffic routed to the local DNS server 502, the local DNS server 502 resolves the IP address of the corresponding edge application server (for example, IP: 55.55.55.55) and returns it; after the source address conversion step S240, the DNS response message is fed back to the UE 100 from the edge user plane path through the N6 interface of the edge UPF 302, and the UE 100 obtains the IP address of the edge application server (for example, IP: 55.55.55.55) and accesses the service.
[0040] According to the edge application discovery method of the embodiment of the present disclosure, there is no need to change the existing network process, which can avoid embedding too complex bearer network functions into the mobile network, and is conducive to the evolution of the network.
[0041] Next, the enhanced firewall according to the embodiment of the present disclosure is described. Figure 3 1 is an exemplary schematic diagram of the structure of the enhanced firewall 700 according to an embodiment of the present disclosure. The enhanced firewall 700 of the embodiment of the present disclosure is connected to the edge UPF 302, and the enhanced firewall 700 may include: a DNS message identification and determination unit 310, which determines whether the upstream traffic is the traffic including the DNS request message, and determines whether the downstream traffic is the traffic including the DNS response message; and a DNS server network address translation unit 320, which, when the DNS message identification and determination unit 310 determines that the upstream traffic is the traffic including the DNS request message, converts the original DNS request target address (e.g., IP: 88.88.88.88) in the DNS request message to the DNS server network address translation unit 320. 8) Replace it with the pre-configured local DNS server address (for example, IP: 66.66.66.66), retain the mapping relationship, and then send the converted DNS request message via the upstream interface. When the DNS message identification and determination unit 310 determines that the downstream traffic is traffic including a DNS response message, replace the source address in the DNS response message (for example, IP: 66.66.66.66) with the corresponding original DNS request target address (for example, IP: 88.88.88.88) with the retained mapping relationship, and then send it to the edge UPF via the downstream interface.
[0042] Among them, preferably, the enhanced firewall 700 is a logically independent firewall pre-set corresponding to the edge UFP 302, and is connected to the edge UPF 302 via an N6 interface or a sub-interface.
[0043] Preferably, the uplink traffic is local business diversion traffic including DNS requests for local services, and the local business diversion traffic is obtained by anchoring the UE session to the edge UPF 302 or diverting it from the edge UPF 302 through the 5G core network 5GC 1 according to the user plane policy.
[0044] Preferably, the DNS message identification and determination unit 310 has at least four-layer packet parsing functions. Specifically, when the port number of the upstream traffic is identified as 53 by using DPI, the upstream traffic is determined to be traffic including DNS request messages. When the port number of the downstream traffic is identified as 53 by using DPI, the downstream traffic is determined to be traffic including DNS response messages.
[0045] Preferably, the enhanced firewall 700 optionally has a UE network address translation unit 330, which performs UE address translation on uplink traffic and downlink traffic when the UE is assigned an IPv4 address. In a system where the UE is assigned an IPv6 address, the UE network address translation unit 330 may be omitted or may be optionally disabled.
[0046] According to the enhanced firewall 700 of the embodiment of the present disclosure, the existing general firewall has certain DPI functions (only four-layer resolution is required) and the characteristics of NAT devices responsible for network address translation, and the existing devices are fully utilized to enhance the functions of the existing devices. For example, the four-layer packet resolution function of identifying DNS messages and the NAT function of the DNS server address are explored. In a simple and effective way, the complexity and performance damage of implementing address translation in the mobile network are avoided, and the discovery problem of the edge computing application server can be efficiently solved without enhancing the control plane and user plane of the network, including the signaling system.
[0047] Next, as a specific implementation process, Figure 4 An exemplary schematic diagram of the complete specific implementation process of the edge application discovery method in a communication system according to an embodiment of the present disclosure is shown, which shows that in an exemplary multi-point deployment of edge computing applications, users request edge application services through ordinary DNS requests. As a precondition, the edge UFP 302 pre-sets the corresponding logically independent enhanced firewall 700; the enhanced firewall 700 pre-configures the corresponding local DNS address; the local DNS 502 retains the address resolution relationship of the edge application deployed in the corresponding MEC service area. The specific implementation process includes:
[0048] Step S401: After the user UE 100 registers with the mobile network 5GC 1, the network anchors the UE session to the edge UPF 302 or diverts it from the edge UPF 302 according to the user plane policy;
[0049] Step S402: The user UE 100 accesses the edge application through the universal domain name, and first initiates a DNS request with the designated central DNS 501 as the target address (such as IP: 88.88.88.88);
[0050] Step S403: The edge UPF 302 identifies that it is a DNS request of the edge application through existing mechanisms such as FQDN (Fully Qualified Domain Name) / URL (Uniform Resource Locator);
[0051] Step S404: The edge UPF 302 diverts the DNS request message to the N6 interface (or sub-interface) corresponding to the MEC platform, and then sends it to the enhanced firewall 700;
[0052] Step S405: The enhanced firewall 700 performs normal UE address translation on the data packets sent from the N6 interface and replaces the target address of the DNS request message, converts the target IP to the address of the local DNS (such as IP: 66.66.66.66) and retains the mapping relationship;
[0053] Step S406: the DNS request after address replacement (target IP: 66.66.66.66) is routed to the local DNS 502;
[0054] Step S407: the local DNS 502 resolves the IP address of the corresponding edge application server according to the address resolution relationship;
[0055] Step S408: the local DNS 502 returns a DNS response message, the source address of the message is the address of the local DNS (such as IP: 66.66.66.66 above), wherein the message carries the IP address of the edge application server;
[0056] Step S409: the enhanced firewall 700 recognizes that it is a DNS response message, implements original address replacement, and converts the source address into the reserved original DNS address (such as IP: 88.88.88.88 above);
[0057] Step S410: The DNS response message (source address is IP: 88.88.88.88) is sent to the edge UPF 302 through the corresponding N6 interface (or sub-interface);
[0058] Step S411: The edge UPF 302 sends a DNS response message to the UE 100 through the local user plane, so that the UE 100 can obtain the IP address of the edge application server 600;
[0059] Step S412: UE 100 accesses the nearest edge application service through the acquired IP address.
[0060] As described above, the edge application discovery method, system, and enhanced firewall according to the implementation of the present disclosure can easily and effectively solve the edge application discovery problem, without changing the existing network process, without the need to modify the terminal or application layer, without adding new equipment, and is simple to implement; it effectively solves the addressing problem of multi-point deployment of edge applications, and helps promote the ecological construction of 5G edge applications. In addition, the edge application discovery method, system, and enhanced firewall according to the implementation of the present disclosure are also suitable for solving the edge application address discovery problem when the application is deployed in multiple points and in a single point; the enhanced functions involved can be undertaken by the virtualized DNS proxy software function, and the deployment is flexible and on-demand, which meets the requirements of rapid on-demand deployment in the MEC environment.
[0061] In some embodiments, network element units such as edge UPF 302 and enhanced firewall 700 may include memory and processing circuits (not shown). The processing circuits of enhanced firewall 700 and the like may provide various functions that they possess, for example, the processing circuits of enhanced firewall 700 may be configured to perform, for example, the above-mentioned DNS request message identification step S210, target address conversion step S220, DNS response message identification step S230, and source address conversion step S240.
[0062] The processing circuitry of the enhanced firewall 700 may refer to various implementations of digital circuitry, analog circuitry, or mixed-signal (a combination of analog and digital) circuitry that performs functions in a computing system. The processing circuitry may include, for example, circuits such as integrated circuits (ICs), application specific integrated circuits (ASICs), portions or circuits of a separate processor core, an entire processor core, a separate processor, a programmable hardware device such as a field programmable gate array (FPGA), and / or a system including multiple processors.
[0063] The memory of the enhanced firewall 700 may store information generated by the processing circuit and programs and data for the operation of the enhanced firewall 700. The memory may be a volatile memory and / or a non-volatile memory. For example, the memory may include, but is not limited to, a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a read-only memory (ROM), and a flash memory.
[0064] It should be understood that the above steps, units, etc. are only logical modules divided according to the specific functions they implement, and are not used to limit the specific implementation method. In actual implementation, the above units can be implemented as independent physical entities, or can also be implemented by a single entity (such as a processor (CPU or DSP, etc.), an integrated circuit, etc.).
[0065] It should be understood that references to "an embodiment" or similar expressions in this specification refer to specific features, structures, or characteristics described in conjunction with the embodiment being included in at least one specific embodiment of the present disclosure. Therefore, the appearance of "in an embodiment of the present disclosure" and similar expressions in this specification does not necessarily refer to the same embodiment.
[0066] Those skilled in the art will appreciate that the present disclosure is implemented as a system, apparatus, method, or computer-readable medium (e.g., non-transient storage medium) as a computer program product. Therefore, the present disclosure may be implemented in various forms, such as a complete hardware embodiment, a complete software embodiment (including firmware, resident software, microprogram code, etc.), or may also be implemented as a software and hardware implementation, which will be referred to as a "circuit," "module," or "system" below. In addition, the present disclosure may also be implemented as a computer program product in any tangible media form, which has a computer-usable program code stored thereon.
[0067] The relevant description of the present disclosure is described with reference to the flowchart and / or block diagram of the system, device, method and computer program product according to the specific embodiment of the present disclosure. It can be understood that each block in each flowchart and / or block diagram, and any combination of blocks in the flowchart and / or block diagram, can be implemented using computer program instructions. These computer program instructions can be executed by a machine composed of a processor of a general-purpose computer or a special computer or other programmable data processing device, and the instructions are processed by a computer or other programmable data processing device to implement the functions or operations described in the flowchart and / or block diagram.
[0068] The accompanying drawings show the flow charts and block diagrams of the architecture, functions and operations that can be implemented by the systems, devices, methods and computer program products according to various embodiments of the present disclosure. Therefore, each block in the flow chart or block diagram can represent a module, segment, or part of the program code, which includes one or more executable instructions to implement the specified logical function. It should also be noted that in some other embodiments, the functions described in the blocks may not be performed in the order shown in the figure. For example, two blocks connected to each other in the figure can actually be executed simultaneously, or in some cases according to the functions involved, they can also be executed in the opposite order of the icons. It should also be noted that each block diagram and / or flow chart block, as well as the combination of blocks in the block diagram and / or flow chart, can be implemented by a system based on special hardware, or by a combination of special hardware and computer instructions to perform specific functions or operations.
[0069] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to market technologies, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. An edge application discovery method, performed by an enhanced firewall connected to an edge user plane function UPF, comprising: A DNS request message identification step, determining whether the uplink traffic is traffic including the DNS request message; a target address conversion step, in which, when it is determined in the DNS request message identification step that the uplink traffic is traffic including the DNS request message, the original DNS request target address in the DNS request message is replaced with a pre-configured local DNS server address, and the mapping relationship is retained, and the converted DNS request message is sent via the uplink interface, wherein, for the uplink traffic routed to the local DNS server, the local DNS server resolves the IP address of the corresponding edge application server and returns a DNS response message, and the DNS response message carries the IP address of the edge application server; A DNS response message identification step, determining whether the downstream traffic is traffic including the DNS response message; and Source address conversion step: when the downlink traffic is determined to be the traffic including the DNS response message in the DNS response message identification step, the source address in the DNS response message is replaced with the corresponding original DNS request target address with a retained mapping relationship, and sent to the edge UPF via the downlink interface, wherein the DNS response message is fed back to the UE from the edge user plane path through the edge UPF, so that the UE obtains the IP address of the edge application server and accesses the service.
2. The edge application discovery method according to claim 1, wherein: The enhanced firewall is a logically independent firewall pre-set corresponding to the edge UFP, and is connected to the edge UPF via an N6 interface or a sub-interface.
3. The edge application discovery method according to claim 1, wherein: The local DNS server is a DNS server deployed on the mobile edge computing MEC platform, which retains the address resolution relationship of the edge application deployed in the corresponding MEC platform and is used to provide domain name resolution services for the edge application deployed on the MEC platform.
4. The edge application discovery method according to claim 1, wherein: The uplink traffic is local service diversion traffic including DNS requests for local services, and the local service diversion traffic is obtained by anchoring the UE session to the edge UPF or diverting it from the edge UPF through the 5G core network 5GC according to the user plane policy.
5. The edge application discovery method according to claim 1, wherein: In the DNS request message identification step, when the port number of the uplink traffic is identified as 53 by using deep packet inspection DPI, it is determined that the uplink traffic is traffic including the DNS request message; In the DNS response message identification step, when the port number of the downstream traffic is identified as 53 by using DPI, it is determined that the downstream traffic is the traffic including the DNS response message.
6. The edge application discovery method according to claim 1, further comprising: When the UE is assigned an IPv4 address, UE address translation is performed on uplink traffic and downlink traffic.
7. The edge application discovery method according to claim 1, wherein: The edge application server that provides edge applications is deployed on the MEC platform.
8. An enhanced firewall connected to the edge UPF, the enhanced firewall having: A DNS message identification and determination unit, which determines whether the upstream traffic is traffic including a DNS request message, and determines whether the downstream traffic is traffic including a DNS response message; and The DNS server network address translation unit, when the DNS message identification and determination unit determines that the uplink traffic is traffic including a DNS request message, replaces the original DNS request target address in the DNS request message with a pre-configured local DNS server address, retains the mapping relationship, and then sends the converted DNS request message via the uplink interface, wherein: For the uplink traffic routed to the local DNS server, the local DNS server resolves the IP address of the corresponding edge application server and returns a DNS response message, which carries the IP address of the edge application server, and When the DNS message identification and determination unit determines that the downlink traffic is the traffic including the DNS response message, the source address in the DNS response message is replaced with the corresponding original DNS request target address with a retained mapping relationship, and then sent to the edge UPF via the downlink interface, wherein the DNS response message is fed back to the UE from the edge user plane path through the N6 interface or sub-interface of the edge UPF, so that the UE obtains the IP address of the edge application server and accesses the service.
9. The enhanced firewall according to claim 8, wherein: The enhanced firewall is a logically independent firewall pre-set corresponding to the edge UFP, and is connected to the edge UPF via an N6 interface or a sub-interface.
10. The enhanced firewall according to claim 8, wherein: The uplink traffic is local business diversion traffic including DNS requests for local services, and the local business diversion traffic is obtained by anchoring the UE session to the edge UPF or diverting it from the edge UPF according to the user plane policy through 5GC.
11. The enhanced firewall according to claim 8, wherein: When the DNS message identification and determination unit uses DPI to identify that the port number of the upstream traffic is 53, it determines that the upstream traffic is the traffic including the DNS request message. When the port number of the downstream traffic is 53, it determines that the downstream traffic is the traffic including the DNS response message.
12. The enhanced firewall according to claim 8, further comprising: The UE network address translation unit performs UE address translation on uplink traffic and downlink traffic when the UE is assigned an IPv4 address.
13. An edge application discovery system, comprising: Edge UPF, identifies edge services accessing edge applications including DNS requests for local services, and diverts them to the interface corresponding to edge computing; The enhanced firewall according to any one of claims 8 to 12; as well as The local DNS server is deployed on the MEC platform, retains the address resolution relationship of the edge applications deployed on the corresponding MEC platform, and is used to provide domain name resolution services for edge applications deployed on the MEC platform.
14. A computer-readable storage medium storing executable instructions, which, when executed by an information processing device, causes the information processing device to execute the edge application discovery method according to any one of claims 1 to 7.
15. An electronic device, comprising: Memory, and A processing circuit, wherein the processing circuit is configured to execute the edge application discovery method according to any one of claims 1 to 7.
