SYSTEM AND METHOD FOR IMPROVING ROUTING IN A DISTRIBUTED COMMUNICATION PLATFORM

A system and method for routing communication in a communication platform that includes generating edge cost scores in the communication network; assigning distribution values within the network; setting a score tolerance; receiving a communication directive; performing network graph search to identify a selected route through a route selection process including considering cost score within the score tolerance and distributing selection of a route associated with the communication directive in accordance to the distribution values; and establishing a media route specified by the selected route.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of co-pending U.S. patent application Ser. No. 14/209,152, filed 13 Mar. 2014, which claims the benefit of U.S. Provisional Application Ser. No. 61/791,800, filed on 15 Mar. 2013, both of which are incorporated in their entirety by this reference.

TECHNICAL FIELD

This invention relates generally to the communication field, and more specifically to a new and useful system and method for improving routing in a distributed communication platform in the communication field.

BACKGROUND

In communication, different communication paths will have different characteristics. Not only can these characteristics result in a wide range of communication properties such as from media quality and latency. Additionally, the resources involved in routing a communication can constantly change. Resources can fail, new resources can be added, and operating properties of a resource could change. Further more there are functionality, technical, and business related restrictions on establishing a communication. Thus, there is a need in the communication field to create a new and useful system and method for improving routing in a distributed communication platform. This invention provides such a new and useful system and method.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 is a flowchart representation of a method of a preferred embodiment;

FIG. 2 is a schematic representation of variations of generating edge cost scores in the communication network;

FIG. 3 is a schematic detailed representation of collecting network factors;

FIG. 4 is a schematic representation of application of two different routing profiles;

FIG. 5 is a schematic representation of receiving an incoming communication request;

FIG. 6 is a schematic representation of initializing an outgoing communication in response to a programmatic request;

FIG. 7 is a schematic representation of receiving a communication directive to transition communication routing;

FIG. 8 is a schematic representation of determining functional media communication resources to support the communication session;

FIG. 9 is a schematic representation of an exemplary network topology;

FIGS. 10 and 11 are schematic representations of performing network graph search;

FIG. 12 is a schematic representation of traversing a network graph;

FIG. 13 is an exemplary network graph;

FIG. 14 is a schematic representation of establishing communication routing between regionally distributed data centers;

FIG. 15 is a schematic representation of a system of a preferred embodiment;

FIG. 16 is a communication flow diagram of an exemplary communication facilitated by the communication platform; and

FIG. 17 is a communication flow diagram of an exemplary communication through the communication platform.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

The following description of preferred embodiments of the invention is not intended to limit the invention to these preferred embodiments, but rather to enable any person skilled in the art to make and use this invention.

1. Method for Routing Communication

As shown in FIG. 1, a method for achieving prioritized communication routing in a communication platform can include generating an edge cost score in a communication network S110, assigning distribution values S120, setting a score tolerance S130, receiving a communication directive S140, performing network graph search with a route selection process considering cost score within a score tolerance and distributing selection in accordance to a distribution value S150, and establishing the media routing through the network resources specified by the route selection S160. The method functions to dynamically select routing within a communication provider platform to achieve a set of communication property prioritizations. The method preferably uses cost scores of a route within a network of possible nodes to provide an initial metric to evaluate routes. The cost score can be set through a function embodying consideration and prioritization of the qualities of a communication (e.g., media quality, cost, latency, etc.). In communication applications, calls of nearly the same quality are preferably similar enough to be deemed equivalent, and the score tolerance applies this insight to create a consideration pool of routes with substantially similar scores. The distribution values are then applied to determine how one particular communication is distributed in considering that a volume of traffic will be using the communication platform.

The method can be particularly applicable to communication platforms that operate on a distributed computing infrastructure, and, more specifically, in communication platforms that facilitate additional media or signaling functionality. For example, a communication platform may provide media functionality such as recording, transcription services, conferencing, application processing and other suitable communication functionality such as those provided in the communication platform described in U.S. Pat. No. 8,306,021 issued 6 Nov. 2012, which is incorporated in its entirety by this reference.

The method is preferably employed to establish a communication path between two endpoints where the path reflects the routing prioritization while also balancing resources of the network with other routing requests. The best route (i.e., a preferred route in consideration of multiple factors) can be automatically detected and used in routing. Such routing can be invoked when an error occurs to route around a failed node, to determine routes in complex routing scenarios (e.g., a phone number in Brazil is calling a number in Spain but a required resource is only available in the US or Asia), other suitable scenarios. The method can preferably balance a number of technical considerations, business considerations, and user considerations without depending on pre-set heuristics. The method also takes into account that there will be additional traffic in addition to the immediate request, and traffic can be distributed across multiple routes. For example, a VoiP provider can use the system to provide substantially high quality media communication while balancing the contractual obligations to route a set portion of traffic through particular carrier nodes.

The method can have further beneficial application in other scenarios. In one case the communication platform may include multiple modes of communication, PSTN, SIP, WebRTC, client application (e.g., VoIP application, mobile application, browser application, etc), or other suitable mode that can be available to a particular endpoint. Such complicating factors can additionally be seamlessly integrated so that the method can be applied to situations where multiple forms of communication are available. In the case of client applications, a client application could connect to multiple datacenters to open up multiple access nodes to open up more routing options for that particular client application endpoint For example if a client application happens to be in Central America and dials a US number then the best route is preferably one with a leg connected to a US region. However, if the client application dials another endpoint in Rio, then the leg that is established may use the node connected through a Sao Paolo data center. Such automatic flexibility is preferably a benefit of such a routing method.

The method is preferably applied to establishing routing of a media channel but may alternatively or additionally be applied to routing of signaling or any suitable communication channel. More specifically, the method can be applied to SIP based media routing within a VoIP-based communication platform. Herein, SIP is described as a preferred signaling and media protocol, but any suitable signaling, media, or form of communication channel can be used. The VoIP provider even though it internally uses Sip can preferably interface with other forms of communication such as PSTN. The medium of communication can be voice, video, screen sharing, multi-media streaming, IP based data transfers, and/or any suitable medium of communication. In one preferred variation, the method can be used to dynamically select a routing profile to use at least two different routing preferences depending on the particular communication session.

Block S110, which includes generating edge cost scores in a communication network, functions to establish the base scoring of the network of a provider. The provider is preferably a VoIP provider with a plurality of edge nodes and a plurality of internal nodes. The internal nodes are preferably media-related processing nodes such as such as application nodes, transcoding resources, recording resources, simple pass through routers, quality of service enforcement nodes, speech recognition resources, text-to-speech resources, media mixers, and other suitable media resource nodes. An edge cost score is preferably a measure of an assigned cost to route from one node to a second node. The cost score can be an integer value, a number within a range of values, a classification, or any suitable value that can be used as a metric of comparison when applying the selection algorithm to generate a determined route. The cost scores of connected legs are preferably combinable either through some mathematical operation (e.g., summing) or function. The internal network of the communication platform up to and preferably including nodes that bridge out of the network are preferably scored. In some variations, not all edges (or “routes”) may have an assigned edge cost and a default cost may be used.

The network is preferably defined within at least one layer of a communication stack for a communication platform. In one example, the set of network nodes preferably includes more application layer defined computing nodes that provide high level signaling and media functionality such as routing, recording, business logic, conferencing, and other higher level media functionality. In another example, the nodes can be defined as different regional centers such that the method is used when routing between computing resources of the regional center. Other layers may employ routing approaches independent of the prioritized routing approach. For example, lower level IP based routing can use alternative routing approach within the nodes, while the method of routing is used for routing between the nodes. A substantial portion of the nodes preferably will be assigned an edge cost score. Alternatively, only the edges selected or pre-defined may have an edge cost score. For example, outbound edges between the communication network and an external resource (e.g., a carrier network) may be the most significant routing decisions and will be those that are considered in the method. If an edge is new or for any suitable reason has not had an edge cost assigned, a default edge cost, an average edge cost, a manually assigned edge cost, an edge cost from a substantially similar edge, or any suitably generated edge cost may be used.

Generating an edge cost across all or a substantial portion of the communication network may include simulating communication network traffic with an at least partially defined route. Simulated communication functions to collect data for at least one edge of the communication. When simulating communication network traffic, at least one edge is pre-selected to be used during the communication. If a new machine is deployed to the communication network, communication traffic may be initially simulated to establish the initial cost score. As shown in FIG. 2, generating edge cost scores can include collecting network factors S112 and calculating at least one score S114. Edge costs are preferably continually updated according to current, recent, or past performance of the communication platform. In one variation, edge costs are periodically updated. For example, edge costs may be updated daily, weekly, or quarterly. In another variation, edge costs may be continuously updated such that the edge cost score of selecting an edge from a first node to a second node reflects current or substantially recent cost score.

Block S112, which includes collecting network factors, functions to obtain input data to compute a cost score for direct paths between nodes. The network factors can includes various properties, performance patterns, assigned values, measurements, and/or any suitable metric. In a communication platform the communication factors can include network latency between hops, audio/media jitter (the interval delay as defined by RFC3550), current load of a node, delay through a host, delay through a host, average call length of previously placed call (e.g., length of calls through a particular carrier to a particular number series), packet loss, post dial delay (PDD)(i.e., time for carrier to indicate the other side is ringing), time to failure (i.e., time it took for a carrier to fail a call), monetary cost to the platform provider, monetary price charged to account holder, media quality, and/or any suitable factor. The factors can be metrics measured in different dimensions. Network latency, audio jitter, delay through a host, average call length, PDD, and time to failure can be measured as a time metric (e.g., milliseconds). Current load of a node can be measured in percentage of capacity. Monetary cost and price can be measured in a currency value. Media quality may be an arbitrary measurement scale.

One or more factor can be collected for use in calculating the cost score as shown in FIG. 3. Some factors, such as audio jitter, and PDD, can require monitoring the network, measuring performance over multiple instances, and assigning a value based on the measured performance. Other factors can be configured as values that are static or assigned through another service. For example, the cost can be queried from a cost and pricing service used in managing billing within the communication platform. Other factors are substantially real time measurements such as the current load of a node. The factors can be collected and stored in an accessible resource. In one variation, an application programming interface is established to facilitate interaction with the network factors.

Block S114, which includes calculating cost scores, functions to synthesize the collected network factors into a single cost score for a routing option along an edge. For each edge, a function is applied to the factors to result in a single cost estimate. However, not all factors may be measured in the same dimension, have the same scale, or even units. The function is preferably set according to heuristics that prioritize different factors. For example, factors that impact final audio quality may be used within the function to result in a proportionally greater impact on the final cost score than factors with less prioritization such as possible price. In one variation, the function is a fixed function pre-configured in the communication platform. In another variation, the function may be machine learned or automatically optimized according to feedback.

As one example function, the cost function can depend on the total latency between two nodes (latency and host delay) and the jitter. In this example, the function may be designed to result in a target cost value if the total latency is less than 200 ms and the jitter is less than 10 ms, which are exemplary settings for acceptable performance. The function may designed so that if jitter is above 10 ms then the resulting cost goes up exponentially and if total latency exceeds 200 ms the resulting cost goes up exponentially. The cost function can be customized for any suitable response to input factors.

As described more below, there can be multiple routing profile classes as shown in FIG. 4. A routing profile class preferably uses one particular function to calculate a cost score. In the implementation where there are at least two routing profile classes, the network factors can be used in possibly calculating two cost scores. Routing profile classes are preferably designed for particular prioritization of properties. The routing profile classes may be price-prioritized (e.g., select routes cheaper for the customer), cost-prioritized (e.g., select routes cheaper to the platform provider), quality-prioritization, stability-prioritization, and/or any suitable prioritization of some quality of the communication.

Block S120, which includes assigning distribution values, functions to define proportioning of distribution between selected routes. The distribution values can include a set of values. The distribution values are preferably applied/used after the routes have been narrowed based on cost and the score tolerance. The distribution values may be assigned to an edge, to a node, or to specific route. The distribution values are preferably pre-configured to be assigned within the route—a distributed value or values can be obtained for any suitable route. In some cases a route may not have an explicitly assigned distribution value, in which case a default value may be used. Preferably, the distributed values are assigned according to external factors around preference for how traffic is distributed across multiple equivalent routes. In the variation, where the distribution value is assigned to an edge and/or a node, a calculated route distributed value(s) is preferably calculated through the processing of the elemental distributed values of edges and/or nodes contained in a route. For example, a weight value may be assigned to two edges. The resulting weight value of a route that passes through those two edges may be the sum of the weights. Similarly, the weights could be the average or any suitable calculated result. In another variation, the distributed values are assigned on a per route basis, the full set of possible routes may be calculated and a weight assigned to each possible route. Such a system may employ sparse over-ride assignment or any suitable defining approach.

In one preferred variation, the distribution values include a weight. A weight is preferably a value defined to indicate preference of how often one path should be selected over other possible paths. The weights function to distribute communication over multiple routes in some determined ratio for a set of similar traffic. As described below, the weight value is applied in selecting between routes that are determined equivalent through the cost score and the score tolerance. For two routes (with the same cost score), the route with a weight of 80 will be selected 80% of the time if the other route has a weight of 20, which would be selected 20% of the time. Weight values that are the same are preferably deemed equal preference. For two routes with the same cost score have weights of 35, they each would be selected half the time.

In another, preferred variation, the distribution values can additionally include a priority value. The priority values can be similarly assigned to an edge and a default value may be assumed if a value is not assigned. The priority value preferably defines classes of preference between equivalent routes. They can be used to narrow the consideration pool. Routes assigned the same priority value are considered for selection as a group. In the case of a telecommunication platform, there may be top tier network carriers, middle-tier carriers, and bottom tier carriers. The nodes routing to these carriers can be assigned priority according to those three classes so that if there is a top tier carrier node, then middle or bottom tier options are not considered. The value of the priority value may use a greater value to indicate stronger preference such that priority values can be added across edges in a route. Alternatively, the priority values may use smaller values to indicate greater priority. The priority values can be an initial layer of distribution, and the weighted distribution can be applied afterwards. Other variations may apply any suitable distribution value to define how route selection is distributed between “equivalent” routes (after considering score tolerance).

Priority and weighting can function to enable external factors to be considered when determining network routing. In the case of a communication platform with supporting nodes that serve particular carriers, there will often be business arrangements, partnerships, contracts, and other obligations that create an obligation or an incentive to use particular nodes. For example, one phone carrier may establish a contract with the communication platform dictating that some minimum volume of traffic will be serviced by the carrier node. Another phone carrier may offer similar performance in terms of the cost score, but if no contract is place or the conditions of the contract are less restrictive, the first carrier node may result in corresponding routes to be more greatly weighted than the second carrier node. Other factors, such as resource limitations, technical tradeoffs, and other considerations of different nodes or routes may additionally or alternatively be considered when assigning a weight.

Block S130, which includes setting a score tolerance, functions to establish a range of “fuzziness”. The score tolerance is preferably a value that defines when cost scores should be considered equivalent—defines the range that cost scores can deviate and be considered for selection. In execution, if two routes through a network have similar cost scores, the effective performance may be substantially similar and accordingly the method preferably treats the cost scores as equivalent. When used in performing the network graph search, the score tolerance is preferably applied to the lowest cost score (i.e., best cost score). The score tolerance is preferably added to the lowest cost score, and the (inclusive or exclusive) range sets what cost scores deemed equivalent. For example, if the best route based on the cost score is 10 and the score tolerance is set to a value of 2 then another route with a score of 11 is considered but a route with a score of 15 is not. Herein, lower scores are the better routes based on the cost function but alternative implementations may use a higher score to indicate a better route or a score closer to a target value, the route selection deviation range can be applied in any suitable way to establish a fuzziness in distinguishing between cost scores that are near the same value. The score tolerance is preferably a fixed value, but the score tolerance may be a defined as a sliding scale, a function of score tolerance, or a probabilistic module of tolerance, or any suitable function to determine a range of values to consider.

Block S140, which includes receiving a communication directive, functions to trigger establishing, upgrading, or otherwise setup communication routing through the network of the communication platform. In one variation receiving a communication directive specifies establishing a new communication session and accordingly occurs at the beginning of a session. As shown in FIG. 5, when starting a new session, initializing a communication session can include receiving an incoming communication request. The incoming communication request can be a PSTN phone call received through a carrier interface, a SIP call, an IP based call, or any suitable form of communication. The incoming communication request can originate from an originating endpoint (i.e., a caller). As shown in FIG. 6, as another alternative, when starting a new session, initializing a communication session can include initializing an outgoing communication in response to a programmatic request. The communication request may enable a communication session to originate from within the communication session. For example, an automated call application may call out to a phone number to play an automated message. The programmatic request may be in response to an application programming interface (API) request made by an account holder or triggered in any suitable manner. As shown in FIG. 7, in another variation, receiving a communication directive occurs during a communication session and can result in a transition or change in resource requirements of an existing session. Such a communication directive (i.e., an update communication directive) can be used to enable a media service during a session. The communication directive preferably triggers the routing of media or signaling or other form of communication through the network of the communication platform. In the case of routing media, the method can include issuing or processing signaling communication through the network, which can function to prepare and setup media routing. In some cases, the communication directive is communicated to a control node, which may contain business logic to determine how the media communication should be routed.

In addition to receiving a communication directive, the method can include determining functional media communication resources to support the communication session S142, which functions to select the types of nodes, sequencing/organization of the types nodes, and/or basic topology of the network routing to support the communication session. For example, as shown in FIG. 8, a media mixer resource may be required to support a conference call feature of a communication session. Other media resources may include a recording service, a transcription service, an application processing service, or any suitable type of resource. If the communication directive is to start a SIP trunking call, a simple trunking application service may be required to bridge between two endpoints. If the communication directive triggers recording of the communication session, the media routing may be internally updated in accordance with the method to include a recording resource. As the method can similarly be applied to signaling communication and other types of communication, determination of communication resources and a basic network topology can similarly be applied to computing resources that facilitate signaling or provide other suitable functionality. Similarly, some nodes may be marked as mandatory for the selected route. If an existing communication session is being updated to accommodate media resource changes, some media sources may not be able to be changed in the middle of a communication session. For example, a media recorder resource may not be able to change because recording is in progress. The network graph search can preferably be modified to enforce any node requirements or exclusion policies.

Block S150, which includes performing network graph search with a route selection process that includes considering cost score within a score tolerance, and distributing selection in accordance to a distribution value, functions to use defined distribution values such as weights and/or prioritization when selecting between substantially equivalent routes for serving a particular instance of communication routing. The network graph search preferably considers multiple factors to adequately determine a route, path or at least a portion of a routing for communication. The network graph problem in one scenario, as shown in FIG. 5, can resolve the routing problem of routing from one outlet of the communication platform, through the communication platform to another outlet. This can be particularly applicable when the computing infrastructure is geographically distributed and is sensitive to latency and media communication quality. Carriers and selection of carriers can be one strong consideration in routing, since selection of a carrier may impact, media quality and/or cost.

In another scenario, performing network graph search can solve routing from one internal node of the communication platform to an outlet of a communication platform as shown in FIG. 6. For example, the communication may require running an automated call from one media resource to an outside telephony endpoint. Similarly, the communication may be from one internal node to another internal node. Performing graph search with at least one internal node as a destination or source can be used in defining the full communication route or only a portion of the communication route if for example an internal node is bridging at least two legs.

Additionally, a communication route may have defined intermediary nodes, which can have a defined network graph sequence and/or topology. As shown in FIG. 9, a communication application platform may have a defined set of media resources that should be integrated into the media and/or signaling of a communication session. The required media resources can be fixed, but the media resources for a given instance of communication may be dynamically determined based on the requirements of a call. For example, one call may require a media recording resource, while another call may require a conferencing media resource. Functionality defined media resource requirements can additionally include preference between suitable media resource options. For example, there may exist an audio recording resource and a video recording resource, which may both, be suitable for audio recording but the more light-weight audio recording resource may be a preferred resource. The network graph search can preferably enforce inclusion of any suitable resource and factor in resource node preference.

Performing network graph search preferably includes applying the selection process of: identifying a lowest cost route according to the total cost score of each route from a set S152, setting a consideration pool to routes with cost scores within a range tolerance of the identified lowest cost route S156, and selecting a route based on at least one distribution values of the routes in the consideration pool S158. In one variation, the distribution value of the route includes a weight value, which defines a distribution of communications over those set of considered routes as shown in FIG. 10. In another variation, the routes can additionally include a priority value which can classify and limit the consideration pool based on definite preference between the options, and if multiple routes remain applying weight values in the distribution between the filtered consideration pool as shown in FIG. 11. The lowest cost route additionally preferably satisfies resource node requirements and/or topology.

Performing network graph search preferably includes traversing the network graph to identify at least one route according to the cost score S154. Traversing the network graph functions to inspect the route options of the network between at least a source node and a goal node. The method preferably depends on consideration of a set of suitable routes and accordingly operates with a modified form of graph search. Traversing the network graph preferably identifies the best score in addition to at least the routes within the score tolerance as shown in FIG. 12. The traversal approach can use any suitable heuristic to improve the graph search. The traversal approach preferably employs a graph traversal approach similar to the A* (i.e., “A star”) traversal heuristic. The A* traversal heuristic preferably uses a best-first traversal approach that follows a route of the lowest cost, while keeping a sorted priority queue of alternate routes along the way. Alternative traversal heuristic patterns can similarly be applied such as a Dijkstra-based traversal, a depth-first search, a breadth-first search, and/or any suitable graph traversal approach. Additionally any suitable optimization such as pre-processing route cost or other improvements can be applied.

The traversal heuristics are preferably augmented to accommodate modified consideration pool of routes and performing network graph search preferably includes setting a consideration pool to routes with cost scores within a range defined by the score tolerance S156. The consideration pool is preferably a collection or set of routes that are considered equivalent to the best route according to cost. The score tolerance is preferably a range determined by adding a discrete value to the best route cost. Alternatively, the range may be a probabilistic distribution of equivalency to the best routing option. The distribution can additionally contribute to the distribution values described below. In this case, each route may be included in the consideration pool but the probability of selection for use goes down with the distance from the best route score. In one variation, the network traversal algorithm can be modified to accommodate for cost score equivalence and optionally distribution values. In one variation, performing network graph search preferably includes traversing the network graph in identifying a least cost route while factoring in a score tolerance of the costs. This can be performed in any suitable approach while traversing the network graph. In one variation, performing a best-first traversal approach can traverse the best route, and once one is found traversing all routes that are and remain within the score tolerance. In other variations, the score tolerance can be considered while traversing the network graph.

Performing a network graph search additionally includes selecting a route based on a distribution values of the routes in the pool S158, which functions to allow communication to be shared amongst routes that are substantially equivalent as defined by the score tolerance. The distribution value is preferably the sum of the edge distribution values along a route. Alternatively, the distribution of a route can be the maximum value, the minimum value, the average value, the median value, or any suitable value calculated from the individual edge or node associated distribution values. As mentioned above, in a telecommunications application, weights are preferably assigned to different carrier nodes, which determine which external partner is engaged when establishing communication outside the communication platform. Such external entities can have related business contracts that dictate how much traffic should be terminated or serviced through them by the network. Such carrier node preference can be embodied in the relative distribution values. Additionally or alternatively, distribution values can be applied to place preference to use (or not use) particular resources within the route.

In one preferred implementation the distribution value includes a weight. The weigh value is preferably a value that indicates the target distribution of communication through a consideration pool of routes. Selecting a route preferably substantially promotes a distribution between the routes in the consideration pool to be in proportion to the weights. The proportion is approximated over total or eventual traffic. The weighting preferably functions to achieve some balancing across a set of substantially equivalent routing options. As a basic example, if the consideration pool of routes includes a route A with a weight of 80 and a route B with a weight of 20 then 80% of communication with the same parameters (e.g., same start and end destinations) will go through route A and 20% through route B. The weights are preferably normalized across the considered routes. For example a route C with a weight of 100 was also considered in that pool, then traffic would be distributed as 40% route A, 10% route B, and 50% route C. When distributing traffic, the selection can be applied randomly with the weighted distribution, may be made in round-robin/alternating fashion according to distribution, or in any suitable manner.

In another preferred implementation, the distribution value of a route can include a priority and a weight. The priority value preferably defines an additional mechanism through which distribution can be controlled. Priority can add an additional filter where only routes of the highest level of priority in the consideration pool are considered. Priority is preferably evaluated based on the highest priority value such that priorities of multiple edges in a route can be summed and used as a route prioritization. Alternatively, the greatest priority value (whether communicated in a larger or lesser value) within any given edge of a route can be use. Any suitable approach can be used to define the route prioritization. Applying the prioritization value preferably results in a prioritized consideration pool. For example, if a consideration pool includes route A with priority 5, route B with priority 3, and route C with priority 5, then route A and C are in the prioritized consideration pool. After the priority is used to select the top priority equivalent routes, weight values can be used to distribute the communication in manner similar to above. Other distribution heuristics may alternatively or additionally be applied such as including a fuzziness of prioritization, using a continuation distribution function, or any suitable approach to impact distribution.

Block S160, which includes establishing the media routing through the network resources specified between the originating endpoint and the destination endpoint, functions to use the route selected in accordance to performing the network graph search. The media is preferably routed through the selected resources and communication is established. In the case, where the method is applied to other forms of communication such as signaling, then the communication is executed over the selected route in the corresponding mode. In the case of a VoIP provider, establishing the media routing can include negotiating and performing any suitable form of handshaking through signaling to setup the media communication channel. If the communication is a new communication, the communication is established for the first time for that communication session. If the communication session existed previously, but was modified (e.g., to include new required media resources), then the signaling preferably handles removing/unsubscribing un-used resources and inviting new resources to modify the previous route to conform to the newly selected route. The method is preferably applied in distributed computing infrastructures. A distributed infrastructure can include multiple datacenters or regions. The different regions can be separated by geographically significant distance (e.g., greater than 1000 miles or 2000 miles). As the communication platform can include these different regions, the media routing can included routing between the different regions.

The method can additionally include selecting a cost function according to a routing profile S170, which functions to allow the cost function to vary between communication instances on the communication platform. In implementation, the use of different route profiles can allow two communication requests within the platform to use different cost score functions within block S114 as shown in FIG. 4. There is preferably a route profile for each type of cost score function provided in the system. The function of one account profile can emphasize media quality, another may minimize price, another may minimize cost, another may be a balance between quality and price, others can prioritize a particular type of performance, or provide any suitable valuation of the cost score. As an example, the method preferably includes at least two routing profiles—a first routing profile class is a price-prioritized routing profile and a second routing profile class is a communication quality-prioritized routing profile.

In one variation, the type of routing profile is determined by account settings. An account within a multitenant communication platform can pre-configure the account to use one type of account profile. For example, one account may set the account to use best media quality, another account may want to minimize price, and an account using a free trial may be forced into an account profile that prioritizes lower cost to the platform.

In another variation, the type of routing profile is specified for the current communication session, which functions to allow the preference to be set on a call-by-call basis. The account profile can additionally be updated during a communication session. For example, a marketing application may make thousands of calls using lowest cost routing profile, and after a caller picks up and engages with the marketing representative, the routing profile can be updated to a media quality routing profile when updating the routing.

In yet another variation, a routing profile class can alternatively be set based on the type of communication (e.g., video uses quality-prioritized scores, voice uses price-prioritized scores). Other variations may enable a function to be customized by an administrator, account holder, or any suitable entity.

2. Example Scenarios

In one exemplary scenario of applying the method can involve a network, as shown in FIG. 13, which includes a route A-D-E with a cost-priority-weight characterization of 12, 10, and 30 (respectively); a route A-C-E with a cost-priority weight characterization of 3, 30, and 80; and a route A-B-E with a cost-priority-weight characterization of 10, 30, and 20. The cost-priority-weight characterizations are preferably set through summing the values along the route. Route A-C-E has the lowest cost of 3. If a cost tolerance of 10 is used then all costs are within the cost tolerance, and all routes are in the consideration pool. As a result the route through D is considered equivalent to the route through C. Since routes A-C-E and A-B-E have the same priority, the weight value is used to distribute traffic between them such that 80% of traffic goes over A-C-E and 20% goes over A-B-E.

If the distribution step does not consider the priority value and only applies weighting within the consideration pool, then the traffic will be distributed across all three routes with a distribution proportion of approximately A-D-E 23%, A-C-E 62%, and A-B-E 15%. If the cost tolerance is 3, then A-D-E is the only route in the consideration pool and all traffic is distributed to that route. As shown in this example, cost takes precedence. The route with the lowest cost is selected over a path with a higher cost. However, costs that are “close enough” are considered equal in order to allow for some “fuzziness” of the cost tolerance. And finally, paths with greatest priority value receive traffic distribution corresponding to normalized weight ratios.

As one exemplary use within a VoIP provider, an inbound call may be received and signaled through different nodes of the VoIP provider as shown in FIG. 8. The VoIP provider can include a media gateway at the edge of the network among other numerous media resources such as transcoding, recording, simple pass through routers, quality of service enforcement, speech recognition, text-to-speech, mixing, and other suitable media resource nodes. In this example, a call comes into the VoIP provider network through a carrier A. Resources of the provider will send the signaling (via SIP or some other suitable signaling protocol) to a pre-configured or dynamically selected destination which may be a media and/or signaling relay node. The signaling is preferably moved to a business logic node (i.e., an application node) where functionality requirements and other conditional media resource considerations can be determined. In this example, the provider determines that the incoming call should be placed in a conference; the application node allocates a media mixer node as a required resource for the route. The application node may additionally determine a set of resources that have access to the intended destination to a carrier B. As the route to the particular media mixer and media relay to carrier B are selected, the method for route selection is preferably applied to determine the best route according to the configuration of the platform. The media channel is established with the nodes according to the determined route as shown in FIG. 8. In a related scenario, a similar platform may be distributed over multiple data centers as shown in FIG. 14, and the routing method enables for media to be dynamically routed through nodes that achieve the goals of the cost function while balancing external considerations such as resource prioritization and weighting.

In a related example, an in-session communication may be previously established, but business/control logic may trigger a change in the media resource requirements. For example, a recording resource may need to be added to record the message. The method can be applied with updated resource requirements to determine a new preferred route. The application logic preferably triggers reconfiguring the route to achieve the new route. Reconfiguring can include adding, removing, and updating resources. Such reconfiguring is preferably achieved through a sequence of signaling messages to the appropriate resources. Even though a media mixer was still required in the new route, the method determines that different media mixer node would provide better performance.

3. System for Routing Communication

As shown in FIG. 15, a system of a preferred embodiment includes a set of communication resource nodes, a network graph engine, and routing engine. The system is preferably implemented for a telecommunication platform provider that facilitates routing of communication through or within the platform. In one preferred implementation, the communication platform is a platform of a VoIP provider. As shown in FIG. 16, the system (e.g., a VoIP provider) can facilitate communication between two endpoints, but as shown in FIG. 17, the internal routing can involve multiple resources selected from a number of possible resources. In another preferred implementation, the communication platform can be used within a communication application platform providing a various modes of interacting with a communication and facilitating communication over PSTN, SIP, SMS, MMS, client application protocols, and/or other modes of communication such as in the platform described in U.S. Pat. No. 8,306,021. The communication platform can be used for voice communication, video communication, multi-party conferencing, screen sharing, and/or any suitable form of communication.

The communication resource nodes can be any suitable nodes. Preferably the nodes are an abstracted view of the resources and the complete routing hops. For example, a host that may have multiple virtual hosts or services may be viewed as a single resource. As another example, the same type of resource within one data center may be abstracted as the same node since networking and load balancing between the resources within a datacenter may be handled in an alternative lower level approach. While the actual set of resources can vary depending on the communication platform, one preferred implementation includes carrier gateways that interface with different carrier networks. The carrier networks will additionally include different access to endpoints—a carrier gateway may only be capable of accessing a set number of endpoints. For example, a US-based carrier A may not be able to access UK-based phone numbers. Other edge gateways may include SIP-edge gateways that interface with public SIP based devise, client application protocol (e.g., different IP based applications that can act as a communication endpoint), and other suitable forms of communication.

The set of communication resource nodes can additionally include an application node that facilitates determining basic network topology of a route. The network topology preferably describes the node types required for a route, the optional nodes in a route, mandatory nodes, order/configuration of different node types, and other basic route requirements to fulfill a request. The application node preferably facilitates the selection of functionality requirements of the route and can manage establishing the route. In a basic communication such resource functionality requirements may be predefined.

The system and methods of the preferred embodiment and variations thereof can be embodied and/or implemented at least in part as a machine configured to receive a computer-readable medium storing computer-readable instructions. The instructions are preferably executed by computer-executable components preferably integrated with the communication platform. The computer-readable medium can be stored on any suitable computer-readable media such as RAMs, ROMs, flash memory, EEPROMs, optical devices (CD or DVD), hard drives, floppy drives, or any suitable device. The computer-executable component is preferably a general or application specific processor, but any suitable dedicated hardware or hardware/firmware combination device can alternatively or additionally execute the instructions.

As a person skilled in the art will recognize from the previous detailed description and from the figures and claims, modifications and changes can be made to the preferred embodiments of the invention without departing from the scope of this invention defined in the following claims.

Claims

1. A method for routing a communication within a communication platform with at least a set of nodes interfacing to outside communication services comprising:

collecting network factors of edges of the communication network;
calculating cost scores from a cost function and the collected network factors
assigning distribution values within the network;
setting a score tolerance;
receiving a communication directive;
performing network graph search to identify a selected route comprising: identifying a best cost route according to the total cost score of routes in the network, setting a consideration pool to routes with cost scores within a score tolerance of the cost score of the best cost route, and selecting the selected route based on determined distribution values of the routes in the consideration pool; and
establishing a media route specified by the selected route.
Patent History
Publication number: 20150180763
Type: Application
Filed: Mar 3, 2015
Publication Date: Jun 25, 2015
Inventor: Jonas Boerjesson (San Francisco, CA)
Application Number: 14/636,737
Classifications
International Classification: H04L 12/721 (20060101);