Method, system, and computer-readable medium for actively discovering and tracking addresses associated with 5G and non-5G service endpoints

The DNS discovery microservice addresses the issue of incomplete endpoint registration by actively monitoring and updating IP addresses, enhancing load balancing and network efficiency in 5G networks.

JP7561830B2Active Publication Date: 2024-10-04ORACLE INT CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2022508581
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-08-29
Filing Date
2020-05-28
Publication Date
2024-10-04
Estimated Expiration
2040-05-28

AI Technical Summary

Technical Problem

Consumer NFs or SCPs in 5G networks lack sufficient information for load balancing among service endpoints due to incomplete registration of IP addresses or domain names by producer NFs, and there is no automated process to notify consumers of IP address changes.

Method used

A DNS discovery microservice that actively monitors and tracks IP addresses associated with producer NF service endpoints by querying DNS servers, storing the addresses, and notifying consumers of changes, ensuring continuous availability of accurate endpoint information.

Benefits of technology

Enables efficient load balancing across producer NF service endpoints by providing real-time updates on IP address changes, improving network performance and load distribution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007561830000008
    Figure 0007561830000008
  • Figure 0007561830000009
    Figure 0007561830000009
  • Figure 0007561830000010
    Figure 0007561830000010
Patent Text Reader

Abstract

A method for discovering and tracking addresses associated with producer network function (NF) service endpoints includes receiving a first domain name system (DNS) resolution request from a requesting node. The method further includes querying a DNS server using a fully qualified domain name (FQDN) extracted from the first DNS resolution request. The method includes receiving a first response from the DNS server, the first response including an address associated with the producer NF service endpoint associated with the FQDN, and the method further includes storing the address associated with the producer NF service endpoint in a database. The method further includes communicating the address associated with the producer NF service endpoint to the requesting node. The method further includes monitoring the FQDN for changes in the address associated with the FQDN. The method further includes notifying the requesting node of the change in the address associated with the FQDN.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Priority claim This application claims the benefit of priority to U.S. Patent Application Serial No. 16 / 555,817, filed August 29, 2019, the disclosure of which is incorporated herein by reference in its entirety.

[0002] Technical Field The subject matter described herein relates to discovering address information associated with service endpoints in a telecommunications network. More specifically, the subject matter described herein relates to methods, systems, and computer-readable media for actively discovering and tracking addresses associated with 5G and non-5G service endpoints. [Background technology]

[0003] background In telecommunications networks, a service endpoint is an address on a network node that uniquely identifies an entity that provides a service to a service consumer. A service endpoint can include an Internet Protocol (IP) address or a combination of an IP address and a transport layer port number, also called an IP endpoint.

[0004] In 5G telecommunications networks, a network node that provides a service is called a producer Network Function (NF). A network node that consumes a service is called a consumer NF. A network function can be both a producer NF and a consumer NF depending on whether it consumes or provides a service.

[0005] A given producer NF may have many service endpoints. Producer NFs register with a Network Function Repository Function (NRF). The NRF maintains NF profiles of available NF instances and their supported services. Consumer NFs can subscribe to receive information about producer NF instances that have registered with the NRF.

[0006] In addition to consumer NFs, another type of network node that can subscribe to receive information about NF service instances is the service communication proxy (SCP). An SCP subscribes to the NRF and obtains reachability and service profile information about producer NF service instances. Consumer NFs connect to the service communication proxy, which load balances traffic between producer NF service instances that provide the requested service or routes the traffic directly to the destination producer NF. Summary of the Invention [Problem to be solved by the invention]

[0007] One problem with the existing 3GPP service architecture is that a consumer NF or SCP may have insufficient information to load balance traffic among service endpoints exposed by producer NF service instances. In one scenario, a producer NF may register its FQDN only at the NF service level and not register the domain names, IP addresses, or IP endpoints of the producer NF service separately. In another scenario, a producer NF may register its FQDN only at the NF instance level and not register the IP addresses or IP endpoints or FQDNs of the service separately at the NF service level.

[0008] In any of these scenarios, the consumer NF or SCP must obtain the IP address or IP endpoint associated with the service endpoint in order to contact the individual service endpoint. Generally, the IP address or IP endpoint corresponding to a domain name can be determined using the Domain Name System (DNS). In the above 5G network architecture, the service consumer needs to be informed of the service endpoint IP address every time the NF registers or updates its profile. Another scenario in which the consumer NF or SCP needs to be updated with the IP address or IP endpoint of a service is when the IP address or IP endpoint changes without a corresponding NF profile or service update. Even though the IP address or IP endpoint is discoverable through DNS, there is no automated process to notify the service consumer when the IP address or IP endpoint associated with the service changes.

[0009] Therefore, a need exists for methods, systems, and computer readable methods for actively discovering and tracking addresses associated with 5G and non-5G service endpoints. [Means for solving the problem]

[0010] overview A method for discovering and tracking addresses associated with producer network function (NF) service endpoints includes receiving a first domain name system (DNS) resolution request from a requesting node. The method further includes querying a DNS server with a fully qualified domain name (FQDN) extracted from the first DNS resolution request. The method further includes receiving a first response from the DNS server, the first response including an address associated with the producer NF service endpoint associated with the FQDN. The method further includes storing the address associated with the producer NF service endpoint in a database. The method further includes communicating the address associated with the producer NF service endpoint to the requesting node. The method further includes monitoring the FQDN for changes in the address associated with the FQDN. The method further includes notifying the requesting node of the change in the address associated with the FQDN.

[0011] According to an aspect of the subject matter described herein, receiving the first DNS resolution request includes receiving the first DNS resolution request from a service communication proxy (SCP).

[0012] According to another aspect of the subject matter described in this specification, receiving the first DNS resolution request includes receiving the first DNS resolution request from a consumer NF or a non-5G service consumer.

[0013] According to another aspect of the subject matter described herein, receiving the first DNS resolution request includes receiving the first DNS resolution request at a representational state transfer (REST) ​​server interface provided by the DNS discoverer microservice.

[0014] According to yet another aspect of the subject matter described herein, querying the DNS server includes querying the DNS server from a DNS discoverer microservice that is separate from the consumer NF or SCP and the DNS server. In this context, "separate from" means that the DNS discoverer microservice is implemented on a computing platform that is separate from the consumer NF or SCP that needs to resolve the domain name and is also separate from the computing platform that hosts the DNS server. In an alternative implementation, the DNS discoverer microservice may be implemented on the same computing platform as the consumer NF or SCP.

[0015] According to yet another aspect of the subject matter described herein, storing the addresses associated with the producer NF service includes storing the addresses in a database local to the DNS discoverer microservice, along with a lifetime for each address received from the DNS server.

[0016] According to yet another aspect of the subject matter described herein, for every address received from a DNS server with a lifetime value, when stored in a record in the database, a timer is started for the period received in the lifetime field.

[0017] According to yet another aspect of the subject matter described herein, monitoring the FQDN includes detecting expiration of a record in a database that stores an address associated with the producer NF service, in response to detecting the expiration of the record, querying a DNS server with the FQDN, receiving a second response from the DNS server, comparing the address in the second response with the address stored in the record in the database, and in response to the address in the second response differing from the address stored in the record in the database, determining that a change has occurred in the address associated with the FQDN.

[0018] According to yet another aspect of the subject matter described herein, an address associated with a producer NF service instance includes an Internet Protocol (IP) address or an IP endpoint.

[0019] According to yet another aspect of the subject matter described herein, monitoring the FQDN for changes in the address includes continuously monitoring the FQDN for changes in the address until stopped in response to a message from the requesting node to stop monitoring the FQDN.

[0020] According to yet another aspect of the subject matter described herein, the message from the requesting node to stop monitoring the FQDN includes a DELETE method type and includes a second DNS resolution request in response to stop monitoring the FQDN.

[0021] According to yet another aspect of the subject matter described herein, the DNS discoverer microservice includes a representational state transfer (REST) ​​server interface to discontinue monitoring the FQDN from a requesting node.

[0022] According to yet another aspect of the subject matter described herein, a system for discovering and tracking producer network function (NF) service endpoints comprises a computing platform including at least one processor. The system further comprises a domain name system (DNS) discovery microservice located on the computing platform and implemented by the at least one processor, the domain name system (DNS) discovery microservice implemented for receiving a first domain name system (DNS) resolution request, querying a DNS server with a fully qualified domain name (FQDN) extracted from the first DNS resolution request, and receiving a first response from the DNS server, the first response including an address associated with a producer NF service endpoint associated with the FQDN, the domain name system (DNS) discovery microservice further implemented for storing the address associated with the producer NF service endpoint in a database, communicating the address associated with the producer NF service endpoint to a requesting node, monitoring the FQDN for changes in the address associated with the FQDN, and notifying the requesting node of the change in the address associated with the FQDN.

[0023] According to yet another aspect of the subject matter described herein, the DNS discoverer microservice is configured to receive a first DNS resolution request from a service communication proxy (SCP).

[0024] According to yet another aspect of the subject matter described herein, the DNS discoverer microservice is configured for a first DNS resolution request from a consumer NF or a non-5G service consumer.

[0025] According to yet another aspect of the subject matter described herein, the DNS discoverer microservice includes a representational state transfer (REST) ​​server interface to receive a first DNS resolution request from a requesting node.

[0026] According to yet another aspect of the subject matter described herein, the computing platform and the DNS discoverer microservice are decoupled from the requesting node and the DNS server.

[0027] According to yet another aspect of the subject matter described herein, the database is local to the DNS discoverer microservice.

[0028] According to yet another aspect of the subject matter described herein, the DNS discoverer microservice includes a DNS record change discoverer for monitoring the FQDN by detecting expiration of a record in a database that stores an address associated with a producer NF service endpoint, in response to detecting the expiration of the record, querying a DNS server with the FQDN, receiving a second response from the DNS server, comparing the address in the second response with the address stored in the record in the database, and in response to the address in the second response differing from the address stored in the record in the database, determining that a change has occurred in the address associated with the FQDN.

[0029] According to yet another aspect of the subject matter described herein, an address associated with a producer NF service endpoint includes an Internet Protocol (IP) address or an IP endpoint.

[0030] According to yet another aspect of the subject matter described herein, the DNS record change discovery unit is configured to continuously monitor the FQDN for changes in addresses associated with the FQDN until stopped in response to a message from the requesting node to stop monitoring the FQDN.

[0031] According to yet another aspect of the subject matter described herein, a non-transitory computer-readable medium is provided having executable instructions stored thereon that, when executed by a processor of the computer, control the computer to perform a plurality of steps, the plurality of steps including receiving a first Domain Name System (DNS) resolution request from a requesting node. The method includes querying a DNS server with a fully qualified domain name (FQDN) extracted from the first DNS resolution request. The plurality of steps further includes receiving a first response from the DNS server, the response including an address associated with a producer NF service endpoint associated with the FQDN. The plurality of steps further includes storing the address associated with the producer NF service endpoint in a database. The plurality of steps further includes communicating the address associated with the producer NF service endpoint to the requesting node. The plurality of steps further includes monitoring the FQDN for changes in the address associated with the FQDN. The plurality of steps further includes notifying the requesting node of the change in the address associated with the FQDN.

[0032] The subject matter described herein may be implemented in hardware, software, firmware, or any combination thereof. Thus, the terms "function," "node," or "module" as used herein refer to hardware, but may also include software and / or firmware components to implement the described features. In one exemplary implementation, the subject matter described herein may be implemented using a computer-readable medium having stored thereon computer-executable instructions that, when executed by a processor of a computer, control a computer to perform a number of steps. Exemplary computer-readable media suitable for implementing the subject matter described herein include non-transitory computer-readable media, such as disk memory devices, chip memory devices, programmable logic devices, and application specific integrated circuits. In addition, computer-readable media implementing the subject matter described herein may be located on a single device or computing platform, or may be distributed across multiple devices or computing platforms.

[0033] The subject matter described herein will now be described with reference to the accompanying drawings. [Brief description of the drawings]

[0034] [Figure 1] FIG. 1 is a network diagram illustrating an example 5G network architecture. [Diagram 2] A network diagram showing load balancing by a service communication proxy between 5G producer NF service instances and service endpoints exposed by the 5G producer NF service instances. [Diagram 3] FIG. 1 is a network diagram illustrating a DNS Discoverer microservice that enables a consumer NF or SCP to discover address information associated with a producer NF service endpoint. [Figure 4]FIG. 13 is a call flow diagram illustrating example messaging for obtaining address information of a producer NF service endpoint using the DNS discoverer microservice. [Diagram 5] FIG. 13 is a call flow diagram illustrating DNS change monitoring and control flow using the DNS Discoverer microservice. [Figure 6] FIG. 13 is a call flow diagram showing a DNS outage call flow using the DNS discoverer microservice. [Figure 7] FIG. 1 is a block diagram illustrating a network node implementing the DNS discoverer microservice. [Figure 8] 13 is a flowchart illustrating an example process for discovering and monitoring address information associated with 5G and non-5G service endpoints using the DNS Discoverer microservice. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0035] Detailed Description The subject matter described herein relates to a method, system, and computer-readable medium for discovering and actively tracking address information associated with 5G and non-5G service endpoints. FIG. 1 is a block diagram illustrating an example 5G system network architecture. The architecture of FIG. 1 includes an NRF 100 and an SCP 101, which may be located in the same Home Public Land Mobile Network (HPLMN). As mentioned above, the NRF 100 may maintain a profile of available producer NF service instances and their supported services, allowing consumer NFs or SCPs to subscribe to new / updated producer NF service instances and be notified of their registration. The SCP 101 may also support service discovery and selection of producer NFs. In addition, the SCP 101 may perform load balancing of connections between consumer NFs and producer NFs.

[0036] The NRF 100 is a repository of NF profiles. To communicate with a producer NF, a consumer NF or an SCP must obtain an NF profile from the NRF 100. An NF profile is a JSON data structure defined in 3GPP TS 29.510. Table 1 below shows the attributes of an NF profile defined in 3GPP TS 29.510.

[0037] [Table 1-1]

[0038] [Table 1-2]

[0039] [Table 1-3]

[0040] [Table 1-4]

[0041] [Table 1-5]

[0042] [Table 1-6]

[0043] [Table 1-7]

[0044] As shown in Table 1, an NF profile definition includes at least one of an FQDN, an IP version 4 address, or an IP version 6 address. However, there is no requirement that an NF profile include individual IP addresses or IP endpoints associated with producer NF service endpoints located on a producer NF service instance.

[0045] In FIG. 1, any node (other than SCP 101 and NRF 100) can be a consumer NF or a producer NF depending on whether they are requesting or providing a service. In the illustrated example, the node includes a Policy Control Function (PCF) 102 that performs policy-related operations in the network, a User Data Management (UDM) Function 104 that manages user data, and an Application Function (AF) 106 that provides application services. The node shown in FIG. 1 further includes a Session Management Function (SMF) 108 that manages a session between an Access and Mobility Management (AMF) Function 110 and the PCF 102. The AMF 110 performs mobility management operations similar to those performed by a Mobility Management Entity (MME) in a 4G network. An Authentication Server Function (AUSF) 112 performs authentication services for a User Equipment (UE) seeking access to the network, such as the UE 114.

[0046] The Network Slice Selection Function (NSSF) 116 provides network slice services for devices that want to access specific network capabilities and features associated with the network slice. The Network Publish Function (NEF) 118 provides application programming interfaces (APIs) for application functions that want to obtain information about Internet of Things (IoT) devices and other UEs connected to the network. The NEF 118 performs functions similar to the Service Capability Publish Function (SCEF) in 4G networks.

[0047] The Radio Access Network (RAN) 120 connects the UE 114 to a network via a wireless link. The Radio Access Network 120 may be accessed using a gNodeB (gNB) (not shown in FIG. 1) or other wireless access points. The User Plane Function (UPF) 122 may support various proxy functions for user plane services. One example of such a proxy function is a Multi-Path Transmission Control Protocol (MPTCP) proxy function. The UPF 122 may also support a performance measurement function that may be used by the UE 114 to obtain network performance measurements. Also shown in FIG. 1 is a Data Network (DN) 124 through which the UE accesses data network services, such as Internet services.

[0048] Address information associated with a service endpoint residing in any of the NFs illustrated in FIG. 1 that provides a service can be tracked using the DNS discoverer microservice described herein. In addition, non-5G service endpoints that provide a service under a given FQDN can be discovered and tracked by the DNS discoverer microservice described herein. Thus, as used herein, the phrase "producer NF service endpoint" refers to a service endpoint that resides in either a 5G or non-5G service provider node. Non-5G service provider nodes include 3G, 4G, or later generation (post-5G) capable service provider nodes and non-3GPP service provider nodes.

[0049] As described above, producer NFs register their NF profiles with the NRF. Consumer NFs can discover producer NFs that are registered to provide a particular service by obtaining the NF profile from the NRF. Consumer NFs can directly communicate with NF service producer NFs. Alternatively, consumer NFs can indirectly communicate with producer NFs via an SCP. In the direct communication mode, consumer NFs perform discovery of target producer NFs by local configuration or via the NRF. The consumer NF then communicates directly with the target service producer NFs. In the indirect communication mode, consumer NFs send service request messages to the SCP, which can perform service discovery and selection of producer NFs on behalf of the consumer NF. In either the direct or indirect communication mode, the DNS discoverer microservice described herein may receive DNS resolution requests from a consumer NF or SCP, query a DNS server on behalf of the consumer NF or SCP, communicate address information associated with the producer NF service endpoint to the consumer NF or SCP, and continuously monitor the FQDN received in the DNS resolution request for changes in the address associated with the FQDN.

[0050] One problem that arises in the architecture illustrated in Figure 1 is that the service communication proxy or consumer NF may have insufficient information to perform load balancing among service endpoints residing on producer NF service instances. Figure 2 illustrates this problem. With reference to Figure 2, the service communication proxy 101 resides between 5G consumer NFs 200 and 202 and 5G producer NFs 204 and 206. The 5G producer NF 204 includes producer NF service endpoints 204A and 204B. The 5G producer NF service instance 206 includes producer NF service endpoints 206A and 206B.

[0051] In operation, consumer NFs 200 and 202 connect to the service communication proxy 101, which load balances traffic among producer NF service endpoints. The service communication proxy 101 determines producer NF service endpoints for load balancing from the above-mentioned NF profiles and NF service content that producer NFs 204 and 206 have registered with the NRF 100. However, as described above, since it is not required to register address information associated with individual service endpoints, the load balancing performed by the SCP 101 may not distribute the load evenly among the service endpoints.

[0052] As mentioned above, in one scenario, a producer NF service instance may only register a fully qualified domain name at the NF service level. In another scenario, the IP endpoint and fully qualified domain name may not be registered at the NF service level, and only the fully qualified domain name may be registered at the NF instance level. In either of these scenarios, the service communication proxy lacks sufficient information for proper load balancing.

[0053] The service communication proxy can directly determine the IP endpoint of the service instance via a DNS-SRV record by the NF service or NF service instance. In another example, the IP address may be published by the NF service or NF service instance via a DNS A / AAAA record, and the port is taken as the SCP configuration.

[0054] The addresses of producer NF service endpoints need to be known to the SCP when any NF registers or updates its registration. The addresses of producer NF service endpoints also need to be known when the IP address or IP endpoint changes without any NF profile or NF service update. The SCP needs to track these changes for ongoing routing and load balancing purposes. The DNS Discoverer microservice described herein discovers the addresses of producer NF service endpoints and monitors FQDNs for changes in the addresses associated with the FQDNs.

[0055] As described above, the DNS discoverer (DNS-D) microservice solves at least some of the problems associated with discovering and tracking service endpoints. The DNS discoverer microservice queries a DNS server to obtain address information for producer NF service endpoints and provides the information to an SCP or consumer NF. FIG. 3 is a network diagram illustrating a network architecture including the DNS discoverer microservice. With reference to FIG. 3, the DNS discoverer microservice 300 may be realized on a computing platform separate from or the same as the SCP microservice or consumer NF 302. The DNS discoverer microservice 300 includes a DNS discoverer DNS client 304 that interfaces with an external DNS server 306. The DNS discoverer microservice 300 also includes a database adaptor 308 that maintains NF service endpoint information in a persistent database 310. The DNS discoverer microservice 300 includes a DNS discoverer server interface 312 that exposes the DNS discoverer microservice to the SCP microservice or consumer NF 302 or non-5G service consumers. In the depicted example, the server interface 312 is a representational state transfer (REST) ​​interface that interfaces with a REST client 314 provided by the SCP microservice 302. The DNS discoverer microservice 300 further includes a DNS discoverer REST client 316 that interfaces with a server interface 318 of the SCP microservice or consumer NF 302.

[0056] The DNS discoverer microservice 300 may be used to solve the problems identified above. In one example, the DNS discoverer microservice 300 exposes a REST / HTTP interface to listen for DNS resolution / monitoring requests from an SCP or any other service consumer. The consumer sends the DNS request as an HTTP POST message along with a callback Uniform Resource Identifier (URI) when a DNS response is expected. The DNS discoverer microservice 300 is an asynchronous service and replies with a 201 Created message indicating that the request has been accepted. The DNS discoverer microservice 300 queries external DNS servers with the requested FQDN. After getting successful DNS resolution from these external DNS servers, the DNS discoverer microservice 300 sends the DNS response as an HTTP PUT request to the callback URI received in the DNS resolution request. The DNS discoverer microservice 300 caches / stores the DNS query responses from external DNS servers and the Time to Live (TTL) (received in the response from the DNS server) to enable DNS change monitoring (discussed below).

[0057] The DNS discoverer microservice 300 continuously monitors all requested FQDNs for the TTL received in the DNS query response (until it is stopped). The DNS response from the external DNS server is checked against the stored response at every iteration. The difference is indicated to the consumer as an HTTP PUT request at the callback URI. The consumer can choose to stop monitoring by sending an HTTP DELETE request message to the DNS discoverer microservice 300.

[0058] Figure 4 is a call flow diagram illustrating DNS request handling processing performed by the DNS discoverer microservice 300. The DNS discoverer microservice 300 includes the components shown in and described above with respect to Figure 3. In addition to the components illustrated in Figure 3, the DNS discoverer microservice 300 includes a DNS record change discoverer 400 that monitors the requested fully qualified domain name for a lifetime value received in a DNS query response, re-queries the DNS server 306 when the TTL expires, and communicates changes in resolved IP addresses or IP endpoints to a consumer NF, SCP, or non-5G service consumer.

[0059] 4, in line 1, a DNS consumer, such as the SCP microservice or consumer NF 302, sends a DNS resolution request to the server interface of the DNS discoverer microservice 300. The DNS resolution request includes the FQDN to be resolved, a DNS query type indicating an IP address or IP endpoint, a cookie identifier, and a callback URI for the DNS response and updates that are sent to the inquiring DNS consumer on the DNS discoverer REST client 316.

[0060] At line 2 of the call flow diagram, the DNS discoverer server interface 312 sends a response indicating that the request was received and accepted.

[0061] At line 3 of the call flow diagram, the DNS client component 304 of the DNS discoverer microservice 300 sends a query to an external DNS server 306 to resolve the fully qualified domain name in the DNS resolution request.

[0062] At line 4 of the call flow diagram, the DNS server 306 responds to the DNS client 304 with a response to the DNS query. The response may include one or more IP addresses or IP endpoints present on the producer NF service instance that correspond to the FQDN in the DNS query.

[0063] In line 5 of the call flow diagram, the DNS client component 304 communicates the IP address or IP endpoint information to the DNS discoverer database adaptor 308, which forwards the response to the persistent database 310. The response includes the fully qualified domain name from the DNS resolution request, the resolved IP address (or IP address and port, depending on the type of response), and an expiration time, which is the lowest TTL value among all of the TTL values ​​of the DNS resource records received in the query response.

[0064] In line 6, the DNS discoverer database adaptor 308 sends a message indicating that the database record was created to the DNS discoverer REST client 316, which sends a DNS response to the SCP microservice or consumer NF 302. The DNS response is sent on the callback URI received in the request. In line 7, the SCP microservice or consumer NF 302 sends a 200 OK response to the DNS discoverer REST client 316.

[0065] The DNS record change discoverer 400 detects changes in resolved IP addresses or IP endpoints corresponding to monitored FQDNs. The DNS record change discoverer 400 may periodically fetch all DNS records from storage and identify any records for which the TTL received in the DNS query response has passed. For each record for which the TTL has passed, the DNS record change discoverer 400 may re-query the external DNS server to determine any changes. If any changes have occurred, no further action is required. If changes have occurred, the DNS record change discoverer 400 may notify consumer NFs or SCPs subscribing to a given service via a REST / HTTP PUT request at the callback URI received in the original DNS request. FIG. 5 is a call flow diagram illustrating the DNS change monitoring call flow. Referring to FIG. 5, in line 1, the DNS record change discoverer 400 calculates the current timestamp. In line 2, the DNS record change discoverer 400 queries the persistent database 310 for all records with passed TTLs or expiration times. At line 3 of the call flow diagram, persistent database 310 returns to DNS record change discoverer 400 the DNS records that the call flow has traversed.

[0066] At line 4 of the call flow diagram, the DNS record change discoverer 400 informs the DNS discoverer client 304 of each FQDN whose TTL has expired. At line 5, the DNS discoverer client 304 queries the external DNS server 306 for each FQDN whose TTL has expired. At line 6 of the call flow diagram, the DNS discoverer client 304 receives a DNS query response for each FQDN queried at line 5. At line 7, the DNS discoverer client 304 informs the DNS record change discoverer of the IP address or IP endpoint received in the response at line 6. The DNS record change discoverer 400 determines whether the received IP address or IP endpoint matches the data stored for each FQDN. If the IP address or IP endpoint matches, no further action is required on the part of the DNS record change discoverer 400. However, if the IP addresses or IP endpoints do not match, then in line 8, the DNS record change discoverer 400 communicates the changed IP address or IP endpoint to the DNS discoverer REST client 316. The DNS discoverer REST client 316 notifies the SCP microservice or consumer NF 302 of the change in IP address or IP endpoint using an HTTP put request with the callback URI received in the original request. In line 9 of the call flow diagram, the DNS SCP microservice or consumer NF 302 acknowledges receipt of the DNS response in line 8.

[0067] Another operation performed by the DNS discoverer microservice 300 is to stop DNS monitoring, for example, when a consumer NF or SCP notifies the DNS discoverer microservice 300 that the consumer NF or SCP wants to stop monitoring a given FQDN. FIG. 6 illustrates such a call flow. Referring to the call flow of FIG. 6, in line 1, the SCP microservice or consumer NF 302 sends a DNS resolution request that has an FQDN to be resolved but specifies a removal method to stop DNS monitoring for the FQDN. In line 2 of the call flow diagram, the DNS discoverer server interface 312 responds to the client indicating that the request was accepted. In line 3 of the call flow diagram, the DNS discoverer server interface 312 notifies the DNS discoverer database adaptor 308 that the consumer wants to stop monitoring the FQDN. The DNS discoverer database adaptor 308 sends a message to the persistent database 310 to remove or update the record corresponding to the FQDN and notification URL specified in the original DNS resolution request from the persistent database 310. The message on line 3 stops the DNS record change discoverer 400 from re-querying the DNS server 306 for the FQDN for this particular consumer.

[0068] 7 is a block diagram illustrating an example architecture for a computing platform including a DNS discoverer microservice 300. With reference to FIG. 7, the computing platform 700 includes at least one processor 702 and a memory 704. The DNS discoverer microservice 300 may be realized by executable instructions embodied in the memory 704. In the illustrated example, the DNS discoverer microservice 300 includes a DNS discoverer server interface 312, a DNS discoverer DNS client 304, a DNS discoverer REST client 316, a DNS discoverer database adaptor 308, and a DNS record change discoverer 400. A persistent database 310 may also reside within the computing platform 700 to store IP addresses or IP endpoints for resolved FQDNs.

[0069] 8 is a flow chart illustrating an example process for actively discovering and tracking address information associated with 5G and non-5G service endpoints. With reference to FIG. 8, in step 800, a DNS resolution request is received from a requesting node. For example, the DNS discoverer microservice 300 may receive a DNS resolution request with an FQDN from a DNS discoverer consumer, such as an SCP, a consumer NF, or a non-5G service consumer.

[0070] In step 802, a DNS server is queried with the FQDN in the DNS resolution request. For example, the DNS discoverer microservice 300 can query the external DNS server 306 with the FQDN in the DNS request received from the DNS discoverer consumer.

[0071] In step 804, a DNS response is received from the DNS server and in step 806, the address of the producer NF service endpoint is stored in the DNS discoverer database (i.e., in the persistent database 310). For example, the DNS discoverer microservice 300 may receive the DNS response from the DNS server 306 and store the IP address or IP endpoint associated with the producer NF service endpoint in the database 310. In one example, the DNS resolution request from the DNS discoverer microservice 300 may be a DNS-A resolution request and the DNS server 306 may return one or more IPv4 addresses corresponding to one or more service endpoints associated with the FQDN. In another example, the DNS resolution request may be a DNS-AAAA request and the DNS server 306 may return one or more IPv6 addresses corresponding to one or more service endpoints associated with the FQDN. In yet another example, the DNS resolution request may be a DNS-SRV request and the DNS server may return IP addresses and port numbers corresponding to one or more service endpoints associated with the FQDN.

[0072] At step 808, the DNS response is sent to the requesting node. For example, the DNS discoverer microservice 300 may send a response to the requesting node that includes an address associated with the producer NF service endpoint received in the DNS response from the DNS server 306.

[0073] In step 810, the FQDNs in the DNS discoverer database are monitored for changes in addresses. For example, the DNS record change discoverer 400 can query the external DNS server 306 for each FQDN in the database 310 that has an expired TTL to determine any IP address or IP endpoint changes.

[0074] In step 812, the requesting node is notified of any changes in the IP addresses or IP endpoints associated with the FQDN. For example, the DNS record change discoverer 400 can notify the SCP microservice or consumer NF 302 of any detected changes in the IP addresses or IP endpoints associated with the FQDN for which the SCP microservice or consumer NF 302 queried the DNS discoverer microservice 300.

[0075] Thus, the subject matter described herein includes a DNS discoverer microservice that discovers IP addresses or IP endpoints associated with producer NF service endpoints and monitors the FQDNs for changes in such addresses. One advantage of such a service is the fact that consumer NFs and SCPs do not need to discover or actively monitor producer NFs for changes in IP addresses or IP endpoints associated with the service. The consumer NF or SCP is only required to know the FQDN of the service and communicate that FQDN to the DNS discoverer microservice. In addition, because the DNS discoverer microservice actively monitors the FQDN for changes in IP addresses or IP endpoints, load balancing by nodes such as SCPs and consumer NFs will be more evenly distributed among producer NF service endpoints.

[0076] It will be understood that various details of the presently disclosed subject matter may be changed without departing from the scope of the presently disclosed subject matter. Further, the foregoing description is by way of example only and not by way of limitation.

Claims

1. 1. A method for discovering and tracking addresses associated with producer network function (NF) service endpoints, comprising: receiving a first domain name system (DNS) resolution request from a requesting node; Querying a DNS server using a fully qualified domain name (FQDN) extracted from the first DNS resolution request; receiving a first response from the DNS server, the first response including an address associated with a producer NF service endpoint associated with the FQDN, the method further comprising: storing the address associated with the producer NF service endpoint in a database; communicating the address associated with the producer NF service endpoint to the requesting node; monitoring the FQDN for changes in addresses associated with the FQDN; notifying the requesting node of the change in an address associated with the FQDN; Monitoring the FQDN includes: Detecting expiration of a record in the database that stores the address associated with the producer NF service endpoint; in response to detecting the expiration of the record, querying the DNS server using the FQDN; receiving a second response from the DNS server; comparing the address in the second response to the address associated with the FQDN stored in the record in the database; and determining that a change in an address associated with the FQDN has occurred in response to the address in the second response being different from the address associated with the FQDN stored in the record in the database.

2. The method of claim 1 , wherein receiving the first DNS resolution request from the requesting node comprises receiving the first DNS resolution request from a Service Communication Proxy (SCP).

3. 2. The method of claim 1, wherein receiving the first DNS resolution request from the requesting node includes receiving the first DNS resolution request from a consumer NF or a non-5G service consumer.

4. 4. The method of claim 1, wherein receiving the first DNS resolution request includes receiving the first DNS resolution request at a representational state transfer (REST) ​​server interface provided by a DNS discoverer microservice.

5. 5. The method of claim 1, wherein querying the DNS server comprises querying the DNS server from a DNS discoverer microservice that is separate from the requesting node and the DNS server.

6. 5. The method of claim 4, wherein storing the address associated with the producer NF service includes storing the address in a database local to the DNS discoverer microservice.

7. A method according to claim 1, wherein the address associated with the producer NF service endpoint comprises an Internet Protocol (IP) address or an IP endpoint.

8. A method according to any one of claims 1 to 7, wherein monitoring the FQDN for changes in address includes continuously monitoring the FQDN for changes in address until stopped in response to a message from the requesting node to cease monitoring the FQDN.

9. The method of claim 8, wherein the message from the requesting node to stop monitoring the FQDN includes a DELETE method type and includes, in response, a second DNS resolution request that stops monitoring the FQDN.

10. A program for causing a computer to execute the method according to any one of claims 1 to 9.

11. A memory storing the program according to claim 10; A processor for executing the program.

Citation Information

Patent Citations

  • Systems and methods for updating dynamic IP addresses in a firewall using a DDNS server

    US7451234B1

  • Method and apparatus for improving service discovery

    WO2019144321A1