Domain name server processing method and device
By enhancing the functions of SMF and UPF, and using the policy information and terminal location information provided by PCF to process DNS requests, the existing technical problems of DNS processing in 5G networks are solved, and efficient DNS resolution without the need for new network elements and third-party dependencies are achieved.
Patent Information
- Application Number
- CN202010814130.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-13
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2040-08-13
AI Technical Summary
In 5G networks, it is difficult for the existing technology to effectively use existing network elements for domain name server processing, and some solutions require adding new network elements or large-scale transformation of existing network elements, or relying on third parties to locate suitable application servers.
Enhance existing functions through SMF and UPF, obtain DNS requests and select appropriate DNS servers and/or UPFs, forward and process DNS requests, and use the policy information and terminal location information provided by PCF to select and replace DNS servers and avoid new network elements and third-party dependencies.
It realizes efficient processing of DNS requests without the need for new network elements and third-party dependencies in 5G networks, improves the accuracy and efficiency of DNS resolution, and simplifies network architecture management.
Smart Images

Figure CN114143287B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a domain name server processing method and device. Background Art
[0002] The application (app) addressing of the core network of the fifth generation mobile communication technology (5th generation, 5G) is to pre-configure the resolution server address of the domain name server (DNS) to the terminal, and the terminal accesses the app address according to the configured DNS resolution server address. In the edge network, some apps need to find the application server closest to the terminal to ensure service quality.
[0003] Currently, a variety of DNS processing solutions have been proposed, which can be roughly divided into three categories. The first type of solution requires adding new network elements to solve the problem. Although the second type of solution does not require adding new network elements, it requires major modifications to existing network elements. The third type of solution requires reliance on a third party to locate the appropriate application server. Summary of the invention
[0004] One purpose of an embodiment of the present application is to provide a domain name server processing method and device to solve the problem of how to use existing network elements to perform domain name server processing in a 5G network.
[0005] In a first aspect, a DNS processing method is provided, which is applied to SMF, including:
[0006] Obtain the DNS request forwarded by the user plane function UPF;
[0007] Select DNS servers and / or UPF;
[0008] The DNS request is forwarded to the selected DNS server and / or UPF.
[0009] Optionally, the selecting a DNS server and / or UPF includes:
[0010] The DNS server and / or UPF is selected according to the policy information obtained from the PCF.
[0011] Optionally, the method further comprises:
[0012] Trigger the uplink classifier insertion process or UPF switching process.
[0013] Optionally, forwarding the DNS request to the UPF includes:
[0014] The destination address in the DNS request is replaced with the address of the DNS server selected by the SMF, and the DNS request is forwarded to the UPF.
[0015] Optionally, the method further comprises:
[0016] The address of the DNS server is sent to the UPF.
[0017] Optionally, the method further comprises:
[0018] Sending first information of UPF node granularity to the UPF through the N4 session establishment process;
[0019] The first information includes: fully qualified domain name FQDN, terminal location information, DNS server address;
[0020] Among them, the second information within the SMF maintenance scope, the second information includes FQDN, terminal location information, and DNS server address.
[0021] In a second aspect, a DNS processing method is provided, which is applied to UPF, including:
[0022] Get DNS request;
[0023] Inserting the extended common domain name system client sub-mask ECS information into the DNS request, and forwarding the DNS request to the DNS server.
[0024] Optionally, the method further comprises:
[0025] The ECS information includes DNAI information or terminal location information.
[0026] Optionally, the method further comprises:
[0027] Identify DNS requests by detecting application information such as FQDN or identifying port information.
[0028] Optionally, the method further comprises:
[0029] The DNAI information is obtained from SMF.
[0030] Optionally, the method further comprises:
[0031] The terminal location information is obtained from the SMF, or the terminal location information is obtained locally.
[0032] Optionally, the method further comprises:
[0033] The destination address in the DNS request is replaced with the address of the DNS server selected by the UPF, and the source address of the response message of the DNS request is replaced with the initial DNS server address.
[0034] Optionally, the method further comprises:
[0035] Obtain the first information of the UPF node granularity sent by the SMF through the N4 session establishment process, wherein the first information includes: FQDN, terminal location information, and DNS server address;
[0036] Among them, the second information within the SMF maintenance scope, the second information includes FQDN, terminal location information, and DNS server address.
[0037] Optionally, the DNS server address comes from a third party and is provided through an application function influence (AF influence) process.
[0038] In a fourth aspect, a DNS processing device is provided, which is applied to SMF, including:
[0039] A first acquisition module, used to obtain the DNS request forwarded by the UPF;
[0040] A selection module for selecting a DNS server and / or UPF;
[0041] The first sending module is used to forward the DNS request to the selected DNS server and / or UPF.
[0042] In a fifth aspect, a SMF is provided, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the DNS processing method described in the first aspect are implemented.
[0043] In a sixth aspect, a DNS processing device is provided, which is applied to UPF, including:
[0044] The second acquisition module is used to obtain the DNS request;
[0045] The second sending module is used to insert the DNS request into the ECS information and forward the DNS request to the DNS server.
[0046] In the seventh aspect, a UPF is provided, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the DNS processing method described in the second aspect are implemented.
[0047] In an eighth aspect, a readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.
[0048] In the embodiment of the present application, simple functional enhancements are directly performed on existing network elements, so there is no need to add new network elements, and there are no new interface design and management issues caused by new network elements. The entire mechanism is completed by the operator's network elements without relying on a third party. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0050] Figure 1 This is one of the flow charts of the domain name server processing method according to an embodiment of the present application;
[0051] Figure 2 This is the second flowchart of the domain name server processing method of the embodiment of the present application;
[0052] Figure 3 This is a flow chart of Embodiment 1;
[0053] Figure 4 This is a flow chart of Embodiment 2;
[0054] Figure 5 This is a flow chart of Embodiment 4;
[0055] Figure 6 This is a flow chart of Embodiment 5;
[0056] Figure 7 This is a flow chart of Embodiment 6;
[0057] Figure 8 This is one of the schematic diagrams of the domain name server processing device according to an embodiment of the present application;
[0058] Fig. 9 A schematic diagram of an SMF according to an embodiment of the present application;
[0059] Fig.10 This is a second schematic diagram of the domain name server processing device according to an embodiment of the present application;
[0060] Fig.11 A schematic diagram of a UPF according to an embodiment of the present application;
[0061] Fig.12 This is a flow chart of Example 6. DETAILED DESCRIPTION
[0062] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0063] The term "comprise" and any variation thereof in the specification and claims of the present application are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. In addition, the use of "and / or" in the specification and claims to indicate at least one of the connected objects, such as A and / or B, means that A alone, B alone, and A and B exist in three cases.
[0064] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0065] The terms "system" and "network" are often used interchangeably. A CDMA system may implement radio technologies such as CDMA2000, Universal Terrestrial Radio Access (UTRA). UTRA includes Wideband Code Division Multiple Access (WCDMA) and other CDMA variants. A TDMA system may implement radio technologies such as Global System for Mobile Communication (GSM). An OFDMA system may implement radio technologies such as Ultra Mobile Broadband (UMB), Evolution-UTRA (E-UTRA), IEEE 802.11 (Wi-Fi), IEEE 802.16 (WiMAX), IEEE802.20, Flash-OFDM, etc. UTRA and E-UTRA are parts of Universal Mobile Telecommunications System (UMTS). LTE and more advanced LTE (such as LTE-A) are new UMTS versions that use E-UTRA. UTRA, E-UTRA, UMTS, LTE, LTE-A, and GSM are described in documents from an organization named "3rd Generation Partnership Project" (3GPP). CDMA2000 and UMB are described in documents from an organization named "3rd Generation Partnership Project 2" (3GPP2). The techniques described herein may be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies.
[0066] See also Figure 1 , an embodiment of the present application provides a DNS processing method, the execution subject of the method can be a session management function (Session Management Function, SMF), and the specific steps include: step 101-step 103.
[0067] Step 101: Obtain a DNS request forwarded by a user plane function UPF;
[0068] Step 102: Select a DNS server and / or UPF;
[0069] For example, the DNS server and / or UPF is selected based on the policy information obtained from the PCF.
[0070] Optionally, the policy information (or referred to as a policy table) is maintained and updated by the PCF and stored in the PCF and SMF.
[0071] The policy information includes: the mapping relationship between the fully qualified domain name (FQDN), the data network access identifier (DNAI) and the DNS server address (DNS serveraddress). In this way, the SMF can select the appropriate DNS server address and DNAI based on the UE location and the FQDN requested by the user.
[0072] The above FQDN, APP server address and DNS server address are provided by AF. Based on the UE's subscription information, PCF maps DNAI, FQDN and DNS server address into a per UE table and provides it to SMF.
[0073] Step 103: Forward the DNS request to the selected DNS server and / or UPF.
[0074] For example, the destination address in the DNS request is replaced with the address of the DNS server selected by the SMF, and the DNS request is forwarded to the UPF.
[0075] In the embodiment of the present application, optionally, the method further includes: triggering a ULCL insertion process or a UPF switching process.
[0076] In an embodiment of the present application, optionally, the method further includes: sending the address of the selected DNS server to the UPF.
[0077] In the embodiment of the present application, optionally, the method further includes: sending first information of UPF node granularity to the UPF through the N4 session establishment process, the first information including: FQDN, terminal location information, and DNS server address;
[0078] Among them, the second information within the SMF maintenance scope, the second information includes FQDN, terminal location information, and DNS server address.
[0079] Optionally, the DNS server address comes from a third party and is provided through an application function influence (AF influence) process.
[0080] In the embodiment of the present application, SMF enhances and supports the existing functions of DNS, performs DNS request processing, and SMF selects a suitable Local DNS server and / or PSA for the UE DNS request based on the locally stored PCF policy table. If a new PSA is selected, the PSA switching / ULCL insertion process is executed, and SMF modifies the DNS request destination address and sends the DNS request to L-DNS through the user plane tunnel. If the PSA remains unchanged, the DNS request is directly sent to C-DNS for resolution through the user plane of the original PSA.
[0081] In the embodiment of the present application, simple functional enhancements are directly performed on existing network elements, so there is no need to add new network elements. There are no new interface design and management issues caused by new network elements. The entire mechanism is completed by the operator's network elements, so there is no need to rely on a third party.
[0082] See also Figure 2 The embodiment of the present application provides a DNS processing method, the execution subject of the method may be UPF, and the specific steps include:
[0083] Step 201: Obtain a DNS request;
[0084] For example, DNS requests can be identified through DPI detection or identification of port information.
[0085] Step 202: Insert the DNS request into the extended public domain name system client subnet (edns-client-subnet, ECS) information, and forward the DNS request to the DNS server.
[0086] In an embodiment of the present application, optionally, the ECS information includes the DNAI information or the terminal location information.
[0087] In the embodiment of the present application, optionally, the method also includes: acquiring the DNAI information from the SMF.
[0088] In the embodiment of the present application, optionally, the method further includes: acquiring the terminal location information from the SMF, or acquiring the terminal location information locally.
[0089] In an embodiment of the present application, optionally, the method also includes: replacing the destination address in the DNS request with the address of the DNS server selected by the UPF, and replacing the source address of the response message of the DNS request with the initial DNS server address.
[0090] In an embodiment of the present application, optionally, the method further includes: obtaining first information of UPF node granularity sent by SMF through an N4 session establishment process, wherein the first information includes: FQDN, terminal location information, and DNS server address;
[0091] Among them, the second information within the SMF maintenance scope, the second information includes FQDN, terminal location information, and DNS server address.
[0092] Optionally, the DNS server address comes from a third party and is provided through an application function influence (AF influence) process.
[0093] In the embodiment of the present application, simple functional enhancements are directly performed on existing network elements, so there is no need to add new network elements. There are no new interface design and management issues caused by new network elements. The entire mechanism is completed by the operator's network elements, so there is no need to rely on a third party.
[0094] The following describes the embodiments of the present application in conjunction with Embodiments 1 to 7.
[0095] Embodiment 1: In case of uplink classifier (ULCL) insertion / distributed platform security architecture (PSA) switching, SMF enhances processing of domain name server (DNS) request.
[0096] See also Figure 3 , the specific process is as follows:
[0097] Step 1: UE sends a DNS request to PSA1.
[0098] Step 2: PSA1 detects that it is a DNS request and forwards the DNS request to SMF.
[0099] Step 3: SMF queries the policy table obtained from PCF and selects the most appropriate DNAI and / or PSA based on the UE location and requested FQDN.
[0100] If the UE supports ULCL, the ULCL insertion process is performed; if not, the PSA switching process is performed.
[0101] In the ULCL insertion or PSA switching process, SMF sends the DNS server address table at the UPF node granularity to UPF through N4 session establishment.
[0102] Step 4: Replace the destination address in the DNS request with the address of the DNS server selected by the SMF, and forward it to the local PSA / PSA2.
[0103] Step 5: Local PSA / PSA2 sends the DNS request to the local DNS server (L-DNS server).
[0104] Step 6: The local DNS server searches for a suitable application server (APP server) based on the FQDN and sends the resolution result to the Local PSA / PSA2. The Local PSA / PSA2 replaces the source address with the core DNS server (C-DNS server) address based on the DNS server address table obtained from the SMF during ULCL insertion or PSA switching, and forwards it to the UE.
[0105] Step 7: UE and EAS communicate data.
[0106] Embodiment 2: When the distributed PSA does not switch the PSA, the SMF enhances the processing of DNS requests.
[0107] See also Figure 4 , the specific process is as follows:
[0108] Step 1: UE sends a DNS request to UPF.
[0109] Step 2: UPF detects that it is a DNS request and forwards the DNS request to SMF.
[0110] According to the UE policy, the SMF finds that the UE does not support ULCL. It queries the policy table obtained from the PCF and selects the most appropriate DNAI and PSA based on the requested FQDN.
[0111] Step 3: If the SMF query result shows that PSA does not need to be switched, the DNS request is forwarded to UPF.
[0112] Step 4: UPF sends the DNS request to the core DNS (C-DNS) server.
[0113] Step 5: The C-DNS server sends the DNS resolution result to UPF, and UPF forwards it to UE.
[0114] Step 6: UE and EAS communicate data.
[0115] Embodiment 3: PCF generates a corresponding DNS resolution strategy according to information provided by an application function (AF).
[0116] The specific process is as follows:
[0117] Step 1: AF sends the association information of FQDN, application server address (appserver address), and DNS server address (such as DNS server IP address) to PCF through the application function influence (AF influence) process.
[0118] Step 2: Based on the UE's subscription information, app server address, the PCF maps the DNAI, FQDN, and DNS server address (such as the DNS server IP address) into a policy table for each (per) UE and provides it to the SMF.
[0119] Step 3: The policy table is maintained and updated by the PCF and stored in the PCF and SMF.
[0120] See Table 1, which is a form of a strategy table.
[0121] Table 1:
[0122] FQDN DNAI DNS FQDN1 DNAI1 DNS server ip address1 FQDN1 DNAI2 DNS server ip address2 FQDN1 DNAI3 DNS server ip address3 FQDN2 DNAI1 DNS server ip address1 FQDN2 DNAI2 DNS server ip address4 FQDN2 DNAI5 DNS server ip address5 …… …… …… FQDN DNAI 1 DNS server ip address1 FQDN DNAI DNS server ip address n
[0123] Embodiment 4: In the case of distributed UPF deployment, UPF enhances the processing of DNS requests.
[0124] See also Figure 5 , the specific process is as follows:
[0125] Step 1: UE sends a DNS request to UPF.
[0126] Step 2: UPF requests the corresponding DNAI information from SMF.
[0127] Step 3: SMF returns DNAI information.
[0128] Step 4: UPF detects that it is a DNS request (does NAT) and fills the DNAI into (EDNS-Client-Subnet, ECS).
[0129] Step 5: UPF sends the DNS request to the DNS server.
[0130] Step 6: The DNS server selects an EAS with a suitable location based on the DNAI in the ECS and returns the result to the UPF. The UPF (doing NAT) returns the resolution result to the UE.
[0131] Step 7: UE and EAS communicate data.
[0132] Embodiment 5: In the case of ULCL, UPF enhances the processing of DNS requests.
[0133] See also Figure 6, the specific process is as follows:
[0134] Step 0: During the ULCL insertion process, configure a traffic diversion strategy to offload all DNS requests locally.
[0135] Step 1: UE sends a DNS request to ULCL.
[0136] Step 2: UPF (Local PSA) requests the corresponding DNAI information from SMF.
[0137] Step 3: SMF returns DNAI information.
[0138] Step 4: ULCL detects that it is a DNS request, forwards it to the Local PSA (doing NAT), and fills the DNAI into the ECS.
[0139] Step 5: Local PSA sends the DNS resolution to the DNS server.
[0140] Step 6: The DNS server selects an EAS with a suitable location based on the DNAI in the ECS and returns the result to the Local PSA. The Local PSA (doing NAT) returns the resolution result to the UE.
[0141] Step 7: UE and EAS communicate data.
[0142] Embodiment 6:
[0143] For the "pre-established" ULCL / L-PSA scenario, the SMF performs ULCL / L-PSA selection and insertion based on the UE location and sets uplink filtering rules on the ULCL. The local DNS address is provided to the UE via the ePCO in the PDU Session Modification Command as needed.
[0144] See also Figure 7 , the specific steps are as follows:
[0145] Step 0: During PDU session establishment, UPF obtains the UE location information and FQDN of the DNS server IP addresses associated with each UPF from SMF.
[0146] Step 1: The UE sends a DNS request containing the requested FQDN.
[0147] Step 2: UPF extracts the FQDN from the DNS request. If the application server has subscribed to the Edge Application Server Discovery Service, UPF triggers EAS discovery.
[0148] Step 3: UPF retrieves UE location information and DNAI from SMF.
[0149] Step 4: UPF selects a DNS server based on the UE location information and FQDN based on the information obtained from SMF in step 0.
[0150] Steps 5a-6a: UPF modifies the target IP address of the DNS query to the target DNS server IP address and forwards it to the target DNS server. The DNS server returns a DNS response including the EAS IP address. UPF modifies the source IP address to the C-DNS server and forwards the response to the UE.
[0151] Steps 5b-6b: If the UPF cannot find a DNS server in step 4, the UPF adds the UE location information and / or DNAI in the DNS request in the DNS client subnet option and sends it to the C-DNS. The C-DNS returns a DNS response including the EAS IP address.
[0152] Step 7: UPF extracts the EAS IP address and informs SMF of the EAS IP address in the DNS response. SMF determines whether to trigger ULCL / BP insertion or PSA replacement based on the UE location and EAS IP address.
[0153] Step 8: The operator selects one of the following options for DNS requests based on deployment requirements:
[0154] Option 1: DNS requests are directed to the local PSA. During the ULCL insertion process, the local DNS server IP address is provided to the UE via the ePCO. Alternatively, it can be modified by the local UPF.
[0155] Option 2, DNS requests can be directed to the local PSA based on the FQDN in the ULCL rules. The local DNS server IP address can be provided to the UE during the ULCL insertion process by the ePCO. It can also be modified by the local UPF.
[0156] This option can increase network consumption and is suitable for situations where L-DNS and C-DNS are not directly connected.
[0157] Option 3, DNS requests are routed to a central PSA, which is the existing mechanism in R15.
[0158] Embodiment 6:
[0159] If the third party does not provide the DNS server IP address, then EAS Fig.12As shown. AF provides EAS deployment information to UDR through the application function influence (AF influence) process. This includes the DNS server IP address related to the UE location. During the PDU session establishment, SMF obtains information from PCF (PCC rules). During the PDU session establishment process, the address of the DNS server is provided to the UE by SMF through PCO.
[0160] After the PDU session is established, SMF triggers the ULCL / BP insertion process based on the UE's location and subscription. ULCL rules are provided by SMF based on the UE location related to the DNS server address.
[0161] See also Fig.12 , the specific steps are as follows:
[0162] Step 1: The UE sends a DNS request containing the requested FQDN.
[0163] Step 2: The DNS request can be identified based on the target IP address (DoH, DoT) or port number (DoT), and forwarded by UPF to C-DNS or L-DNS according to the ULCL rules. The source IP address after NAT by the firewall indicates the location of the UE.
[0164] Step 3: The DNS server returns the DNS response to the UE.
[0165] See also Figure 8 The embodiment of the present application provides a DNS processing device, which is applied to SMF. The device 800 includes:
[0166] A first acquisition module 801 is used to obtain a DNS request forwarded by the UPF;
[0167] A selection module 802, configured to select a DNS server and / or a UPF;
[0168] The first sending module 803 is used to forward the DNS request to the selected DNS server and / or UPF.
[0169] In the embodiment of the present application, the selection module 802 is further used to: select the DNS server and / or UPF according to the policy information obtained from the PCF.
[0170] In the embodiment of the present application, the apparatus 800 further includes: a trigger module, configured to trigger a ULCL insertion process or a UPF switching process.
[0171] In an embodiment of the present application, the first sending module 803 is further used to: replace the destination address of the DNS request with the address corresponding to the DNAI, and forward the DNS request to the UPF.
[0172] In the embodiment of the present application, the first sending module 803 is further used to: send the address of the selected DNS server to the UPF.
[0173] In the embodiment of the present application, the first sending module 803 is further used to: send the first information of the UPF node granularity to the UPF through the N4 session establishment process;
[0174] The first information includes: fully qualified domain name FQDN, terminal location information, DNS server address;
[0175] Among them, the second information within the SMF maintenance scope, the second information includes FQDN, terminal location information, and DNS server address.
[0176] The DNS processing device provided by the embodiment of the present invention can execute the above Figure 1 The implementation principle and technical effect of the method embodiment shown are similar, and this embodiment will not be repeated here.
[0177] See also Fig. 9 , Fig. 9 : is a structural diagram of the SMF used in the embodiment of the present invention, such as Fig. 9 As shown, UPF800 includes: a processor 901, a transceiver 902, a memory 903 and a bus interface, wherein:
[0178] In one embodiment of the present invention, UPF 900 further includes: a program stored in memory 903 and executable on processor 901, which is executed by processor 901 to implement Figure 1 Steps in the illustrated embodiment.
[0179] exist Fig. 9 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 901 and memory represented by memory 903. The bus architecture may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 902 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, and it is understood that the transceiver 902 is an optional component.
[0180] The processor 901 is responsible for managing the bus architecture and general processing, and the memory 903 can store data used by the processor 901 when performing operations.
[0181] The SMF provided in the embodiment of the present invention can execute the above Figure 1The implementation principle and technical effect of the method embodiment shown are similar, and this embodiment will not be repeated here.
[0182] See also Fig.10 The embodiment of the present application provides a DNS processing device, which is applied to UPF. The device 1000 includes:
[0183] The second acquisition module 1001 is used to acquire a DNS request;
[0184] The second sending module 1002 is used to forward the DNS request carrying DNAI information or terminal location information to the DNS server.
[0185] In an embodiment of the present application, the device 1000 also includes: an insertion module, which is used to insert extended public domain name system client sub-mask (EDNS-Client-Subnet, ECS) information into the obtained DNS request, and the ECS information includes the DNAI information or the terminal location information.
[0186] In the embodiment of the present application, the second acquisition module 1001 is further used to: identify the DNS request through DPI detection or identification of port information.
[0187] In the embodiment of the present application, the second acquisition module 1001 is further used to: acquire the DNAI information from the SMF.
[0188] In the embodiment of the present application, the second acquisition module 1001 is further used to: obtain the terminal location information from the SMF, or obtain the terminal location information locally.
[0189] In the embodiment of the present application, the apparatus 1000 further includes:
[0190] The third acquisition module is used to obtain the address of the DNS server selected by the SMF;
[0191] A replacement module is used to replace the destination address in the DNS request with the address of the DNS server selected by the SMF, and replace the source address of the response message of the DNS request with the initial DNS server address.
[0192] In the embodiment of the present application, the apparatus 1000 further includes:
[0193] The fourth acquisition module is used to acquire the first information of the UPF node granularity sent by the SMF through the N4 session establishment process, wherein the first information includes: a fully qualified domain name FQDN, terminal location information, and a DNS server address;
[0194] Among them, the second information within the SMF maintenance scope, the second information includes FQDN, terminal location information, and DNS server address.
[0195] In the embodiment of the present application, the DNS server address comes from a third party and is provided through an application function influence (AFinfluence) process.
[0196] The DNS processing device provided by the embodiment of the present invention can execute the above Figure 2 The implementation principle and technical effect of the method embodiment shown are similar, and this embodiment will not be repeated here.
[0197] See also Fig.11 , Fig.11 is a structural diagram of the UPF used in the embodiment of the present invention, such as Fig.11 As shown, UPF 1100 includes: a processor 1101, a transceiver 1102, a memory 1103 and a bus interface, wherein:
[0198] In one embodiment of the present invention, UPF 1100 further includes: a program stored in memory 1103 and executable on processor 1101, which is executed by processor 1101 to implement Figure 2 Steps in the illustrated embodiment.
[0199] exist Fig.11 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 1101 and memory represented by memory 1103. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1102 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, and it is understood that the transceiver 1102 is an optional component.
[0200] The processor 1101 is responsible for managing the bus architecture and general processing, and the memory 1103 can store data used by the processor 1101 when performing operations.
[0201] The UPF provided in the embodiment of the present invention can perform the above Figure 2 The implementation principle and technical effect of the method embodiment shown are similar, and this embodiment will not be repeated here.
[0202] The steps of the method or algorithm described in conjunction with the contents disclosed in this application can be implemented in hardware or by executing software instructions in a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disks, mobile hard disks, read-only optical disks, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be carried in an ASIC. In addition, the ASIC can be carried in a core network interface device. Of course, the processor and the storage medium can also exist in the core network interface device as discrete components.
[0203] Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0204] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation methods of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application should be included in the scope of protection of the present application.
[0205] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0206] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0207] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0208] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0209] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A domain name server DNS processing method, applied to a session management function SMF, characterized in that: include: Obtain the DNS request forwarded by the user plane function UPF; Selecting the DNS server and UPF according to the policy information obtained from the PCF; Forwarding the DNS request to the selected DNS server and UPF, wherein forwarding the DNS request to the UPF comprises: Replace the destination address in the DNS request with the address of the DNS server selected by the SMF, and forward the DNS request to the UPF; After selecting the UPF, the method further comprises: Trigger an uplink classifier insertion process or a UPF switching process; or, send the address of the DNS server to the UPF.
2. The method according to claim 1, characterized in that The method further comprises: Sending first information of UPF node granularity to the UPF through the N4 session establishment process; The first information includes: fully qualified domain name FQDN, terminal location information, DNS server address; Among them, the second information within the SMF maintenance scope, the second information includes FQDN, terminal location information, and DNS server address.
3. A DNS processing method, applied to UPF, characterized in that: include: Get DNS request; Inserting extended public domain name system client sub-mask ECS information into the DNS request, and forwarding the DNS request to a DNS server; The method further comprises: The destination address in the DNS request is replaced with the address of the DNS server selected by the UPF, and the source address of the response message of the DNS request is replaced with the initial DNS server address.
4. The method according to claim 3, characterized in that The method further comprises: The ECS information includes DNAI information or terminal location information.
5. The method according to claim 3, characterized in that: The method further comprises: Identify DNS requests by detecting FQDN or identifying port information.
6. The method according to claim 3, characterized in that The method further comprises: Get DNAI information from SMF.
7. The method according to claim 3, characterized in that The method further comprises: Get the terminal location information from SMF or locally.
8. The method according to claim 3, characterized in that The method further comprises: Obtain the first information of the UPF node granularity sent by the SMF through the N4 session establishment process, wherein the first information includes: FQDN, terminal location information, and DNS server address; Among them, the second information within the SMF maintenance scope, the second information includes FQDN, terminal location information, and DNS server address.
9. The method according to claim 8, characterized in that The DNS server address comes from a third party and is provided through the application function influence process.
10. A DNS processing device, applied to SMF, characterized in that: include: A first acquisition module, used to obtain the DNS request forwarded by the UPF; A selection module, used to select the DNS server and UPF according to the policy information obtained from the PCF; The first sending module is used to forward the DNS request to the selected DNS server and UPF, wherein the forwarding of the DNS request to the UPF includes: Replace the destination address in the DNS request with the address of the DNS server selected by the SMF, and forward the DNS request to the UPF; The device also includes: A trigger module, used to trigger an uplink classifier insertion process or a UPF switching process after selecting a UPF; Wherein, the first sending module is further used to send the address of the selected DNS server to the UPF.
11. A SMF, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the DNS processing method according to any one of claims 1 to 2 are implemented.
12. A DNS processing device, applied to UPF, characterized in that: include: The second acquisition module is used to obtain the DNS request; A second sending module, used for inserting the DNS request into the ECS information and forwarding the DNS request to the DNS server; A replacement module is used to replace the destination address in the DNS request with the address of the DNS server selected by the UPF, and replace the source address of the response message of the DNS request with the initial DNS server address.
13. A UPF, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the DNS processing method according to any one of claims 3 to 9 are implemented.
14. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Authoritative DNS (Domain Name System) configuration optimization method and device
CN106302850A
Domain name server distribution method and device
CN111385369A
Cited By
DNS lookup control for edge services
US12621631B2