Method and system for data processing pipeline planning

By dynamically selecting data sources and optimizing data transformation locations based on resource consumption, the method enhances the efficiency and cost-effectiveness of data processing pipelines in telecommunication networks, addressing the challenges of data collection and transportation complexity.

WO2024189410A1PCT designated stage expired Publication Date: 2024-09-19TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/IB2023/052541
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Current data processing pipelines in telecommunication networks face challenges in efficiently transforming and moving data to monitor network performance, handle faults, and optimize resource allocation, particularly due to increased complexity and high costs associated with data collection and transportation in distributed cloud systems.

Method used

The method involves dynamically selecting data sources and determining the necessity and location for data transformation within the network based on resource consumption, allocating transformation components optimally to reduce costs and improve efficiency, and implementing a sequential, greedy orchestration framework for on-demand pipeline transformations.

Benefits of technology

This approach reduces resource wastage, optimizes data processing, and minimizes costs by allocating data transformation only when necessary, improving the scalability and efficiency of data processing pipelines in telecommunication systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IB2023052541_19092024_PF_FP_ABST
    Figure IB2023052541_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments include methods, electronic device, storage medium, and computer program for data processing pipeline planning. In one embodiment, a method comprises: selecting a data source from a plurality of data sources, wherein data from the data source is to be forwarded in a path within the network to a data processing function; determining whether data transformation is to be performed on the data in the path prior to the data reaching the data processing function and when the data transformation is to be performed, a location on the path to perform the data transformation, the determination being based on resource consumption of forwarding the data from the data source in the path; and responsive to the determination that the data transformation is to be performed, causing the data transformation on the data from the data source at the location in the path.
Need to check novelty before this filing date? Find Prior Art

Description

METHOD AND SYSTEM FOR DATA PROCESSING PIPELINE PLANNINGTECHNICAL FIELD

[0001] Embodiments of the invention relate to the field of networking and more specifically, to data processing pipeline planning.BACKGROUND ART

[0002] The cloudification of telecommunication systems is driven by the need for increased flexibility both with respect to deployment options and operational aspects as well as desired decreased dependency on single vendors. A Fifth Generation (5G) or later Sixth Generation (6G) network includes a large number of moving pieces, and just like any other large scale cloud system, it needs monitoring and control to handle faults and anomalies.

[0003] The benefits of a cloud-based system include the ability to dynamically scale to handle variations in workload and the ability to handle faults by simply spinning up new resources on the fly. The downside is an increased level of complexity. Most large-scale cloud systems are highly dependent on key performance indicators (KPIs) and data collected from services to monitor to assess the quality. The same is true for the 5G or 6G networks, and collecting data in a telecommunication network can be more complex than collecting data in a data center. And even in a data center, care must be taken not to have the data collection interfere with the normal operation, e.g., by using too much network bandwidth. Telecommunication networks are distributed by nature and data collected at the edges is typically transported to some centralized location for processing. Moving data can be expensive and put load on the network. Moreover, it is when the network performance is not optimal that the data collection is needed the most - e.g., for automated acting on the issues with an artificial intelligence (Al) and / or machine learning (ML) application.

[0004] It is thus challenging to transform and move data efficiently in scale within a telecommunication network to monitor network performance, handle faults and anomalies, and / or actuate network enhancement operations.SUMMARY OF THE INVENTION

[0005] Embodiments include methods, electronic device, storage medium, and computer program for data processing pipeline planning in a telecommunication system. In one embodiment, a method is to be implemented in an electronic device of a network and comprises:selecting a data source from a plurality of data sources, wherein data from the data source is to be forwarded in a path within the network to a data processing function; determining whether data transformation is to be performed on the data in the path prior to the data reaching the data processing function and when the data transformation is to be performed, a location on the path to perform the data transformation, the determination being based on resource consumption of forwarding the data from the data source in the path; and responsive to the determination that the data transformation is to be performed, causing the data transformation on the data from the data source at the location in the path.

[0006] In one embodiment, an electronic device comprises a processor and machine-readable storage medium that provides instructions that, when executed by the processor, are capable of causing the processor to perform operations of: selecting a data source from a plurality of data sources, wherein data from the data source is to be forwarded in a path within the network to a data processing function; determining whether data transformation is to be performed on the data in the path prior to the data reaching the data processing function and when the data transformation is to be performed, a location on the path to perform the data transformation, the determination being based on resource consumption of forwarding the data from the data source in the path; and responsive to the determination that the data transformation is to be performed, causing the data transformation on the data from the data source at the location in the path.

[0007] In one embodiment, a machine-readable storage medium that provides instructions that, when executed by a processor, are capable of causing the processor to perform operations of: selecting a data source from a plurality of data sources, wherein data from the data source is to be forwarded in a path within the network to a data processing function; determining whether data transformation is to be performed on the data in the path prior to the data reaching the data processing function and when the data transformation is to be performed, a location on the path to perform the data transformation, the determination being based on resource consumption of forwarding the data from the data source in the path; and responsive to the determination that the data transformation is to be performed, causing the data transformation on the data from the data source at the location in the path.

[0008] The data processing pipeline planning process in embodiments of the invention may allocate the data transformation at the determined location in the network when necessary and not allocate one at all when it is deemed wasteful. The process may be triggered dynamically based on the life cycle of data sources. Furthermore, the process takes into consideration of the resource consumption that is both fixed and flexible regarding implementing the data transformation.BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The invention may best be understood by referring to the following description and accompanying drawings that are used to illustrate embodiments of the invention. In the drawings:

[0010] Figure 1 illustrates a data processing framework per some embodiments.

[0011] Figure 2 illustrates an exemplary architecture for data pipeline per some embodiments.

[0012] Figure 3 illustrates the updated data processing pipeline per some embodiments.

[0013] Figure 4 illustrates transformation component location selection based on cost computation in data pipeline planning per some embodiments.

[0014] Figure 5 illustrates additional considerations in data pipeline planning per some embodiments.

[0015] Figure 6 is a flow diagram illustrating the operations of determining the path of a set of data sources per some embodiments.

[0016] Figure 7 is a flow diagram illustrating the operations for data processing pipeline planning per some embodiments.

[0017] Figure 8A illustrates connectivity between network devices (NDs) within an exemplary network, as well as three exemplary implementations of the NDs, according to some embodiments of the invention.

[0018] Figure 8B illustrates an exemplary way to implement a special-purpose network device according to some embodiments of the invention.

[0019] Figure 8C illustrates various exemplary ways in which virtual network elements (VNEs) may be coupled according to some embodiments of the invention.

[0020] Figure 8D illustrates a network with a single network element (NE) on each of the NDs, and within this straightforward approach contrasts a traditional distributed approach (commonly used by traditional routers) with a centralized approach for maintaining reachability and forwarding information (also called network control), according to some embodiments of the invention.

[0021] Figure 8E illustrates the simple case of where each of the NDs implements a single NE, but a centralized control plane has abstracted multiple of the Nes in different NDs into (to represent) a single NE in one of the virtual network(s), according to some embodiments of the invention.

[0022] Figure 8F illustrates a case where multiple VNEs are implemented on different NDs and are coupled to each other, and where a centralized control plane has abstracted these multiple VNEs such that they appear as a single VNE within one of the virtual networks, according to some embodiments of the invention.

[0023] Figure 9 illustrates a general-purpose control plane device with centralized control plane (CCP) software according to some embodiments of the invention.DETAILED DESCRIPTION

[0024] Generally, all terms used herein are to be interpreted according to their ordinary meaning in the relevant technical field, unless a different meaning is clearly given and / or is implied from the context in which it is used. All references to a / an / the element, apparatus, component, means, step, etc. are to be interpreted openly as referring to at least one instance of the element, apparatus, component, means, step, etc., unless explicitly stated otherwise. The steps of any methods disclosed herein do not have to be performed in the exact order disclosed, unless a step is explicitly described as following or preceding another step and / or where it is implicit that a step must follow or precede another step. Any feature of any of the embodiments disclosed herein may be applied to any other embodiment, wherever appropriate. Likewise, any advantage of any of the embodiments may apply to any other embodiments, and vice versa. Other objectives, features, and advantages of the enclosed embodiments will be apparent from the following description.Common Data Processing Pipelines and Their Limitations

[0025] Multiple data processing pipelines (also referred to as data pipelines or pipelines) have been proposed to process data in telecommunication networks and / or cloud systems. Such data pipelines may deploy artificial intelligence (Al) and / or machine learning (ML) application, where a pre-trained model is applied to new data to make predictions. In many cases, multiple data sources provide data that is collected and transformed into data flows. By designing the data collection paths and data processing component placement that is used to automatically collect and transform data coming from data sources, a data pipeline is created. A data flow (also referred to as traffic flow / stream or simply flow / stream) may be defined as a set of packets whose headers match a given pattern of bits. A flow may be identified by a set of attributes embedded to one or more packets of the flow. An exemplary set of attributes includes a 5-tuple (source and destination IP addresses, a protocol type, source and destination transmission control protocol or User Datagram Protocol (TCP / UDP) ports). Note that the terms of flow and stream are used interchangeably herein.

[0026] A special type of pipeline called extract-transform-load (ETL) pipeline separates data collection, transformation, and loading. While this approach is often used for batch-like data, the field has relevant state-of-the-art solutions for distributing the data transformation task. Furthermore, streaming ETL in the field deals with streaming data. Besides Al and ML pipelines, ETL is also often implemented in data warehouses and storage systems. Usually, oneor more processing tasks are executed on the raw data while the data may be provided for the AI / ML models for evaluation and processing, e.g., data filtering, sorting, aggregatingjoining, cleaning, deduplicating, and validating. These tasks are executed during the data transformation phase.

[0027] Multiple products and architectures exist that capture the process of collecting data from multiple data sources to different locations (e g , data lakes) for inferencing, analyzing, storing, etc. Some vendors have proposed architectures for serverless data analytics pipelines. Their solution is focused around storage and defines three major components corresponding the ETL steps: ingestion, processing, and consumption. For example, ETL pipeline automation may be supported by considering factors such as event-based triggering of components and function auto-scaling.

[0028] Other vendors offer solutions for building other ETL pipelines. They offer preconfigured data connectors and transformation functions, and they further claim that such solutions are easy to integrate with their cloud infrastructure.

[0029] Still others present solutions for automatic ETL pipeline distribution over a distributed (cloud) infrastructure. Their proposed methods receive a data flow graph with links and stages for an ETL job as well as an infrastructure description in the form of a matrix where the transmission speed and the unit cost are defined between each possible ETL server pair in the system. Their solutions then calculate the transmission cost and speed based on the data size allocated at the data source for all stages of ETL server allocation. They select the one which is optimal in terms of an objective (e.g., minimum cost or transmission time).

[0030] Yet these data pipelines, while readily available through commercial data pipeline design products, do not deliver solutions for automated server selection for the pipeline components. They often consider the underlying infrastructure as a homogeneous set of hosting options, whereas in a distributed cloud infrastructure, hosting and transport costs can differ vastly, given the mapping of the pipeline components (e.g., resource cost at edge vs. central). Thus, they cannot utilize the traffic reduction coming from the optimal placement of certain components in the pipeline (e.g., log filtering).

[0031] Additionally, existing technology does not offer any means to automatically transform the ETL pipeline to save bandwidth or reduce latency. This means that several ETL pipelines that move data from a certain region to the same centralized location are not coordinated and the workload is not optimized.

[0032] Furthermore, solutions based on the data flow graphs and infrastructure description matrices have their limitations. For example, they describe the network with an adjacency matrix between ETL servers in the infrastructure. Because these solutions do not consider the completenetwork topology, they lack the necessary information to identify the natural merge points for the data flows. These solutions consider the ETL infrastructure to be static, thus considering only a processing-related cost (variable cost factor). Yet in cloud infrastructures, processing components can be deployed on-demand and their costs typically have a fixed (deployment / overhead) and variable (load dependent) component. In the static ETL infrastructure, components are fixed, and the solutions only address the placement / orchestration problem. That is, they have answers for the question of “where should we place those components?” but not for the question of “should we place those components?” These solutions can take into account latency requirements, which are defined between stages (processing components), while it would better resemble with the requirements (e.g., in case of an actuating Al component), if one could define an end-to-end latency requirement, which is then arbitrarily distributed between the components. Further, these solutions tend to aim at optimizing for a given snapshot of the data sources and data flows while in reality the system could be more dynamic, where data sources, inferencing, and actuation points in the network are created on- demand, e.g., in case of failures more data is collected from a region.Data Processing Framework

[0033] To overcome the limitations of the common data processing pipelines, some embodiments support on-demand, automatic, and incremental pipeline transformations (lifecycle management), placement, and resource assignment. The embodiments may use sequential, greedy, heuristic-based orchestration framework with new data models and entry points. While such pipelines are illustrated with an Al service as the data processing component (also referred to as processing component) in some exemplary embodiments herein, embodiments of the invention are not so limited, and other data processing components / functions may be implemented in some embodiments. For example, any rule-based decision making based on characteristics of the data may be the data processing components / functions herein.

[0034] In the data processing framework, several types of components are discussed: data transformation component, data processing component, and actuator component. A data transformation component (also referred to as transformation component) includes a hardware / software logic to be is implemented in a network node (also referred to as node, network element, switch, forwarding element, or data plane element) to execute one or more corresponding data transformation functions. A data transformation function may perform one or more of data compression, aggregation, normalization, obfuscation, and filtering so that the transformed data may be processed by the data processing function, where the transformation allows the data processing pipeline to process data more efficiently, scale better, and / or complywith given policies and objectives. Note that the terms of data transform function and data transformation function are used interchangeably herein.

[0035] A data processing component includes a hardware / software logic that is to be implemented in a network node to execute one or more corresponding data processing functions. A data processing function may process data for one or more of network optimization, predictive maintenance, network security monitor, and fraud detection, all or a subset of which may be implemented through one or more Al services in some embodiments.

[0036] The data processing by the data processing component may cause further operations on that or another network node through an actuator component, which includes a hardware / software logic that is to be implemented in a network node to execute one or more corresponding actuation functions to cause physical action. For example, a data processing component may detect a network anomaly based on analyzing the data it receives (directly from a data source or through a data transformation component), and once it detects the occurrence of an anomaly, it may automatically trigger a corresponding actuator component to identify a malware in a network node and quarantine the affected network node.

[0037] Figure 1 illustrates a data processing framework per some embodiments. The framework 100 is applicable to a network, which conceptionally includes a control plane 176 and a data plane 180, functionalities of which are discussed in more details herein below (e.g., see Figures 8A to 8F).

[0038] In this framework, one group of input parameters is shown as infrastructure and service inventory 102. It includes infrastructure description 106 that describes the underlying network that comprises network nodes that host services / functions (these network nodes are also referred to as hosting nodes), and connections between the network nodes with certain corresponding capabilities / characteristics (e.g., CPU, memory, storage and bandwidth, latency).

[0039] The infrastructure and service inventory 102 also includes component description 108 that can be a part of a data processing pipeline to perform data transformation function or data processing functions (e.g., an aggregation function or Al logic). The component description 108 may also include one or more functions to make cost determination (see the transformation efficiency function (TEF) discussed herein below). These components have attributes assigned to them that should match the capabilities of the infrastructure or there should be a mapping function that describes how to compare them to the capabilities. The component description 108 may define for example which component is on-boarded on which hosting node (e.g., through a component descriptor).

[0040] Another group of input parameters in this framework describes the request for the data processing pipeline planning as shown as request description 104. The request description 104,describing the resource allocation requirements to be considered by the framework for data processing, includes one or more input data as the following: The data source locations 110 of data sources within the network may be known, same as the processing component locations 112, which may be defined as to where to aim the data flows from the data sources. In some embodiments, the number and locations of the data processing components could be automatically calculated based on policies and objectives determined by factors such as operator preferences and service level agreement (SLA).

[0041] In some embodiments, the request also includes the relation between data sources and processing components description (reference 114), which describes the mapping between the data sources and the corresponding processing components, where the mapping may be described, for each data source, which processing component(s) it contributes to. Additionally, the request may include an input of potential transformation component assignments (reference 116) describing where the data transformation operations may be inserted, e.g., by marking the potential relations between data sources and the data processing components.

[0042] In some embodiments, the request further includes the attributes and characteristics of data sources (reference 118). For example, this may define the traffic volume or rate a data source provides. In more complex embodiments, the attributes and characteristics could include more traffic-related metrics, (e g., pace) as well as data-related requirements and policies such as data life cycle (certain data can get outdated and can therefore be discarded) or legal aspects (e.g., certain data cannot be carried to a central site that happens to be in another country, or carried from one operator’s domain to another operator’s one).

[0043] While the input parameters are logically separated as shown, they could be combined in certain embodiments, even into a single input (e g., a file) in some cases.

[0044] These input parameters are provided to a workload placement logic (at reference 125) that determines where and / or how to allocate data transformation and processing and how to route data flows from data sources to the processing functions. The workload placement logic 125 is stateful in some embodiments. The workload placement logic may be implemented in a control plane device or network device (discussed in further details herein below relating to Figures 8 and 9) in some embodiments.

[0045] In some embodiments, the workload placement logic 125 is aware of the actual data sources, data flows, and other components that are already deployed in the infrastructure. For each transformation component, a lifecycle state is maintained in some embodiments (e g., at state 120), allowing dynamic scaling, migration, merging, decommission, etc. of the component. Alternatively, the workload placement logic 125 can fetch an updated view as an initialization step every time the workload placement logic 125 is triggered. The workload placement logic125 then determines the automatic data optimization to be performed by one or more data transformation components at reference 122, and the data flow routing and component deployment plan at reference 124. In some embodiments, state 120 is a datastore that also store the state of the actual data sources, data flows, and other components that are already deployed in the infrastructure.

[0046] The data flow routing and component deployment plan 124 may then be forwarded to a network orchestration module (e.g., infrastructure manager module), which can execute the plan by configuring the network and deploying the required components through a southbound interface to the data plane 180, which includes network elements 170A to 170F, similar to network devices 870A to 870F as shown in Figure 8D.

[0047] Based on the framework, the workload placement logic 125 may be invoked in some embodiments with the necessary input information which will then provide a deployment plan that contains (1) location (e.g., hosting node) suggestions for transformation components, including the decision whether one or more transformation components should be placed in the network or not, and (2) a routing plan for the data flows between the data sources and the data processing components when the transformation components should be placed. In some embodiments, the deployment plan also contains removal and / or migration of transformation components. Additionally / altematively, the deployment plan may contain location suggestion for the data processing component (e.g., where to host an Al service).

[0048] Using the input parameters of request description 104, the workload placement logic 125 may identify the natural join points for data sources, therefore it can allocate the optimal number of transformation components as well as their locations to optimize for given objectives (e.g., cost, traffic). Using both the request description 104 and the infrastructure and service inventory 102, the workload placement logic 125 may decide whether to inject an optional transformation component in a data flow as well as the optimal location for doing so.

[0049] Additionally, through maintaining state information of the lifecycle states of the request description 104, the workload placement logic 125 may iteratively track the changes occurring in the data collection topology without calculating everything from scratch when data sources are added or removed. Some embodiments consider the end-to-end, or segment requirements (e.g., delay, cost) defined on top of the data processing pipeline. For example, a user can define a latency requirement from a data source through a data processing component to an actuation point, which comes as a natural requirement for such services as one might want to constrain the maximum time from a measurement till an action is initiated.

[0050] Furthermore, embodiments may consider both fixed and variable costs related to a transformation component, where the fixed cost are the ones that do not change based on thevolume of data flows (workload) while variable costs do. For example, the fixed cost includes one or more of licenses costs, software costs, and some portion of the execution resource (e.g., CPU) usage could be fixed as well (e.g., libraries, virtualization, O&M services). In contrast, the variable cost includes workload dependent execution resource usage, memory, disk usage, etc. Considering both fixed and variable costs is advantageous over prior approaches in a cloud environment where only known transformation components are considered.Exemplary Data Processing Pipeline Planning

[0051] Figure 2 illustrates an exemplary architecture for data pipeline per some embodiments. A telecommunication system 200 may include one or more wireline and / or wireless network where multiple network nodes are implemented within. A network node may include one or more data sources. A data source may contain data collected from an internal database or external data sources and include a variety of data types such as social media data, sensor data, and weather / geographic data. The data source may also provide metadata produced from processing / forwarding the collected data. In this example, network node 232 includes data sources 202 and 204, and network node 236 includes data source 212.

[0052] Data flows from these data sources are forwarded from source network nodes 232 and 234 to a data processing network node 242 with data processing components, where an Al service is implemented to process the data (the node is thus also referred to as Al service node 242). For some Al services, an actuator component 250 is initiated to cause actions to be performed on another node, node 244 based on the data processing by Al service node 242. The action may include executing a configuration and sending warning signals in some embodiments.

[0053] The data flows from network node 232 pass through network nodes 236 and 238 before reaching the Al service node 244, and the data flow from network node 236 does the same except for having an additional passthrough node 234. A link between the network nodes in the telecommunication system 200 may be wireline or wireless.

[0054] In a large-scale telecommunication system that is distributed, it is generally more expensive to transform and / or process data at the edge individually close to the data sources, as the further away from the core, the more expensive it is to allocate computing resources. For example, a headend device in a base station of a cellular network has few computing resources available for data transformation and processing comparing to a backhaul device in the base station, as the latter is closer to the core and aggregates data from multiple headend devices. In some embodiments, the cost of transforming and / or processing the data goes down as the data moves closer to the core (e.g., the data centers at a core network often having computing resources readily available), and the change of costs is symbolized in the figures using differentnumbers of dollar signs at the edge, middle, and core segments of the telecommunication system.

[0055] Additionally, if data from the multiple data sources can be aggregated, such data transformation may reduce the data volume to reach the network node 242 for data processing. The aggregation may thus save bandwidth consumed to route the data. Yet the aggregation also costs the additional processing cost (e g , the additional cost of initiating and injecting an aggregation function in a data flow) so whether to implement such aggregation and where to do so if the aggregation is beneficial needs to be weighted based on multiple factors, including the following: (1) the transport cost of the data flow from the data sources to a data processing node (e.g., an Al service node); (2) the effect of the transformation component to perform a specific data aggregation on the data volume; and (3) the cost of running the transformation component at specific hosting nodes.

[0056] In this example, either network node 236 or 238 may implement the transformation component, thus the costs of three options are compared based on the multiple factors: (i) not implementing the transformation component (i.e., the status quo as shown in the figure), (ii) implementing the transformation component on node 236, and (iii) implementing the transformation component on node 238. Note that in some embodiments, even network node 232 or the Al service node 242 may implement the transformation component, and they may be evaluated based on these factors (and / or other ones) as well.

[0057] Based on these factors, the determination is made (e.g., by the workload place logic 125) that option (iii) incurs the least cost among the options in the example. Figure 3 illustrates the updated data processing pipeline per some embodiments. The newly injected transformation component, aggregation component 306 on node 238 reduces the traffic volume of the data sources, shown as one flow goes between network nodes 238 and 242 in the figure vs. three flows in Figure 2. The reduced traffic volume results in an overall cost reduction.

[0058] To evaluate the benefit of placing a transformation function in the network, one needs to understand how it affects the data characteristics. The changes of data characteristics may be characterized by a transformation efficiency function (TEF) for a particular transformation (through implementing a corresponding transformation component / function). The TEF may be a simple linear function (e.g., halving the output transmission rate) or any complex function depending on the transformation function, load and resources assigned.Altematively / additionally, the TEF may also be dependent on the number of data sources the transformation component / function is coupled to. For example, it may be more effective to filter many data sources at the same time.

[0059] In some embodiments, the TEF provides the means to evaluate different options and to select the option to minimize cloud and transport cost. In a large-scale network, to reduce the state space and avoid handling all hosting candidates as potential locations for the transformation component, the only candidate hosting nodes for the transformation component are the network nodes on the shortest path (e g., in terms of latency or cost) from the data sources to the data processing components (e.g., an Al service). In these embodiments, the hosting cost for the transformation component is known from the service inventory, and the transport cost is known from the infrastructure inventory (see Figure 1 and related discussion). Based on that and the traffic characteristics of the data sources from the request description, the costs may be calculated through the TEF and the optimal location may be determined for a transformation component. Note that the terms of path and route are used interchangeably herein.

[0060] Thus, in some embodiments, the workload placement logic may calculate the shortest path from a data source to an Al service (which may be deployed in one or more hosting Al service nodes). For each of the network nodes on the shortest path that are capable of hosting the transformation component, the cost of hosting the transformation component is determined, and one or more network nodes with the least cost are selected to host the transformation component. Note that the selected node may not be the one with the least cost as other factors may be considered, e.g., operator preferences and service level agreements (SLAs). For example, among the three least cost options, the node that causes the least latency (or having the least error rate or another criterium) may be selected to host the transformation component.

[0061] Additionally, when multiple data sources are to be routed to the Al service, the common segment of several data sources in their shortest paths to the Al service may be given more weight in the cost computation since additional saving may be achieved when the transformation component is hosted in the common segment. Furthermore, if the transformation component is already hosted in a network node, the workload placement logic may prioritize the transformation hosting node since using an existing transformation component may be cheaper than initiating a new transformation component in a network node.

[0062] Figure 4 illustrates transformation component location selection based on cost computation in data pipeline planning per some embodiments. The exemplary system has two data sources (DS), DS 418 and 420. The Al service node is 426, and the passthrough nodes on the shortest path are network nodes 422 and 424. The transport cost for a link in the system is $1 (one unit) and each data source produces one unit of traffic (e.g., IM bps). The transformation component is to perform traffic aggregation, which reduces traffic by 50% thus cutting the transport cost for the aggregated data by half.

[0063] The cloud cost for deploying a transformation component at a hosting node varies, and the closer the transformation component to the Al service node (which is close to or at the core itself), the cheaper is the cost of hosting it. In this example, the cloud cost for deploying the transformation component is $0.5 at network node 424 and $2 at network node 422.

[0064] A simplistic TEF may be used to calculate the cost of with and without data transformation based on the accumulated costs in transportation and traffic aggregation. In the first scenario, no transformation is performed, and the cost of two data sources having data processed at the Al service node 426 is $4. In the second scenario, the transformation is performed at node 424 and the aggregation at reference 414 costs $0.5 and it reduces the transport cost between network nodes 424 and 426 by half to $1.0. The total cost of adding the transformation at network node 424 is $3.5, less than the first scenario. In the third scenario, the transformation is performed at node 422 and the aggregation at reference 416 costs $2.0 and it reduces the transport cost between network nodes 422 and 426 by half to $2.0 (each link segment costs $1.0 instead of $2.0 as in the first scenario). Yet the total cost of adding the transformation at network node 422 is $4.0, same as the first scenario. Thus, the cost computation through the TEF determines that the transformation component should be implemented at network node 424.

[0065] Figure 5 illustrates additional considerations in data pipeline planning per some embodiments. The system 500 includes several zones from the edge to the core. At the very left are the data sources at premise 502, where data is generated and collected (e.g., end-user devices discussed herein below), and the data is transported to an edge compute zone 504, followed by a regional compute zone 506, national compute zone 508, and finally reaches the central cloud zone 510.

[0066] Data from the data source 2 at the premise is collected in multiple paths as shown. The data collection duplication may occur, for example, when one data log is used for multiple network management purposes and is thus collected repeatedly. The transformation function may be implemented at multiple locations to remove data duplication. In this example, the data deduplication function is implemented at 514 and 516, which are in the regional compute zone 506 and national compute zone 508, respectively.

[0067] As discussed, a data transformation function may perform data compression, aggregation, normalization, obfuscation, or filtering so that the transformed data may be processed by the later data processing function more cost efficiently, and the data transformation may be based on characteristics of the data. For example, the data transformation may be based on data volume, data rate, and quality of service requirements for the data as sourced from the data sources and / or as the characteristics of the data after being transformed by the datatransformation function (e.g., the post transformation characteristics may be obtained through TEF cost analysis).

[0068] For another example, the end-user that generates the data, the operator that transports the data, and the regulator in charge of a jurisdiction may have requirement / preference for data security and legal mandate, and data transformation function may be implemented to satisfy the requirement / preference. For example, the data may be required to be obfuscated at the edge compute zone 504 so that the data becomes unintelligible or difficult to interpret without proper authorization, and the obfuscation function is then needed to be implemented at the edge compute zone 504 as a transformation function. Additionally, certain data (e g., information about a bystander captured in an image) is required to stay within a jurisdiction, and a filtering function is to be implemented at the national compute zone 508 to remove the data. Thus, the data security and legal mandate provide one more dimension to consider when deciding the location of the data transformation.

[0069] In some embodiments, the consideration of data security requirement and legal mandate further refines the candidate nodes to host a data transformation function and while the consideration adds complexity, it makes the cost determination more efficient since less nodes will be considered in these embodiments.Operations per Some Embodiments

[0070] Figure 6 is a flow diagram illustrating the operations of determining the path of a set of data sources per some embodiments. The method 600 may be implemented by the workload placement logic 125 in some embodiments. The operations are sequential and determine injection of transformation component for a set of data sources.

[0071] The set of data sources and corresponding data processing components may be converted to a set of service descriptions where each of the service description includes a single data source, at least one data processing component (e.g., an Al service component), and one or more links between the data source and component. In certain use cases, a user may define latency requirements for the involved service. For example, one could define a segment latency from the data source through the transformation and one data processing component to an actuator. This would put a time limit on the acting from the measurement on the data source. In these cases, the service description would include the actuator component and the latency requirement as well.

[0072] These service requests could be described with a graph in some embodiments. In the example shown in Figure 2 and Figure 3 we would have three service descriptions corresponding to each data source and all of them would contain the two Al components at references 242 and 244 and the actuator at reference 250. The set of these service descriptorswill be the input for method 400. It is assumed that the corresponding infrastructure and service inventory has been fetched. The transformation component is placed one at a time in some embodiments and it may be referred to as atomic placement.

[0073] At reference 602, it is determined whether any data sources are left in the set, if not, the process stops; otherwise it continues to determine at reference 604 whether any data processing components are left that are applicable to the data source. If not, the process returns to reference 602; otherwise it continues to reference 606. Each data source may include one or more data flows to be routed to a data processing component.

[0074] At reference 606, a remaining data processing component is placed at a hosting node (e.g., the Al service node 242). The data processing component, which performs the corresponding data processing function, may be placed based on policies and objectives other than the optimization of the transformation components. For example, based on the latency requirement (e.g., in the path of data sourcetransformationAl service Actuator), Al inferencing may need to be pushed towards the network edge instead of deploying it into a central data center. Once the data processing component is placed, this step also determines the path for the data flow from the data source to the hosting node. In some embodiments, the placement and routing may be performed greedily (e g., using the greedy algorithms) and / or sequentially (one component at a time).

[0075] Once the step at reference 606 determines the placement of the data processing component and the path of the data flow from the data source to the data processing component, the step at reference 608 checks whether the edge (starting point of a flow) from which the data source is annotated. Annotation on an edge means that the request for data processing is indicated with a possibility of transformation on a path to a corresponding data processing function. If the edge is annotated with required information, the process goes to reference 610, otherwise the process returns to reference 604 to check any data processing components left for the data source.

[0076] When the edge is annotated with the required information, it is then determined whether a transformation component may be injected in a link to the path between the data source and the data processing component. In some embodiments, an interface may be invoked to identify a potential transformation component (a new or existing one) to route the data flow of the data source into. When no potential transformation component is identified (e.g., adding the transformation components consumes more resources than otherwise), the process returns to reference 604. The transformation component selection can happen based on one or more objective functions such as the transformation efficiency function (TEF) to compare the cost of having the transformation component vs. not having it, and when the cost of having thetransformation component on the path is lower, the location of the transformation component to be hosted to achieve the lowest cost, the lowest cost may be based on a variety of criteria such as minimizing resource footprint or the number of the transformation components.

[0077] When based on the one or more objective functions, it’s determined at reference 612 that the data source should be connected to an existing transformation component, the processing of the data flow will be broken into two sub flows at reference 614, one from the data source to the identified transformation component and the other from the transformation component to the data processing component.

[0078] When based on the objective function, it’s determined at reference 612 that the data source should be connected to a new transformation component, tasks need to be performed at reference 616 to identify the best location for the new transformation component. While the best location may be identified based on the objective function alone in some embodiments, whether the transform component can be deployed at the selected location may also be determined based on the state of the infrastructure (e.g., in terms of resource capacity, onboarded images, hardware accelerators) in other embodiments.

[0079] Once the best location is identified, the new transformation component is then inserted into the deployment plan and administrated for further reference. Once the new transformation component is in place, the flow breaking process may be performed at reference 614, similar to the case of connecting to an existing transformation component.

[0080] Once the method 600 has processed all data processing components it goes to the next service description form the set. In the next iteration the method may consider the newly placed transformation component. If all data sources have been processed, the method terminates.

[0081] As noted earlier, each service descriptions will contain all components (e.g., data source, transformation, processing, actuator components) that are necessary for its usage in some embodiments. However, it is assumed that the workload placement can handle service sharing (re-using or connecting to already deployed components). In some embodiments (e.g., the workload placement framework discussed herein), this is driven by a specific run-time configurable data structure which can assign different attributes (e.g., tenant, max throughput, max data sources connections) to the workloads while the user can insert filters related to these attributes to the components in the new request description. The workload placement logic should also consider how these values are aggregated when the workloads are shared. The method may connect data sources to data processing components that the method deployed earlier, and no new data processing components are required at each request.

[0082] In many use cases, transformation components can only support a given number of data flows, because of resource limitation - for example, the corresponding transformation functionhas a capacity limit that supports only a certain data volume. In these cases, the method needs to support scaling. This can happen multiple ways.

[0083] For example, the workload placement logic may be relied on to handle such requirements. In this case, all transformation components may be run through the workload placement logic, which will calculate these kinds of requirements. Altematively / additionally, this task can be the responsibility of the data flow optimization logic. In this case, all transformation components may be administrated separately from the core workload placement logic and only the transformation components themselves appear there. This could give additional flexibility in the data format and model of the scaling description. When the scalability is defined, one should consider a limitation for the processing capability of the transformation component, including factors such as the number of data sources or a given throughput the transformation component can handle.

[0084] Besides resource-based scaling, some embodiments support placing new components based on constraints. For example, when a user defines a latency requirement (e.g., Data Source (DS) TransformationActuator), it often means that the transformation component should be placed close to the DS and the Al component. If there is no transformation component in the system that could fit the latency requirement when a new data source is processed, a new transformation component needs to be created. In some embodiments, this could be part of the data flow optimization to take this factor into account. Alternatively, some embodiments invoke the workload placement logic and get a suggestion from there.

[0085] While the discussion about method 600 addresses adding only a single transformation component to the data flow, the same method may be applied for the newly created sub-flows in a recursive manner as if they were annotated edges (an edge may be annotated when it is added as the source of a new sub-flow using operations in reference 614 of method 600). In this way, multiple different kinds of transformation operations may be performed with this same logic.

[0086] In these embodiments, the data sources and paths may be grouped and connected to a shared data transformation function / component by analyzing data topology, data paths, infrastructure resources and capabilities, and service requirements. Additionally, the data processing function / component may be inserted into the data processing pipeline through a list of updates based on where an instance of the data processing function / component may be hosted. Such placement of the processing function / component may be used to evaluate whether to add, remove, or migrate a transformation function on a path prior to data flow reaching the instance of the data processing function / component. The embodiments may maintain the lifecycle for the inserted data transformation functions / components to perform migrate, scale, remove as the data topology or usage changes. By recursively evaluating the application of thedata transformation functions / components to new and / or updated data sources and placement of the data processing functions / components, the data processing pipeline can be updated efficiently.

[0087] Figure 7 is a flow diagram illustrating the operations for data processing pipeline planning per some embodiments. The method 700 may also be performed by the workload placement logic 125 in some embodiments.

[0088] At reference 702, a data source is selected from a plurality of data sources, wherein data from the data source is to be forwarded in a path within the network to a data processing function.

[0089] In some embodiments, the plurality of data sources are grouped for data forwarding based on resource allocation of the network, wherein the data sources within the plurality of data sources are allocated path and data transformation iteratively. The resource allocation may be provided by the request description 104 discussed herein. For example, the data sources that are close to each other, that generate data at different / similar frequencies, and / or that share characteristics align with particular data transformation and / or data processing to be performed.

[0090] In some embodiments, the selection of the data source is initiated in response to a change of how many data sources are in the network. As discussed herein, the workload placement logic 125 may maintain state of the network on which the data processing pipeline planning is performed, and it keeps track of adding or removing of a data source. When the addition / removal of the data source occurs, the need of data transformation may also change, for example, when a path to an Al service shared by two data sources now has only one data source left, an existing data transformation may no longer necessary; conversely, when a path has two more data sources added to the Al service, data aggregation may be necessary to reduce the cost of transporting the data from four data sources.

[0091] At reference 704, it is determined whether data transformation is to be performed on the data in the path prior to the data reaching the data processing function and when the data transformation is to be performed, a location on the path to perform the data transformation, the determination being based on resource consumption of forwarding the data from the data source in the path. The resource consumption of forwarding the data from the data source in the path includes the cost of the data pipeline (e.g., hosting cost or transport cost) as discussed herein relating to Figures 2 to 4 and 6. Note the determination may be performed recursively one data source at a time as shown in Figure 6.

[0092] At reference 706, responsive to the determination that the data transformation is to be performed, the data transformation is caused to be performed on the data from the data source at the location in the path. For example, the workload placement logic 125 may invoke an interfaceto identify the location on the path to perform the data transformation, where the location is a network node hosting the corresponding data transformation component; and the workload placement logic 125 may notify the hosting node to perform the data transformation once the data arrives the hosting node.

[0093] In some embodiments, determining whether the data transformation is to be performed on the data in the path is further based on one or more characteristics of the data to be forwarded. The one or more characteristics of the data to be forwarded may be (1) the ones of the data sourced from the data source and prior to being transformed, and / or (2) the ones of the data after assuming to be transformed through the data transformation (e g., performing TEF computation to determine whether it is cost efficient to perform the data transformation).

[0094] In some embodiments, the one or more characteristics of the data to be forwarded are maintained in a storage that stores states of the plurality of data sources. The storage may be a datastore that stores state 120 in some embodiments.

[0095] In some embodiments, the one or more characteristics of the data includes one or more of data volume, data rate, and quality of service (QoS) requirements for the data. The QoS requirements may be determined by an SLA, which specifies the latency, jitter, error rate, and other criteria.

[0096] In some embodiments, the one or more characteristics of the data includes one or more of data security requirement and legal mandate. The examples of data transformation location selection based on the data security requirement and legal mandate are discussed relating to Figure 5.

[0097] In some embodiments, the data processing function is to be implemented in a plurality of locations, and where the determination comprises selecting the location from the plurality of locations for the data to be routed to. The location selection of the data processing function may be based on policies and objectives other than the optimization of the data transformation as discussed herein.

[0098] In some embodiments, the determination comprises selecting a data transformation function that has been implemented at the location to perform the data transformation. Alternatively, the determination comprises selecting a data transformation function to be initiated at the location to perform the data transformation. The resource consumption of either selecting the existing data transformation function or initiating a new data transformation function is considered in making the determination. In some embodiments, the determination further based on a capacity limit of the data transformation function as discussed relating to Figure 6.

[0099] In some embodiments, the path is selected as a shortest path from the data source to the data processing function.

[0100] In some embodiments, the data transformation comprises one or more of data compression, aggregation, normalization, obfuscation, and filtering.

[0101] In some embodiments, the data processing function implements an artificial intelligence service including one or more of network optimization, predictive maintenance, network security monitor, and fraud detection.

[0102] In some embodiments, data from each data source within the plurality of data sources comprises one or more data flows, wherein the data transformation causes less data flows from within the plurality of data sources to reach the data processing function.

[0103] Through these embodiments, the data processing pipeline planning process may allocate the data transformation (implementing data transformation function in a transformation component) at the optimal location in the network when necessary and not allocate one at all when it is deemed wasteful (e.g., adding the transformation does not reduce but increase resource consumption for processing the data between data sources and the data processing function). The process may be triggered dynamically based on the life cycle of data sources (adding / removing data sources). Furthermore, the process takes into consideration of the resource consumption that is both fixed and flexible regarding implementing the data transformation (e.g., through data transformation component / function).Devices Implementing Embodiments of the Invention

[0104] Figure 8A illustrates connectivity between network devices (NDs) within an exemplary network, as well as three exemplary implementations of the NDs, according to some embodiments of the invention. Figure 8A shows NDs 800A-H, and their connectivity by way of lines between 800A-800B, 800B-800C, 800C-800D, 800D-800E, 800E-800F, 800F-800G, and 800A-800G, as well as between 800H and each of 800A, 800C, 800D, and 800G. These NDs are physical devices, and the connectivity between these NDs can be wireless or wired (often referred to as a link). An additional line extending from NDs 800A, 800E, and 800F illustrates that these NDs act as ingress and egress points for the network (and thus, these NDs are sometimes referred to as edge NDs; while the other NDs may be called core NDs).

[0105] Two of the exemplary ND implementations in Figure 8A are: 1) a special-purpose network device 802 that uses custom application-specific integrated-circuits (ASICs) and a special-purpose operating system (OS); and 2) a general-purpose network device 804 that uses common off-the-shelf (COTS) processors and a standard OS.

[0106] The special-purpose network device 802 includes networking hardware 810 comprising a set of one or more processor(s) 812, forwarding resource(s) 814 (which typicallyinclude one or more ASICs and / or network processors), and physical network interfaces (NIs) 816 (through which network connections are made, such as those shown by the connectivity between NDs 800A-H), as well as non-transitory machine readable storage media 818 having stored therein networking software 820. During operation, the networking software 820 may be executed by the networking hardware 810 to instantiate a set of one or more networking software instance(s) 822. Each of the networking software instance(s) 822, and that part of the networking hardware 810 that executes that network software instance (be it hardware dedicated to that networking software instance and / or time slices of hardware temporally shared by that networking software instance with others of the networking software instance(s) 822), form a separate virtual network element 830A-R. Each of the virtual network element(s) (VNEs) 830A- R includes a control communication and configuration module 832A-R (sometimes referred to as a local control module or control communication module) and forwarding table(s) 834A-R, such that a given virtual network element (e.g., 830A) includes the control communication and configuration module (e.g., 832A), a set of one or more forwarding table(s) (e.g., 834A), and that portion of the networking hardware 810 that executes the virtual network element (e g., 830A). In some embodiments, the networking software 820 includes the workload placement logic 125 discussed herein above.

[0107] The special-purpose network device 802 is often physically and / or logically considered to include: 1) a ND control plane 824 (sometimes referred to as a control plane) comprising the processor(s) 812 that execute the control communication and configuration module(s) 832A-R; and 2) a ND forwarding plane 826 (sometimes referred to as a forwarding plane, a data plane, or a media plane) comprising the forwarding resource(s) 814 that utilize the forwarding table(s) 834A-R and the physical NIs 816. By way of example, where the ND is a router (or is implementing routing functionality), the ND control plane 824 (the processor(s) 812 executing the control communication and configuration module(s) 832A-R) is typically responsible for participating in controlling how data (e g., packets) is to be routed (e.g., the next hop for the data and the outgoing physical NI for that data) and storing that routing information in the forwarding table(s) 834A-R, and the ND forwarding plane 826 is responsible for receiving that data on the physical NIs 816 and forwarding that data out the appropriate ones of the physical NIs 816 based on the forwarding table(s) 834A-R.

[0108] Figure 8B illustrates an exemplary way to implement the special-purpose network device 802 according to some embodiments of the invention. Figure 8B shows a special-purpose network device including cards 838 (typically hot pluggable). While in some embodiments the cards 838 are of two types (one or more that operate as the ND forwarding plane 826 (sometimes called line cards), and one or more that operate to implement the ND control plane824 (sometimes called control cards)), alternative embodiments may combine functionality onto a single card and / or include additional card types (e.g., one additional type of card is called a service card, resource card, or multi-application card). A service card can provide specialized processing (e.g., Layer 4 to Layer 7 services (e.g., firewall, Internet Protocol Security (IPsec), Secure Sockets Layer (SSL) / Transport Layer Security (TLS), Intrusion Detection System (IDS), peer-to-peer (P2P), Voice over IP (VoIP) Session Border Controller, Mobile Wireless Gateways (Gateway General Packet Radio Service (GPRS) Support Node (GGSN), Evolved Packet Core (EPC) Gateway)). By way of example, a service card may be used to terminate IPsec tunnels and execute the attendant authentication and encryption algorithms. These cards are coupled together through one or more interconnect mechanisms illustrated as backplane 836 (e.g., a first full mesh coupling the line cards and a second full mesh coupling all of the cards).

[0109] Returning to Figure 8A, the general-purpose network device 804 includes hardware 840 comprising a set of one or more processor(s) 842 (which are often COTS processors) and physical NIs 846, as well as non-transitory machine-readable storage media 848 having stored therein software 850. During operation, the processor(s) 842 execute the software 850 to instantiate one or more sets of one or more applications 864A-R. While one embodiment does not implement virtualization, alternative embodiments may use different forms of virtualization. For example, in one such alternative embodiment the virtualization layer 854 represents the kernel of an operating system (or a shim executing on a base operating system) that allows for the creation of multiple instances 862A-R called software containers that may each be used to execute one (or more) of the sets of applications 864A-R; where the multiple software containers (also called virtualization engines, virtual private servers, or jails) are user spaces (typically a virtual memory space) that are separate from each other and separate from the kernel space in which the operating system is run; and where the set of applications running in a given user space, unless explicitly allowed, cannot access the memory of the other processes. In another such alternative embodiment the virtualization layer 854 represents a hypervisor (sometimes referred to as a virtual machine monitor (VMM)) or a hypervisor executing on top of a host operating system, and each of the sets of applications 864A-R is run on top of a guest operating system within an instance 862A-R called a virtual machine (which may in some cases be considered a tightly isolated form of software container) that is run on top of the hypervisor - the guest operating system and application may not know they are running on a virtual machine as opposed to running on a “bare metal” host electronic device, or through para-virtualization the operating system and / or application may be aware of the presence of virtualization for optimization purposes. In yet other alternative embodiments, one, some or all of the applications are implemented as unikemel(s), which can be generated by compiling directly with anapplication only a limited set of libraries (e.g., from a library operating system (LibOS) including drivers / libraries of OS services) that provide the particular OS services needed by the application. As a unikernel can be implemented to run directly on hardware 840, directly on a hypervisor (in which case the unikernel is sometimes described as running within a LibOS virtual machine), or in a software container, embodiments can be implemented fully with unikemels running directly on a hypervisor represented by virtualization layer 854, unikemels running within software containers represented by instances 862A-R, or as a combination of unikemels and the above-described techniques (e.g., unikemels and virtual machines both run directly on a hypervisor, unikemels and sets of applications that are run in different software containers). In some embodiments, the software 850 includes the workload placement logic 125 discussed herein above.

[0110] The instantiation of the one or more sets of one or more applications 864A-R, as well as virtualization if implemented, are collectively referred to as software instance(s) 852. Each set of applications 864A-R, corresponding virtualization construct (e.g., instance 862A-R) if implemented, and that part of the hardware 840 that executes them (be it hardware dedicated to that execution and / or time slices of hardware temporally shared), forms a separate virtual network element(s) 860A-R.

[0111] The virtual network element(s) 860A-R perform similar functionality to the virtual network element(s) 830A-R - e.g., similar to the control communication and configuration module(s) 832A and forwarding table(s) 834A (this virtualization of the hardware 840 is sometimes referred to as network function virtualization (NFV)). Thus, NFV may be used to consolidate many network equipment types onto industry standard high volume server hardware, physical switches, and physical storage, which could be located in Data centers, NDs, and customer premise equipment (CPE). While embodiments of the invention are illustrated with each instance 862A-R corresponding to one VNE 860A-R, alternative embodiments may implement this correspondence at a finer level granularity (e.g., line card virtual machines virtualize line cards, control card virtual machine virtualize control cards, etc.); it should be understood that the techniques described herein with reference to a correspondence of instances 862A-R to VNEs also apply to embodiments where such a finer level of granularity and / or unikemels are used.

[0112] In certain embodiments, the virtualization layer 854 includes a virtual switch that provides similar forwarding services as a physical Ethernet switch. Specifically, this virtual switch forwards traffic between instances 862A-R and the physical NI(s) 846, as well as optionally between the instances 862A-R; in addition, this virtual switch may enforce networkisolation between the VNEs 860A-R that by policy are not permitted to communicate with each other (e.g., by honoring virtual local area networks (VLANs)).

[0113] The third exemplary ND implementation in Figure 8A is a hybrid network device 806, which includes both custom ASICs / special-purpose OS and COTS processors / standard OS in a single ND or a single card within an ND. In certain embodiments of such a hybrid network device, a platform VM (i.e., a VM that that implements the functionality of the special-purpose network device 802) could provide for para-virtualization to the networking hardware present in the hybrid network device 806.

[0114] Regardless of the above exemplary implementations of an ND, when a single one of multiple VNEs implemented by an ND is being considered (e.g., only one of the VNEs is part of a given virtual network) or where only a single VNE is currently being implemented by an ND, the shortened term network element (NE) is sometimes used to refer to that VNE. Also in all of the above exemplary implementations, each of the VNEs (e.g., VNE(s) 830A-R, VNEs 860A-R, and those in the hybrid network device 806) receives data on the physical NIs (e.g., 816, 846) and forwards that data out the appropriate ones of the physical NIs (e.g., 816, 846). For example, a VNE implementing IP router functionality forwards IP packets on the basis of some of the IP header information in the IP packet; where IP header information includes source IP address, destination IP address, source port, destination port (where “source port” and “destination port” refer herein to protocol ports, as opposed to physical ports of a ND), transport protocol (e.g., user datagram protocol (UDP), Transmission Control Protocol (TCP), and differentiated services code point (DSCP) values.

[0115] Figure 8C illustrates various exemplary ways in which VNEs may be coupled according to some embodiments of the invention. Figure 8C shows VNEs 870A.1-870A.P (and optionally VNEs 870A.Q-870A.R) implemented in ND 800A and VNE 870H.1 in ND 800H. In Figure 8C, VNEs 870A.1-P are separate from each other in the sense that they can receive packets from outside ND 800A and forward packets outside of ND 800A; VNE 870A.1 is coupled with VNE 870H.1, and thus they communicate packets between their respective NDs; VNE 870A.2-870A.3 may optionally forward packets between themselves without forwarding them outside of the ND 800A; and VNE 870A.P may optionally be the first in a chain of VNEs that includes VNE 870A.Q followed by VNE 870A.R (this is sometimes referred to as dynamic service chaining, where each of the VNEs in the series of VNEs provides a different service - e.g., one or more layer 4-7 network services). While Figure 8C illustrates various exemplary relationships between the VNEs, alternative embodiments may support other relationships (e.g., more / fewer VNEs, more / fewer dynamic service chains, multiple different dynamic service chains with some common VNEs and some different VNEs).

[0116] The NDs of Figure 8A, for example, may form part of the Internet or a private network; and other electronic devices (not shown; such as end user devices including workstations, laptops, netbooks, tablets, palm tops, mobile phones, smartphones, phablets, multimedia phones, Voice Over Internet Protocol (VOIP) phones, terminals, portable media players, GPS units, wearable devices, gaming systems, set-top boxes, Internet enabled household appliances) may be coupled to the network (directly or through other networks such as access networks) to communicate over the network (e.g., the Internet or virtual private networks (VPNs) overlaid on (e.g., tunneled through) the Internet) with each other (directly or through servers) and / or access content and / or services. Such content and / or services are typically provided by one or more servers (not shown) belonging to a service / content provider or one or more end user devices (not shown) participating in a peer-to-peer (P2P) service, and may include, for example, public webpages (e.g., free content, store fronts, search services), private webpages (e.g., usemame / password accessed webpages providing email services), and / or corporate networks over VPNs. For instance, end user devices may be coupled (e.g., through customer premise equipment coupled to an access network (wired or wirelessly)) to edge NDs, which are coupled (e.g., through one or more core NDs) to other edge NDs, which are coupled to electronic devices acting as servers. However, through compute and storage virtualization, one or more of the electronic devices operating as the NDs in Figure 8A may also host one or more such servers (e.g., in the case of the general purpose network device 804, one or more of the software instances 862A-R may operate as servers; the same would be true for the hybrid network device 806; in the case of the special-purpose network device 802, one or more such servers could also be run on a virtualization layer executed by the processor(s) 812); in which case the servers are said to be co-located with the VNEs of that ND.

[0117] A virtual network is a logical abstraction of a physical network (such as that in Figure 8A) that provides network services (e.g., L2 and / or L3 services). A virtual network can be implemented as an overlay network (sometimes referred to as a network virtualization overlay) that provides network services (e.g., layer 2 (L2, data link layer) and / or layer 3 (L3, network layer) services) over an underlay network (e.g., an L3 network, such as an Internet Protocol (IP) network that uses tunnels (e.g., generic routing encapsulation (GRE), layer 2 tunneling protocol (L2TP), IPSec) to create the overlay network).

[0118] A network virtualization edge (NVE) sits at the edge of the underlay network and participates in implementing the network virtualization; the network-facing side of the NVE uses the underlay network to tunnel frames to and from other NVEs; the outward-facing side of the NVE sends and receives data to and from systems outside the network. A virtual network instance (VNI) is a specific instance of a virtual network on a NVE (e.g., a NE / VNE on an ND,a part of a NE / VNE on a ND where that NE / VNE is divided into multiple VNEs through emulation); one or more VNIs can be instantiated on an NVE (e.g., as different VNEs on an ND). A virtual access point (VAP) is a logical connection point on the NVE for connecting external systems to a virtual network; a VAP can be physical or virtual ports identified through logical interface identifiers (e.g., a VLAN ID).

[0119] Examples of network services include: 1) an Ethernet LAN emulation service (an Ethernet-based multipoint service similar to an Internet Engineering Task Force (IETF) Multiprotocol Label Switching (MPLS) or Ethernet VPN (EVPN) service) in which external systems are interconnected across the network by a LAN environment over the underlay network (e g., an NVE provides separate L2 VNIs (virtual switching instances) for different such virtual networks, and L3 (e.g., IP / MPLS) tunneling encapsulation across the underlay network); and 2) a virtualized IP forwarding service (similar to IETF IP VPN (e.g., Border Gateway Protocol (BGP) / MPLS IPVPN) from a service definition perspective) in which external systems are interconnected across the network by an L3 environment over the underlay network (e g., an NVE provides separate L3 VNIs (forwarding and routing instances) for different such virtual networks, and L3 (e.g., IP / MPLS) tunneling encapsulation across the underlay network)). Network services may also include quality of service capabilities (e.g., traffic classification marking, traffic conditioning and scheduling), security capabilities (e.g., filters to protect customer premises from network - originated attacks, to avoid malformed route announcements), and management capabilities (e.g., full detection and processing).

[0120] Fig. 8D illustrates a network with a single network element on each of the NDs of Figure 8A, and within this straightforward approach contrasts a traditional distributed approach (commonly used by traditional routers) with a centralized approach for maintaining reachability and forwarding information (also called network control), according to some embodiments of the invention. Specifically, Figure 8D illustrates network elements (NEs) 870A-H with the same connectivity as the NDs 800A-H of Figure 8A.

[0121] Figure 8D illustrates that the distributed approach 872 distributes responsibility for generating the reachability and forwarding information across the NEs 870A-H; in other words, the process of neighbor discovery and topology discovery is distributed.

[0122] For example, where the special -purpose network device 802 is used, the control communication and configuration module(s) 832A-R of the ND control plane 824 typically include a reachability and forwarding information module to implement one or more routing protocols (e.g., an exterior gateway protocol such as Border Gateway Protocol (BGP), Interior Gateway Protocol(s) (IGP) (e.g., Open Shortest Path First (OSPF), Intermediate System to Intermediate System (IS-IS), Routing Information Protocol (RIP), Label Distribution Protocol(LDP), Resource Reservation Protocol (RSVP) (including RSVP-Traffic Engineering (TE): Extensions to RSVP for LSP Tunnels and Generalized Multi -Protocol Label Switching (GMPLS) Signaling RSVP-TE)) that communicate with other NEs to exchange routes, and then selects those routes based on one or more routing metrics. Thus, the NEs 870A-H (e.g., the processor(s) 812 executing the control communication and configuration module(s) 832A-R) perform their responsibility for participating in controlling how data (e g., packets) is to be routed (e.g., the next hop for the data and the outgoing physical NI for that data) by distributively determining the reachability within the network and calculating their respective forwarding information. Routes and adjacencies are stored in one or more routing structures (e.g., Routing Information Base (RIB), Label Information Base (LIB), one or more adjacency structures) on the ND control plane 824. The ND control plane 824 programs the ND forwarding plane 826 with information (e.g., adjacency and route information) based on the routing structure(s). For example, the ND control plane 824 programs the adjacency and route information into one or more forwarding table(s) 834A-R (e.g., Forwarding Information Base (FIB), Label Forwarding Information Base (LFIB), and one or more adjacency structures) on the ND forwarding plane 826. For layer 2 forwarding, the ND can store one or more bridging tables that are used to forward data based on the layer 2 information in that data. While the above example uses the special-purpose network device 802, the same distributed approach 872 can be implemented on the general-purpose network device 804 and the hybrid network device 806.

[0123] Figure 8D illustrates that a centralized approach 874 (also known as software defined networking (SDN)) that decouples the system that makes decisions about where traffic is sent from the underlying systems that forwards traffic to the selected destination. The illustrated centralized approach 874 has the responsibility for the generation of reachability and forwarding information in a centralized control plane 876 (sometimes referred to as a SDN control module, controller, network controller, OpenFlow controller, SDN controller, control plane node, network virtualization authority, or management control entity), and thus the process of neighbor discovery and topology discovery is centralized. The centralized control plane 876 has a south bound interface 882 with a data plane 880 (sometime referred to the infrastructure layer, network forwarding plane, or forwarding plane (which should not be confused with a ND forwarding plane)) that includes the NEs 870A-H (sometimes referred to as switches, forwarding elements, data plane elements, network nodes, or nodes). The centralized control plane 876 includes a network controller 878, which includes a centralized reachability and forwarding information module 879 that determines the reachability within the network and distributes the forwarding information to the NEs 870A-H of the data plane 880 over the south bound interface 882 (which may use the OpenFlow protocol). Thus, the network intelligence iscentralized in the centralized control plane 876 executing on electronic devices that are typically separate from the NDs.

[0124] For example, where the special -purpose network device 802 is used in the data plane 880, each of the control communication and configuration module(s) 832A-R of the ND control plane 824 typically include a control agent that provides the VNE side of the south bound interface 882. In this case, the ND control plane 824 (the processor(s) 812 executing the control communication and configuration module(s) 832A-R) performs its responsibility for participating in controlling how data (e.g., packets) is to be routed (e.g., the next hop for the data and the outgoing physical NI for that data) through the control agent communicating with the centralized control plane 876 to receive the forwarding information (and in some cases, the reachability information) from the centralized reachability and forwarding information module 879 (it should be understood that in some embodiments of the invention, the control communication and configuration module(s) 832A-R, in addition to communicating with the centralized control plane 876, may also play some role in determining reachability and / or calculating forwarding information - albeit less so than in the case of a distributed approach; such embodiments are generally considered to fall under the centralized approach 874, but may also be considered a hybrid approach).

[0125] While the above example uses the special-purpose network device 802, the same centralized approach 874 can be implemented with the general purpose network device 804 (e.g., each of the VNE 860A-R performs its responsibility for controlling how data (e.g., packets) is to be routed (e.g., the next hop for the data and the outgoing physical NI for that data) by communicating with the centralized control plane 876 to receive the forwarding information (and in some cases, the reachability information) from the centralized reachability and forwarding information module 879; it should be understood that in some embodiments of the invention, the VNEs 860A-R, in addition to communicating with the centralized control plane 876, may also play some role in determining reachability and / or calculating forwarding information - albeit less so than in the case of a distributed approach) and the hybrid network device 806. In fact, the use of SDN techniques can enhance the NFV techniques typically used in the general -purpose network device 804 or hybrid network device 806 implementations as NFV is able to support SDN by providing an infrastructure upon which the SDN software can be run, and NFV and SDN both aim to make use of commodity server hardware and physical switches.

[0126] Figure 8D also shows that the centralized control plane 876 has a north bound interface 884 to an application layer 886, in which resides application(s) 888. The centralized control plane 876 has the ability to form virtual networks 892 (sometimes referred to as a logicalforwarding plane, network services, or overlay networks (with the NEs 870A-H of the data plane 880 being the underlay network)) for the application(s) 888. Thus, the centralized control plane 876 maintains a global view of all NDs and configured NEs / VNEs, and it maps the virtual networks to the underlying NDs efficiently (including maintaining these mappings as the physical network changes either through hardware (ND, link, or ND component) failure, addition, or removal).

[0127] While Figure 8D shows the distributed approach 872 separate from the centralized approach 874, the effort of network control may be distributed differently or the two combined in certain embodiments of the invention. For example: 1) embodiments may generally use the centralized approach (SDN) 874, but have certain functions delegated to the NEs (e.g., the distributed approach may be used to implement one or more of fault monitoring, performance monitoring, protection switching, and primitives for neighbor and / or topology discovery); or 2) embodiments of the invention may perform neighbor discovery and topology discovery via both the centralized control plane and the distributed protocols, and the results compared to raise exceptions where they do not agree. Such embodiments are generally considered to fall under the centralized approach 874 but may also be considered a hybrid approach.

[0128] While Figure 8D illustrates the simple case where each of the NDs 800A-H implements a single NE 870A-H, it should be understood that the network control approaches described with reference to Figure 8D also work for networks where one or more of the NDs 800A-H implement multiple VNEs (e.g., VNEs 830A-R, VNEs 860A-R, those in the hybrid network device 806). Alternatively or in addition, the network controller 878 may also emulate the implementation of multiple VNEs in a single ND. Specifically, instead of (or in addition to) implementing multiple VNEs in a single ND, the network controller 878 may present the implementation of a VNE / NE in a single ND as multiple VNEs in the virtual networks 892 (all in the same one of the virtual network(s) 892, each in different ones of the virtual network(s) 892, or some combination). For example, the network controller 878 may cause an ND to implement a single VNE (a NE) in the underlay network, and then logically divide up the resources of that NE within the centralized control plane 876 to present different VNEs in the virtual network(s) 892 (where these different VNEs in the overlay networks are sharing the resources of the single VNE / NE implementation on the ND in the underlay network).

[0129] On the other hand, Figures 8E and 8F respectively illustrate exemplary abstractions of NEs and VNEs that the network controller 878 may present as part of different ones of the virtual networks 892. Figure 8E illustrates the simple case of where each of the NDs 800A-H implements a single NE 870A-H (see Figure 8D), but the centralized control plane 876 has abstracted multiple of the NEs in different NDs (the NEs 870A-C and G-H) into (to represent) asingle NE 8701 in one of the virtual network(s) 892 of Figure 8D, according to some embodiments of the invention. Figure 8E shows that in this virtual network, the NE 8701 is coupled to NE 870D and 870F, which are both still coupled to NE 870E.

[0130] Figure 8F illustrates a case where multiple VNEs (VNE 870A.1 and VNE 870H.1) are implemented on different NDs (ND 800A and ND 800H) and are coupled to each other, and where the centralized control plane 876 has abstracted these multiple VNEs such that they appear as a single VNE 870T within one of the virtual networks 892 of Figure 8D, according to some embodiments of the invention. Thus, the abstraction of a NE or VNE can span multiple NDs

[0131] While some embodiments of the invention implement the centralized control plane 876 as a single entity (e.g., a single instance of software running on a single electronic device), alternative embodiments may spread the functionality across multiple entities for redundancy and / or scalability purposes (e.g., multiple instances of software running on different electronic devices).

[0132] Similar to the network device implementations, the electronic device(s) running the centralized control plane 876, and thus the network controller 878 including the centralized reachability and forwarding information module 879, may be implemented a variety of ways (e.g., a special purpose device, a general-purpose (e g., COTS) device, or hybrid device). These electronic device(s) would similarly include processor(s), a set or one or more physical NIs, and a non-transitory machine-readable storage medium having stored thereon the centralized control plane software. For instance, Figure 9 illustrates, a general-purpose control plane device 904 including hardware 940 comprising a set of one or more processor(s) 942 (which are often COTS processors) and physical NIs 946, as well as non-transitory machine-readable storage media 948 having stored therein centralized control plane (CCP) software 950. In some embodiments, the software 950 includes the workload placement logic 125 discussed herein above.

[0133] In embodiments that use compute virtualization, the processor(s) 942 typically execute software to instantiate a virtualization layer 954 (e.g., in one embodiment the virtualization layer 954 represents the kernel of an operating system (or a shim executing on a base operating system) that allows for the creation of multiple instances 962A-R called software containers (representing separate user spaces and also called virtualization engines, virtual private servers, or jails) that may each be used to execute a set of one or more applications; in another embodiment the virtualization layer 954 represents a hypervisor (sometimes referred to as a virtual machine monitor (VMM)) or a hypervisor executing on top of a host operating system, and an application is run on top of a guest operating system within an instance 962A-Rcalled a virtual machine (which in some cases may be considered a tightly isolated form of software container) that is run by the hypervisor; in another embodiment, an application is implemented as a unikernel, which can be generated by compiling directly with an application only a limited set of libraries (e.g., from a library operating system (LibOS) including drivers / libraries of OS services) that provide the particul r OS services needed by the application, and the unikernel can run directly on hardware 940, directly on a hypervisor represented by virtualization layer 954 (in which case the unikernel is sometimes described as running within a LibOS virtual machine), or in a software container represented by one of instances 962A-R) Again, in embodiments where compute virtualization is used, during operation an instance of the CCP software 950 (illustrated as CCP instance 976A) is executed (e.g., within the instance 962A) on the virtualization layer 954. In embodiments where compute virtualization is not used, the CCP instance 976A is executed, as a unikernel or on top of a host operating system, on the “bare metal” general purpose control plane device 904. The instantiation of the CCP instance 976A, as well as the virtualization layer 954 and instances 962A-R if implemented, are collectively referred to as software instance(s) 952.

[0134] In some embodiments, the CCP instance 976A includes a network controller instance 978. The network controller instance 978 includes a centralized reachability and forwarding information module instance 979 (which is a middleware layer providing the context of the network controller 878 to the operating system and communicating with the various NEs), and an CCP application layer 980 (sometimes referred to as an application layer) over the middleware layer (providing the intelligence required for various network operations such as protocols, network situational awareness, and user - interfaces). At a more abstract level, this CCP application layer 980 within the centralized control plane 876 works with virtual network view(s) (logical view(s) of the network) and the middleware layer provides the conversion from the virtual networks to the physical view.

[0135] The centralized control plane 876 transmits relevant messages to the data plane 880 based on CCP application layer 980 calculations and middleware layer mapping for each flow. A flow may be defined as a set of packets whose headers match a given pattern of bits; in this sense, traditional IP forwarding is also flow-based forwarding where the flows are defined by the destination IP address for example; however, in other implementations, the given pattern of bits used for a flow definition may include more fields (e.g., 10 or more) in the packet headers. Different NDs / NEs / VNEs of the data plane 880 may receive different messages, and thus different forwarding information. The data plane 880 processes these messages and programs the appropriate flow information and corresponding actions in the forwarding tables (sometime referred to as flow tables) of the appropriate NE / VNEs, and then the NEs / VNEs map incomingpackets to flows represented in the forwarding tables and forward packets based on the matches in the forwarding tables.

[0136] Standards such as OpenFlow define the protocols used for the messages, as well as a model for processing the packets. The model for processing packets includes header parsing, packet classification, and making forwarding decisions. Header parsing describes how to interpret a packet based upon a well-known set of protocols Some protocol fields are used to build a match structure (or key) that will be used in packet classification (e.g., a first key field could be a source media access control (MAC) address, and a second key field could be a destination MAC address).

[0137] Packet classification involves executing a lookup in memory to classify the packet by determining which entry (also referred to as a forwarding table entry or flow entry) in the forwarding tables best matches the packet based upon the match structure, or key, of the forwarding table entries. It is possible that many flows represented in the forwarding table entries can correspond / match to a packet; in this case the system is typically configured to determine one forwarding table entry from the many according to a defined scheme (e.g., selecting a first forwarding table entry that is matched). Forwarding table entries include both a specific set of match criteria (a set of values or wildcards, or an indication of what portions of a packet should be compared to a particular value / values / wildcards, as defined by the matching capabilities - for specific fields in the packet header, or for some other packet content), and a set of one or more actions for the data plane to take on receiving a matching packet. For example, an action may be to push a header onto the packet, for the packet using a particular port, flood the packet, or simply drop the packet. Thus, a forwarding table entry for IPv4 / IPv6 packets with a particular transmission control protocol (TCP) destination port could contain an action specifying that these packets should be dropped.

[0138] Making forwarding decisions and performing actions occurs, based upon the forwarding table entry identified during packet classification, by executing the set of actions identified in the matched forwarding table entry on the packet.

[0139] However, when an unknown packet (for example, a “missed packet” or a “match- miss” as used in OpenFlow parlance) arrives at the data plane 880, the packet (or a subset of the packet header and content) is typically forwarded to the centralized control plane 876. The centralized control plane 876 will then program forwarding table entries into the data plane 880 to accommodate packets belonging to the flow of the unknown packet. Once a specific forwarding table entry has been programmed into the data plane 880 by the centralized control plane 876, the next packet with matching credentials will match that forwarding table entry and take the set of actions associated with that matched entry.

[0140] A network interface (NI) may be physical or virtual; and in the context of IP, an interface address is an IP address assigned to a NI, be it a physical NI or virtual NI. A virtual NI may be associated with a physical NI, with another virtual interface, or stand on its own (e.g., a loopback interface, a point-to-point protocol interface). A NI (physical or virtual) may be numbered (a NI with an IP address) or unnumbered (a NI without an IP address). A loopback interface (and its loopback address) is a specific type of virtual NI (and IP address) of a NE / VNE (physical or virtual) often used for management purposes; where such an IP address is referred to as the nodal loopback address. The IP address(es) assigned to the NI(s) of a ND are referred to as IP addresses of that ND; at a more granular level, the IP address(es) assigned to NI(s) assigned to a NE / VNE implemented on a ND can be referred to as IP addresses of that NE / VNE.

[0141] Each VNE (e g., a virtual router, a virtual bridge (which may act as a virtual switch instance in a Virtual Private LAN Service (VPLS) is typically independently administrable. For example, in the case of multiple virtual routers, each of the virtual routers may share system resources but is separate from the other virtual routers regarding its management domain, AAA (authentication, authorization, and accounting) name space, IP address, and routing database(s). Multiple VNEs may be employed in an edge ND to provide direct network access and / or different classes of services for subscribers of service and / or content providers.

[0142] Within certain NDs, “interfaces” that are independent of physical NIs may be configured as part of the VNEs to provide higher-layer protocol and service information (e.g., Layer 3 addressing). The subscriber records in the AAA server identify, in addition to the other subscriber configuration requirements, to which context (e.g., which of the VNEs / NEs) the corresponding subscribers should be bound within the ND. As used herein, a binding forms an association between a physical entity (e g., physical NI, channel) or a logical entity (e.g., circuit such as a subscriber circuit or logical circuit (a set of one or more subscriber circuits)) and a context’s interface over which network protocols (e g., routing protocols, bridging protocols) are configured for that context. Subscriber data flows on the physical entity when some higher-layer protocol interface is configured and associated with that physical entity.Terms

[0143] References in the specification to “one embodiment,” “an embodiment,” “an example embodiment,” and so forth, indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge ofone skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.

[0144] The description and claims may use the terms “coupled” and “connected,” along with their derivatives. These terms are not intended as synonyms for each other. “Coupled” is used to indicate that two or more elements, which may or may not be in direct physical or electrical contact with each other, co-operate or interact with each other. “Connected” is used to indicate the establishment of wireless or wireline communication between two or more elements that are coupled with each other. A “set,” as used herein can refer to any whole number of items including one item.

[0145] An electronic device stores and transmits (internally and / or with other electronic devices over a network) code (which is composed of software instructions and which is sometimes referred to as a computer program code or a computer program) and / or data using machine-readable media (also called computer-readable media), such as machine-readable storage media (e.g., magnetic disks, optical disks, solid state drives, read only memory (ROM), flash memory devices, phase change memory) and machine-readable transmission media (also called a carrier) (e.g., electrical, optical, radio, acoustical, or other form of propagated signals - such as carrier waves, infrared signals). Thus, an electronic device (e.g., a computer) includes hardware and software, such as a set of one or more processors (e.g., of which a processor is a microprocessor, controller, microcontroller, central processing unit, digital signal processor, application specific integrated circuit (ASIC), field programmable gate array (FPGA), other electronic circuitry, or a combination of one or more of the preceding) coupled to one or more machine-readable storage media to store code for execution on the set of processors and / or to store data. For instance, an electronic device may include non-volatile memory containing the code since the non-volatile memory can persist code / data even when the electronic device is turned off (when power is removed). When the electronic device is turned on, that part of the code that is to be executed by the processor(s) of the electronic device is typically copied from the slower non-volatile memory into volatile memory (e.g., dynamic random-access memory (DRAM), static random-access memory (SRAM)) of the electronic device. Typical electronic devices also include a set of one or more physical network interface(s) (NI(s)) to establish network connections (to transmit and / or receive code and / or data using propagating signals) with other electronic devices. For example, the set of physical NIs (or the set of physical NI(s) in combination with the set of processors executing code) may perform any formatting, coding, or translating to allow the electronic device to send and receive data whether over a wired and / or a wireless connection. In some embodiments, a physical NI may comprise radio circuitry capable of (1) receiving data from other electronic devices over a wireless connection and / or (2) sendingdata out to other devices through a wireless connection. This radio circuitry may include transmitted s), receiver(s), and / or transceiver(s) suitable for radio frequency communication. The radio circuitry may convert digital data into a radio signal having the proper parameters (e.g., frequency, timing, channel, bandwidth, and so forth). The radio signal may then be transmitted through antennas to the appropriate recipient(s). In some embodiments, the set of physical NI(s) may comprise network interface controller(s) (NICs), also known as a network interface card, network adapter, or local area network (LAN) adapter. The NIC(s) may facilitate in connecting the electronic device to other electronic devices allowing them to communicate with wire through plugging in a cable to a physical port connected to an NIC One or more parts of an embodiment of the invention may be implemented using different combinations of software, firmware, and / or hardware.

[0146] A network device (ND) is an electronic device that communicatively interconnects other electronic devices on the network (e.g., other network devices, end-user devices). Some network devices are “multiple services network devices” that provide support for multiple networking functions (e.g., routing, bridging, switching, Layer 2 aggregation, session border control, Quality of Service, and / or subscriber management), and / or provide support for multiple application services (e.g., data, voice, and video). Similarly, a control plane device (e.g., the COTS control plane device 904) is also an electronic device.

[0147] The terms “module,” “logic,” and “unit” used in the present application, may refer to a circuit for performing the function specified. In some embodiments, the function specified may be performed by a circuit in combination with software such as by software executed by a general -purpose processor.

[0148] Any appropriate steps, methods, features, functions, or benefits disclosed herein may be performed through one or more functional units or modules of one or more virtual apparatuses. Each virtual apparatus may comprise a number of these functional units. These functional units may be implemented via processing circuitry, which may include one or more microprocessor or microcontrollers, as well as other digital hardware, which may include digital signal processors (DSPs), special-purpose digital logic, and the like. The processing circuitry may be configured to execute program code stored in memory, which may include one or several types of memory such as read-only memory (ROM), random-access memory (RAM), cache memory, flash memory devices, optical storage devices, etc. Program code stored in memory includes program instructions for executing one or more telecommunications and / or data communications protocols as well as instructions for carrying out one or more of the techniques described herein. In some implementations, the processing circuitry may be used tocause the respective functional unit to perform corresponding functions according one or more embodiments of the present disclosure.

[0149] The term unit may have conventional meaning in the field of electronics, electrical devices, and / or electronic devices and may include, for example, electrical and / or electronic circuitry, devices, modules, processors, memories, logic solid state and / or discrete devices, computer programs or instructions for carrying out respective tasks, procedures, computations, outputs, and / or displaying functions, and so on, as such as those that are described herein.

Claims

AMENDED CLAIMS received by the International Bureau on 03 July 2024 (03.07.2024)What is claimed is:

1. A method to be implemented in an electronic device of a network, the method comprising: selecting (702) a data source from a plurality of data sources, wherein data from the data source is to be forwarded in a path within the network to a data processing function; determining (704) whether data transformation is to be performed on the data in the path prior to the data reaching the data processing function and when the data transformation is to be performed, determining a location on the path to perform the data transformation, wherein the determination of whether the data transformation is to be performed and the location is based on resource consumption of forwarding the data from the data source in the path including resource consumption of hosting the data transformation at the location; responsive to the determination that the data transformation is to be performed, causing (706) the data transformation on the data from the data source at the location in the path.

2. The method of claim 1, wherein the plurality of data sources are grouped for data forwarding based on resource allocation of the network, wherein data sources within the plurality of data sources are allocated path and data transformation iteratively.

3. The method of claim 1 or 2, wherein the selection of the data source is initiated in response to a change of how many data sources are in the network.

4. The method of any of claims 1 to 3, wherein determining whether the data transformation is to be performed on the data in the path is further based on one or more characteristics of the data to be forwarded.

5. The method of claim 4, wherein the one or more characteristics of the data to be forwarded are maintained in a storage that stores one or more states of the plurality of data sources.

6. The method of claim 4, wherein the one or more characteristics of the data includes one or more of data volume, data rate, and quality of service requirements for the data.AMENDED SHEET (ARTICLE 19)7. The method of claim 4, wherein the one or more characteristics of the data includes one or more of data security requirement and legal mandate.

8. The method of any of claims 1 to 7, wherein the data processing function is to be implemented in a plurality of locations, and wherein the determination comprises selecting the location from the plurality of locations for the data to be routed to.

9. The method of any of claims 1 to 8, wherein the determination comprises selecting a data transformation function that has been implemented at the location to perform the data transformation or initiating a data transformation function at the location.

10. The method of claim 9, wherein the determination is further based on a capacity limit of the data transformation function.

11. The method of any of claims 1 to 10, wherein the path is selected as a shortest path from the data source to the data processing function.

12. The method of any of claims 1 to 11, wherein the data transformation comprises one or more of data compression, aggregation, normalization, obfuscation, and filtering.

13. The method of any of claims 1 to 12, wherein the data processing function implements an artificial intelligence service including one or more of network optimization, predictive maintenance, network security monitor, and fraud detection.

14. The method of claim any of claims 1 to 13, wherein data from each data source within the plurality of data sources comprises one or more data flows, wherein the data transformation causes less data flows from within the plurality of data sources to reach the data processing function.

15. An electronic device (904), comprising: a processor (942) and non-transitory machine-readable storage medium (948) that provides instructions that, when executed by the processor, are capable of causing the processor (942) to perform: selecting (702) a data source from a plurality of data sources, wherein data from the data source is to be forwarded in a path within the network to a data processing function; determining (704) whether data transformation is to be performed on the data in the path prior to the data reaching the data processing function and whenAMENDED SHEET (ARTICLE 19)the data transformation is to be performed, determining a location on the path to perform the data transformation, wherein the determination of whether the data transformation is to be performed and the location is based on resource consumption of forwarding the data from the data source in the path including resource consumption of hosting the data transformation at the location; ; and responsive to the determination that the data transformation is to be performed, causing (706) the data transformation on the data from the data source at the location in the path.

16. The electronic device of claim 15, wherein the plurality of data sources are grouped for data forwarding based on resource allocation of the network, wherein data sources within the plurality of data sources are allocated path and data transformation iteratively.

17. The electronic device of claim 15 or 16, wherein the selection of the data source is initiated in response to a change of how many data sources are in the network.

18. The electronic device of claim 15 or 17, wherein determining whether the data transformation is to be performed on the data in the path is further based on one or more characteristics of the data to be forwarded.

19. The electronic device of claim 18, wherein the one or more characteristics of the data to be forwarded are maintained in a storage that stores one or more states of the plurality of data sources.

20. The electronic device of claim 18, wherein the one or more characteristics of the data includes one or more of data volume, data rate, and quality of service requirements for the data.

21. The electronic device of claim 18, wherein the one or more characteristics of the data includes one or more of data security requirement and legal mandate.

22. The electronic device of any of claims 15 to 21, wherein the data processing function is to be implemented in a plurality of locations, and wherein the determination comprises selecting the location from the plurality of locations for the data to be routed to.

23. The electronic device of any of claims 15 to 22, wherein the determination comprises selecting a data transformation function that has been implemented at the location to perform the data transformation or initiating a data transformation function at the location.AMENDED SHEET (ARTICLE 19)24. The electronic device of claim 23, wherein the determination is further based on a capacity limit of the data transformation function.

25. The electronic device of any of claims 15 to 24, wherein the path is selected as a shortest path from the data source to the data processing function.

26. The electronic device of any of claims 15 to 25, wherein the data transformation comprises one or more of data compression, aggregation, normalization, obfuscation, and filtering.

27. The electronic device of any of claims 15 to 26, wherein the data processing function implements an artificial intelligence service including one or more of network optimization, predictive maintenance, network security monitor, and fraud detection.

28. The electronic device of any of claims 15 to 27, wherein data from each data source within the plurality of data sources comprises one or more data flows, wherein the data transformation causes less data flows from within the plurality of data sources to reach the data processing function.

29. A machine-readable storage medium (948) that provides instructions that, when executed by a processor (942), are capable of causing the processor to perform any of methods 1 to 14.

30. A computer program (950) that provides instructions that, when executed by a processor (942), are capable of causing the processor to perform any of methods 1 to 14.AMENDED SHEET (ARTICLE 19)

Citation Information

Patent Citations

  • Filtering training data for models in a data center

    US20190034829A1

  • Dual-port mirroring system for analyzing non-stationary data in a network

    US20200014712A1

  • Agentless Workload Assessment by a Data Platform

    US20220360600A1

  • Methods and apparatus for configuration management analytics and automation in cellular networks

    WO2023014019A1