Global network status management
By managing network state updates using the publisher-subscriber pattern and thread mechanism, the problems of high resource consumption and high latency during network state updates are solved, achieving efficient and low-latency network state management.
Patent Information
- Application Number
- CN202110595164.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-03-06
- Filing Date
- 2021-05-28
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-05-28
AI Technical Summary
Existing technologies consume a lot of resources and have high latency during network status updates, especially in large networks, making it difficult to efficiently manage the updates of network device configuration files and topology information.
The publisher-subscriber pattern is adopted, and the network controller distributes global network status information updates as event notifications to subscriber microservices. The first and second thread mechanisms are used to control the processing of event notifications, thereby reducing resource consumption and latency.
It enables efficient and low-latency management of network status updates in large networks, reduces the risk of device configuration file mismatch and data inconsistency, and improves the flexibility and efficiency of network operations.
Smart Images

Figure CN115037624B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of U.S. Application No. 17 / 249,612, filed on March 6, 2021, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to networking systems. Background Art
[0004] A computer network is a collection of interconnected computing devices that can exchange data and share resources. In a packet-based network (such as an Ethernet network), computing devices transmit data by dividing the data into small pieces called packets, which are routed individually from the source device to the destination device through the network. The destination device extracts the data from the packets and combines the data into its original form. Intermediate devices (referred to as network devices or nodes) are interconnected to provide an infrastructure for forwarding packets between computing devices. For example, a computer network can include routers, switches, gateways, firewalls, and various other network devices.
[0005] At a network device, an operating system implements a number of components / features that configure the hardware / software resources within the network device to operate as a router, switch, gateway, etc. The operating system configures the hardware components to route and forward packets, for example, by invoking a number of routing protocols. In some instances, a network device must rely on an operating system to configure the network device to route and forward packets. Summary of the invention
[0006] In general, the present disclosure describes techniques for implementing network state management. Through network state management, these techniques regulate network state changes (e.g., process the rate at which network state changes occur) to improve (e.g., optimize) multiple performance indicators. The network state changes described herein may refer to updates to device profile information and / or network topology information. Network updates including its devices to the current state may be computationally expensive and resource intensive. In any network, devices operate normally when the current or most recent network topology (or at least a portion thereof) is parsed and (multiple) data sets with descriptive information are available. Networks often rely on accessible state information for users / hosts running on certain devices, including one or more devices in the same network or entities in other networks. For state information, some networks maintain the above state information in a centralized or distributed system (e.g., as device profiles), and network controllers ensure that these profiles are up to date. Ensuring normal operation involves the network controller propagating these updates within a short time window.
[0007] The techniques disclosed herein utilize the resources of the network to ensure the normal operation of network devices and use available resources efficiently, for example, by utilizing a publisher-subscriber pattern to reduce the delay in identifying network status updates and then propagating these updates to subscribers. Even for small networks, and especially for large networks, propagating these updates is resource intensive, and the publisher-subscriber pattern reduces the resource requirements of other controller modules / applications. These techniques enable the controller to handle incoming communications from a considerable number of network status information sources, identify network status updates, and utilize a publisher-subscriber pattern for propagating these updates to client microservices without causing errors in any operation.
[0008] Networks and service provider networks in general typically have a considerable number of computing services including microservices, and the network controller of the present disclosure provides the latest status information to these microservices. The technology described herein is also beneficial to components of network controllers. As described herein, the controller can deploy various modules as microservices to support network services. By configuring one or more microservices as publishers of network status updates and configuring one or more other microservices as subscribers to such updates, the controller can configure a notification service to distribute event notifications. An event notification can be a message that notifies a subscriber microservice of an update to a data set of interest. The publisher microservice can configure the notification service to map certain data sets to certain events, and if any client module / application in the network controller is to run a microservice that requires the latest information from these data sets, the notification service is configured to send an event notification, which may include new information or include a mechanism for accessing new information. The controller can configure the publisher microservice or another microservice to implement a (e.g., configurable) sleep period (e.g., for a particular subscriber microservice) while having a process / thread track notifications of add / remove / update events (e.g., by incrementing an event counter), and when the sleep period has elapsed, having a second process / thread begin processing those notifications for current topology changes. Depending on the subscription, the controller can configure the second process / thread to pause or continue listening for future event notifications when the configurable period has elapsed. Enforcing the sleep period on the first or second process / thread provides the controller with overload protection against event notification flooding, avoids device profile mismatches and data inconsistencies, and also provides the user with the flexibility to configure a time window (e.g., system_scheduler_device-profile-update-interval) for the sleep period on demand (e.g., at runtime).
[0009] In one example, a method performed by a software defined network (SDN) controller that manages a network of multiple devices. The method includes: maintaining global network state information by a processing circuit of the SDN controller, wherein the global network state information includes device profile information or network topology information corresponding to each device in the network; configuring a notification service by the processing circuit with a subscription for updates to a portion of the global network state information, wherein the notification service is configured to arrange updates to a portion of the global network state information into multiple events; and distributing the multiple events as event notifications to multiple subscriber microservices of the SDN controller via the notification service and via multiple interfaces, wherein a first thread is configured to wait for a configurable time period, and a second thread receives one or more event notifications from the notification service, and when the configurable time period has passed, the first thread reads at least one update to a portion of the global network state information in the received one or more event notifications.
[0010] In another example, a software defined network (SDN) controller for managing a network of one or more network devices. The SDN controller includes: a memory configured to store global network state information for network devices, wherein the global network state information includes device profile information and network topology information corresponding to each network device; one or more processors configured to execute logic for a publisher microservice, wherein the logic is operable to: maintain the global network state information in a database, wherein the global network state information includes device profile information or network topology information corresponding to each device in the network; configure a notification service with a subscription for updates to a portion of the global network state information, wherein the notification service is configured to send a subscription to the portion of the global network state information The updates are arranged into multiple events; and the multiple events are distributed as event notifications to multiple subscriber microservices of the SDN controller via multiple interfaces, wherein a first thread is configured to wait for a configurable time period while a second thread receives one or more event notifications from a notification service, and when the configurable time period has passed, the first thread reads at least one update to a portion of global network state information in the received one or more event notifications; and one or more core modules or one or more core applications, which operate as one or more of the multiple subscriber microservices and are configured to receive at least a portion of the event notification corresponding to the subscription via the first thread or the second thread.
[0011] In another example, a computer-readable storage medium includes: processor-executable instructions, which, when executed in a software-defined network (SDN) controller that manages a network of one or more network devices, cause the SDN controller to perform the following: for each iteration of a sleep timer of a first thread: during a configurable time period, receiving an event notification by a second thread from a notification service configured to maintain global network state information in one or more databases, wherein the global network state information includes device profile information or network topology information corresponding to each network device in the network, wherein the event notification includes an update to the global network state information; when the configurable time period elapses, reading new network topology information or at least a portion of new device profile information from the one or more databases based on at least a portion of the update to the global state information by the first thread; and calculating a network configuration including a network topology and a device profile based on at least a portion of the new network topology information or the new device profile information by one or more modules; and implementing the network configuration by one or more modules or one or more applications by programming multiple network devices with the new network topology information and the new device profile information via multiple network device protocol interfaces.
[0012] The details of one or more examples will be set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 is a block diagram illustrating an example network operating in accordance with various aspects of the techniques described in this disclosure.
[0014] Figure 2 is a block diagram illustrating an example controller operating in accordance with various aspects of the techniques described in this disclosure.
[0015] Figure 3 is a second block diagram illustrating an example controller operating in accordance with various aspects of the techniques described in this disclosure.
[0016] Figure 4 is a block diagram illustrating an example path computation element operating in accordance with various aspects of the techniques described in this disclosure.
[0017] Figure 5 is a conceptual diagram illustrating an example system in accordance with various aspects of the techniques described in this disclosure.
[0018] Figure 6 is a flowchart illustrating an example method in accordance with various aspects of the techniques described in this disclosure.
[0019] Fig. 7A is a flow chart illustrating example processing performed in an SDN controller in accordance with various aspects of the techniques described in this disclosure. Figure 7B and Figure 7C Each is a flow chart illustrating an example sub-process performed by a first thread and a second thread executing in an SDN controller according to various aspects of the techniques described in this disclosure. DETAILED DESCRIPTION
[0020] The present disclosure describes devices, techniques, and systems for network state management, and in multiple examples, these devices, techniques, and systems maintain up-to-date network state information and, if necessary, distribute updates without significant delay. These examples show that the devices, techniques, and systems can handle a large number of updates in a short period of time, including handling (redundant) updates that are typically sent from multiple sources.
[0021] Figures 1 to 7A , Figure 7B , Figure 7C The network and network controller for a service provider as described herein are described and the corresponding descriptions thereof are described herein, and the network controller of the present disclosure provides the above capabilities and provides other benefits to the network and users and service provider subscribers of the network. Furthermore, the network controller receives a stream of updates in a short period of time (continuously) without being overwhelmed or having the updates interfere with important network management tasks. Some techniques use batch processing to control the number of updates being processed at a certain moment in time (e.g., a maximum number), thereby allowing the network controller to reserve resources for performing other tasks while keeping the network topology state updated.
[0022] The network generally provides a controller that includes multiple hardware and / or software components that, when executed by processing circuitry and an operating system, run microservices and services (e.g., application services) that use network state updates to support some functions or operations, such as network functions in a network service (e.g., the Internet or a VPN) or application services for a cloud service provider. As described herein, another microservice, a publisher microservice, configures a notification service to run in the network and publishes these updates as events (e.g., keyspace events), each of which is a reference to a data set of (global) network state information. Receiving an event can prompt a subscriber microservice to request new information from these data sets. Each event defines attribute data corresponding to (e.g., linked / mapped to) the above data set (e.g., a data set in a database).
[0023] Figure 1The illustrated controller 35 represents any network controller that includes multiple hardware and software components, one or more of which may constitute a module (e.g., a kernel mode module) or an application (e.g., a user mode application) and may be executed as a service or microservice. The network 20 includes multiple physical devices (e.g., servers) and virtual devices (e.g., containers). The present disclosure may refer to a module, and generally to any distinguishable hardware component, software component, or hardware / software component, but in some instances, to optional terms having the same or similar meaning. Although "module" is used in multiple places, there are also optional terms such as "consumer", "client", "service", "processor", "adapter" and / or similar terms that may replace "module", and in some instances, vice versa.
[0024] like Figures 1 to 5 The illustrations and this article address Figures 1 to 5 As described, there are multiple sources of network topology information and device profile information, and the publisher module 78 maintains the network state information 66 as a local storage available to the network controller, which is used for at least some global network state information. The publisher module 78 runs a publisher microservice to ensure that any subscriber client can use the state information to its advantage. Figure 1 In the service provider network 20 of the embodiment of the present invention, any consumer of state information can establish a subscription to the data set of state information and become a client of the notification service. When these microservices subscribe to the notification service via the network controller to receive these updates, these microservices may be referred to as consumers, clients, subscribers, subscriber clients, or any combination thereof in this article.
[0025] A module, application, or other component of a controller, such as the SDN controller 40, may initiate an example process by invoking a publisher microservice, which may be operated by a publisher module 78. The publisher module 78 may configure the notification service to run anywhere in the network, including the controller itself. The publisher microservice sends updates to the global network state information maintained in a local / remote data store of network state information. The publisher module 78 may employ a variety of mechanisms for identifying these updates, and a number of examples are described herein.
[0026] Figures 2 to 5 An example is shown where some of the sources are directed to a controller such as Figure 2The SDN controller 40 of the controller provides these updates for consumption by at least one module / application and (in most cases) the publisher module 78 running the publisher microservice (e.g., the microservice operated by it). The publisher module 78 and the publisher microservice use a number of ways to receive and / or identify these updates. Once identified, the publisher microservice determines whether any client or subscriber client (which may be one or more modules and / or one or more applications in the controller) desires notification of these updates.
[0027] Figures 2 to 5 Also illustrated is an example where the publisher module 78 receives updates to the global network status information in some form and configures the notification service to maintain the latest global network status information while monitoring the distribution of event notifications, for example, if any subscriber client expects new network topology information and / or new device profile information. As described, for example, in Figure 5 In the event notification, the subscription includes the attribute values corresponding to the subscribed data set, and any matching data set will be transmitted to the subscriber client in the event notification itself or in another message. The publisher module 78 can be configured to define subscriptions with a variety of attributes. In one example, for a wireless device in a mobile service provider network, the subscription attributes can use data that specifies the wireless device as a subscriber device in a radio access network, a cell, a base station, or another mobile or radio network resource to determine the device state (e.g., a device profile). For a network device in another service provider network, the subscription attributes can identify the network device as a node (such as a router with a node id, a port id, a session id, a tunnel id, and / or the like). Each device profile or network topology can describe a wireless device or network device with various data (such as routing and forwarding information, identification of available applications, addresses of accessible connection points and their corresponding communication protocols and / or similar data).
[0028] The publisher module 78 can be configured to provide input to any client in the controller and is configured to consume network state and device state information. An example subscriber can use one or more databases to calculate network configuration based on new network topology and / or new device profiles. An example subscriber (or another module in the controller) can program network devices with network configuration.
[0029] The publisher microservice is operable to forward each event notification or only a subset of event notifications to a module / application that is a subscriber. In one example, each event notification corresponding to an update that is no longer valid for some reason (e.g., a stale update) is removed so that its removal further reduces delays in the implementation of the new network configuration. As another technique, for iterations of the sleep timer of the first thread 106A, the second thread 106B can read updates to the global network state information in the incoming event notification and generate a tag to identify a subset of updates used to calculate the network configuration. The example tag can identify the most recent update, including an update that replaces a previous update. The first thread 106A can read new network topology information and / or new device profile information by focusing data read operations on a subset of updates.
[0030] Figure 1 is a block diagram illustrating an example network system 10 according to the techniques described herein. Figure 1 , the network system 10 includes a service provider network 20 connected to a public network 22. The service provider network 20 operates as a private network that provides packet-based network services to subscriber devices 18A, 18B ("subscriber devices 18" herein). Subscriber device 18A may be, for example, a personal computer, a laptop computer, or other type of computing device associated with a subscriber. Subscriber device 18 may include, for example, a mobile phone, a laptop or desktop computer with, for example, a 3G wireless card, a wireless-enabled netbook, a video game device, a pager, a smart phone, a personal data assistant (PDA), or the like. Each subscriber device 18 may run a variety of software applications, such as word processing and other office support software, web browsing software, software that supports voice calls, video games, video conferencing, and email, etc.
[0031] exist Figure 1 In the example of FIG. 1 , the service provider network 20 includes a centralized controller 35 that spans Figure 1 The SDN controller 35 coordinates various end-to-end solutions with various network devices. As described in further detail below, the SDN controller 35 transmits a feedback loop mechanism bidirectionally between the network and the client application. Via the controller 35, the application can notify the devices in the service provider network 20 of certain requested aspects, such as service level agreements (SLAs) or guarantees. The SDN controller 35 brings the application and the service provider network 20 together so that the service provider network 20 can adapt to the needs of the application and so that the application can adapt to the changing service provider network 20. In this way, the controller 35 provides a mechanism for real-time application-to-network collaboration.
[0032] The aggregation network 24 provides transport services for network traffic associated with the subscribers 18. The aggregation network 24 typically includes one or more aggregation nodes ("AG") 19, such as internal routers and switches that provide transport services between access nodes (AX) 28, 36 and edge routers (ER) 30. The aggregation node 19 is a node that aggregates several access nodes 28, 36. After authenticating and establishing network access through the access network 27 or the radio access network 25, any of the subscriber devices 18 can begin exchanging data packets with the public network 22, such packets traversing the AX 28, 36 and the AG 19. Although not shown, the aggregation network 24 may include other devices to provide security services, load balancing, billing, deep packet inspection (DPI), and other services for mobile traffic traversing the aggregation network 24.
[0033] As described herein, the controller 35 operates to provide a central configuration point for configuring the AG 19 of the aggregation network 24, providing transport services to transport traffic between the AXs 28, 36 and the edge routers 30. For example, the AG 19 may operate as a label switching router (LSR) that forwards traffic along a transport label switching path (LSP) defined within the aggregation network 24. The access nodes 28, 36 and the edge routers 30 may operate as endpoints for the LSPs for mapping subscriber traffic into and out of the LSPs. For example, the edge routers 30 may place network services at various LSPs within the aggregation network 24, while the access nodes 28, 36 place network services at various endpoints (EPs) 32, 38 via the LSPs. The controller 35 performs traffic engineering control on the LSPs through the aggregation network 24 according to the bandwidth, quality of service (QoS), and availability requirements of the network service applications, as further described below.
[0034] As described further below, controller 35 includes a path computation module (PCM) that handles topology computation and path provisioning for the entire aggregation network 24. That is, the PCM of controller 35 processes topology information for the aggregation network 24, performs path computation and selection in real time based on various factors including the current load conditions of subscriber services, and provisions LSPs within the aggregation network.
[0035] The AXs 28, 36 and ERs 30 operate at the boundaries of the converged network 24 and, in response to the controller 35, apply network services such as authorization, policy provisioning, and network connectivity to network traffic associated with subscribers 18 communicating with the access nodes 28, 36. Figure 1 In the example of FIG. 2 , the service provider network 20 is shown as having two access nodes 28 , 36 for ease of explanation, but a service provider network may typically serve thousands or tens of thousands of access nodes.
[0036] In this example, the service provider network 20 includes an access network 27 having an AX 36 and EP 38 that provide access to the aggregation network 24 to the subscriber device 18A. In some examples, the AX 36 may include a router that maintains routing information between the subscriber device 18A and the aggregation network 24. For example, the AX 36 typically includes a broadband remote access server (BRAS) function to aggregate the output from one or more EPs 38 into a high-speed uplink connected to the aggregation network 24. The edge router 30 provides an anchor point for active sessions for the subscriber device 18A. In this sense, the edge router 30 can maintain session data and operate as a termination point for a communication session established with the subscriber device 18A that is currently accessing a packet-based service of the public network 22 via the aggregation network 24.
[0037] EP 38 can communicate with AX 36 through a physical interface that supports various protocols. EP 38 may include a switch, a router, a gateway, or other terminals that operate as a demarcation point between a customer device (such as subscriber device 18B) and a service provider device. In one example, EP 38 may include a digital subscriber line access multiplexer (DSLAM) or other switching equipment. Each subscriber device 18A may communicate with EP 38 using a point-to-point protocol (PPP), such as PPP over asynchronous transfer mode (ATM) or PPP over Ethernet (PPPoE). For example, using PPP, one of the subscriber devices 18 may request access to the aggregation network 24 and provide login information, such as a username and password, for authentication by a policy server (not shown). Other embodiments may use other lines other than DSL lines, such as cable, Ethernet via T1 / T3, or other access links.
[0038] like Figure 1 As shown, the service provider network 20 may include a radio access network 25 having an access node (AX) 28 and an EP 32 that provide access to the aggregation network 24 to the subscriber device 18B via radio signals. For example, the EP 32 may be connected to one or more wireless radios or base stations (not shown) to wirelessly exchange packetized data with the subscriber device 18B. The EP 32 may include a switch, a router, a gateway, or other terminal that aggregates the packetized data received from the wireless radio to the AX 28. The packetized data may then be transmitted through the service provider's aggregation network 24 via the AG 19 and the edge router (ER) 30, and ultimately transmitted to the public network 22.
[0039] The aggregation network 24 provides session management, mobility management, and transport services to support subscriber devices 18B accessing the public network 22. The edge router 30 provides an anchor point for active sessions for the subscriber devices 18B. The edge router 30 may maintain session data and operate as a termination point for established communication sessions with subscriber devices 18B that are currently accessing packet-based services of the public network 22 via the aggregation network 24.
[0040] In some examples, one or more of the access network 27 and the radio access network 25 may include an optical access network. For example, AX 36 may include an optical line terminal (OLT) connected to one or more EPs or optical network units (ONUs) via an optical fiber cable. In this case, AX 36 may use an optical transmitter, i.e., a laser and a modulator, to convert an electrical signal from the aggregation network 24 into an optical signal. Then, AX 36 sends the modulated optical signal to the CPE via one or more optical fiber cables, which serves as a termination point for the optical access network. As an example, EP 38 converts the modulated optical signal received from AX 36 into an electrical signal for transmission to the subscriber device 18A via a copper cable. As an example, EP 38 may include a switch located in a community or office or apartment building that can provide access to multiple subscriber devices 18A. In other examples, such as fiber to the home (FTTH), EP 38 may include a gateway of an individual enterprise located directly at a single home location or that can provide access to one or more subscriber devices 18A at the location. In the case of a radio access network 25, the EP may connect to a wireless radio station or base station and convert the modulated optical signal into an electrical signal for transmission to the subscriber device 18B via a wireless signal.
[0041] The following description introduces multiple examples by way of conceptual foundations in which the techniques of the present disclosure improve networks such as mobile service provider networks. Some of the following examples utilize a controller 35 to reduce latency in software-defined networks (e.g., in a data center) and related protocols to support the operation of subscriber devices 18 and the data plane / control plane functions of at least one network device within the aggregation network 24 (e.g., mobility-specific aspects of the control plane functions of dedicated devices within a mobile core). A typical mobile service provider network (or mobile network or service provider mobile network) includes a core packet switching network ("mobile core"), a transport network, and one or more radio access networks. The mobile core establishes a logical connection called a bearer between many support nodes on the path between a subscriber device attached to a radio access network and a packet data network (PDN). The support node utilizes a bearer to transport exchanged packet-based subscriber traffic between a subscriber device and a PDN, which may include, for example, the Internet, an intranet, a layer 3 VPN, and a service provider's private network. Various PDNs provide a variety of packet-based data services to subscriber devices to enable subscriber devices to exchange service data with applications or other servers of the PDN. An increasing number of services available to an increasing number of mobile subscriber devices puts pressure on available mobile network resources.
[0042] The service provider operates the service provider network 20 to provide network access, data transmission and other services to the subscriber device 18. Although illustrated and described with respect to the Long Term Evolution (LTE) architecture, in general, the service provider network 20 can implement any commonly defined cellular network architecture, including those defined by standard bodies such as the Global System for Mobile Communications (GSM) Association, the Third Generation Partnership Project (3GPP), the Third Generation Partnership Project 2 (3GGP / 2), the Internet Engineering Task Force (IETF), and the Worldwide Interoperability for Microwave Access (WiMAX) Forum. For example, the service provider network 20 can implement one or more of the following: the GSM architecture, the General Packet Radio Service (GPRS) architecture, the Universal Mobile Telecommunications System (UMTS) architecture, the 5G NR (New Radio Access Technology (RAT)) standard, and LTE, each of which is standardized by 3GGP. 5G NR is a global standard for the air interface of a 3GPP 5G (fifth generation) mobile network, particularly developed by 3GPP for broadband cellular networks. Service provider network 20 may implement a Code Division Multiple Access 2000 ("CDMA 2000") architecture, alternatively or in combination with one of the above architectures. Service provider network 20 may also implement a WiMAX architecture defined by the WiMAX Forum, alternatively or in combination with one or more of the above architectures.
[0043] An example subscriber device 18B is a wireless communication device, which may represent, for example, a cellular or mobile smart phone and feature phone, a tablet computer, a laptop or desktop computer with, for example, a 3G wireless card, a wireless-enabled netbook, a video gaming device, a pager, a smart phone, or a personal data assistant (PDA). For example, the subscriber device 18B may run one or more applications, such as cellular voice calls, video games, video conferencing, video on demand, and email. Certain applications running on the subscriber device 6 may require access to services provided by the AN 24. In various architectural embodiments, the subscriber device 18B may also be referred to as a user equipment (UE) or a mobile station (MS).
[0044] Likewise, although described herein with respect to one or more specific architectures for purposes of illustration, the service provider network 20 may implement a mobile network using any architecture, including those proposed by any standards body and those proprietary architectures. Thus, the technology should not be limited to the cellular network architectures referenced herein. Thus, the SGW 14, PGW 16, and other elements of the mobile core network 10, as well as the RAN 8, may each represent an abstraction of devices found within any of the above-described cellular network architectures.
[0045] In a mobile network, a mobile core network such as AN 24, RAN 25, (multiple) subscriber devices 18B and a service provider, using an SDN controller 35 as a transport station (transport), cooperate to establish and operate business bearers, which are combined to form one or more service bearers to transmit user service services in the form of PDP packet data units (PDUs) between the user device 18B and the AN 24. A business bearer is a data transmission function in a network resource set and a service provider network 20 to transmit user services between two network entities. A business bearer may include a path, a logical connection, or a physical or wireless connection between two network devices. A service bearer is a business bearer composed of shorter business bearers or "sub-bearers" to provide PDP bearer services. For example, a specific service bearer between a subscriber device 18B and an AN 24 (e.g., including the public Internet 22) can be operated based on session data and various protocols executed on the subscriber device 18B, elements of the RAN 25, and elements of the AN 24. A service bearer is a logical connection between a subscriber device 18B and a node connected to the AN 24 (e.g., via a reference point). A service bearer may include an external traffic bearer that transfers PDUs from a node to the AN 24. Further details on bearer establishment and management may be found in "3GPP TS 23.401 - General Packet Radio Service (GPRS) enhancements for Evolved Universal Terrestrial Radio Access Network)", 3rd Generation Partnership Project, Technical Specification Group Services and Systems Aspects, Version 10.0.0, June 2010, the entire contents of each of which are incorporated herein by reference.
[0046] Nodes in the AN 24 and / or RAN 25 exchange signaling messages with the subscriber device 18B to establish and maintain a service session via the AN 24 during the sending and receiving of PDUs. The subscriber device 18B can obtain data and / or computing services from the resources of the data center via the example service session. The data center can represent a dedicated facility outside the mobile core network that provides data services and backup and other network-based services to subscribers and other entities. For example, a data center can represent a single facility that hosts all infrastructure equipment, such as networking and storage systems, servers, redundant power supplies, and environmental controls. Alternatively or additionally, a data center can represent one or more servers that execute general-purpose hardware to provide computing resources for control plane entities. The data center can represent a cloud service provided by a separate cloud service provider, or can be located within the service provider network 20. In some instances, each of the control plane entities and the SDN controller 35 are executed on a single computing device. Various instances of the data center can execute more, fewer, and / or different types of control entities for the mobile core network.
[0047] AN 24 and / or controller 35 provide various aspects of control plane functions for the mobile core network. For example, AN 24 traditionally provides control plane functions via PGW / GGSN or similar gateway entities of the mobile core network, including UE PDP address allocation, subscriber management, bearer establishment / binding and management, dynamic host configuration protocol (DHCP) functions and charging for each UE and bearer. As another example, AN 24 provides control plane functions traditionally provided via SGW / SSGN or similar support nodes of the mobile core network, including mobile anchoring, packet routing, interoperation charging, legal interception, and bearer establishment / binding and management. As yet another example, AN 24 provides functions traditionally provided via MME, SGSN or similar mobile management entities of the mobile core network, including network access layer (NAS) signaling and security, inter-core network node signaling for mobility between 3GPP access networks, PGW and SGW selection, roaming, authentication, authorization, bearer establishment and management, legal interception of signaling traffic, and the like. As an alternative to dedicated equipment in the AN 24, the controller 35 may perform functions traditionally provided by any of the other aforementioned entities, and access to recent network status information allows the controller 35 to provide better service.
[0048] Instead of dedicated equipment within the mobile core of the service provider mobile network, the controller 35 and the data center (e.g., a cloud-based data center) use network state information to perform mobility-specific aspects of control plane functions. In some examples, mobile core control plane applications such as subscriber session establishment, authentication, billing, and signaling are executed on general-purpose hardware in the data center, which is mediated by a software-defined network (SDN) controller with the mobile core. The subscriber device issues a service request to the mobile core via the radio access network, which in turn redirects the control plane message to the SDN controller to encapsulate the control plane message within the SDN protocol. For each such service request from the subscriber device, the mobile core control plane application of the data center behind the SDN controller extracts and processes the control plane message for subscriber session management. As an example, the data center can provide services such as bulk data delivery, Internet phone (VoIP), Internet protocol television (IPTV), short message service (SMS), wireless application protocol (WAP) services, or customer-specific application services via the controller 35.
[0049] like Figure 1 As shown, the aggregation network (AN) 24 generally includes multiple devices that form one or more packet data networks. The aggregation network 24 nodes may include routers, switches, gateways, or any other network devices. The aggregation network (AN) 24 may represent, for example, a local area network (LAN), a wide area network (WAN), the Internet, a virtual LAN (VLAN), an enterprise LAN, a third-layer virtual private network (VPN), an Internet Protocol (IP) intranet operated by a mobile service provider operating the service provider network 20, an enterprise IP network, or some combination thereof. In various embodiments, the AN 24 is connected to a public WAN, the Internet, or to other networks. As a packet data network, the AN 24 executes one or more packet data protocols (PDPs), such as IP (IPv4 and / or IPv6), X.25, or a point-to-point protocol (PPP) to enable packet transmission for services.
[0050] When operating as a mobile core network for a mobile service provider network included in the service provider network 20, a node of the AN 24 receives device data (e.g., device profile information) from a radio access network (RAN) 25 and sends the mobile device data to a notification service via GPRS. The notification service sends a message conforming to a software defined network (SDN) protocol to the controller 35 via a SDN interface and is directly processed as a control entity. The mobile device data may include a mobile device profile and / or mobile core network topology information.
[0051] Nodes (e.g., support nodes) in AN 24 can operate as notification services for controller 35 and can upload events via SDN interfaces according to a protocol (e.g., OpenFlow protocol). For example, the notification service node can process subscriber data traffic to identify changes to device configuration files and / or network topology, which can trigger the sending of event notifications for each change. The notification service node can follow a defined event policy configured with each event to forward to the controller 35. In some instances, the notification service node can maintain global network state information in one or more databases (e.g., using OpenFlow table flow entries).
[0052] The techniques described above are examples of enabling a support node to provide an SDN interface to expose its data plane for software defined networking by communicating with an SDN controller 35. In addition to accessing global state information, the controller 35 can perform mobility specific functions of the data plane, thereby reducing resource utilization requirements for nodes in the AN 24 and improving the scalability of nodes in the AN 24.
[0053] Certain nodes of AN 24 include routing units that are primarily responsible for maintaining a routing information base (RIB) to reflect the current topology of network system 10 (or specifically, subscriber device 18) and other network entities connected thereto. In particular, the routing units periodically update the RIB to accurately reflect the topology of network 20 and other entities. The routing units also include routing protocols that perform routing operations, including protocols for establishing tunnels through the network, such as VPNs and optional LSPs.
[0054] like Figure 1As shown, the radio access network (RAN) 25 may include a cellular radio access network for a mobile service provider network provided by the service provider network 20. A typical cellular radio access network is a collection of cells, each of which includes at least one base station that can send and relay signals to a subscriber's wireless device (e.g., subscriber device 18B). A "cell" generally refers to a different area of a mobile network that uses a specific frequency or frequency range to send data. A typical base station is a tower on which multiple antennas may be fixed that send and receive data at a specific frequency. Subscriber devices 18B, such as cellular or mobile phones, smart phones, camera phones, personal digital assistants (PDAs), and laptops, can initiate or otherwise send signals to a base station at a specified frequency to initiate a call or data session and start sending data. The radio access network 25 connects the subscriber device 18B to the mobile core network of the AN 24 and provides access control, packet routing and transmission, mobility management, security, radio resource management, and network management. The radio access network 25 may include, for example, a GSM Radio Access Network (GRAN), a WiMAX Radio Access Network, a UMTS Radio Access Network (UTRAN), or an evolution of the UTRAN referred to as E-UTRAN.
[0055] When configured as a mobile service provider network, the service provider network 20 converts cellular signals (e.g., time division multiple access (TDMA) signals, orthogonal frequency division multiplexing (OFDM) signals, or code division multiple access (CDMA) signals) received at a base station from a subscriber device into Internet Protocol (IP) packets for transmission within a packet-based network. A number of standards have been proposed to facilitate this conversion and transmission of cellular signals into IP packets, such as the General Packet Radio Service (GPRS) standardized by the Global System for Mobile Communications (GSM) Association, the Universal Mobile Telecommunications System (UMTS) architecture, an evolution of UMTS known as Long Term Evolution (LTE), Mobile IP standardized by the Internet Engineering Task Force (IETF), and other standards proposed by the Third Generation Partnership Project (3GPP), the Third Generation Partnership Project 2 (3GGP / 2), and the Worldwide Interoperability for Microwave Access (WiMAX) Forum.
[0056] The RAN 25 and the mobile core network of the AN 24 may communicate via a backhaul network (not shown) that includes land-based transmission lines that are often leased by the service provider of the mobile service provider network to transmit subscriber data and control traffic between the RAN 25 and the mobile core network of the AN 24. The backhaul network may include network equipment such as aggregation devices and routers.
[0057] The mobile core network of AN 24 provides session management, mobility management, and transport services between RAN 25 and the PDN of AN 24 (e.g., a cloud-based data center) to support access of subscriber devices 18B to PDN services. The mobile core network may represent, for example, a general packet radio service (GPRS) core packet switching network, an IP-based mobile multimedia core network, or an evolved packet core (EPC) according to one of the example cellular network architectures listed above. The mobile core network 10 includes support nodes including a packet gateway (PGW) 16 that provides firewall, billing, deep packet inspection (DPI), and other services for subscriber data traffic traversing the mobile core network. The PGW 16 operates as a gateway to the PDN 12 and may represent, for example, a gateway GPRS serving node (GGSN) or an access gateway (aGW) in other architecture embodiments. The support nodes of the mobile core network 10 also include a serving gateway (SGW) 14 that provides mobility support by acting as a local mobility anchor for base station handover and inter-network mobility. Although illustrated as separate standalone devices, in some instances, the SGW 14 may be integrated with the PGW 16 .
[0058] In some examples of the service provider network 20, the mobile service provider network may utilize a controller 35 and associated protocols for software defined networking (e.g., in a data center) to support operation of the subscriber device 18 and data plane / control plane functionality of at least one network device (e.g., mobility-specific aspects of control plane functionality of a dedicated device within a mobile core).
[0059] The controller 35 is an SDN controller consisting of several main logical parts: 1) a South-bound protocol for configuring and enabling functionality in network devices, 2) a topology manager that maintains the network topology, 3) core modules / plug-ins that enable applications (such as traffic engineering database, path calculation engine), 4) core applications that use protocols to provide functionality (such as PCE servers and OpenFlow controllers), 5) user-facing applications that address end-to-end use cases, and 6) a North-bound interface that enables users / user applications to talk to the controller 35.
[0060] The modules of the controller 35 can communicate using open interfaces so that each module can be independently replaced to serve a specific application or network coordination requirement. The controller 35 is configured so that new modules can be added to various layers (such as the application layer) while reusing the functionality provided by modules of other layers. The controller 35 can communicate with other controllers of the network layer and / or application layer to perform the desired user functionality.
[0061] Some examples of applications that the controller 35 can interface with to address end-to-end use cases include on-demand connectivity, cloud firewalls, video on demand, data replication, automatic service creation (e.g., for mobile), and the like. By having a modular design, the technology of the present disclosure can provide incremental value-added services on an extensible controller 35. The plug-in model allows third-party plug-ins (such as different path calculation engines) to be plugged into the controller 35 to provide differentiated services. A topology service is such an example, where static network topology files or active topology feeds using Border Gateway Protocol Traffic Engineering (BGP-TE) are allowed. The plug-in and controller applications provide a RESTful API to application programmers. An application layer traffic optimization (ALTO) engine is such an example, which will use the topology service and provide a RESTFul interface to the ALTO client. A RESTful network (web) service (also called a RESTful network API) is a network service implemented using the Hypertext Transfer Protocol (HTTP) and presentation state transfer (REST) principles.
[0062] In addition to the above, and to further support the service provider network 20, the controller 35 can run services (e.g., network services) in which one or more modules (e.g., mobile core network modules) and / or one or more applications use interfaces (e.g., networking protocol interfaces) to exchange data while completing tasks for one or more devices, including subscriber devices 18 and / or any network devices in AN 24. In some examples, multiple support modules are configured to perform some portions of the functions provided by the modules mentioned above (including the core modules and the above-mentioned topology manager). An example module can be referred to as a publisher module, which is configured to create and maintain a data source for the latest global network status information. As described herein, the global network status information can include any data items (e.g., tuples) describing some aspects of the service provider network 20 and status information for any other network (e.g., virtual network) of the RAN 25, AN 27 and / or the service provider network 20 (including any device in any of these networks).
[0063] In a number of examples, the present disclosure describes modules and / or applications of the controller 35 that, when configured to operate as a (passive) listener for global network state information event notifications, receive network node data (e.g., data describing the topology of the service network provider 20, or for simplicity, network topology information) and / or subscriber device data (e.g., data describing the device profile of the subscriber device 18, or for simplicity, device profile information). The present disclosure also describes additional examples of global network state information, but such information is not limited thereto and, as contemplated by the description herein, may include any useful information supporting the service provider network 20. In addition to subscriptions to the well-known examples of network topology information or device profile information, in other embodiments of the controller 35, the client module / application may request a user-defined data set.
[0064] An example of this data source can be configured in a different host (e.g., a different container or external device) than the controller 35, such as being communicatively connected to one or more nodes in the AN 24. An optional example data source can be in the same host (e.g., the same device or the same container). For modules / applications running in the controller 35, and regardless of whether the data source is operated remotely or locally, the above data source arranges the latest global network status information as multiple (e.g., sequence) events (e.g., key space events) indicating changes in the topology of the service provider network 20 and changes in device configuration files. Changes in the network topology include add events, delete events, update events, and / or similar events. For example, add events can indicate newly learned paths, including new routes between devices within the service provider network 20 and new routes between internal devices and external devices (e.g., of an external network).
[0065] Changes to device profiles may also include add events, delete events, update events, and / or similar events. Add events may indicate that a new profile is (recently) created for a new subscriber device, a new network router, switch, and other node, a new external network node, a new dedicated node, and / or the like. Delete events for device profiles or network topologies may indicate the removal of any device profile or any learned path. Delete events may be followed by add events indicating device profile reconstruction. Update events may indicate updated network topology information and / or updated device profiles. An administrator (via a command line interface) or controller 35 may perform actions to modify the topology of the service provider network 20 and / or modify the device profiles of the subscriber device 18, which may prompt a notification service that distributes update events. A user of a subscriber device 18B may trigger (or otherwise cause / control) the reconstruction of its device profile in the global state information.
[0066] As described herein, the notification service may open an interface connected to a data source as a communication channel on behalf of a client module / application running in the controller 35, and use the interface to receive new / updated global network state information for storage in one or more databases, and then subsequently distributed in multiple event notifications. Optionally, the event notification includes a reference (e.g., a hyperlink) to a remote storage location of the new / updated global network state information. In some examples, the notification service may be executed on the controller 35, or, optionally, on a remote centralized computing environment and / or a distributed computing environment. In some examples, the client module / application specifies a portion of a device profile (e.g., device status) and / or path information in a subscription, the path information including the topology of the device (e.g., neighboring nodes) and an established route to the device.
[0067] In some examples, the controller 35 executes software code for the above-mentioned publisher module and generates an instance of the publisher microservice, which has the above-mentioned communication channel to the source. On behalf of the client module / application, the publisher microservice can execute a first thread and a second thread to operate (e.g., operate in parallel) and process incoming event notifications (e.g., in batch processing). In some examples, the publisher microservice establishes a sleep timer with a configurable time period for processing event notifications (iteratively) in intervals between iterations of the configurable time period; when the configurable time period has passed, the second thread can process the event notification received in the previous iteration for updating the global network state information.
[0068] In some examples, for the purpose of benefiting the client module / application, the first thread and / or the second thread are used as a fetching mechanism for updates to some aspect of the network topology and / or changes to some aspect of the device state / configuration file. The second thread can also be configured to reset the event counter for the next iteration of the sleep timer. The second thread can be configured to pause or continue listening for future event notifications when a configurable time period has passed. The second thread can also be configured to lock the event counter or increase the event counter in response to receiving each future event notification during an iteration of the sleep timer, so that in some examples, the second thread can also be configured to reset the event counter for the next iteration of the sleep timer.
[0069] In some examples, the configurable time period may be a first configurable time period, and for the purpose of benefiting one or more second client modules / applications, the third thread and / or the fourth thread are used as the same or similar acquisition mechanism for updates to some aspect of the network topology and / or changes to some aspect of the device state / profile. The third thread and the fourth thread may be executed by the processing circuit in the controller 35 for providing updates to at least a second subscriber microservice in a plurality of subscriber microservices. The third thread is configured to start a sleep timer and / or wait for a second configurable time period while the fourth thread receives one or more event notifications from the notification service, and when the second configurable time period has passed, the first thread reads at least one update to a portion of the global network state information in the one or more received event notifications. The second configurable time period and the first configurable time period may be set to the same amount of time. In other examples, the second configurable time period may be different from the first configurable time period.
[0070] Based on the update, the client requests any new network topology information and / or new device profile information from the data source based on the processed events. Therefore, the client module / application can practice batch event processing. In other examples, the client module / application can read new network topology information and new device profile information based only on a subset of updates to the global network state information in the event notification received during the previous iteration. Coalescing is a technique in which events (e.g., sequential events) are aggregated or combined into a single event and / or eliminated together because, for some reason, the event is no longer valid. As an example of a coalesced event, a sequence of events indicating continuous updates to a device profile (where the last event is a deletion event for a device) can be removed by the client module / application because the device is no longer online and is not in a new global network state.
[0071] Having such a data source has multiple benefits and advantages, such as reducing the delay for the controller 35 to implement changes to the network state. The publisher module can configure the data source to be accessible by the above-mentioned client modules / applications of the controller 35 or modules / applications of network nodes (e.g., specialized devices) in the service provider network. In one example, with the data source of the latest global network state information, network topology information, and / or the latest device profile information, the client module / application enables one or more core modules or one or more core applications to calculate a network configuration including a new network topology and / or a new device state (e.g., a new device profile) based on the latest network topology information and / or the latest device profile information, and then subsequently implement the network configuration, for example, by programming a plurality of network devices in the service provider network 20 with at least a portion of the new global state information including the new network topology information and / or the new device profile information. In order to implement the network configuration, the controller 35 is configured with a network device protocol interface, wherein one or more core modules or one or more core applications can use one or more of the network device protocol interfaces to exchange the new network topology information and / or the new device state with at least one of the network devices.
[0072] The present disclosure describes the above-mentioned data source that supports batch network topology change management by a controller 35 of an SDN network or any controller of a network that manages multiple network devices, and one or more databases configured to store the latest global network status information, which includes network topology information and device profile information for network nodes in a subscriber device 18 or AN 24.
[0073] Figure 2 is a block diagram illustrating an example controller according to the present disclosure. The SDN controller 40 is implemented on one or more devices running in the cloud or in a service provider's premises to control network devices (e.g., nodes) in the network in which it is located. The SDN controller 40 is an example of a controller 35, in which the functionality can be divided into at least two layers, a software defined network (SDN) application / coordination layer 42 and an SDN network layer 44. In one example, the service provider network includes a software defined network (SDN) and a network function virtualization infrastructure (NFVi), and the SDN controller 40 can provide an advanced controller for configuring and managing the routing and switching infrastructure of the service provider network. The SDN controller 40 can also provide an advanced coordinator for configuring and managing core applications / modules and virtualizing network services into service nodes for data centers and / or cloud services. In some instances, the nodes in the data center and the SDN controller 40 are executed on a single computing device.
[0074] The SDN controller 40 as described herein is configured to coordinate processing (eg, batch processing) of network status updates, which may include network topology updates and device configuration file updates, to ensure that various modules and applications have access to the latest network topology and the latest device configuration files. Figure 2 At least some of these modules and applications are illustrated. The SDN controller 40 can dedicate a module to operate as a single source of truth for the latest network state information (including new network topology information and / or new device profile information). In some examples, the publisher module 78 implements the dedicating by configuring a notification service in the network with a data source, which is used to store the latest global network state information. The notification service can run on a network device, and when an event that changes the topology of the network or one or more device profiles occurs, the notification service prepares an event notification to be distributed to each subscribed client module / application, as described herein. The device profile can correspond to a device object name, and the publisher module 78 can configure the identifier attribute to implement a subscription to the corresponding profile; accordingly, when an event such as a reconstruction of a device profile is triggered, an event notification with the device object name is sent to a subscriber client in the SDN controller 40.
[0075] To intelligently compute and schedule paths through the network, one or more modules of the SDN network layer 44 or one or more core applications in the SDN application / orchestration layer 42 utilize network topology information, device profile information, and / or any other data set corresponding to the current / recent network state. The network topology information describes the available resources of the network, for example, available radio resources of a radio access network in a mobile service provider network, available data center resources of a cloud-based service provider network, available resources at multiple layers of a service provider network, and / or other available resources.
[0076] Instead of several external sources, such as topology servers, overlay controllers, routers and switches and / or similar external sources, Figure 2The modules and applications illustrated in the figure utilize the publisher module 78 to provide data from these and other external sources in a single resource, which single resource may include (multiple) external data stores, (multiple) internal data stores, or (multiple) external and internal data stores. This disclosure (mostly) refers to these data stores as comprising (multiple) databases and (multiple) database systems. In some examples, the publisher module 78 can configure one or more databases to maintain up-to-date information corresponding to the topology of the network of devices and their device states (e.g., the device states stored by the device configuration files). The publisher module 78 can configure the network devices to run a notification service (not shown) for distributing event notifications to the subscriber client modules / applications of the SDN controller 40 or distributing them to one or more network devices (e.g., subscriber devices).
[0077] As an option, the publisher module 78 may configure an internal data store to operate as a single source of truth for the latest global network state information for the subscriber client modules / applications. The internal data store may include one or more databases configured to maintain any number of the various examples of global network state information described herein. This disclosure generally refers to the internal data store as network state information. Figure 2 It is represented as network status information 66.
[0078] In other examples, the publisher module 78 may not maintain the latest global network state information in the above-mentioned internal data store or the above-mentioned external data store. Instead of utilizing a specific device or container to store at least a portion of the above-mentioned information, the publisher module 78 may retrieve topology information and / or device profile information from other modules / applications running in the SDN controller 40 based on the client's subscription or request. Therefore, the notification service can be the publisher module 78 itself, and this microservice can run statically and / or dynamically, such as when instructed / prompted / triggered by the client. The publisher module 78 can configure an external node (e.g., a container or a physical server) to operate as a notification service, which is configured to dynamically respond to subscriptions and / or requests from client modules / applications with topology information and / or device profile information to meet client queries or client requirements.
[0079] The publisher module 78 may also maintain up-to-date global network state information in both the internal data storage device or the external data storage device. In some examples, client subscriptions and / or client requests may specify certain data sets to be received, for example, through metadata and / or other attributes (e.g., identifiers) of one or more data sets. The external (support) node may or may not utilize a specific (internal) module / application in the SDN controller 40 to operate as a conduit / interface with the client. In some examples, the client module / application in the SDN controller 40 utilizes a corresponding (e.g., specific) interface to exchange data sets of state information.
[0080] To illustrate by example, a client module / application and a notification service can establish a subscription that requests updates to a configuration file for a device with a unique identifier (e.g., a device object name) and / or updates to a topology for a node with a unique identifier (e.g., a node ID identifier). The client can receive event notifications when routing information (e.g., a route) is added, updated, and / or deleted. In addition to add, update, and delete events, there may be multiple other event types. The notification service can respond to requests based on ReDis TM Keyspace Event Format The example events are implemented as keyspace events. There are a variety of different data types and / or formats to implement the above events.
[0081] The SDN controller 40 maintains one or more databases in the network that are typically used to store global network state information. The publisher module 78 of the SDN controller 40 stores the network state information 66 with the latest network topology information and / or device profile information in the computer memory of the SDN controller for at least a non-trivial period of time. In some examples, the SDN controller 40 stores the network state information 66 in an external device, an internal storage space (e.g., a hard drive or flash drive), and / or a memory buffer (e.g., a cache or RAM). The network of the SDN controller 40 includes an interface that is configured to transmit data between a module / application in the SDN controller 40 and an external device (e.g., a container / server) corresponding to a notification service and / or a data source for providing (e.g., new) network topology information and / or (e.g., new) device profile information to a client in the SDN controller 40. In some examples, a client module / application (utilizing any number of control mechanisms for these interfaces, which may be referred to as protocol interfaces or network device protocol interfaces, and / or according to any network protocol) can receive event notifications and at least a portion of new network topology information and / or new device profile information (initially) in one or more databases via one or more of these interfaces.
[0082] In some examples, event notifications, new network topology information, and / or new device profile information may be transmitted in messages such as inter-process communication (IPC), and one or more interfaces constituting the inter-process communication (IPC) transmission mechanism may be configured to process such messages for subscriber clients. In one example, one or more interfaces may be operable to forward IPC messages to appropriate subscriber clients; first, extract message payload data from the IPC, and then second, provide the data as input to the appropriate subscriber client; or first, extract message payload data, read each event corresponding to a change / update to the global network state information, and then, then, provide as input data to the appropriate subscriber client. Thus, the interface may be an active / passive event listener and (if appropriate) configured to perform event processing in some manner. For an event notification or notifications, the interface of the SDN controller 40 may identify one or more events representing at least one update to the network topology and / or device profile (e.g., device state), and then, then, perform event processing on the one or more events to some extent. Instead of or in addition to the clients, the interface of the SDN controller 40 may forward the IPC message to the publisher module 78, and in turn, the publisher module 78 performs event processing (to some extent) on one or more events and then relays the IPC message to the appropriate client.
[0083] In some examples, the client module / application, publisher module 78, and / or interface running in SDN controller 40 may process multiple events for one or more updates to global network state information and then subsequently read at least a portion of new network topology information and / or new device profile information. In some examples, a thread instantiated by publisher module 78 on behalf of a client module / application may transmit an IPC message to request at least a portion of new network topology information and / or new device profile information to be returned from a notification service and / or the above-mentioned data source for this information. In multiple events, specific data sets of this information and / or specific updates / changes to such data sets may be identified; beneficially, the client module / application, publisher module 78, and / or interface running in SDN controller 40 may apply the information obtained for identification to request updated information for the topology and / or device state of the network.
[0084] As described herein, the plurality of events mentioned herein may include updates to global network state information, and in some examples, the client module / application, publisher module 78, and / or an interface running in SDN controller 40 may determine a subset of updates for further processing, such as to request updated information for the topology and / or device state of the network. In response to receiving one or more event notifications and by applying a plurality of techniques, the client module / application, publisher module 78, and / or an interface running in SDN controller 40 may determine whether to remove / discard the received event notification, the event described in the received event notification, and / or the update to global network state information corresponding to the event.
[0085] In some examples, the IPC message containing the event notification may also contain data corresponding to the event notification, such as an update to the subscriber device state (e.g., a device profile) or an update to the neighbors of the network node (e.g., topology). Any updates that are no longer valid are removed as obsolete. Therefore, the client in the SDN controller 40 ultimately receives only valid information for new network topology information and / or new device profiles, thereby reducing latency and / or resource costs. In addition, the client only receives data sets corresponding to subscriptions / requests for certain aspects of the network topology and / or device profiles, thereby alleviating the costs associated with processing invalid (e.g., stale) events.
[0086] In a data center, one or more nodes (e.g., servers or containers) may execute logic that is operable to allocate and utilize available computing resources for subscriber devices of the network of the SDN controller 40. The data center may represent a cloud service provided by a separate cloud service provider outside the network of the SDN controller 40, or may be located within the network. The data center may run computing nodes to execute modules or applications that support the functionality of the mobile core network.
[0087] In a mobile core network, one or more nodes (e.g., servers or containers) may execute logic that is operable to allocate and utilize available resources in the form of radio access or mobile resources. For example, a service bearer is a set of network resources and a data transmission function in a service provider network for delivering user services between two network entities, such as between an SDN controller 40 and a subscriber device or a router / switch device in the same network. Depending on a communication session (e.g., a BGP peering session) and various communication protocols, a service bearer may include a path, a logical connection, or a physical or wireless connection between two network devices. The global network state information as described herein may also include network topology information that describes the topology of a network as defined by an architecture (e.g., a hierarchy) for network devices. The elements of a radio access network may constitute some resources described for a network topology. A subscriber device with a device profile may be communicatively connected to one or more of these elements so that, in the hierarchy of the network, the subscriber device may operate in a hierarchy below a router / switch device network node. Other examples of network topology information may describe other radio access network or mobile core network resources.
[0088] Additionally or alternatively, the network topology information describes the available resources at multiple layers of the network, and the device profile information describes each network device, each network device including information that further describes one or more layers of the network. In one example, the publisher module 78 stores one or more traffic engineering databases (e.g., multi-topology traffic engineering databases) in the network state information 66, each of which is configured to store topology information for the base network layer and one or more overlay network layers of the network that constitutes the path calculation domain for the PCE 64. The example traffic engineering database (TED) can hierarchically organize the topology information for the corresponding network layer, wherein the basic network topology information supports the topology information for one or more overlay networks. Paths in lower layer topologies can be presented as links in higher layer topologies. For example, tunnels (e.g., TE LSPs) created in the base network layer can be presented as links in the overlay network TE topology. Then, one or more SDN modules and / or one or more SDN applications can associate overlay network links with paths established in the base network layer to effectively calculate paths across multiple overlay topologies.
[0089] Another example TED may include one or more link state databases (LSDBs) where link and node data (e.g., in routing protocol advertisements) is received from a topology server and / or discovered by a link layer entity (such as an overlay controller) and then, in turn, provided to the SDN network layer 44 via a notification service. The publisher module 78 may identify updates to a particular TED and store the latest topology information for the base network layer and one or more overlay network layers of the network. In some instances, an operator may configure traffic engineering or other topology information in the example TED via an operator interface within the network state information 66. Other SDN controllers may implement a separate overlay controller interface for each overlay controller operating as an external source.
[0090] The basic network layer (or "basic network") of the service provider network includes network switches connected to hosts and arranged in a physical topology. The network switches receive and forward packet data units (PDUs) for network flows according to network configurations (e.g., forwarding information) programmed into the switches by an administrator or SDN controller 40 and / or according to forwarding information learned by the switches, whether by the operation of one or more protocols (e.g., interior gateway protocols (IGPs)) or by recording information learned during PDU forwarding. Each of the network switches may represent a router, a third layer ("L3") switch, a second layer ("L2") switch, an L2 / L3 switch, or another network device that switches services according to forwarding information. Accordingly, the PDUs forwarded by the network switches may include, for example, L3 network packets (e.g., Internet Protocol packets) and / or L2 packets (e.g., Ethernet datagrams or asynchronous transfer mode (ATM) cells). The PDUs may be unicast, multicast, anycast, and / or broadcast.
[0091] The overlay network layer of the service provider network includes overlay switches that are arranged in a virtual topology "above" the physical topology defined by the network switches. The individual links (or "overlay links") of the virtual topology of the overlay network can be paths established through the underlying network and / or physical links connecting the overlay switches. For example, the overlay network can represent a virtual private network (VPN), an OpenFlow network composed of one or more OpenFlow switches, or an application layer network with selected functionality built into the endpoint devices. Accordingly, each of the overlay switches can represent a router or routing instance (e.g., a virtual routing and forwarding (VRF) instance); a virtual private local area network (LAN) service (VPLS) instance; a dedicated L2, L3, or L2 / L3 switch; or a virtual or "soft" switch (e.g., an OpenFlow switch) implemented by a router or by a dedicated switch. The SDN controller 40 can replace an external entity (e.g., an overlay controller) and perform similar functionality.
[0092] In one example of the network state information 66, the publisher module 78 configures one or more databases to store information provided by an external source referred to as a topology server. Some embodiments of the SDN controller 40 utilize an entity referred to as a topology server that receives topology information from a network switch, including switches of a base network for a multi-topology network. For example, the topology server may execute one or more IGPs or external gateway protocols (e.g., a border gateway protocol (BGP)) to listen to routing protocol broadcasts sent by the network switch. The topology server collects, stores, and then subsequently provides the base network topology information to other network entities (such as the SDN controller 40 and / or notification services) in a base topology update message. The base network topology information may include traffic engineering information for network links, such as management attributes of the links and bandwidth of various priority levels available for use by label switched paths (LSPs). In some examples, the network switch may send a topology update message to the topology server that specifies L2 link information for an L2 link connecting the network switch.
[0093] In some examples, the topology server information in the network state information 66 may be accessible to the publisher module 78 and one or more modules / applications in the SDN controller 40 (such as a topology manager module). In some examples, the publisher module 78 may configure the notification service with definitions for a particular data set of the topology server information (e.g., definitions of keyspace events). The topology manager module (e.g., or another core module) may request a subscription to keyspace events for a particular aspect of the topology of the network and / or the state of the device, and then the publisher module 78 sends the subscription and appropriate definitions for the keyspace events. As requested, the notification service configures one or more database queries to retrieve data according to the subscription and generates a plurality (e.g., a sequence) of keyspace events indicating updates to the global network state information.
[0094] Similarly, in another example of network state information 66, the publisher module 78 may configure one or more databases to store overlay network information. The publisher module 78 may receive (e.g., via an overlay controller) topology information about an overlay network of a multi-topology network in a topology update message sent by an overlay switch in a corresponding communication session. The topology update message sent by the overlay switch may include virtual and physical switch port information, PDUs, and associated metadata specifying the corresponding ports and / or interfaces through which the PDUs are received. In some examples, the SDN controller 40 via the overlay controller is a routing protocol listener that executes one or more routing protocols to receive routing protocol broadcasts sent by the overlay switch. For example, such routing protocol broadcasts may be associated with one or more VRFs. The overlay controller collects and stores overlay topology information and then provides the overlay topology information to the SDN controller 40 and / or a notification service in an overlay topology update message. In some examples of network state information 66, the overlay network information may be accessed by the publisher module 78 and one or more modules / applications (such as a topology manager module) in the SDN controller 40. Other embodiments of the SDN controller 40 may include an overlay controller as a component.
[0095] In one example of network status information 66, publisher module 78 configures one or more databases to store device status information including device profiles and other device data. Generally, the profile information of the example network device describes the path learned by the example network device. Network devices such as routers are configured to establish paths with other networks or subnets such as in a multi-topology network. A network switch may be configured or otherwise directed to establish a path through the base network of a multi-topology network. Such paths may include, for example, IP tunnels such as generic routing encapsulation (GRE) tunnels, general packet radio service (GPRS) tunneling protocol (GTP) tunnels, LSPs, or simple routes through a base network or VPN (e.g., identified by static routes with routing targets). The network switch provides path status information about the path established through a network (e.g., the base network of a multi-topology network) to a notification service (e.g., via an adapter) in a communication session. Path status (optionally, "path status" or "LSP status") information may include a descriptor of a path for an existing operation and an indication of an established path or a failure in a path establishment operation. For example, the network switch may attempt to establish an LSP using a reservation protocol such as the Resource Reservation Protocol (RSVP), but fail due to insufficient network resources along the path specified by the explicit routing object (ERO). As a result, the network switch may provide an indication of the failure of the path establishment operation to the notification service in the communication session. The PCE 64 utilizes the network state information 66 to access the path state information and add the established path through the underlying network of the network as a link in the overlay network topology.
[0096] In some examples, the publisher module 78 stores one or more databases in the network state information 66, which are configured to store routing information and / or forwarding information for the learned paths in the network. In addition to the above-mentioned device profile information or as an alternative, the SDN controller 40 can receive routing information and / or forwarding information describing the learned paths from a topology server or by executing a routing protocol. As described herein, the SDN controller 40 maintains any information defining the topology of the network (e.g., a mobile core network) in the network state information 66, and the publisher module 78 effectively handles updates to the network topology, for example, by storing a copy of the routing information and / or forwarding information in a routing information base (RIB) and / or a forwarding information base (FIB), respectively. The SDN controller 40 can execute a daemon to store the learned routing information and / or forwarding information in a routing information base (RIB) and / or a forwarding information base (FIB), respectively. Optionally, the publisher module 78 can configure the notification service to run a similar routing daemon.
[0097] The daemon process can run a routing process that is operable to generate routing information by parsing a network topology based on protocol messages (e.g., routing advertisements), communication sessions (e.g., peer session messages), and / or other learned network paths between devices, and is operable to generate forwarding information by further parsing the network topology defined by the routing information, and then (if necessary) selects or determines one or more routes through a network or subnetwork (e.g., a mobile core network).
[0098] For the network state information 66, the publisher module 78 may configure one or more databases to store application layer traffic optimization (ALTO) maps and / or other examples of high-level network topology information in addition to at least one of a traffic engineering database, a multi-topology traffic engineering database, a routing information base, or a forwarding information base. In other examples, the SDN controller 40 implements the publisher module 78 to store network topology information in the network state information 66 for use by the ALTO 76 in generating the ALTO map. Whenever an update or change is made to this topology information, the publisher module 78 is configured to publish information about this update or change to the notification service, and in response, the notification service distributes event notifications about the update or change to any subscribing / requesting client modules / applications.
[0099] In this way, each client module / application can access network topology information about each service bearer or network layer originated or forwarded by the network's routing protocol speaker. The received topology information describes the topology of network nodes (e.g., routers, switches, and other network devices) and the reachability of network address prefixes by any network router.
[0100] The techniques of the present disclosure may provide one or more advantages. For example, the SDN controller 40 improves the efficiency of operation because the network is automatically configured (without human intervention) when the network state transitions or changes due to one or more reasons. Some example techniques implement a delay reduction in the time interval between the occurrence of the transition / change and the propagation of the transition / change through the network to other devices, and in the second time interval between the SDN controller 40 notifying the transition / change and the network reconfiguration of the SDN controller 40 to conform to the topology of the network and the state of its devices. According to an example technique, in order to achieve the purpose of reducing latency, the SDN controller 40 implements a publisher-subscriber pattern for distributing new network topology information and / or new device profile information. For illustration, in response to identifying a change in the network topology or device profile, the SDN controller 40 publishes any new information, and then subsequently distributes it to subscriber clients (assuming a matching subscription), removes any invalid information, and removes it and spreads it to other network devices.
[0101] In the process of publishing new information, the SDN controller 40 may rewrite information that has become invalid in view of changes in the network topology / device profile; examples of information that has been rewritten include previous network topology information or previous device profile information. The SDN controller 40 may send new network topology information and / or new device profile information to a network-addressable data source, where the new information is used to update the previous network topology and / or previous device state (e.g., device profile), and notify each subscriber client from the data source that one or more updates have been made to the network topology and device profile. The network-addressable data source may continue to maintain the latest network topology information and / or device profile information for advantageous use by client modules / applications in the SDN controller 40.
[0102] PCE 64 provides an interface through which a client can request a dedicated path between any combination of hosts within a specified time. For example, a client can request a 100MB / s path from host A to host B from 1pm to 3pm on a specific date. For another example, a client can request a 50MB / s path from host B to host C from 2pm to 3pm on the same date. For another example, a client can request a mesh (or "multipath") of 50MB / s paths that connect each of the hosts to each other from 4pm to 6pm on a specific date. The requested mesh is a multipoint-to-multipoint path consisting of multiple point-to-point paths. In addition to the bandwidth, host, and time path parameters illustrated above, a client can request a path that meets other quality of service (QoS) path request parameters (such as delay and jitter), and can further specify additional associated classifiers to identify flows between specified endpoints. Example flow classifiers (or "parameters") are provided below.
[0103] PCE 64 uses base network topology information about the network received from the topology server, overlay network topology information about the network received from the overlay controller, and path state information received from the network switches to calculate and schedule paths through the network between hosts that satisfy parameters about the paths requested by the client.
[0104] SDN controllers can also provide greater service flexibility, as the network can be dynamically modified to support new application experiences. SDN controllers can also provide capital efficiency, the ability to do more with fewer resources, as the network does not need to be overbuilt or purpose-built for specific services or applications. Instead, network resources can be allocated only when needed and reserved for high-priority applications and business-critical applications.
[0105] Keeping information describing the most recent network topology and rebuilding device configuration files has multiple additional benefits. As a benefit, a specific client application can request an application-specific network configuration, and having the most network topology allows the controller 40 to ensure that the requested application-specific network configuration complies with the latest network topology.
[0106] In one example, a video server receives a user's request for streaming video from a video service application on a client subscriber device. The video server does not know the physical location of the user (e.g., subscriber device). The video service application on the client can communicate with the video on demand service module 46 of the controller 35 via the northbound interface of the video on demand service module 46, rather than relying solely on the video server to guess from which data center to send video services for the subscriber. The video service application on the client can specify content and content type (high definition or standard definition) to the video on demand service module 46. In response, the video on demand service module 46 can obtain information about the closest data center with the ability to serve the content type, and can indicate to the video service application on the client which data center it should obtain the video from. For example, the video on demand service module 46 can transmit a request to the connectivity scheduling module 56, which can instruct the ALTO module 76 to determine the closest server or data center hosting the video based on the network status information 78. In some examples, ALTO module 76 may query network state information 78 (e.g., one or more TEDs) for information (e.g., in BGP-TE information) to determine content server locations, and then communicate the information upward to connectivity scheduling module 56. Other implementations rely on an ALTO server to store content server locations.
[0107] In addition, the video service application on the client may request a bandwidth guaranteed path with certain characteristics (e.g., a path with 6 megabits of bandwidth). According to the technology of the present disclosure, the video service application on the client may communicate with the connectivity on-demand service module 50 of the controller 40 via the northbound interface of the connectivity on-demand service module 50 to request a path. In some examples, the connectivity on-demand service module 50 may reference the reservation library 52, and / or may reference the policy applied by the policy engine 54. The connectivity on-demand service module 50 provides the client requirements to the path calculation engine 64 in the SDN network layer 44. In response, the path calculation engine 64 calculates a path in the network based on the network topology information found in the traffic engineering database (TED) of the network state information 66.
[0108] After the path calculation engine 64 calculates the path with guaranteed bandwidth, the path deployment module 68 of the SDN network layer 44 supplies the calculated path in the network. As an example, the path deployment module 68 (or the path calculation element protocol (PCEP) adapter 80) provides information to the routers in the network to give an indication of the path to the head-end router, such as by providing an explicit routing object (ERO). The router uses the Resource Reservation Protocol with Traffic Engineering Extension (RSVP-TE) to signal the path to signal the Multi-Protocol Label Switching (MPLS) LSP. As another example, the OpenFlow adapter 82 can use OpenFlow to supply the path. In this way, the controller 40 can provide the video service application on the client with a guarantee from the connectivity on-demand service module 50 that the bandwidth on the path through the network selected by the path calculation engine 64 and supplied by the path deployment module 68 is available. Therefore, the video service application client can not only connect to the best data center that can provide content, but also reserve network resources to ensure that the user has a good video viewing experience.
[0109] Having the latest network topology information available as described herein enables path selection by the path computation engine 64 and path provisioning by the path deployment module 68; otherwise, both the path computation engine 64 and the path deployment module 68 are likely to return errors that tend to fail, thereby orienting the SDN controller to fail or select / provision invalid paths. The present disclosure describes techniques for maintaining the latest network topology information with reduced latency. After an event (e.g., a user action) that changes the topology of the network occurs, the change is propagated to the SDN controller 40 and provided (upon request or subscription) to any client module / application or another device (e.g., a network node or subscriber device) in the SDN controller 40 without noticeable delay. Even after a large number of changes to the topology of the network have occurred, the techniques described herein still utilize a subscriber-publisher model to propagate these changes throughout the network.
[0110] In one example, assume that some kind of attack is occurring on the Internet (e.g., hackers are trying to take down the Department of Defense's website). The network administrator wants to block all traffic from a certain set of hosts. Using a northbound API associated with the cloud firewall module 62, the network administrator's client device can communicate with the controller 40 via the northbound API to request that traffic from these hosts be blocked. The cloud firewall module 62 converts the instructions into firewall-specific rules that need to be programmed into the routers in the network. For example, the cloud firewall module 62 can generate a firewall rule such as "if traffic comes from IP address X, drop it." The cloud firewall module 62 can use the firewall policy engine 60 and / or the firewall rule library 58 to generate the firewall rules.
[0111] The cloud firewall module 62 provides firewall rules to the firewall adapter 84. The firewall adapter 84 uses the commit command on the router to program the appropriate router(s) in the network with the generated rules. The delegated management module 88 can be included in this process. The router uses its usual firewall components, but the firewall rules are automatically received from the firewall adapter 84. In this way, the network administrator does not need to program one or more routers in the network individually through each specific configuration command. Instead, the network administrator can use the northbound interface to tell the high-level SDN controller 35 what results to expect in the network. The SDN controller 40 breaks down the request into specific configuration commands and configures each router in the network with these commands. If the network uses an independent, separate firewall device located at the edge of the network, the firewall adapter 84 will program the firewall device (rather than the router) and thus achieve the same behavior.
[0112] In some aspects, for example, the SDN controller 40 may also provide a virtualized environment that interconnects two or more data centers. For example, a network administrator may request a data replication event, such as a request that data stored in a first data center be replicated (stored) in a second data center. A client device of the network administrator may interact with a northbound API of the controller 35 associated with a data replication service module 48. The data replication service module 48 receives the request and may call a connectivity scheduling module 56. The connectivity scheduling module 56 is receiving network topology information, (directly) via an interface to a notification service and / or (indirectly) at a TED within the network state information 66, such as via a publisher module 78 or, alternatively, BGP-TE 74. The connectivity scheduling module 56 causes the path computation engine 64 to compute a path between the data centers. For example, the path computation engine 64 may use a CSPF 70 or other algorithm provider 72 for computing the path.
[0113] The path deployment module 68 supplies the path, such as by using the PCEP adapter 80 to provide the path ERO to the head-end router of the path. For example, the head-end router can use RSVP-TE to signal the LSP through the path for sending data between data centers to achieve replication. In the case of data replication, the LSP path may not need to be the shortest or best path, which can be considered by the path calculation engine 64. The connectivity scheduling module 56 can use the OpenFlow adapter 82 to place the data flow on the LSP. Multiple data flows can be placed on the same network path. The connectivity scheduling module 56 can provide path sizing and rerouting based on change requirements, such as change requests from network administrators, or changes in network state information 66 (e.g., changes to the network topology as known via BGP-TE 74, ALTO 76, or other protocols on the southbound side of the SDN network layer 44).
[0114] The SDN controller 40 can solve customer-facing problems. For example, as customers continue to adopt virtualization technology in their data centers and add virtual machines, workload mobility, and dynamic resource sharing, this may cause problems in the efficient configuration of the network, resulting in poor performance and inefficient operations, i.e., excessive manual overhead. According to the technology of the present disclosure, the SDN controller 40 can reduce the impact of certain problems of data center resource management, particularly around capacity planning, data center utilization, and efficient operations across multiple data centers, by maintaining up-to-date global network state information and coordinating the distribution of this information in a manner that benefits at least one client.
[0115] The connectivity scheduling module 56 can use the above-mentioned latest global network state information to dynamically reserve bandwidth for client modules / applications in the SDN controller 40 and / or subscriber devices. The connectivity scheduling module 56 interfaces with the path calculation engine 64 in the SDN network layer 44 of the controller 35. The network state information 66 stores (ultimately) the base network topology and overlay network topology information from the network devices via the BGP-TE module 74, the ALTO module 76 and / or the publisher module 78. The path calculation engine 64 analyzes various topologies to coordinate requests from multiple client applications and attempts to identify paths through the layers or combinations of layers of the network that can be established at the time of the request taking into account the specifications requested for the temporary dedicated path and the expected bandwidth / capacity available in the network.
[0116] The path computation engine 64 schedules the identified path through one or more layers of the network to carry the traffic for the requested path. To then establish the requested path, the path computation engine 64 instructs the path deployment module 68 to program the path forwarding information into one or more network nodes at any layer of the multi-layer, multi-topology network that participate in forwarding traffic along the identified path at a predetermined time. For example, the path deployment module 68 may provide the computed path to a head-end router of the path, which in turn uses the path information to signal LSPs along the specified path using RSVP-TE. In another example, the path deployment module 68 may program the path forwarding information (e.g., including MPLS labels) directly into each network device along the path. In this manner, the connectivity scheduling module 56 and the path computation engine 64 may establish dedicated bandwidth channels through the network in the form of reserved paths, and direct traffic onto the dedicated bandwidth channels to provide connectivity, for example, between distributed client applications.
[0117] The technology may provide one or more advantages. For example, the connectivity scheduling module 56 may access an enhanced view of the current state of the network at multiple different layers through the operation of the path computation engine 64 and the network state information 66, which may enable the path computation engine 64 to identify paths that are not visible to the label edge routers, for example, with a more limited view. The path computation engine 64 may additionally direct traffic to underutilized portions of the network by virtue of accessing the enhanced view to improve network capacity utilization. Further, using the connectivity scheduling module 56 and the path computation engine 64 to identify, establish, and in some cases preempt temporary dedicated paths for coordinating multiple potentially conflicting application requests may reduce first-time, first-right access to network resources in favor of explicit, centralized prioritization of application requests for dedicated paths.
[0118] In some examples, the northbound API GUI associated with the connectivity scheduling module 56 can show the MPLS paths and bandwidth reservations. The northbound API GUI can also include an SSH terminal into the router to show the OpenFlow entries. In some examples, the connectivity scheduling module 56 can provide a "bandwidth calendar application hybrid mode" that uses a combination of both Openflow and PCE to program devices in the network. The path deployment module 68 uses the PCEP adapter 80 to program specific bandwidth reservations across the backbone network via MPLS for the user's video stream. The path deployment module 68 uses the OpenFlow adapter 82 to program specific forwarding paths for the user's video stream.
[0119] In some examples, path computation engine 64 may determine that an end-to-end path through the overlay network layer is unavailable, and therefore PCEP adapter 80 may program a tunnel over the path computed in the base network layer and store a new overlay network link for the tunnel in the topology information for the overlay network layer in multi-topology traffic engineering database 66. Openflow adapter 82 may program device profile information for the tunnel into an overlay switch in the overlay network layer based on the new overlay network link stored by PCEP adapter 80, the new overlay network link being part of the end-to-end path for the service request. In some examples, PCEP adapter 80 may refer to PCEP library 86. In some examples, PCEP adapter 80 may refer to resource dependencies 90.
[0120] In other examples, the connectivity scheduling module 56 may provide a "bandwidth calendar application Openflow mode" in which the path deployment module 68 uses only the Openflow adapters 82 to program the network for a specific forwarding path for a user's video stream.
[0121] In some examples, the SDN controller 40 may also provide mobile network control. Mobile core control plane applications such as subscriber session establishment, authentication, billing, and signaling are executed on general hardware in a data center, with an SDN controller 40 interposed between the data center and the mobile core. The subscriber device issues a service request to the mobile core via the radio access network, and the mobile core then redirects the control plane message to the SDN controller 40 to encapsulate the control plane message in the SDN protocol. For each such service request from the subscriber device, the northbound interface associated with the mobile service module 63 of the SDN controller 35 extracts and processes the control plane message for subscriber session management. The mobile service adapter 85 in the SDN network layer 44 responds to the service request and uses the SDN protocol to provide any service response or other control plane message to the mobile core, which forwards any service response or other control plane message to the corresponding subscriber device for user session management and control. In addition, the mobile core control plane application of the data center can determine and transmit mobility-specific information to the northbound interface of the mobile service module 63 to process and forward subscriber data services for subscriber devices. The mobile service adapter 85 then programs the support nodes of the mobile core data plane with the mobility specific information to configure the data plane for processing and forwarding user data traffic associated with the subscriber session with respect to the subscriber device.
[0122] For example, suppose a mobile subscriber wants to communicate with a friend's mobile device in Minnesota from his mobile phone outside California, and there is no established network path between the two. The mobile phone will connect to the northbound API interface of the mobile service 63, which in turn causes the mobile service adapter 85 to first establish an MPLS transmission path between California and Minnesota. For example, the mobile service 63 may include a PCE 64 to determine the appropriate path. The mobile service adapter 85 may call into a mobile specification application to signal all mobile protocol parameters so that a mobile phone call can be successfully completed between California and Minnesota. In some cases, the mobile service adapter 85 may configure each node in the path with appropriate parameters, and in other cases, the mobile service adapter 85 may provide parameter information to the mobile device or other device that issues the request to allow the device to perform signaling and establishment based on the parameters. After these parameters are established, the user's mobile phone is connected. In this way, the controller 35 can facilitate automatic service creation.
[0123] Example mechanisms for SDN-controlled mobile networks that may be used by controller 40 may be found in US Application No. 13 / 724,975, filed December 21, 2012, entitled “Software-Defined Mobile Core,” the entire contents of which are incorporated herein by reference.
[0124] Figure 3 is a block diagram illustrating an example controller that provides up-to-date network status information to one or more modules and / or one or more applications. The publisher module 78 and possibly one or more additional components maintain up-to-date network status information in a data store that is configured as a single source of network topology information that supports various functionalities (such as connectivity scheduling) to improve the operation of client modules or client applications. For example, the SDN controller 40 receives updates to the network topology and / or device profiles, publishes the new network topology information and / or new device profile information to subscriber clients, and then subsequently calculates and implements a network configuration based on the new network topology information and / or new device profile information. For purposes of simplicity, Figure 3 The present invention is described from the perspective of an example of network reconfiguration, but the controller 40 may also include Figure 3 Controller 40 may include, for example, a server or a network controller, and may represent Figure 1 An example instance of controller 35 is shown.
[0125] The SDN controller 40 includes a control unit 100 coupled to a network interface 130 to exchange packets with other network devices via inbound links 132 and outbound links 134. The control unit 100 may include one or more processors 140 that execute software instructions, such as those used to define software or computer programs, stored on a computer-readable storage medium (also, in a computer-readable storage medium). Figure 2 ), such as a non-transitory computer-readable medium including a storage device (e.g., a disk drive or an optical drive) or a memory (such as flash memory or random access memory (RAM)) or any other type of volatile or non-volatile memory, which stores instructions to cause one or more processors to perform the techniques described herein. Alternatively or additionally, the control unit 100 may include dedicated hardware, such as one or more integrated circuits, one or more application specific integrated circuits (ASICs), one or more application specific processors (ASSPs), one or more field programmable gate arrays (FPGAs), or any combination of one or more of the foregoing dedicated hardware examples, for performing the techniques described herein.
[0126] The SDN controller 40 includes a publisher module 78 to configure the notification service for clients running microservices (i.e., subscriber microservices). The publisher module 78 enables those subscriber microservices to benefit from the availability of up-to-date network status information with neither downtime nor cost. Clients of the notification service also benefit from reduced latency in completing network status changes. Clients of the notification service also benefit from savings in resource costs and other expenses by offloading the task of obtaining certain data.
[0127] Devices in the network of the SDN controller 40 can use the client interface 102 of the network service application 104 to request a path through the network. These devices can be subscriber devices, network nodes (e.g., routers, switches, and / or similar devices), dedicated devices, servers, virtual machines / containers, etc. The device itself can be a physical server or a virtual container, which is configured to run one or more kernel mode modules or one or more user mode applications; typically, each device is configured to exchange state information with the SDN controller 40. Generally, the path request includes the requested date / time, the required bandwidth or other constraints, and at least two endpoints. For example, the client interface 102 can be a command line interface (CLI) or a graphical user interface (GUI). The client interface 102 can also or optionally provide an application programming interface (API). Such as a network service. The user uses a client application to call the client interface 102 to enter the path request parameters and submit the request to the network service application, such as a bandwidth calendar application. The client interface 102 receives the path request from the client and pushes the path request to the path request queue and the data structure storing the path request for calculation and distribution by the path calculation engine 112.
[0128] The control unit 100 provides an operating environment for various modules and applications. In one example, the publisher module 78 includes programmable logic executed on a processing circuit in the control unit 40. The publisher module 78 can be implemented using any suitable programming language that produces instructions that can be executed by a suitable platform (e.g., a Java application). In addition, although illustrated and described as being executed in the publisher module 78, various aspects of the publisher module 78 can be delegated to other computing devices.
[0129] The control unit 100 provides a mechanism that is configured to operate a notification service dedicated to a network device. The dedicated network device can be in the same network as the SDN controller 40, and the publisher module 78 can run a microservice to operate the notification service in a manner that is beneficial to the above-mentioned subscriber microservices and / or network devices. In other examples, the notification service is instantiated by a different controller and / or in a different network.
[0130] In one example, the publisher module 78 may run the first thread 106A and the second thread 106B to operate as an interface for communicating with the notification service, for example, to request and receive new network topology information and new device profile information to be stored in one or more databases in the network state information 66. The publisher module 78 stores information describing the most recent network topology in the topology database(s) 108A, and stores information further describing the most recent network topology in the device profile database(s) 108B, as well as, for example, routing information corresponding to multiple network layers and information describing paths through the network. In one example, the second thread 106B may be configured to receive an event notification from the notification service indicating an update to the network state information 66, and the first thread 106A may be configured to read the new network topology information and / or the new device profile information for updating the topology database(s) 108A and / or the device profile database(s) 108B. As described herein, the notification service maintains global network state information in one or more databases (e.g., remote databases), including current network topology information and current device profile information for one or more network layers of a network (e.g., a mobile core network). In some examples, the controller 40 maintains a copy of one or more databases, such as (multiple) topology databases 108A and / or (multiple) device profile databases 108B.
[0131] The publisher module 78 and / or the notification service may receive topology information about an underlying network, an overlay network, a packet-defined network (such as a cloud-based data center or a mobile core network), a radio access network, and / or the like from a plurality of data sources. In some instances, the publisher module 78, the notification service, and / or the topology server may be a passive listener that neither forwards nor initiates routing protocol advertisements. In some instances, the publisher module 78 and / or the notification service may each receive a digest of the topology information collected by the topology service, rather than executing a routing protocol to directly receive routing protocol broadcasts. The publisher module 78 may store a digest of the topology information (e.g., together with the TE information) in a computer-readable storage medium of the control unit 100 for use in path calculation.
[0132] Similar to Figure 1 The SDN controller 40 also includes one or more modules (e.g., modules of the mobile core network) configured to calculate a new network configuration in response to an update of the network topology and / or device configuration files. The SDN controller 40 also includes a topology manager (an example of which is shown in Figure 3The SDN controller 40 may include a topology module 116 (illustrated as a topology module 116) to aggregate network topology information from one or more external data sources such as a topology service (e.g., a topology service running on the above-mentioned topology server) over time (e.g., multiple iterations). The SDN controller 40 also includes one or more (mobile core network) applications that are configured to aggregate device profile information from one or more second external data sources such as device services (e.g., device services running on base stations of the radio access network, on the above-mentioned overlay controller, or on dedicated network devices) over time (e.g., multiple iterations). In order to implement the new network configuration after the update of the network topology and / or device profile, the SDN controller 40 programs the new network topology information and / or the new device profile information into the network device (e.g., a control unit of the network device) using a network device protocol interface.
[0133] As mentioned herein, a topology manager is a network entity configured to maintain network topology information for modules in a network controller and other network devices. The SDN controller 40 may include a topology module 116 to run a topology manager (e.g., components thereof) for the network. The topology module 116 may receive an input data set from network resources including network nodes and subscriber devices, parse the current / recent network topology, and then, subsequently, generate a data set of network topology information for use by other modules in performing some functions. A data set may refer to structured data according to a predetermined format, and a data set of network topology information may refer to an arrangement of attribute data used to describe / establish an aspect (e.g., parameter) of a network topology. Modules in the SDN controller 40 may request a specific set of attributes in a known specific format and in addition in accordance with any necessary protocol or mechanism for completing the request. The topology module 116 may output a compatible data set (e.g., IPC) for communication to the requesting module, and / or may store the data set in the network state information 66.
[0134] The publisher module 78 may then publish the above-mentioned data sets (or modified versions) according to the publisher-subscriber model. For example, the publisher module 78 may configure the external network device to operate a notification service, send a compatible data set to an external data storage for storage, and establish a subscription for event notifications corresponding to updates of the data set or updates of network topology information generally represented by the specific attributes by using one or more of the set of specific attributes. The subscription of the requesting module instructs the notification service and the publisher module 78 to provide (e.g., as an input feed) any new information corresponding to the published data set. The publisher module 78 may be configured with a dynamic operation mode and return one or more data sets in response to receiving a message indicating a request from a module that issued the request. In other examples, the publisher module 78 runs a topology manager (e.g., instead of or as a replacement for the topology module 116) in addition to publishing new network topology information corresponding to recent changes in the network topology and other updates to the global network state. The requesting module may also access the new network topology information without any module operating the topology manager.
[0135] The publisher module 78 is configured to publish a data set of network topology information by sending such data set to the notification service for storage in an external data store. The publisher module 78 can configure the external data store to maintain the latest network topology information about other modules of the controller 40, including core modules / plug-ins (such as traffic engineering database, path calculation engine), which enable applications such as core applications and user-directed applications. In order to receive new information about the current or recent network topology, the above-mentioned modules / plug-ins / applications utilize the publisher module 78 and the external data source as a single source of truth for the latest global network status information.
[0136] The SDN controller 40 also includes one or more processors 140 and one or more ingestion devices 150, wherein the processor(s) 140 and the ingestion device(s) 150 are separate hardware units (e.g., hardware units of dedicated hardware), both of which include computer memory, logic such as programmable logic, and one or more circuits, and each performs a different set of operations to implement functionality. Generally, the processor 140 refers to an execution element including processing hardware (e.g., processing circuits), and the ingestion device 150 refers to a data ingestion pipeline; in operation, the ingestion device 150 provides instructions and other data to the processor 140 for moving streaming data and batch data from multiple sources into a centralized data store, such as in the network state information 66. In one example, a pair (or pairs) of ingestion devices 150 and processors 140 as component hardware units can be combined into a network entity, and the SDN controller 40 can orchestrate (instrument) the entity for a networking protocol (such as NETCONF functionality). The SDN controller 40 may configure the aforementioned multiple pairs of ingestion devices 150 and processors 140 to program the network devices according to the calculated network configuration.
[0137] The SDN controller 40 may include hardware / software components for operating as a client module / application with subscriptions to changes in published network state information. In one example, the ML adapter 160 is a machine learning (ML) framework adapter configured to bring a host device online as part of an ML framework (e.g., an auxiliary learning framework). The ML adapter 160 may consume the latest network topology information and / or device profile information to train a machine learning model and / or use the model to make predictions. External / remote devices may transmit this data to the ML adapter 160 using standardized REST protocol operations.
[0138] In another example, the PCE server 162 is a dedicated client service operating a PCE server, which is typically configured to manage network topology and tunnel attributes for all PCE clients, which facilitates network management. According to the current network configuration, the PCE server 162 can utilize the Path Computation Element Protocol (PCEP) for communication between the PCC and the PCE or between two PCEs. The PCE server 162 can provide services where other client modules / applications running on external nodes can use the computed resources for path computation.
[0139] As another example, the PRPD CLI 164 is a client according to the general programmable routing protocol (PRPD). Generally, the PRPD CLI 164 is a daemon configured with a public API to program routing and other network devices in the topology, implement changes in the topology, and grant users direct access to the API to customize the topology, which may affect network behavior. If the PRPD CLI 64 is enabled, the SDN controller 40 can use the PRPD client 64 at the local ASBR to push network topology information and / or device profile information to the network device. PRPD specifies at least one format for arranging network topology information. PRPD can specify a mapping format for each tuple in a data set, and in one example, the publisher module 78 generates a tuple for the data set, wherein each tuple includes a mapping between an ingress device and an egress device. An administrator can enter data via a command line interface (CLI) to change the network topology, or specify a data format for describing the network topology. These changes are propagated to the SDN controller 40, published by the publisher module 78, and then, ultimately, distributed to other subscriber client modules / applications.
[0140] In a fourth example, the BMP monitor 166 is a BGP monitoring protocol (BMP) that can be used to monitor BGP peering sessions. BMP is intended to provide a convenient interface for obtaining route views and other network status information. The operability of the BMP monitor 166 may depend on the latest network status information, otherwise, the route view may be invalid.
[0141] In a fifth example, the device connection service 168 is a hardware / software component for a transport mechanism that connects the SDN controller 40 to an external network device. In particular, the device connection service 168 can create a TCP socket with the address of the external network device. In one example, the publisher module 78 can configure the external network device to operate the notification service described herein and store a remote copy of the network state information 66. In order to exchange network state information with the network device, the publisher module 78 can use a transport mechanism configured with the above-mentioned TCP socket.
[0142] The publisher module 78 or another module / application in the SDN controller 40 may call a network protocol function, and in one example, the processor(s) 140 and / or the ingest device(s) 150 may perform a NETCONF operation configured to install, modify / manipulate and / or delete a configuration of a network device. A network configuration generally refers to the architecture of a given network, including data identifying different network resources that the controller 40 supplies in the network and also identifying virtual network resources that the controller 40 supplies for a specific subset of network devices. For multiple network devices, an example network configuration specifies parameters of a base network layer and / or parameters of an overlay network for a subset of network devices, such as an autonomous system (Autonomous System) set up as a VPN. Some network resources are provisioned to meet requirements or needs. Installing a network configuration may include deploying (opening, provisioning) paths between network devices, including tunnels between subnetworks (e.g., virtual networks).
[0143] If the mobile service provider network includes an SDN controller 40, the corresponding network configuration generally refers to the cellular network architecture of the network, including data that defines cellular radio access network resources and also defines mobile services to provide subscriber devices. The example network configuration specifies parameters for defining a set of cells of the radio access network, and parameters for one or more cells, each cell including at least one base station capable of sending and relaying signals to a subscriber's wireless device (e.g., subscriber device 18B). The example configuration parameters for a "cell" generally define different areas of the mobile service provider network that utilize specific frequencies or frequency ranges for the transmission of data. The cellular network architecture of the network is likely to conform to a published network standard or other well-known architecture; for example, as mentioned above, the NETCONF protocol is defined by the IETF, and the NETCONF operations are implemented using XML encoding on top of the remote procedure call (RPC) layer, and a basic set of operations are provided to edit and query configurations on network devices.
[0144] The timeliness with which network topology information and / or device profile information can be distributed to subscriber microservices depends on one or more factors, and improving this timeliness can significantly improve the performance of the controller 40. The examples of the publisher module 78 described herein ensure that the global network state information provided to the core module is up to date, for example, by being configured to increase the rate at which updates to the global state information are received and then subsequently incorporated into the data source as new global state information and / or various techniques that reduce the delay between receipt and incorporation. Some techniques employ batch processing for updates to the global state information, such that multiple updates are processed (together) in one iteration (e.g., actively), rather than one at a time (e.g., passively) as they arrive. Active batch processing allows for a variety of enhancements, such as enabling the controller 40 to process only a subset of updates, ignoring one or more other updates for a variety of reasons.
[0145] The control unit 100 provides an operating environment for the network service application 104, the path calculation element 112, and the edge authorization deployment module. In one example, these modules can be implemented as one or more processes executed on one or more virtual machines of one or more servers. That is, although generally illustrated and described as being executed on a single controller 40, various aspects of these modules can be delegated to other computing devices.
[0146] The network service applications 104 represent one or more processes that provide services to clients of a service provider network to manage connectivity in an aggregation domain (optionally referred to as a "path computation domain") according to the techniques of the present disclosure, the service provider network including the controller 40. The network service applications 104 may, for example, provide services including voice over Internet protocol (VoIP), video on demand (VOD), bulk transfer, walled garden / open garden, IP mobile subsystem (IMS) and other mobile services, and Internet services to clients of the service provider network. The network service applications 104 require services provided by the path computation element 112, such as node management, session management, and policy enforcement. Each of the network service applications 104 may include a client interface 102 through which one or more client applications request services. For example, the client interface 102 may represent a command line interface (CLI) or a graphical user interface (GUI). The client 102 may also or alternatively provide an application programming interface (API) such as a network service to the client application.
[0147] The network service application 104 schedules tasks through the client application and the SDN module or application using the task scheduler 110. The network service application 104 issues a path request to the path computation element 112 to request a path in the path computation domain controlled by the controller 40. For example, the path request includes the required bandwidth or other constraints and two endpoints representing an access node and an edge node, which communicate through the path computation domain managed by the controller 40. The path request may also specify the time / date when the path must be operational and CoS parameters (e.g., the bandwidth required per class for certain paths).
[0148] Path computation element 112 accepts path requests from network service applications 104 to establish paths between endpoints on the path computation domain. Paths may be requested at different times and dates and with different bandwidth requirements. Path computation element 112 coordinates path requests from network service applications 104 to multiplex the requested paths onto the path computation domain based on the requested path parameters and the expected network resource availability.
[0149] In order to intelligently calculate and establish paths through the path computation domain, the path computation element 112 includes a topology module 116 to receive information describing the available resources of the path computation domain, including access, aggregation and edge nodes, their interfaces, and interconnecting communication links. In some examples, the topology module 116 is a client of the notification service and receives event notifications under subscription to specific data sets of network topology information. When those data sets change in some way, the notification service can distribute event notifications for each change, and in some examples, the distribution can be through direct communication with the topology module 116 or through indirect communication with the topology module 116 through the publisher module 78. In other examples, the topology module 116 accesses the above information in the network state information 66.
[0150] The path computation module 114 of the path computation element 112 computes the requested path through the path computation domain. Generally, the path is unidirectional. When computing the path, the path computation module 114 schedules the path to be deployed by the path deployment module 118. The computed path includes path information that the path deployment module 118 can use to establish the path in the network. Deploying the path may require path verification before the path is commissioned to provide packet transmission. The path computation module 114 may correspond to the path computation engine 64 ( Figure 2 ), and the path deployment module 118 can correspond to the path deployment module 68.
[0151] Figure 4 It's a picture. Figure 34. A block diagram of an example implementation of a path computation element 112 of a controller 40 of FIG. 4. In this example, the path computation element 112 includes northbound and southbound interfaces in the form of a northbound application programming interface (API) 230 and a southbound API (232). The northbound API 230 includes methods and / or accessible data structures through which the network service application 104 can configure and request path computation and query established paths within the path computation domain. The southbound API 232 includes methods and / or accessible data structures through which the path computation element 112 receives topology information of the path computation domain and establishes paths by accessing and programming the data planes of aggregation nodes and / or access nodes within the path computation domain.
[0152] The path calculation module 114 includes data structures to store path information for calculating and establishing the requested path. These data structures include constraints 234, path requirements 236, configurations 238 of operations, and path exports 240. The network service application 104 can call the northbound API 230 to install / query data from these data structures. Constraints 234 represent data structures that describe external constraints when calculating paths. Constraints 234 allow the network service application 104 to modify link attributes, for example, before the path calculation module 114 calculates a set of paths. For example, a radio frequency (RF) module (not shown) can edit a link to indicate that resources are shared between groups and that resources must be allocated accordingly.
[0153] The network service application 104 can modify the attributes of the link to achieve the final traffic engineering calculation. In this example, the link attributes can take precedence over the attributes received from the topology indication module 250 and remain valid for the duration of the node / attendant port in the topology. The link edit message for the constraint 234 can include a link descriptor specifying a node identifier and a port index, and link attributes specifying bandwidth, expected transmission time, shared link group, and fate shared group. The link edit message can be sent by the PCE 214.
[0154] Operational configuration 238 represents a data structure that provides configuration information to path computation element 214 to configure the path computation algorithm with respect to, for example, class of service (CoS) descriptors and detour behavior. Operational configuration 238 can receive operational configuration information based on CCP. For example, the operational configuration message specifies CoS value, queue depth, queue depth priority, scheduling rules, over-deployment factor, detour type, path failure mode, and detour path failure mode. A single CoS profile can be used for the entire path computation domain. Example CoS values are described in U.S. application Ser. No. 13 / 842,453, entitled “Aggregation Network with Centralized Control,” filed on March 15, 2013, the entire contents of which are incorporated herein by reference. The class of service assigned to the CoS can be independent of the node as an attribute of the path computation domain.
[0155] Path egress 240 represents an interface that stores path descriptors for all paths currently commissioned or established in the path computation domain. Path egress 240 returns one or more path descriptors in response to queries received via northbound API 230. The received query may request a path between any two edges and access nodes that terminate the path(s). In some examples, the path descriptor may be used by the network service application 104 to establish a forwarding configuration at the edge and access node that terminate the path(s). The path descriptor may include an explicit routing object (ERO). Path descriptors or "path information" may be sent in response to queries from interested parties. Path egress messages convey path information that includes the path type (primary or detour) and the bandwidth for each CoS value. In response to receiving the path descriptor, the receiving device may signal the MPLS LSP from the ingress to the egress of the path using RSVP-TE.
[0156] Path requirements 236 represent an interface that receives path requests for paths to be calculated by path computation module 236 and provides these path requests (including path requirements) to path engine 244 for calculation. Path requirements 236 may be received or processed by a PCE. In such instances, a path requirement message may include a path descriptor having an ingress node identifier and an egress node identifier for a node terminating the specified path, and request parameters including a CoS value and bandwidth. The path requirement message may be added to or deleted from an existing path requirement for the specified path.
[0157] Topology module 116 includes topology indication module 250 to handle topology discovery and, when needed, to maintain control channels between path computation element 112 and nodes of the path computation domain. Topology indication module 250 may include an interface to describe the received topology to path computation module 114. Topology module 116 may use network state information 66 to determine the current / most recent network topology.
[0158] The topology indication module 250 can use the topology discovery protocol to describe the path computation domain topology to the path computation module 114. In one example, using the cloud control protocol mechanism for topology discovery, the topology indication module 250 can receive a node neighbor list and a link attribute list, each neighbor includes a node identifier, a local port index, and a remote port index, and each attribute specifies, for example, a port index, a bandwidth, an expected transmission time, a shared link group, and a fate sharing group. With the benefit of the present disclosure, the above example can be offloaded to Figure 2 Publisher module 78 or notification service.
[0159] The topology indication module 250 may communicate with a topology server, such as a routing protocol route reflector, to receive topology information for a network layer of a network. The topology indication module 250 may include a routing protocol process that executes a routing protocol to receive routing protocol advertisements, such as Open Shortest Path First (OSPF) or Intermediate System to Intermediate System (IS-IS) Link State Advertisements (LSAs) or Border Gateway Protocol (BGP) UPDATE messages. In some instances, the topology indication module 250 may be a passive listener that neither forwards nor initiates routing protocol advertisements. In some instances, the topology indication module 250 may alternatively or additionally execute a topology discovery mechanism, such as an interface for an Application Layer Traffic Optimization (ALTO) service. The topology indication module 250 may therefore receive a summary of topology information collected by a topology server, such as an ALTO server, rather than executing a routing protocol to directly receive routing protocol advertisements.
[0160] In some examples, the topology indication module 250 receives topology information including traffic engineering (TE) information. The topology indication module 250 may, for example, implement Intermediate System to Intermediate System (IS-IS-TE) with TE extensions or Open Shortest Path First (OSPF-TE) with TE extensions to receive TE information for advertised links. This TE information includes one or more of link states, management attributes, and metrics, such as bandwidth available at various LSP priorities for links connecting routers of the path computation domain. In some instances, the topology indication module 250 implements BGP-TE to receive TE information for advertisements of inter-autonomous system and other extra-network links.
[0161] Traffic engineering database (TED) 242 stores topology information received by topology indication module 250 about a network that constitutes a path computation domain for controller 40 in a computer-readable storage medium (not shown). TED 242 may include one or more link state databases (LSDBs) in which link and node data is received in routing protocol advertisements, received from a topology server, and / or discovered by a link layer entity (such as an overlay controller) and then, subsequently, provided to topology indication module 250. In some instances, an operator may configure traffic engineering or other topology information within MT TED 242 via a client interface.
[0162] Path engine 244 accepts a current topology snapshot of the path computation domain in the form of TED 242 and uses TED 242 to compute CoS-aware traffic engineering paths between nodes, as dictated by configured node-specific policies (constraints 234) and / or by dynamically networking paths with external modules via an API. Path engine 244 can also compute detours on a per-CoS basis about all primary paths, based on configured failover and capacity requirements (specified in operational configuration 238 and path requirements 236, respectively).
[0163] In general, to compute the requested path, the path engine 244 determines, based on the TED 242 and all specified constraints, whether there is a path in the layer that satisfies the TED specification of the requested path for the duration of the requested time. The path engine 244 may use a Dijkstra Constrained SPF (CSPF) 246 path computation algorithm for identifying a satisfactory path through the path computation domain. If there are no TE constraints, the path engine 244 may revert to SPF. If a satisfactory computed path exists for the requested path, the path engine 244 provides a path descriptor about the computed path to the path manager 248 to establish the path using the path deployment module 118. The path computed by the path engine 244 may be referred to as a "computed" path until the path deployment 218 programs the scheduled path into the network, whereupon the scheduled path becomes an "active" or "commissioned" path. A scheduled or active path is a temporary dedicated bandwidth channel during the scheduled time during which the path is or will become operational to transport flows.
[0164] The path manager 248 establishes the calculated scheduled paths using the path deployment module 118, which in this example includes a forwarding information base (FIB) configuration module 252 (illustrated as "FIB CONFIG. 252"), a policyer configuration module 254 (illustrated as "POLICER CONFIG. 254"), and a CoS scheduler configuration module 256 (illustrated as "COS SCHEDULER CONFIG. 256").
[0165] The FIB configuration module 252 programs the forwarding information into the data plane of the aggregation node or access node of the path calculation domain. The FIB of the aggregation node or access node includes an MPLS switching table, a detour path for each main LSP, a CoS scheduler for each interface, and a policy device at the LSP entrance. The FIB configuration module 252 can implement, for example, a software defined network (SDN) protocol, such as an OpenFlow protocol or an I2RS protocol, to provide and guide nodes to install forwarding information to their respective data planes. Accordingly, "FIB" can refer to, for example, a forwarding table in the form of one or more OpenFlow flow tables, each of which includes one or more flow table entries that specify processing matching packets. The FIB configuration module 252 can additionally or optionally implement other interface types, such as a simple network management protocol (SNMP) interface, a path calculation element protocol (PCEP) interface, a device management interface (DMI), a CLI, an interface to a routing system (I2RS), or any other node configuration interface. The FIB configuration module interface 62 establishes a communication session with an aggregation node or access node to install forwarding information to receive path establishment event information such as confirmation that the received forwarding information has been successfully installed or that the received forwarding information could not be installed (indicating a FIB configuration failure).
[0166] Based on the information received from the path computation module 114, the FIB configuration module 252 may add, change (i.e., implicitly add), or delete forwarding table entries. The FIB configuration message from the path computation module 114 to the FIB configuration module 252 may specify an event type (addition or deletion); a node identifier; a path identifier; one or more forwarding table entries, each entry including an ingress port index, an ingress label, an egress port index, and an egress label; and a detour path specifying a path identifier and a CoS mode.
[0167] The policy configuration module 254 can be called by the path calculation module 114 to request that the policy is installed on a specific aggregation node or access node for a specific LSP entrance. As described above, the FIB for the aggregation node or access node includes a policy at the LSP entrance. The policy configuration module 254 can receive a policy configuration request. The policy configuration request message can specify an event type (add, change, or delete); a node identifier; an LSP identifier; and, for each service class, a policy information list including CoS values, maximum bandwidth, bursts, and discards / remarks. The FIB configuration module 252 configures the policy according to the policy configuration request.
[0168] The CoS scheduler configuration module 256 may be called by the path computation module 114 to request configuration of the CoS scheduler on an aggregation node or access node. The CoS scheduler configuration module 256 may receive CoS scheduler configuration information. The scheduling configuration request message may specify an event type (change); a node identifier; a port identification value (port index); and configuration information specifying bandwidth, queue depth, and scheduling procedures.
[0169] Figure 5 is a conceptual diagram illustrating an example system in accordance with various aspects of the techniques described in this disclosure. Figure 5 The system 300 and various system components represent an example system and provide a publisher-subscriber pattern for network state updates, where a publisher microservice maintains the latest network state information about subscriber microservices.
[0170] Figure 5 The example system follows a process flow for the publisher-subscriber pattern described above, and in general, the process flow includes an example subscriber microservice that expects the latest information from some data set of network state information, and in order to facilitate the example subscriber microservice, the publisher microservice uses one or more attributes of the expected data set to establish a subscription, so that updates or changes (e.g., events) to the expected data set cause (e.g., trigger) event notifications to be transmitted to the example subscriber microservice. The event notification can identify new information and / or modified / deleted information in the expected data set caused by the update or change, and based on the event notification, the example subscriber microservice can retrieve the new information from the local data store (e.g., Figure 2 66). Other examples of event notifications can store new information and / or identify any modified / deleted information. In some examples, the publisher microservice can transmit the event notification as a sequence of messages (e.g., in an input feed of continuous events), and the example subscriber microservice can process the event notification in real time or otherwise (e.g., in batches).
[0171] The subscription mentioned above can define the desired data set (e.g., with properties) and include other parameters that control the distribution of event notifications. Example parameters for the publisher-subscriber pattern include user credentials for accessing plaintext information in the desired data set, encryption information for protecting the desired data set with a protection mechanism / overcoming the protection mechanism for protecting the data set, a configurable expiration time period for the subscription, and any other parameters that also define the desired data set. The subscription can also specify an operating mode (e.g., active / passive event notification). Another parameter can be a copy of the configurable time period used by the example subscriber microservice for batch processing.
[0172] Figure 5 A system 300 is depicted as an example implementation of the above-described publisher-subscriber pattern, and the above-described flow between (multiple) publisher microservices and (multiple) subscriber microservices is also described. Figure 5 As illustrated, notification service 330 represents an example publisher microservice, and client consumers 340A-340C represent example subscriber microservices. A network controller (e.g., a publisher module such as Figure 2 The publisher module 78 of the SDN controller 40 of the example publisher microservice, namely the notification service 330, is appropriately configured to distribute event notifications according to the subscriptions established for each example subscriber microservice (ie, the client consumer 340).
[0173] The present disclosure describes multiple example implementations of the notification service 330, and according to one example, a network controller (e.g., the publisher module of the network controller mentioned above) configures the notification service 330 as a REDIS service. Generally, REDIS refers to a technology that includes in-memory data structure storage, used as a distributed in-memory key-value database, cache access memory, and message broker. By implementing a REDIS database, the notification service 330 can define subscriptions for distributing updates to a portion of the global network state information as described herein among multiple subscriber microservices. The notification service 330 can define a hash map (hash map, hashmap) with attributes (e.g., node identifier-device object identifier pairs) for identifying a data set of subscribed portions of the global network state information.
[0174] In some examples, the publisher module mentioned above may include a REDIS client database module configured to run a REDIS notification microservice on the same host as the network controller or on a different host. In these examples, the REDIS notification microservice can program other services / event listeners (e.g., device services and topology services) to feed them any updates of global network state information with the above-mentioned properties (e.g., node identifier-device object identifier pairs). For each of the one or more subscriber microservices configured to process these updates, the REDIS notification microservice (e.g., as instantiated by the publisher module mentioned above) can instantiate a corresponding first thread to wait for a configurable time period, while the corresponding second thread receives one or more event notifications from the REDIS notification microservice, and when the configurable time period has passed, the first thread reads at least one update of a portion of the global network state information in the one or more received event notifications. In some examples, each subscriber microservice is configured with a respective thread pair, so that the first subscriber microservice is configured with a first and a second thread, and the second subscriber microservice is configured with a third and a fourth thread. In addition, the first subscriber microservice and the second subscriber microservice can be configured with first and second configurable time periods, the first and second configurable time periods being set to different or the same amount of time for each time period setting. In some examples, the first subscriber microservice and the second subscriber microservice can be configured with respective sleep time periods based on one or more parameters (e.g., statistics), such as the rate at which update / event notifications are distributed (or fed) to a particular subscriber microservice for processing. Some parameters specify differences between two or more microservices (e.g., differences in data transfer rates).
[0175] The technology of the present disclosure is applicable to most (if not all) network types, including both public and private. Examples of other network types include local area networks (LANs), virtual local area networks (VLANs), virtual private networks (VPNs), and similar networks. In some examples, network 305 can be connected to one or more additional private or public networks, such as the Internet. In other examples, network 305 can include the Internet or another public network. In some cases, network 305 can include a multi-protocol label switching (MPLS) network. Network 305 consists of multiple client sites, each of which includes a local area network (LAN) or a wide area network (WAN), which includes multiple subscriber devices, such as desktop computers, laptop computers, workstations, PDAs, wireless devices, network-ready appliances, file servers, print servers, or other devices. In some cases, client sites can be configured to support multicast services, such as Internet Protocol Television (IPTV), desktop conferencing, corporate broadcasts, music and video webcasts, and other forms of multimedia content. One or more of the client sites include a radio access network (RAN) where the mobile device has a topology based on known cellular network architecture; in some examples, the RAN is connected to a packet-defined network, such as a mobile core network or a cloud-based data center.
[0176] The network 305 of the system 300 refers to a computer network, examples of which include edge routers (e.g., provider edge (PE) routers) to provide network services and manage traffic between source devices and recipient devices. At least some of the source devices and recipient devices are associated with client sites (e.g., housed within or connected to client sites). Each of the PE routers is connected to one or more client sites via a customer edge (CE) router. In some examples, the network 305 is referred to as a "core" network, and an interface of a PE router connected to another PE router may be referred to as a "core-oriented" interface. In these examples, the network 305 may represent a packet-defined network, such as a mobile core network of a mobile service provider network.
[0177] Each router in the network 305 receives / sends packets as a destination / source, or operates as an intermediary for exchanging packets between network devices. The reception / transmission of each packet includes the router directing the packet to the appropriate destination along the path. In order to enable this packet reception / transmission, the PE router configures its routing and forwarding components with information about the computer network, such as information describing other routers and the paths between the PE router and the other routers. Examples of this information include tables storing mappings between identifiers (e.g., names) and addresses (e.g., media access control (MAC) addresses) of other routers and paths. The PE router processes this information to determine, for example, which routers are neighbors / peers (e.g., BGP peers) and which paths (e.g., label switching paths (LSPs)) include the PE router, and therefore require computing time / resources from the PE router. The PE router runs communication sessions for multiple protocols to generate and then subsequently propagate this information. As described herein, some example protocols include the Border Gateway Protocol (BGP) and the Resource Reservation Protocol (RSVP).
[0178] As devices (e.g., network devices such as switches and routers and subscriber devices such as wireless user devices) move between network layers (e.g., subnetworks such as virtual networks, cells, and / or the like) of network 305, topology service 310 receives a significant number of individual updates (e.g., real-time network topology updates and recent device configuration file updates) via BGP-LS and / or NTAD / BMP protocols. Figure 2 and Figure 3 As described, the SDN controller can run the topology module as a component of the topology service 310, and another component (i.e., the topology server) runs on an external device to collect data sets of topology information from a variety of sources. The topology service 310 configures the topology server to identify and record updates to any collected data sets, and then forwards these updates to the publisher microservice. In one example, the topology server transmits these updates (e.g., including updated topology information) to a device running the notification service 330.
[0179] In one example, the topology service 310 receives traffic engineering (TE) information as example topology information. The topology service 310 may, for example, execute Intermediate System to Intermediate System (IS-IS-TE) with TE extensions or Open Shortest Path First (OSPF-TE) with TE extensions to receive TE information for advertised links. This TE information includes one or more of link states, management attributes, and metrics, such as bandwidth available at various LSP priorities for links connecting routers of the domain. In some instances, the topology service 310 executes the Border Gateway Protocol (BGP) to receive TE information for advertisements of inter-AS (inter-autonomous system) and other extra-network links.
[0180] In some instances, the notification service 330 can receive a summary of the topology information collected by the topology service 310, rather than executing a routing protocol to directly receive routing protocol broadcasts. The notification service 330 stores basic network topology information with TE information in one or more databases 335, which are ultimately copied to storage space in a computer-readable storage medium of the control unit 100 for path calculation.
[0181] The topology service 310 can receive topology information for the underlying network layer initiated or forwarded by a routing protocol speaker of the multi-topology network 305 in a peer-to-peer session. The received topology information describes the topology of routers in the underlying network layer and the reachability of any router to a network address prefix. The peer-to-peer session can include a transmission control protocol (TCP) session between the topology service 310 and the router. In some instances, the topology service 310 can establish a single peer-to-peer session with a route reflector (not shown) that "reflects" the topology information received by the route reflector from the router to the topology service 310.
[0182] The peering session may also or alternatively include an Interior Gateway Protocol (IGP) session between the topology service 310 and the router. The peering session may represent, for example, an OSPF or IS-IS neighbor relationship (or "adjacency"), or may simply represent the movement of current routing information from the router to the topology service 310. In some instances, the peering session includes traffic engineering extensions (e.g., OSPF-TE or IS-IS-TE), and the router provides traffic engineering information to the topology service 310.
[0183] Similar to the topology server of the topology service 310, and in the same network, the overlay controller can be configured to distribute messages describing overlay network links connecting overlay switches. Generally, overlay network links are not advertised by network switches (e.g., routers) of the underlying network of the overlay network, and therefore, may not be described by the topology information received by the topology service 310. The overlay network topology information can augment the underlying network topology information with overlay network topology links by providing the overlay network topology information to the notification service 330, which stores the overlay network topology information in (multiple) global network state information databases 335. The notification service 330 can receive topology information for multiple different overlay networks, including VPNs and / or OpenFlow networks. For different overlay networks, the device service 315 can implement different instances of the overlay controller interface, which communicate with the network switches of the overlay network or with the topology service 310, for example, to receive the overlay network topology information of the respective overlay networks.
[0184] Device service 315 is a computing service deployed by a network controller to a network device (e.g., a server or container) that is configured to receive user-triggered device profile updates from client sites 325 via REST, and similarly, make these updates available for client subscriptions and then, subsequently, for consumption by subscriber microservices. Device service 315 can augment the above topology information with status information of specific devices of network 305. Users of individual devices or network administrators can configure device service 315 to receive various device status information to populate device profiles for each device in network 305. Examples of device status information include user name, login credentials, SNMP version, NETFLOW disabled / enabled, and other parameters corresponding to application deployment, PFM, fault management, performance management, configuration management, and / or the like. Device service 315 can store the network topology and device profiles of each device in a centralized database in database(s) 335.
[0185] The device service 315 and / or the topology service 310 submit input data (in some form) to the device profile adapter 320; and in turn, the device profile adapter 320 uses the notification service 330 to publish the input data (or part thereof), for example, by distributing event notifications for each update of the network state information. As an example, the device profile adapter 20 can receive separate data feeds from the device service 315 and the topology service 310, each input data feed transmitting a sequence of events indicating (e.g., continuous) changes to a network state information data set. Generally, the input data describes each (most recent) update of a specific data set, which corresponds to some aspect of the network topology and / or device profile. This update can refer to new information or deleted / modified information in any one of the data sets. Whenever there is a new addition, deletion or other modification to the network 305, or if a device user is not synchronized and initiates a restart / reset (which may change the network topology), the device service 315 can update the above-mentioned centralized database (e.g., hash map) and distribute appropriate event notifications to subscribers. The present disclosure includes techniques for handling a significant number of these notifications, which may prevent the network controller from being overwhelmed (eg, due to delays and / or errors).
[0186] In some examples, the notification service 330 has multiple modes of operation, and one example mode directs the notification service 330 to run a publisher microservice that is configured to process (e.g., in real time) a (continuous) stream of updates to a data set of network state information. Another mode of operation directs the notification service 330 to perform a batch processing technique for updates to the (global) network state information; to illustrate an example technique for this mode of operation, the notification service 330 can configure a time interval / time window to control when event notifications are processed for updates. In one example, the notification service 330 receives one or more updates and prohibits reading any new information or forwarding each update to a subscriber microservice except for a time period defined by the above time interval / time window. By doing so, the notification service 330 reduces delays associated with propagating these updates, for example, delays caused by errors (such as delays caused by processing invalid or outdated updates to deleted or corrupted data sets).
[0187] The device service 315 and the topology service 310 may employ gPRC and AMZQ (or similar protocols), respectively, to deliver updates to the notification service 330 via the device profile adapter 320. By enabling the publication of these updates, the consumers 340A-340C may regulate the propagation of these updates to avoid flooding while preventing data from becoming stale. As an example, the notification service 330 may distribute a copy of the database 335 while updating the copy with change notifications received via the device profile adapter 320. An example client consumer 340 may be a dependency microservice that retrieves network topology updates and device profile updates from the notification service 330 using a publish / subscribe pattern as a single source of truth.
[0188] Although notification service 330 may be configured to handle more or fewer subscribers / clients than consumer 340, such as Figure 5 As illustrated, however, each of consumers 340A-340C represents an example network microservice (e.g., in a network controller) for which notification service 330 has configured a subscription to be notified upon (e.g., in response to) updates / changes in any dataset that stores information corresponding to an aspect of network topology and / or device state. Consumers 340A, 340B, and 340C are configured to be notified upon (e.g., in response to) updates / changes in any dataset. Figure 5 They are depicted as path computation service (PCS), ML adapter (ML_Adapter) and task scheduler (Task_Scheduler) respectively.
[0189] Notification service 330 provides information from database(s) 335 to consumer 340, including new information describing available resources at a single layer or multiple layers of the network to be received; consumer 340 then uses this information to calculate and schedule a path through the network. In the example where network 305 includes a mobile core network layer and / or a radio access network layer, notification service 330 provides new topology information describing the (mobile or radio) resources of one or more of these layers.
[0190] In some examples, the first thread and / or the second thread may create a consumer channel with the notification service 330 as an interface to receive network topology information. The notification service 330 may include a routing protocol daemon that executes a routing protocol to receive / forward routing protocol advertisements, such as Open Shortest Path First (OSPF) or Intermediate System to Intermediate System (IS-IS) Link State Advertisements (LSAs) or BGP update messages. In other examples, the topology service 310 and / or the device profile adapter 320 execute a routing protocol, and the notification service 330 may operate as a passive listener that neither forwards nor initiates routing protocol advertisements. The notification service 330 may update the database(s) 335 with updates to the network topology information and / or network device profile information, and then, in turn, send these updates to the consumer 340.
[0191] Notification service 330 maintains a network topology database 335 as a centralized database from which update notifications are distributed to subscribers, including consumers 340. Notification service 330 modifies network topology database 335 when the network topology changes or when a device profile is resynchronized (e.g., triggered by a device user such as user 320). As an example, notification service 330 deletes and rebuilds device profiles, resulting in nearly continuous change notifications being distributed to a large number of consumer clients. In the case of a large network 305 (e.g., a network with more than 10K clients), each subscriber device in network 305 is required to process 10k notifications, which can lead to performance issues and data inconsistencies. These devices can implement mechanisms for processing update notifications at any rate, such as Figure 6 The example process is shown in Figure .
[0192] Both topology service 310 and device service 315 can be microservices for the controller and are configured to publish updates of network topology and / or device profile data. In a publish / subscribe model, one or more (publisher) microservices can publish updates to a centralized database (e.g., database), and indexes each update according to a hash-set keyspace "ns:1:node:id:int:profile:obj", which has key-value pairs defined according to the node identifier-device-object identifier pair format. Figure 5A network topology database 335 is illustrated as an example of a centralized database. Consumers 340 may be classified as dependent microservices and automatically subscribe to keyspace event notifications about "__keyspace@0__:ns:1:node:id:int:profile:obj". As described herein, each consumer 340 may implement a technique of listening to (continuous) add / remove / update events and increasing a global variable event count for each received event notification. Consumers 340 may not process any events until a sufficient number of events have arrived and / or a sleep period has passed. In this way, consumers 340 suppress event notifications, and by doing so, flooding is prevented in the event that consumers 340 are overwhelmed by topology updates. For the sleep period, a timer thread with a configurable time window (e.g., two seconds) associated with consumer 340 may be executed to check the event count variable at intervals determined by the time window, and if the event count variable exceeds 0, consumer 340 may read updated device data from the centralized Redis database, and then, reset the event count variable to zero.
[0193] Figure 6 is a process diagram illustrating an example process according to various aspects of the techniques described in the present disclosure. A network controller as described herein may include multiple hardware and / or software components that, when executed by processing circuitry and an operating system, run microservices and services (e.g., application services) that use network state updates to support network functions (e.g., network services). As described herein, another microservice, a publisher microservice, configures a notification service to run in the controller's network and publishes these updates as events (e.g., keyspace events), where each event is a reference to a data set of (global) network state information (400).
[0194] like Figures 1 to 5 The illustrations and this article address Figures 1 to 5 As described, there are multiple sources of network topology information and device profile information, and the publisher module 78 maintains the network state information 66 as a local store of at least some of the global network state information available to the network controller. The publisher module 78 runs a publisher microservice to ensure that any subscriber client can use the state information to its advantage. Figure 1 In the service provider network 20 of FIG. 1 , any consumer of state information can establish a subscription to a data set of state information and become a client of the notification service. When these microservices subscribe to the notification service via the network controller to receive these updates, these microservices may be referred to herein as consumers, clients, subscribers, subscriber clients, or any combination thereof.
[0195] A module, application, or other component of a controller, such as the SDN controller 40, may initiate the example process by invoking a publisher module, such as the publisher module 78. The publisher module 78 may configure the notification service to run anywhere in the network. The publisher module 78 sends updates to the global network state information maintained in the network state information 66 (410). There are a variety of mechanisms that the publisher module 78 may employ for identifying these updates, and a number of examples are described herein.
[0196] Figures 1 to 5 Some source controllers (such as Figure 2 The publisher module 78 receives these updates to the global network state information in some form and configures the notification service to maintain the latest global network state information while monitoring the distribution of event notifications, for example, if any subscriber client expects new network topology information and / or new device profile information. As described, for example, in Figure 5 In , a subscription includes the property values corresponding to the subscribed data sets, and any matching data sets will be delivered to the subscriber client in the event notification itself or in another message.
[0197] If required by the network and service provider, the publisher module 78 can feed (e.g., as a stream) input data to the modules / applications running in the SDN controller 40. The publisher module 78 can generate a first thread and a second thread to operate as an interface to the notification service for requesting and receiving notifications of certain events corresponding to specific updates to the above-mentioned global network state information.
[0198] The publisher module 78 configures the notification service as a computing service for any other module / application running a microservice / service on the service provider network. The notification service may be running on the SDN controller 40 itself, on a dedicated network device in the network that is different from the SDN controller 40, and / or on a remote device in a different network. In some examples, the publisher module 78 and another module / application in the SDN controller 40 perform batch processing of event notifications by performing the following operations to reduce latency in propagating global network status information.
[0199] The publisher module 78 may establish a sleep timer for the first thread. The publisher module 78 may establish a configurable time period for the sleep timer so that the first thread waits (i.e., sleeps) during the configurable time period while the second thread receives event notifications. When the time period elapses, the first thread reads new network topology information and / or new device profile information from a notification service or a local data store (such as the network state information 66) (430). The publisher module 78 may provide access to the new network topology information and / or new device profile information to an example subscriber client (e.g., a microservice) for computing a network configuration and / or forwarding updates (e.g., in an input data feed). As described herein, the publisher module 78 may maintain one or more databases for storing network state information (e.g., at multiple locations including the network state information 66), and then subsequently, update the global network state information in these databases with the new network topology information and / or new device profile information to indicate a network configuration with a new network topology and / or new device state (e.g., a profile). The example subscriber may use one or more databases to calculate a network configuration based on the new network topology and / or new device profiles. The example subscriber or another module in the controller may program the network device with the network configuration (440).
[0200] In some examples, an SDN controller such as controller 40 is provided with a subscription to a notification service for distributing event notifications indicating updates to global network state information. In controller 40, at least one service interface (e.g., an event listener) may be configured to receive one or more event notifications from the notification service. The global network state information in these examples may be remotely maintained in one or more databases, and the notification service may be operable to distribute the latest updates to the global network state information from these databases. The controller 35 may use event notifications to ensure that the data source is immediately updated with new network topology information and / or new device profile information, and also ensure that the (new) network configuration is calculated to accurately reflect each new device profile and / or new network topology. The controller 35 may generate one or more network device protocol interfaces, each of which may be configured to exchange portions of the global network state information with one or more network devices. In these examples, the controller 40 may use one or more network device protocol interfaces to implement a new network configuration, incorporating the most recently updated portion of the global network state information when calculating the new network configuration. The controller 35 may use the network device protocol interface to program the plurality of network devices with new device profiles and new network topologies based on updates to the device profile information and / or updates to the new network topology information.
[0201] In the SDN controller 40, one or more core modules can utilize the latest global network state information to enable (and possibly enhance) functionality provided by applications running in the controller 40 or in another network device. As mentioned above, the core applications use southbound protocols to enable the PCE server 162, the OpenFlow controller, and other functionality for the controller 40, while other applications use northbound interfaces to enable users / user applications to talk to the controller 40. These and possibly other applications rely on the core modules to access the external data stores described above; for example, the example core module can retrieve data sets of network topology information from the external data store, and then subsequently use these data sets to perform a successful implementation of a network configuration that reflects the most recent changes in the global network state (e.g., network topology and / or device profiles). In some examples, this implementation may include: first, computing a network configuration including a device profile and a network topology based on the latest global network state information (e.g., the latest network topology information and / or device profile information), and then programming the network device with the device profile and network topology of the network configuration. By operating as a single source of truth, the data source of the publisher module can enhance the implementation of each network configuration iteration as the global network state changes over time.
[0202] The SDN controller 40 may generate one or more operating system (e.g., kernel space) processes for incorporating the updated portion of the global network state information into a new network configuration including a new device profile and a new network topology. In some examples, the SDN controller 40 may instantiate a first thread and a second thread to each execute (in parallel) processes that collaborate to implement batch processing of event notifications including updates to device profile information and / or updates to new network topology information.
[0203] In one example, the publisher module 78 may instantiate and then subsequently execute on the processing circuit a first thread 106A and a second thread 106B, the first thread 106A being operable to sleep for a configurable period of time and the second thread 106B being operable to store one or more incoming event notifications from a notification service while the first thread is sleeping. While the first thread 106A continues to wait, the second thread 106B stores each event notification (e.g., received by one of the service interfaces) and (possibly) reads each stored update to the global network state information. In some examples, the second thread 106B may be configured to store a subset of the event notifications received within a configurable period of time, such that when the configurable period of time has elapsed, the core module calculates a new network configuration that incorporates a new network topology and a new device profile. In other examples, the second thread 106B may store each event notification, for example, as a sequence of updates to the global network state information.
[0204] The second thread 106B may initialize a variable to operate as an event counter for counting a sequence of event notifications and updates of global network status information. The second thread 106B may monitor a service interface that operates as a communication link between the controller 35 and the notification service, and in response to receiving an incoming event notification, the second thread 106B is configured to unlock the event counter, increment the event counter, and then subsequently lock the event counter variable. The event counter may also operate as a trigger mechanism for the first thread 106A to initiate batch processing of event notifications received and stored by the second thread 106B.
[0205] In some examples, the first thread 106A is operable to wait until after a configurable time period to send (e.g., forward) one or more incoming event notifications to one or more core modules or one or more core applications. In other examples, the first thread 106A is operable to automatically read a sequence of updates to the global network state information, and then, subsequently, perform a technique for calculating a network configuration that reflects the new global state. In one technique, the first thread 106A is configured to incorporate the updates into the network topology information or the device profile information, and then, subsequently, generate (partially) new global network state information indicating the new network topology and / or the new device profile. In one example, the first thread 106A can read updates to the global network state information and identify updates to the network topology information and / or the device profile information stored in the controller 35. Based on the identified updates, the first thread 106A can request at least a portion of the new network topology information and / or the new device profile information stored in a database maintained by the notification service. The request can be for updates to the network topology information and / or the device profile information corresponding to a configurable time period or another time period.
[0206] In another technique, the first thread 106A may combine (e.g., aggregate) updates by combining sequential updates to the same device profile or network topology, and then subsequently generate new global network state information that (partially) indicates a new network topology and / or a new device profile.
[0207] In other examples, the first thread 106A is configured to perform the above-described techniques on a subset of updates. The first thread 106A can read new network topology information and / or new device profile information by concentrating data read operations on a subset of updates. There are multiple ways to generate this subset, for example, by removing each event notification corresponding to an update that is no longer valid for some reason (e.g., an obsolete update). As an example of an obsolete update to be removed, if a network device is online and then subsequently goes offline during a configurable time period (e.g., a sleep timer) of the first thread 106A, the update is obsolete (e.g., due to obsolescence), and its removal also reduces delays in the implementation of the new network configuration. For iterations of the sleep timer of the first thread 106A, the second thread 106B can read updates to the global network state information in the incoming event notification and generate a tag to identify a subset of updates for calculating the network configuration. The example tag can identify the most recent update, including an update that replaces a previous update. When the sleep timer elapses, the first thread 106A (eg, in response to a signal from the sleep timer) uses the flag to generate a subset of updates for computing the network configuration.
[0208] Fig. 7A is a flow diagram illustrating an example process 500 performed in an SDN controller in accordance with various aspects of the techniques described in this disclosure. Figure 7B and Figure 7C Each is a flow chart illustrating an example sub-process performed by a first thread and a second thread, respectively, executing in an SDN controller according to various aspects of the techniques described in this disclosure.
[0209] An SDN controller as described herein may include multiple microservices that use network updates to support network functions (e.g., network services). When these microservices subscribe to a notification service via the SDN controller to receive these updates, these microservices may be referred to herein as consumers, clients, or subscribers. An example subscriber within the controller may initiate an example process by calling a notification service (as a subscription service) and requesting notifications about certain events (such as event notifications including network topology updates).
[0210] The subscriber may set a timer interval variable equal to the device-profile-update-interval (502). A management daemon (MGD) in the controller may define the interval as a specific number of seconds, for example based on input received via a management interface of the controller. The daemon may be executed by a control unit in the SDN controller as a user-level process running network management software. The notification service may receive information from a topology service that executes one or more daemons to execute routing protocols, for example, to communicate with peer routing devices; execute configuration commands received from an administrator; maintain and update one or more routing tables; manage subscriber flow processing; and create one or more forwarding tables to install into a forwarding component; among other functions. The subscriber microservice receives the timer interval via a notification from the management daemon. The subscriber microservice may initialize an event count variable to 0 (504). At this point, the example process 500 is divided into parallel tasks 506 and 508. Subprocess 506 refers to operations for reading topology and / or device profile updates when these updates are available, and subprocess 508 refers to operations for determining when / whether one or more (recent) event notifications from the notification service are available for processing. Even if one or more of the few notifications are available, the controller can still configure the example process 500 with a predefined sleep period or a predefined minimum number of notifications, so that if the sleep period has not ended or the minimum is not met, the example process 500 can continue to wait for additional notifications. The predefined minimum value can be modified to accommodate the subscriber. If no event notification is received or the example process 500 is scheduled to terminate, the example subscriber ends the computing service with the notification service (550).
[0211] For example, subprocess 506 can be executed by a first thread associated with a given subscriber microservice. Each subscriber microservice 340 can have an associated first thread that executes a corresponding instance of subprocess 506. In some examples, subprocess 506 can be executed by a first thread associated with a given subscriber microservice. Figure 3 The first thread 106A executes. Figure 7B As illustrated for subprocess 506, the subscriber microservice starts a first thread as a timer thread (600), and as Figure 7C As illustrated for subprocess 508, the subscriber microservice starts a second thread as a keyspace event listener thread (650) and subscribes to keyspace event notifications (651). Unless the notification service stops (the "yes" branch of 601), the first thread continues to sleep for the number of seconds defined by the timer interval variable (602). If the notification service stops (the stop branch of 601), the first thread can terminate.
[0212] For example, subprocess 508 can be performed by a second thread associated with a given subscriber microservice. Each subscriber microservice 340 can have an associated second thread that executes a corresponding instance of subprocess 508. In some examples, subprocess 508 can be performed by a second thread associated with a given subscriber microservice. Figure 3 The second thread 106B executes. Figure 7C As illustrated for subprocess 508, unless the notification service is stopped (the "yes" branch of 652), the second thread determines whether the controller receives a keyspace event during the timer interval sleep period (653) while the first thread is sleeping. If received, the second thread locks the event count variable to prevent the variable from being changed by another process (654), increases the event count variable (655), and then, subsequently, turns on the event count variable (656). If not received, the subscriber microservice continues to determine whether to stop processing notifications (657). Unless the notification service has actually stopped (the stop branch of 652), the second thread resumes listening for additional event notifications until the sleep period of subprocess 506 has passed.
[0213] When the first thread wakes up, the first thread locks the event count variable (603) and determines whether the event count is greater than 0 (604). If the subscriber microservice receives one or more event notifications during the sleep period, the first thread initiates a reread of the device data (605), sets the event count to 0 (606), and then, subsequently, turns on the event count variable (607). The device data represents new network topology information and / or new device configuration files. Unless the notification service has actually stopped (608), the subscriber microservice enters another sleep period while subprocess 508 counts incoming event notifications. If both subprocess 506 and subprocess 508 determine that the notification service has stopped, the first thread and the second thread terminate the example process 500.
[0214] Various examples have been described. These and other examples are within the scope of the following claims.
Claims
1. A method performed by a software defined network (SDN) controller, wherein the SDN controller manages a network of multiple devices, the method comprising: Maintaining global network state information by a processing circuit of the SDN controller, wherein the global network state information includes device profile information of each of the devices in the network; configuring, by the processing circuitry, a notification service with a subscription to updates to a portion of the global network state information, wherein the notification service is configured to arrange the updates to the global network state information into a plurality of events; and In response to a second thread executed by the processing circuit receiving an event notification indicating that the global network state information has been updated, the second thread executed by the processing circuit incrementing an event counter; After expiration of a timer of a configurable time period, a first thread executed by the processing circuit determines whether the event counter is greater than zero, and when the event counter is greater than zero after expiration of the timer: determining, by the first thread executed by the processing circuit, that the global network state information includes updated device profile information for at least one of the devices in the network; reading the updated device profile information from the global network status information by the first thread executed by the processing circuit; providing, by the first thread executed by the processing circuit, the updated device profile information to at least one subscriber microservice of a plurality of subscriber microservices; and The event counter is reset to zero by the first thread executed by the processing circuit.
2. The method according to claim 1, wherein: The subscriber microservice runs on the same host as the SDN controller or on a different host.
3. The method of claim 1 , further comprising determining, by the processing circuit, an amount of time set for the configurable time period, wherein: The amount of time is based on one or more parameters associated with providing the updated device profile information.
4. The method of any one of claims 1 to 3, wherein the configurable time period comprises a first configurable time period, the at least one subscriber microservice comprises a first subscriber microservice, the event counter comprises a first event counter, and the method further comprises: In response to a fourth thread executed by the processing circuit receiving an event notification indicating that the global network state information has been updated, the fourth thread executed by the processing circuit increments a second event counter; determining, by a third thread executed by the processing circuit, whether the second event counter is greater than zero after a second timer of a configurable time period expires, and when the second event counter is greater than zero after the second timer expires: The third thread executed by the processing circuit determines that the global network state information includes updated device profile information for at least one of the devices in the network; The third thread executed by the processing circuit reads the updated device configuration file information from the global network status information; as well as The third thread executed by the processing circuit provides the updated device profile information to at least a second subscriber microservice among the plurality of subscriber microservices; as well as The third thread executed by the processing circuit resets the second event counter to zero.
5. The method of any one of claims 1 to 3, further comprising determining, by the processing circuit, an amount of time set for a second configurable time period, wherein: The determination is based on one or more parameters associated with the configuration.
6. The method according to any one of claims 1 to 3, wherein: The first thread is configured to request new network topology information and new device profile information based on the update of the global network status information.
7. The method according to any one of claims 1 to 3, wherein: The second thread is configured to pause or continue to listen for future event notifications when the configurable time period has elapsed.
8. The method according to any one of claims 1 to 3, further comprising: sending, by the processing circuit, the update of the global network state information; as well as The update of the global network state information is stored, by a publisher module executing on the processing circuit, in one or more databases operating on a network device of the plurality of devices.
9. The method according to claim 8, wherein: In response to the update of the global network state information, the notification service publishes the update of the global network state information in a hash set keyspace within the one or more databases.
10. The method according to claim 9, wherein: The notification service stores one or more keyspace events, the keyspace events including new network topology information or new device profile information corresponding to node identifier-device-object identifier pairs as key-value pairs.
11. The method according to claim 10, further comprising: A subscription to the event notification is established by the processing circuit to the notification service for sending the event notification to one or more modules that operate the subscriber microservice of the network, wherein the subscription corresponds to a specific node identifier-device-object identifier pair in a portion of the global network state information.
12. The method according to claim 11, wherein: Establishing, by the processing circuit, the subscription further includes: merging, by one or more modules executing on the processing circuit, the plurality of events to determine the new network topology information or the new device profile information in the one or more databases.
13. A system for managing a network of one or more network devices, the system comprising: A memory configured to store global network status information about the network devices, wherein the global network status information includes device configuration file information and network topology information corresponding to each of the network devices; One or more processors configured to execute logic for a publisher microservice, wherein the logic is operable to: Maintaining global network status information in a database, wherein the global network status information includes device profile information of each device in the network; configuring a notification service with a subscription to updates of a portion of the global network state information, wherein the notification service is configured to arrange the updates of the portion of the global network state information into a plurality of events; and executing a second thread to receive an event notification indicating that the global network state information has been updated, and incrementing an event counter; After a timer of a configurable period of time expires, executing a first thread to determine whether the event counter is greater than zero, and when the event counter is greater than zero after the timer expires: Execute the first thread to determine the global network status information comprising a further New device profile information; Execute the first thread to obtain the global network status information Reading the updated device configuration file information; executing the first thread to provide the updated device profile information to at least one subscriber microservice among a plurality of subscriber microservices; and One or more core modules or one or more core applications are operable as one or more of the plurality of subscriber microservices and are configured to receive at least a portion of the event notification corresponding to the subscription via the first thread or the second thread.
14. The system according to claim 13, wherein: The one or more core modules or one or more core applications are also configured to store each event notification received within a configurable time period, and when the configurable time period has passed, read new device profile information or new network topology information for each update of the global network status information.
15. The system of claim 13, wherein: The configurable time period is a first configurable time period, the event counter is a first event counter, wherein the one or more processors are further configured to: In response to receiving, by a fourth thread, an event notification indicating that the global network state information has been updated, incrementing, by the fourth thread, a second event counter; After expiration of a timer for a second configurable period of time, executing a third thread to determine whether a second event counter is greater than zero, and when the second event counter is greater than zero after expiration of the timer: executing the third thread to determine that the global network state information includes updated device profile information for at least one of the devices in the network; executing the third thread to read the updated device profile information from the global network status information; and executing the third thread to provide the updated device profile information to at least a second subscriber microservice among the plurality of subscriber microservices; and The third thread is executed to reset the second event counter to zero.
16. The system of claim 15, wherein: The second thread reads the sequence of received event notifications and determines a subset of the plurality of events based on the one or more updates to the global network state information, wherein the first thread requests the device profile information corresponding to the subset of events.
17. The system of claim 13, wherein: The network includes a mobile core network communicatively coupled to subscriber devices via a radio access network.
18. The system of claim 13, wherein: The one or more core modules or the one or more core applications are configured to calculate a network configuration including a new device state to conform to a profile of the plurality of subscriber devices; generate new global network state information to implement the network configuration; and using a network device protocol interface to program the plurality of subscriber devices with new device profile information based on the new device profile.
19. A computer readable storage medium encoded with instructions for causing one or more programmable processors to perform the method of any one of claims 1 to 12.
