Service business replication and dynamic policy enforcement in multi-cloud service mesh

Similar network layer multicast packet delivery is implemented in the service grid through BIER and iOAM protocols, which solves the problem of low multicast communication efficiency in the existing technology and improves network performance and bandwidth utilization.

CN112567698BActive Publication Date: 2024-09-17CISCO TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980053245.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-08-21
Filing Date
2019-08-21
Publication Date
2024-09-17
Estimated Expiration
2039-08-21

AI Technical Summary

Technical Problem

In distributed computing systems, especially in cloud or multi-cloud environments, existing technologies are inefficient when implementing multicast communication, resulting in a waste of network resources and bandwidth, introducing unnecessary services, and affecting equipment and network performance.

Method used

The Bit-Indexed Explicit Replication (BIER) protocol and the On-site Operation, Management and Maintenance (iOAM) protocol are used to deliver similar network layer multicast packets through BIER replicator nodes and receiver nodes, and forwarding policies are defined within the transport layer using The symbolic policy definition language carries policy information to dynamically adjust packet processing behavior.

Benefits of technology

It achieves efficient multicast packet delivery within the service grid, reduces unnecessary bandwidth utilization, improves equipment and network performance, and is suitable for complex microservice grid environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112567698B_ABST
    Figure CN112567698B_ABST
Patent Text Reader

Abstract

In one embodiment, a data processing method includes: receiving a multicast stream packet identifying a service-level multicast group address from a data source at a BIER replicator node programmed to implement a Bit-Indexed Explicit Replication (BIER) protocol; using the BIER replicator node to replicate the multicast stream packet according to the BIER protocol, and sending two or more replicated packet streams to two or more BIER receiver nodes programmed to implement BIER; and using the two or more BIER receiver nodes to send two or more replicated packet streams to two or more receivers. Other embodiments may use modified field operation, management, and maintenance (iOAM) techniques, including: using a source, encapsulating an iOAM header and placing one of the following in the header: an identifier of a replicator policy; a definition of a replicator policy expressed in a symbolic language; receiving the iOAM header at one or more BIER replicator nodes; performing one of the following at a particular replicator node: reading the identifier of the replicator policy, retrieving a predefined packet replication policy that matches the identifier, and executing the predefined packet replication policy to dynamically adjust the packet processing behavior of the particular BIER replicator node; or parsing the definition of the replicator policy in symbolic language form to generate a new packet replication policy, and executing the new packet replication policy to dynamically adjust the packet processing behavior of the particular BIER replicator node.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Related Applications

[0002] This PCT international application is a continuation of U.S. application No. 16 / 107,040 filed on August 21, 2018, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure belongs to the technical field of computer-implemented microservices (micro-service), wherein the microservices use packet-switched telecommunication networks and / or multi-cloud networks to transmit service requests and responses between each other. Another technical field is multicast packet data communication, wherein multicast is implemented for layer 7 services. Another technical field is the bit-indexed explicit replication (BIER) protocol in network interconnection (internetworking). Another technical field is the field operation, management and maintenance (iOAM) protocol in network interconnection and network management. Background Art

[0004] The approaches described in this section are approaches that could be pursued, but are not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section.

[0005] In distributed computing systems that use networks, especially those that use cloud or multi-cloud environments, there is often a need for multicast communications between services and applications that are implemented in software rather than network interconnect elements such as routers and switches. Currently, this one-to-many communication, if any, is implemented at the application layer. Applications and / or services are programmed to send repeated unicast application messages from a single source to multiple different recipients. This approach is very inefficient in terms of the use of network resources and bandwidth. It also introduces unnecessary traffic into packet-switched networks, which affects overall device and network performance.

[0006] These problems become acute when applications are implemented as services or microservices with many connections, logically forming a mesh network of services.

[0007] Therefore, there is a need to efficiently handle multicast traffic for applications. Examples include voice and video applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In the attached picture:

[0009] Figure 1 is a two-part diagram illustrating a service mesh.

[0010] Figure 2 A combination of BIER and iOAM operations performed in an example service mesh is shown.

[0011] Figure 3 is a block diagram illustrating an example computer system that can be used to implement an embodiment. DETAILED DESCRIPTION

[0012] In the following description, many specific details are set forth for the purpose of explanation in order to provide a thorough understanding of the present embodiment. However, it will be clear that the present embodiment can be practiced without these specific details. In other cases, in order to avoid unnecessarily obscuring the present embodiment, well-known structures and devices are shown in block diagram form. The embodiment is described in the following sections according to the following outline:

[0013] General Overview

[0014] Structural Overview

[0015] Functional Overview

[0016] Benefits of Certain Embodiments

[0017] Implementation Example - Hardware Overview

[0018] General Overview

[0019] The present disclosure provides a digital data processing system and a computer-implemented method that can introduce the effectiveness of packet delivery similar to network layer multicast in a service grid. In this context, "service grid (servicemesh)" refers to multiple services or microservices that communicate with each other, which may include applications or components of applications. When each service communicates with all other services, a complete service grid can be formed, but this is not required in all embodiments. Microservices can support applications such as voice and video. In addition, the embodiment uses the bit indexed explicit replication (BIER) protocol and the iOAM (field operation, management and maintenance) protocol to enable multicast-like packet delivery in the service grid, while also providing a means for delivering in-band definitions of forwarding policies. BIER is defined in part in the Internet Society's Request For Comments (RFC) 8279, 8296 and RFC 8401, and is managed by the Internet Engineering Task Force.

[0020] This disclosure assumes familiarity and understanding of conventional uses of BIER and iOAM, and focuses on new and unexpected applications of these protocols in different computing domains. These protocols have not been previously used in a service grid to enable multicast-like packet delivery while allowing in-band policy selection. The BIER header includes an entropy field that is conventionally used to provide simple forwarding adjustments at replication nodes. For example, it can be used to color or mark traffic so that traffic marked with the same entropy value is sent on the same path. However, it has not been previously used for transport policy definition, which represents a departure from all previously defined purposes of the header.

[0021] In an embodiment, BIER and iOAM are used to enable multicast-like packet delivery within a service grid, while also providing a means for delivering in-band definitions of forwarding policies. In addition, iOAM-based mechanisms trigger dynamic policy enforcement on the BIER replicator. In an embodiment, BIER bitmask service distribution is applicable to service grid deployments. In an embodiment, the sidecar function is updated to incorporate BIER replicator capabilities. In an embodiment, protocol-independent multicast-like packet delivery across cloud platforms is provided in a transport-independent manner. In-band policy delivery to replicator functions using iOAM within a service grid is provided. The symbolic policy definition language can carry policy information ranging from policy identifiers for defined policies to complete policy specifications. Although certain embodiments for use with iOAM are described, in other embodiments, other metadata-enabled protocols such as SRv6 or NSH may be used for policy delivery in networks other than service grid networks.

[0022] Embodiments have the benefit of not requiring direct support in the network of multicast protocols such as PIM (Protocol Independent Multicast, RFC 7761), mLDP (Multicast Label Distribution Protocol), or RSVP-TE / P2MP (Resource Reservation Protocol-Traffic Engineering, RFC 3209, Point-to-Multipoint RFC 4875).

[0023] In an embodiment, a data processing method includes: receiving a multicast stream packet from a data source at a bit-indexed explicit replication (BIER) replicator node programmed to implement a BIER protocol, the multicast stream packet identifying a service-level multicast group address; using the BIER replicator node, replicating the multicast stream packet according to the BIER protocol and sending two or more replicated packet streams to two or more BIER receiver nodes programmed to implement BIER; and using the two or more BIER receiver nodes, sending the two or more replicated packet streams to two or more receivers. Other embodiments may use modified iOAM (field operations, administration, and maintenance) techniques, including: using a source to encapsulate an iOAM header and placing one of the following items in the header: an identifier of a replicator policy; a definition of the replicator policy expressed in a symbolic language; receiving the iOAM header at one or more of the BIER replicator nodes; at a specific replicator node among the replicator nodes, performing one of the following items: reading the identifier of the replicator policy, retrieving a predefined packet replication policy that matches the identifier, and executing the predefined packet replication policy to dynamically adjust the packet processing behavior of the specific BIER replicator node among the BIER replicator nodes; or parsing the definition of the replicator policy in a symbolic language to generate a new packet replication policy, and executing the new packet replication policy to dynamically adjust the packet processing behavior of the specific BIER replicator node among the BIER replicator nodes.

[0024] Structural Overview

[0025] Figure 1 is a two-part diagram illustrating a service mesh. View (A) is a representation of an example service mesh at layer 7 of the OSI network reference model, and view (B) is an implementation of the same service mesh at layers 2 through 4 using network interconnect devices and software. View (A) represents a logical view of how microservices interact, but it does not represent the actual implementation in the network to support communication between microservices.

[0026] Referring first to view (A), in an embodiment, an example service grid 102 includes a plurality of microservices MS1, MS2, MS3, MS4, MS5, MS6, MS7, which are logically coupled by paths indicated by lines. Each of the microservices MS1, MS2, MS3, MS4, MS5, MS6, MS7 may include a separate computer program, process, or other software element. One or more of the microservices MS1, MS2, MS3, MS4, MS5, MS6, MS7 may relate to the same broader application and may be instantiated or started by the program. One of the microservices, such as MS3, communicates with other microservices via repeated unicast packets. In an embodiment, multicast-like packets are used.

[0027] Turning now to view (B), in an embodiment, the service grid 102 of view (A) can be implemented in a network using one or more replicator nodes 112, 114, which communicate with one or more receiver nodes 116 via the paths indicated by the arrows. Each replicator 112, 114 can store policies in a memory to govern the forwarding operations of the replicator. Both the service grid 102 and the implementation 110 can be hosted using routers, switches, or other network interconnection elements in a public cloud infrastructure, a private cloud infrastructure, or a multi-cloud infrastructure. Implementation in a non-cloud enterprise network or campus network is also possible.

[0028] In an embodiment, a specific microservice such as MS3 may send an iOAM message including an iOAM policy header field. In one embodiment, the iOAM policy header field may carry a policy identifier that specifies a policy that has been defined and installed on a specific replicator 112, 114. The effect of such a message is to request that the replicator 112, 114 receiving the message load and use a predefined policy to forward messages originating from the microservice MS3 and directed to one or more receivers 116.

[0029] Alternatively, the iOAM policy header field may explicitly specify policy characteristics for policy enforcement on a particular replicator 112, 114. The effect of such a message is to request the replicator 112, 114 receiving the message to parse the specific policy instructions contained in the header field and use the parsed policy instructions to forward the message originating from the microservice MS3 and directed to one or more receivers 116.

[0030] Embodiments may be used to facilitate multicast-like traffic distribution to microservices in several scenarios. First, one microservice may operate as a source, while some or all of the remaining microservices operate as receivers. Second, multicast traffic may originate from outside the service mesh, but still within the control domain of the cloud computing facility, and need to be handled by microservices within the mesh. Third, sources outside the microservice mesh and outside the cloud control domain may use microservices as receivers, such as for management operations.

[0031] Figure 2 Figure 1 shows a combination of BIER and iOAM operations performed in an example service mesh. Figure 2In the example of FIG. 1 , a service mesh 200 with multicast service messaging includes a data source 201, which can be hosted within or outside the service mesh 200. The data source 201 can include a microservice, an application, or any other software element programmed to send messages to any of a plurality of receivers 214, 216, 218. Both the data source 201 and the receivers 214, 216, 218 can be implemented as a single computer, program, other software element, process, or application.

[0032] The service grid 200 also includes a BIER controller 202 that is communicatively coupled to one or more BIER replicator nodes 204, 206. The BIER replicator nodes 204, 206 are coupled to one or more BIER receivers 208, 210, 212, and these receivers are generally located within the service grid 200. For the purpose of local communication, each BIER receiver node 208, 210, 212 is uniquely associated with a specific receiver of one or more receivers 214, 216, 218. For example, BIER receiver node 208 manages receiver 214, BIER receiver node 210 manages receiver 216, and BIER receiver node 212 manages receiver 218. A specific receiver 214, 216, 218 is associated with and managed by only one BIER receiver node 208, 210, 212. However, a specific BIER receiver node 208, 210, 212 may manage a large number of receivers or manage a group of receivers.

[0033] In one embodiment in which a containerized software framework is used to manage the execution of microservices, a BIER controller 202, BIER replicator nodes 204, 206, and each of one or more BIER receivers 208, 210, 212 can be implemented using shadow containers in collaboration with a virtualized container framework, wherein the shadow container is executed in association with a main container that manages the microservices. For example, a proxy container or additional container configured to manage various aspects of the data plane and control plane business can be coupled to or associated with other containers in which the microservices execute. In an embodiment, each of the data source 201 and receivers 214, 216, 218 executes in a different virtualized container. Examples of virtualized containerization frameworks include: DOCKER, APACHE MESOS, RKT, and GARDEN.

[0034] Elements in the service grid 200 are logically and / or physically coupled on control and data plane paths, which are indicated by arrows and defined in the legend 220. The paths indicated by different line styles indicate: replication of traffic from a source 201 to one or more receivers 214, 216, 218 via replicator nodes 204, 206; BIER control plane traffic between BIER-enabled network elements such as receiver nodes 208, 210, 212 and the BIER controller 202, which may include join messages received by the receiver nodes from the receivers 214, 216, 218; and transmission of such multicast information (e.g., group membership or join information) that has been collected from the receivers 214, 216, 218 from the BIER controller 202 to the replicator nodes 204, 206 and the source 201.

[0035] In an embodiment, iOAM messages carrying substantive microservice messages will trigger policy enforcement on the BIER replicator nodes 204, 206. This approach recognizes that in-band policy enforcement on a per-flow basis can be important for dynamic, on-demand, and ever-changing container environments. Statically defined policies on replicator nodes 204, 206 may not change fast enough to cope with the dynamic behavior of the container environment. However, in an embodiment, modifications to iOAM support the transfer of policy definitions to replicator nodes 204, 206. The replicator nodes 204, 206 then use the policy definitions to enhance BIER forwarding.

[0036] Functional Overview

[0037] Figure 2 Example operations performed by the BIER components are shown in FIG. 1 with numbers 1, 2, and 3, and the modified iOAM operations are denoted as A, B, and C. BIER operations include:

[0038] Operation 1. Source 201 prepares data for transmission to two or more receivers 214, 216, 218. For example, assume that source 201 sends a multicast stream for multicast group 237.1.2.3 to replicator node 204 and a multicast stream for multicast group 237.4.5 to replicator node 206. Note that a single source 201 can initiate multiple multicast streams directed to different multicast groups and can direct them to different replicator nodes 204, 206. Source 201 queries BIER controller 202 to obtain addresses or other forwarding data for one or more of replicator nodes 204, 206 that can forward to receiver nodes 208, 210, 212 that can reach receivers 214, 216, 218. The specific manner in which source 201 queries BIER controller 202 and the management of topology data for this purpose is not important. In an embodiment, based on information received by the source 201 from the BIER controller 202, the source forwards one or more packets to a set of replicator nodes 204, 206 within the service mesh. The forwarding is performed using unicast.

[0039] Operation 2. Each BIER replicator node 204, 206 performs replication of the services it receives from source 201. The replication is based on a bit mask that is defined by the BIER controller 202 for a specific multicast group based on receivers 214, 216, 218. Each replicator node 204, 206 uses in-band policy implementation to dynamically adjust the replication operation. Each replicator node 204, 206 may include a virtual forwarder engine, a virtual switch, or other service forwarder that allows services to be forwarded based on a vector graph tree or other data structure, and is programmed to update the BIER controller 202 with information about join requests for multicast groups, where join requests for multicast groups originate from receivers 214, 216, 218 and are forwarded from BIER receiver nodes 208, 210, 212 to BIER replicator nodes 204, 206. An example of a virtual forwarder is described at domain FD.IO on the Internet. Vswitch OVS may be used in one embodiment.

[0040] Operation 3. Each BIER receiver 208, 210, 212 mainly performs two functions. First, each BIER receiver 208, 210, 212 is responsible for executing the join of its locally connected applications, which request multicast packets. In this context, "join" can refer to an IGMP join operation. After receiving the join, the BIER receiver 208, 210, 212 notifies the BIER controller 202 of the identities of the following specific endpoints: these specific endpoints are requesting multicast streams for the specified multicast group. In addition, when the BIER receiver 208, 210, 212 receives a replicated message from the BIER replicator node 204, 206, the BIER receiver 208, 210, 212 forwards the replicated message to those specific receivers 216 managed by the BIER receivers 208, 210, 212.

[0041] The above steps define an embodiment of multicast-like forwarding using BIER principles in a service grid. In an embodiment, modifications to iOAM can be used to optimize business replication within a service grid. In an embodiment, a node that processes an iOAM packet or message is programmed to load an iOAM header with a per-hop policy definition. In one embodiment, the policy is defined using JavaScript Object Notation (JSON), and the JSON element is carried in the iOAM header. Figure 2 The following operations, denoted as A, B, C in FIG. 1 , may be used in one embodiment and illustrate packet flows with a modified iOAM to provide in-band policy enforcement and definition.

[0042] Operation A. Encapsulate and define the iOAM header with policy information for the replicator node. The source 201 adds the iOAM header with policy definitions that are valid for a particular packet or flow. The policies are later used across the replicator nodes 204, 206 to define the situations in which the packet is replicated and forwarded towards the receiver 216, or forwarded to other replicator nodes that further distribute the packet.

[0043] Operation B. Policy definitions are transmitted via iOAM and executed within the replicator nodes to dynamically adjust the behavior of the replicator nodes. A particular replicator node 204, 206 examines the policy data. In response to the inspection, the replicator node 204, 206 either selects an installed policy based on a policy identifier, or dynamically and instantly installs the policy specified in the iOAM header for the packet or flow and any consecutive packets or flows. Unlike prior approaches to using BIER in other scenarios, this operation is unique in that it allows policies to be dynamically read, installed, and utilized based on detailed information transmitted as part of the actual data flow using iOAM.

[0044] Operation C. Additional policy information is delivered to ensure accurate processing of multicast packets delivered by BIER at the source. At a BIER receiver node 208, 210, 212 that is closest to the edge of the service grid and therefore closest to one or more of the receivers 214, 216, 218, another replicator node (not shown) performs a final replication operation to forward the packet to a specific receiver 214, 216, 218. The receiver is located within or across different multiple clouds. The other replicator node can be a standalone node or can be incorporated into the BIER receiver nodes 208, 210, 212.

[0045] In one embodiment, the technology described herein is used in a multi-cloud environment. In such an environment, the implementation cannot rely on feature parity across clouds to deliver multicast packets. Different clouds may not implement all conventional multicast forwarding protocols. In the solution described herein, the underlying network does not need to support multicast delivery. Alternatively, the process described herein can be controlled and enabled by a tenant or administrator of a multi-cloud environment.

[0046] In one embodiment, the intelligent controller can automatically determine the placement of replicators in the cloud network based on input parameters, which can be statically defined or dynamically determined by machine learning. As an example of an automatic machine learning approach, assume that a source 201 located in a cloud network is sending unicast packets to replicator nodes 204, 206 across two different clouds based on load balancing or optimization techniques. These packets are then replicated in a manner closest to the receiver, both within a private cloud and in an environment used across public clouds. This approach reduces unnecessary bandwidth utilization overhead and provides intelligent and dynamic business distribution across multiple clouds. Therefore, various embodiments can provide automatic replicator node placement with knowledge of the source and receiver to provide optimized delivery within a multi-cloud service grid.

[0047] In an embodiment, the service flow can use the iOAM header to carry policy information in a per-replicator manner to dynamically and on-demand adjust service forwarding behavior. In one embodiment, the policy data is stored in the SDN controller ( Figure 1 , Figure 2 The iOAM header may be stored in the BIER controller 202 (not shown) and distributed periodically to the BIER controller 202. The iOAM header provides a useful structure to carry policy identifiers for predefined policies on replicator nodes, or to carry definitions of policy requirements that are dynamically applied at the replicator. Policy data may include QoS parameters, SLA information, or per-tenant / per-service details.

[0048] In one embodiment, the iOAM header specifies policies expressed in a human-readable symbolic policy definition language that can be parsed and implemented by devices independent of their implementation, vendor, manufacturer, or operating model. The policy definition language can provide constructs that can be used to define business-related policy parameters while also accepting optional parameters such as tenant / service identifiers or time ranges for off-peak / peak hours. Table 1 defines an example policy using JSON as the base language:

[0049] Table 1 - Example symbolication policy definition

[0050]

[0051] Although the scope of the present invention is defined in the appended claims, based on the foregoing description, at least the technology of the following numbered items has been disclosed:

[0052] 1. A data processing method, comprising: receiving a multicast stream packet from a data source at a bit-indexed explicit replication (BIER) replicator node, the BIER replicator node being programmed to implement the BIER protocol, the multicast stream packet identifying a service-level multicast group address; using the BIER replicator node, replicating the multicast stream packet according to the BIER protocol, and sending two or more replicated packet streams to two or more BIER receiver nodes, the two or more BIER receiver nodes being programmed to implement BIER; using the two or more BIER receiver nodes, sending the two or more replicated packet streams to two or more receivers.

[0053] 2. The method according to clause 1 also includes: at a BIER controller node communicatively coupled to a source, a BIER replicator node and two or more BIER receiver nodes, receiving a query from a source, the query requesting identification information of the following BIER replicator node: the BIER replicator node is responsible for forwarding to the address of a service-level multicast group; based on the address of the service-level multicast group, determining the identification information of the BIER replicator node from multiple other BIER replicator nodes; the BIER controller node sends a response to the source, the response providing the identification information of the BIER replicator node.

[0054] 3. The method according to clause 1 also includes performing the following operations at one or more BIER receiver nodes: receiving one or more join requests indicating joining a service-level multicast group from one or more receivers; sending one or more update messages to a BIER controller node communicatively coupled to two or more BIER receiver nodes, the one or more update messages to the BIER controller identifying the one or more join requests.

[0055] 4. The method according to clause 3 also includes: at the BIER controller, in response to the one or more update messages, sending the multicast information collected from the receiver via two or more BIER receiver nodes to one or more BIER replicator nodes and to the source.

[0056] 5. The method of clause 1, wherein each of the source and the sink comprises a microservice.

[0057] 6. The method according to clause 1 also includes: using the source, encapsulating an iOAM (field operations, administration and maintenance) header and placing one of the following items in the header: an identifier of a replicator policy, a definition of the replicator policy expressed in a symbolic language; receiving the iOAM header at one or more BIER replicator nodes; performing one of the following items at a specific replicator node among these replicator nodes: reading the identifier of the replicator policy, retrieving a predefined group replication policy that matches the identifier, and executing the predefined group replication policy to dynamically adjust the group processing behavior of the specific replicator node among these BIER replicator nodes; or parsing the definition of the replicator policy in symbolic language form to generate a new group replication policy, and executing the new group replication policy to dynamically adjust the group processing behavior of the specific replicator node among these BIER replicator nodes.

[0058] 7. The method according to clause 1 also includes: using a source to encapsulate an iOAM (field operations, administration and maintenance) header and placing a definition of a replicator policy expressed in a symbolic language in the header; receiving the iOAM header at one or more of the BIER replicator nodes; performing the following operations at a specific replicator node among the replicator nodes: parsing the definition of the replicator policy in the symbolic language form to generate a new group replication policy, and executing the new group replication policy to dynamically adjust the group processing behavior of the specific BIER replicator node among these BIER replicator nodes; sending the policy information derived from the new group replication policy to one or more of the BIER receiver nodes.

[0059] 8. The method of clause 1, wherein the receiver is a computer.

[0060] Benefits of certain embodiments.

[0061] The embodiments improve digital data communication services between the following software elements: these software elements operate as microservices and communicate with each other in complex topologies such as service grids. Specifically, the embodiments enable sources such as microservices or other programs to use multicast-like technologies to transmit application-related message streams, even if the microservices are logically defined in the grid at layer 7 of the OSI reference model rather than layer 2, layer 3 or layer 4. The new technology herein does not use or require the use of conventional IP multicast protocols (which may not exist in all networks or are not implemented across clouds), but uses BIER controllers, BIER replicator nodes and BIER receiver nodes to replicate, receive and forward application or service traffic to receivers that have joined the service multicast group. In addition, the BIER receiver receives IGMP join messages from the receiver and updates the replicator node, which then updates the BIER controller. This improvement allows large, complex microservice program grids to communicate effectively without having to use repeated unicast messages. As a result, there are fewer messages across all network links, and fewer CPU cycles, memory and storage devices required for a single source to reach a large number of receivers.

[0062] Embodiments also allow for dynamic distribution of replicator policies by using the iOAM header in a new and previously undefined manner to carry policy identifiers or policy definitions in a symbolic language. This approach allows for tight coupling of policy with services, and also carries policy identifiers or definitions in a manner that is efficient and does not require definition of new protocols, new fields in protocols, or new message sets. Instead, existing iOAM encapsulation and decapsulation implementations that exist in network nodes for purposes other than policy definitions for such services can be reused in a new manner to carry policies for service mesh multicast services.

[0063] Implementation Example - Hardware Overview

[0064] According to one embodiment, the techniques described herein are implemented by at least one computing device. These techniques may be implemented in whole or in part using a combination of at least one server computer and / or other computing devices, which are coupled using a network such as a packet data network. The computing device may be hardwired to perform these techniques, or may include a digital electronic device (e.g., at least one application specific integrated circuit (ASIC) or field programmable gate array (FPGA)) that is permanently programmed to perform these techniques, or may include at least one general-purpose hardware processor that is programmed to perform these techniques according to program instructions in firmware, memory, other storage devices, or a combination thereof. Such a computing device may also combine customized hardwired logic, ASIC or FPGA with customized programming to implement the described techniques. The computing device may be a server computer, a workstation, a personal computer, a portable computer system, a handheld device, a mobile computing device, a wearable device, a body-mounted or implantable device, a smart phone, a smart appliance, a network interconnected device, an autonomous or semi-autonomous device such as a robot or an unmanned ground or air vehicle, any other electronic device incorporating hardwired and / or program logic to implement the described techniques, one or more virtual computing machines or instances in a data center, and / or a network of server computers and / or personal computers.

[0065] Figure 3 is a block diagram illustrating an example computer system that can be used to implement an embodiment. Figure 3 In the example of , computer system 300 and instructions for implementing the disclosed techniques in hardware, software, or a combination of hardware and software are schematically represented as, for example, boxes and circles, with the same level of detail that is typically used by those of ordinary skill in the art to which this disclosure relates to communicate about computer architectures and computer system implementations.

[0066] Computer system 300 includes an input / output (I / O) subsystem 302, which may include a bus and / or other communication mechanism(s) for transferring information and / or instructions via electronic signal paths between components of computer system 300. I / O subsystem 302 may include an I / O controller, a memory controller, and at least one I / O port. Electronic signal paths are schematically represented in the figures as, for example, lines, unidirectional arrows, or bidirectional arrows.

[0067] At least one hardware processor 304 is coupled to the I / O subsystem 302 to process information and instructions. The hardware processor 304 may include, for example, a general purpose microprocessor or microcontroller, and / or a special purpose microprocessor, such as an embedded system or a graphics processing unit (GPU) or a digital signal processor, or an ARM processor. The processor 304 may include an integrated arithmetic logic unit (ALU) or may be coupled to a separate ALU.

[0068] The computer system 300 includes one or more units of memory 306 (e.g., main memory) coupled to the I / O subsystem 302 to electronically digitally store data and instructions to be executed by the processor 304. The memory 306 may include volatile memory, such as various forms of random access memory (RAM) or other dynamic storage devices. The memory 306 may also be used to store temporary variables or other intermediate information during the execution of instructions to be executed by the processor 304. When stored in a non-transitory computer-readable storage medium accessible to the processor 304, such instructions may present the computer system 300 as a special-purpose machine that is customized to perform the operations specified in the instructions.

[0069] Computer system 300 also includes nonvolatile memory, such as read-only memory (ROM) 308, or other static storage devices coupled to I / O subsystem 302 for storing information and instructions for processor 304. ROM 308 may include various forms of programmable ROM (PROM), such as erasable PROM (EPROM) or electrically erasable PROM (EEPROM). Units of permanent storage 310 may include various forms of nonvolatile RAM (NVRAM) such as flash memory, or solid-state storage devices, magnetic disks, or optical disks such as CD-ROMs or DVD-ROMs, and may be coupled to I / O subsystem 302 for storing information and instructions. Storage 310 is an example of a non-transitory computer-readable medium that may be used to store instructions and data that, when executed by processor 304, cause execution of a computer-implemented method to perform the techniques herein.

[0070] The instructions in the memory 306, ROM 308, or storage device 310 may include one or more groups of instructions organized as modules, methods, objects, functions, routines, or calls. These instructions may be organized as one or more computer programs, operating system services, or applications including mobile apps. These instructions may include: operating system and / or system software; one or more libraries for supporting multimedia, programming, or other functions; data protocol instructions or stacks for implementing TCP / IP, HTTP, or other communication protocols; file format processing instructions for parsing or presenting files encoded using HTML, XML, JPEG, MPEG, or PNG; user interface instructions for presenting or interpreting commands for a graphical user interface (GUI), a command line interface, or a text user interface; application software such as office suites, Internet access applications, design and manufacturing applications, graphics applications, audio applications, software engineering applications, educational applications, games, or various applications. These instructions may implement a web server, a web application server, or a web client. The instructions may be organized into a presentation layer, an application layer, and a data storage layer, such as a relational database system, object storage, a graph database, a flat file system, or other data storage using structured query language (SQL) or not.

[0071] The computer system 300 can be coupled to at least one output device 312 via the I / O subsystem 302. In one embodiment, the output device 312 is a digital computer display. Examples of displays that can be used in various embodiments include a touch screen display or a light emitting diode (LED) display or a liquid crystal display (LCD), or an electronic paper display. Alternatively or in addition to a display device, the computer system 300 can also include (one or more) other types of output devices 312. Examples of other output devices 312 include a printer, a ticket printer, a plotter, a projector, a sound card or video card, a speaker, a buzzer or piezoelectric device or other audible device, a light or LED or LCD indicator, a tactile device, an actuator, or a servo system.

[0072] At least one input device 314 is coupled to I / O subsystem 302 to communicate signals, data, command selections, or gestures to processor 304. Examples of input device 314 include touch screens, microphones, still and video digital cameras, alphanumeric and other keys, keypads, keyboards, graphics tablets, image scanners, joysticks, clocks, switches, buttons, dials, slides, and / or various types of sensors (e.g., force sensors, motion sensors, thermal sensors, accelerometers, gyroscopes, and inertial measurement unit (IMU) sensors) and / or various types of transceivers (e.g., wireless transceivers such as cellular or Wi-Fi, radio frequency (RF) or infrared (IR), and global positioning system (GPS) transceivers).

[0073] Another type of input device is a control device 316, which can perform cursor control or other automatic control functions, such as navigation in a graphical interface on a display screen, alternatively or in addition to the input function. The control device 316 can be a touch pad, a mouse, a trackball, or a cursor direction key, which is used to transmit direction information and command selections to the processor 304 and is used to control the cursor movement on the output device (e.g., display) 312. The input device can have at least two degrees of freedom on two axes (i.e., a first axis (e.g., x) and a second axis (e.g., y)), which allows the device to specify a position in a plane. Another type of input device is a wired, wireless, or optical control device, such as a joystick, a wand, a console, a steering wheel, a pedal, a gear shift mechanism, or other types of control devices. The input device 314 can include a combination of multiple different input devices, such as a camera and a depth sensor.

[0074] In another embodiment, computer system 300 may include an Internet of Things (IoT) device in which one or more of output device 312, input device 314, and control device 316 are omitted. Alternatively, in such an embodiment, input device 314 may include one or more cameras, motion detectors, thermometers, microphones, earthquake detectors, other sensors or detectors, measurement devices, or encoders, and output device 312 may include a dedicated display (e.g., a single-line LED or LCD display), one or more indicators, display panels, meters, valves, solenoids, actuators, or servos.

[0075] When the computer system 300 is a mobile computing device, the input device 314 may include a GPS receiver coupled to a global positioning system (GPS) module that is capable of triangulating a plurality of GPS satellites to determine and generate geographic location or positioning data (such as latitude and longitude values) for the geophysical location of the computer system 300. The output device 312 may include hardware, software, firmware, and interfaces for generating position report packets, notifications, pulse or heartbeat signals, or other repetitive data transmissions directed to the host computer 324 or server 330 that specify the location of the computer system 300 alone or in combination with other application-specific data.

[0076] The computer system 300 may implement the techniques described herein using customized hardwired logic, at least one ASIC, GPU or FPGA, firmware and / or program instructions or logic that, when loaded and used or executed in combination with the computer system, cause or program the computer system to operate as a special purpose machine. According to one embodiment, the techniques herein are performed by the computer system 300 in response to the processor 304 executing at least one sequence of at least one instruction contained in the main memory 306. Such instructions may be read into the main memory 306 from another storage medium such as the storage device 310. Execution of the sequence of instructions contained in the main memory 306 causes the processor 304 to perform the process steps described herein. In alternative embodiments, hardwired circuits may be used in place of or in combination with software instructions.

[0077] The term "storage medium" as used herein refers to any non-transitory medium that stores data and / or instructions that cause a machine to operate in a particular manner. Such storage media may include non-volatile media and / or volatile media. Non-volatile media include, for example, optical or magnetic disks, such as storage device 310. Volatile media include dynamic memory, such as memory 306. Common forms of storage media include, for example, hard disks, solid-state drives, flash drives, magnetic data storage media, any optical or physical data storage media, memory chips, etc.

[0078] Storage media are distinct from, but may be used in conjunction with, transmission media. Transmission media participate in the transfer of information between storage media. For example, transmission media include coaxial cables, copper wire, and optical fiber, including the wires that make up the bus of the I / O subsystem 302. Transmission media may also take the form of sound or light waves, such as those generated during radio wave and infrared data communications.

[0079] Various forms of media may be involved when carrying at least one sequence of at least one instruction to the processor 304 for execution. For example, the instructions may initially be carried on a disk or solid-state drive of a remote computer. The remote computer may load the instructions into its dynamic memory and send the instructions using a modem over a communication link such as an optical fiber or coaxial cable or a telephone line. A modem or router local to the computer system 300 may receive data on the communication link and convert the data into a format that the computer system 300 may read. For example, a receiver such as a radio frequency antenna or an infrared detector may receive data carried in a wireless or optical signal, and appropriate circuitry may provide the data to the I / O subsystem 302, such as placing the data on a bus. The I / O subsystem 302 carries the data to the memory 306, from which the processor 304 retrieves and executes the instructions. The instructions received by the memory 306 may optionally be stored on the storage device 310 before or after being executed by the processor 304.

[0080] The computer system 300 also includes a communication interface 318 coupled to the bus 302. The communication interface 318 provides a bidirectional data communication coupling to (one or more) network links 320, which are directly or indirectly connected to at least one communication network (e.g., network 322 or a public or private cloud on the Internet). For example, the communication interface 318 can be an Ethernet networking interface, an integrated services digital network (ISDN) card, a cable modem, a satellite modem, or a modem for providing a data communication connection to a corresponding type of communication line, such as an Ethernet cable or any kind of metal cable, or a fiber optic line or a telephone line. The network 322 broadly represents a local area network (LAN), a wide area network (WAN), a campus network, a network interconnection, or any combination thereof. The communication interface 318 may include: a LAN card for providing a data communication connection to a compatible LAN, or a cellular radiotelephone interface that is wired to send or receive cellular data according to a cellular radiotelephone wireless networking standard, or a satellite radio interface that is wired to send or receive digital data according to a satellite wireless networking standard. In any such implementation, communication interface 318 sends and receives electrical, electromagnetic or optical signals over signal paths that carry digital data streams representing various types of information.

[0081] Network link 320 typically provides electrical, electromagnetic or optical data communication to other data devices directly or through at least one network using, for example, satellite, cellular, Wi-Fi, or Bluetooth technology. For example, network link 320 may provide a connection to host computer 324 through network 322.

[0082] In addition, network link 320 can provide a connection through network 322 or to other computing devices via a network interconnection device and / or computer operated by an Internet Service Provider (ISP) 326. ISP 326 provides data communication services through a global packet data communication network represented as Internet 328. Server computer 330 can be coupled to Internet 328. Server 330 broadly represents any computer, data center, virtual machine or virtual computing instance with or without a hypervisor, or a computer that executes a containerized program system such as DOCKER or Kubernetes. Server 330 can represent an electronic digital service that is implemented using more than one computer or instance and is accessed and used by sending a web service request, a uniform resource locator (URL) string with parameters in an HTTP payload, an API call, an app service call, or other service calls. Computer system 300 and server 330 can form an element of a distributed computing system that includes other computers, processing clusters, server farms, or other computer organizations that collaborate to perform tasks or execute applications or services. Server 330 may include one or more instruction sets organized as modules, methods, objects, functions, routines, or calls. Instructions may be organized as one or more computer programs, operating system services, or applications including mobile apps. Instructions may include operating systems and / or system software; one or more libraries for supporting multimedia, programming, or other functions; data protocol instructions or stacks for implementing TCP / IP, HTTP, or other communication protocols; file format processing instructions for parsing or presenting files encoded using HTML, XML, JPEG, MPEG, or PNG; user interface instructions for presenting or interpreting commands for graphical user interfaces (GUIs), command line interfaces, or text user interfaces; application software such as office suites, Internet access applications, design and manufacturing applications, graphics applications, audio applications, software engineering applications, educational applications, games, or various applications. Server 330 may include a web application server that hosts a presentation layer, an application layer, and a data storage layer, such as a relational database system, object storage, a graph database, a flat file system, or other data storage using structured query language (SQL) or not.

[0083] Computer system 300 may send messages and receive data and instructions (including program code) through the network(s), network link 320, and communication interface 318. In the Internet example, server 330 may send the requested code for an application program through Internet 328, ISP 326, local network 322, and communication interface 318. The received code may be executed by processor 304 as it is received, and / or stored in storage device 310 or other non-volatile storage for later execution.

[0084] The execution of the instructions described in this section can implement a process in the form of an instance of a computer program being executed, which consists of program code and its current activity. Depending on the operating system (OS), a process can consist of multiple execution threads that execute instructions concurrently. In this context, a computer program is a passive collection of instructions, and a process can be the actual execution of those instructions. Several processes can be associated with the same program; for example, opening several instances of the same program usually means that more than one process is being executed. Multitasking can be implemented to allow multiple processes to share the processor 304. When each processor 304 or the core of the processor executes a single task at a time, the computer system 300 can be programmed to implement multitasking to allow each processor to switch between the tasks being executed without having to wait for each task to complete. In an embodiment, switching can be performed when a task performs an input / output operation, when a task indicates that it can be switched, or when a hardware interrupt occurs. Time sharing can be implemented to allow rapid response to interactive user applications by quickly performing context switching to provide the occurrence of concurrent execution of multiple processes at the same time. In an embodiment, for security and reliability, the operating system may prevent direct communication between independent processes, thereby providing a strictly mediated and controlled inter-process communication function.

Claims

1. A network interconnection method, comprising: receiving, at a bit-indexed explicit replication (BIER) replicator node, a field operations, administration, and maintenance (iOAM) header, the BIER replicator node being configured to implement the BIER protocol, the iOAM header indicating a replicator policy; At the BIER replicator node, a multicast stream packet is received from a data source, the data source implements an application layer microservice, the multicast stream packet identifies a service-level multicast group address of a service-level multicast group; determining that the replicator policy indicates that the multicast stream packets are to be replicated; Replicating the multicast stream packets according to the BIER protocol via the BIER replicator node; sending, via the BIER replicator node, two or more replicated multicast stream packets to two or more BIER receiver nodes, the two or more BIER receiver nodes being configured to implement BIER; as well as The two or more replicated multicast stream packets are sent to two or more receivers via the two or more BIER receiver nodes.

2. The method of claim 1, further comprising: At a BIER controller node, receiving a query from the data source, the BIER controller node being communicatively coupled to the data source, the BIER replicator node, and the two or more BIER receiver nodes, the query requesting identification information of the BIER replicator node, the BIER replicator node being responsible for forwarding the service to the address of the service-level multicast group; Based on the address of the service-level multicast group, identifying the BIER replicator node from multiple other BIER replicator nodes; as well as A response is sent to the data source via the BIER controller node, the response providing the identification information of the BIER replicator node.

3. The method of claim 1, further comprising: At one or more of the BIER receiver nodes, receiving one or more join requests from one or more of the receivers, the one or more join requests indicating joining the service-level multicast group; as well as One or more update messages are sent via the one or more of the BIER receiver nodes to a BIER controller node communicatively coupled to the two or more BIER receiver nodes, the one or more update messages identifying the one or more join requests to the BIER controller node.

4. The method of claim 3, further comprising: In response to the one or more update messages, multicast information is sent via the BIER controller node to the one or more BIER replicator nodes and to the data source, the multicast information having been collected from the receivers by the two or more BIER receiver nodes.

5. The method of claim 1, further comprising: Execute replication strategies to dynamically adjust the group processing behavior of the BIER replicator nodes; or The replicator strategy is parsed to generate a new group replication strategy, and the new group replication strategy is executed to dynamically adjust the group processing behavior of the BIER replicator node.

6. The method of claim 5, further comprising: Policy information is sent to one or more of the BIER receiver nodes, the policy information being derived from the new group replication policy.

7. The method of claim 1, wherein: Each of the receivers includes a microservice.

8. The method of claim 1, wherein: The data source and each of the receivers are executed in a virtualized container.

9. A computer system comprising: Bit Indexed Explicit Replication (BIER) replicator nodes, configured to implement the BIER protocol and programmed to: receiving an onsite operations, administration, and maintenance (iOAM) header, the iOAM header indicating a replicator policy; receiving a multicast stream packet from a data source, the data source implementing an application layer microservice, the multicast stream packet identifying a service-level multicast group address of a service-level multicast group; determining that the replicator policy indicates that the multicast stream packets are to be replicated; Copying the multicast stream packet according to the BIER protocol; and sending two or more replicated multicast stream packets to two or more BIER receiver nodes, the two or more BIER receiver nodes being configured to implement BIER; as well as The two or more BIER receiver nodes are programmed to send the two or more replicated multicast stream packets to two or more receivers.

10. The computer system of claim 9, further comprising a BIER controller node, which is communicatively coupled to the data source and is programmed to: receive a query from the data source from the BIER replicator node and the two or more BIER receiver nodes, the query requesting identification information of the BIER replicator node, the BIER replicator node being responsible for forwarding traffic to the address of the service-level multicast group; identify the BIER replicator node from a plurality of other BIER replicator nodes based on the address of the service-level multicast group; and send a response to the data source via the BIER controller node, the response providing the identification information of the BIER replicator node.

11. The computer system of claim 9, wherein: The BIER receiver node is also programmed to: receive one or more join requests from one or more of the receivers, and send one or more update messages to a BIER controller node, the one or more join requests indicating joining the service-level multicast group, the BIER controller node being communicatively coupled to the two or more BIER receiver nodes, and the one or more update messages identifying the one or more join requests to the BIER controller node.

12. The computer system of claim 11, wherein: The BIER controller is also programmed to, in response to the one or more update messages, send multicast information to the one or more BIER replicator nodes and to the data source, the multicast information having been collected from the receiver by the two or more BIER receiver nodes.

13. The computer system of claim 9, in, The BIER replicator node is programmed to: execute a replication strategy to dynamically adjust the group processing behavior of the BIER replicator node; or parse the replicator strategy to generate a new group replication strategy, and execute the new group replication strategy to dynamically adjust the group processing behavior of the BIER replicator node.

14. The computer system of claim 13, wherein: The replicator node is also programmed to send policy information to one or more of the BIER receiver nodes, the policy information being derived from the new group replication policy.

15. The computer system of claim 9, wherein: Each of the receivers includes a microservice.

16. The computer system of claim 9, wherein: The data source and each of the receivers are executed in a virtualized container.

17. A computer readable storage medium storing one or more instruction sequences which, when executed using one or more processors, cause the following operations to be performed: receiving, at a bit-indexed explicit replication (BIER) replicator node, a field operations, administration, and maintenance (iOAM) header, the BIER replicator node being configured to implement the BIER protocol, the iOAM header indicating a replicator policy; At the BIER replicator node, a multicast stream packet is received from a data source, the data source implements an application layer microservice, the multicast stream packet identifies a service-level multicast group address of a service-level multicast group; determining that the replicator policy indicates that the multicast stream packets are to be replicated; Replicating the multicast stream packets according to the BIER protocol via the BIER replicator node; sending, via the BIER replicator node, two or more replicated multicast stream packets to two or more BIER receiver nodes, the two or more BIER receiver nodes being configured to implement BIER; as well as The two or more replicated multicast stream packets are sent to two or more receivers via the two or more BIER receiver nodes.

18. The computer-readable storage medium of claim 17, further comprising a sequence of instructions that when executed cause the following operations to be performed: At a BIER controller node, receiving a query from the data source, the BIER controller node being communicatively coupled to the data source, the BIER replicator node, and the two or more BIER receiver nodes, the query requesting identification information of the BIER replicator node, the BIER replicator node being responsible for forwarding the service to the address of the service-level multicast group; Based on the address of the service-level multicast group, identifying the BIER replicator node from multiple other BIER replicator nodes; as well as A response is sent to the data source via the BIER controller node, the response providing the identification information of the BIER replicator node.

19. The computer-readable storage medium of claim 17, further comprising a sequence of instructions that when executed cause the following operations to be performed: At one or more of the BIER receiver nodes, receiving one or more join requests from one or more of the receivers, the one or more join requests indicating joining the service-level multicast group; and One or more update messages are sent via the one or more of the BIER receiver nodes to a BIER controller node communicatively coupled to the two or more BIER receiver nodes, the one or more update messages identifying the one or more join requests to the BIER controller node.

20. The computer-readable storage medium of claim 17, further comprising a sequence of instructions that when executed cause the following operations to be performed: Execute a replication strategy to dynamically adjust the group processing behavior in the BIER replicator node; or The replicator strategy is parsed to generate a new group replication strategy, and the new group replication strategy is executed to dynamically adjust the group processing behavior of the BIER replicator node.