DISTRIBUTING SERVICE SESSIONS

Information

  • Patent Application
  • 20160044095
  • Publication Number
    20160044095
  • Date Filed
    May 15, 2014
    10 years ago
  • Date Published
    February 11, 2016
    8 years ago
Abstract
Provided are methods and systems for distributing service sessions from a client device in a service data network. A packet of the service session is received by a forwarding node. The forwarding node determines whether the packet matches a service address associated with the service session. Responsive to the determining, a servicing node associated with the service address is selected based on a forwarding policy. The packet is sent to the selected servicing node. The servicing node determines whether the packet is a service request packet. A server is selected based on a service policy, wherein the server is configured to serve the service session. The packet is sent to the server. Before being received by a forwarding node, the packet is received by a gateway node. The gateway node determines whether the packet matches the service address and selects the forwarding node based on a notification.
Description
TECHNICAL FIELD

This disclosure relates generally to data processing and, more specifically, to distributing service sessions in service data networks.


BACKGROUND

The approaches described in this section could be pursued but are not necessarily approaches that have previously been 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.


Regular service load balancers such as server load balancers, application delivery controllers, and traffic managers, typically distribute a load among a plurality of servers providing network services such as web documents, voice calls, advertisements, enterprise applications, video streaming services, file transfers, gaming, or various broadband services. A network service is associated with an IP address. In an IP network, an IP address is assigned to a network device. Network routers and switches are designed to forward data packets addressed to the IP address to the assigned network computing device. However, currently, the same IP address cannot be assigned to multiple network computing devices connected with network routers and switches.


When a service provider deploys a network service, the service provider needs to take into account changes in client demand from high demand to low demand. In one scenario, a software vendor provides software patches on a regular basis. Normally, a single service load balancer is capable of handling software patch download demand.


For example, when a software vendor rolls out a major software update, the software vendor should anticipate a dramatic increase in download demand shortly after the major software update is released. To handle the increasing demand, the software vendor can plan to add two additional service load balancers and four more patch servers. The software vendor could use different IP addresses for the additional service load balancers. However, this solution would require the client devices to learn the new IP addresses before requesting the software update service.


After a day of the major software update release, the software vendor experiences a substantial decline in service demand. The software vendor can remove some added service load balancers and patch servers. The client devices need to re-acquire the IP address of the remaining service load balancer in order to use the software patch service.


It is therefore desirable that there is a need to provide a scalable dynamic service network to distribute service sessions to a plurality of service load balancers according to a service address.


SUMMARY

This summary is provided to introduce a selection of concepts in a simplified form that are further described in the Detailed Description below. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.


The present disclosure is related to approaches for distributing service sessions in a service data network. Specifically, a method for distributing service sessions in a service data network may comprise receiving, by a forwarding node, a packet associated with the service session. The method can further include determining, by the forwarding node, whether the packet is matching a service address. The service address is associated with the service session being distributed. The method further includes selecting a servicing node from a plurality of servicing nodes based on a forwarding policy and sending the packet to the selected servicing node. Each of the plurality of servicing nodes is associated with the service address. The forwarding policy can include a criterion for selecting a forwarding node from among the forwarding nodes belonging to the service data networks.


The method for distributing service session can further proceed with the servicing node receiving the packet, and the servicing node determining whether the packet is a service request packet. Upon the determination, the method continues with the servicing node server selecting a server, wherein the server is configured to serve the service session, and sending the packet to the selected server. The selection of a server is carried out based on a service policy. The service policy can include criteria associated with selection of a server using information retrieved from the packet (such as, for example, a network address of a client device from which the packets of the service session are sent, a user identity, a HTTP cookie, a session identifier, or a pattern in a data packet).


In some embodiments, a forwarding node may be configured to receive packets from a gateway node. Before receiving the packet by the forwarding node, the method may include receiving, by the gateway node, a notification and the packet, determining whether the packet matches the service address associated with the service session, selecting the forwarding node based on the notification, and sending, by the gateway node, the packet to the forwarding node. The notification can include a source network address of the packet and a forwarding node address.


According to another approach of the present disclosure, there is provided a system for distributing service sessions in a service data network. The system may comprise a gateway node, one or more forwarding nodes, one or more servicing nodes, and a network controller. In some embodiments, the gateway node may receive a packet associated with a service session from a client device and a notification. The gateway node can further determine whether the packet matches a service address, with the service address being associated with the service session. The gateway node can select a forwarding node from the one or more forwarding nodes of the service data network based on the notification and send the packet to the selected forwarding node.


The forwarding node is configured to receive the packet, determine whether the packet matches the service address, select a servicing node from one or more servicing nodes of the service data network based on a forwarding policy, and send the packet to the selected servicing node. The forwarding policy may include criteria for selecting a forwarding node between the forwarding nodes belonging to the service data networks.


The servicing node can be configured to receive the packet, determine whether the packet is a service request packet, select a server from a plurality of severs based on a service policy, wherein the server is configured to serve the service session, and send the packet to the server. The service policy can include criteria for selecting a server using information retrieved from the packet (such as, for example, a network address of a client device from which the packets of the service session were sent, a user identity, a HTTP cookie, a session identifier, or a pattern in a data packet).


In some embodiments, the network controller can be configured to provide one or more of the following: a notification and forwarding policy to a gateway node, a forwarding policy to a forwarding node, and a service policy to a servicing node. In certain embodiments, the gateway policy and servicing policy may be stored in a memory storage associated with the corresponding network nodes.


In further example embodiments of the present disclosure, the method steps are stored on a machine-readable medium comprising instructions, which when implemented by one or more processors perform the recited steps. In yet further example embodiments, hardware systems, or devices can be adapted to perform the recited steps. Other features, examples, and embodiments are described below.





BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments are illustrated by way of example, and not by limitation, in the figures of the accompanying drawings, in which like references indicate similar elements.



FIG. 1 is a block diagram showing a service data network for distributing a service session from a client to servers.



FIG. 2 is a block diagram showing components of an example network node.



FIG. 3 is a block diagram showing an environment of a gateway node in a service data network.



FIG. 4 is a block diagram showing an environment of a forwarding node in a service data network.



FIG. 5 is a block diagram showing an environment of a servicing node in a service data network.



FIG. 6 is a block diagram showing an example forwarding node joining a service data network.



FIG. 7 is a block diagram showing an example forwarding node leaving a service data network.



FIG. 8 is a block diagram showing an example servicing node joining a service data network.



FIG. 9 is a block diagram showing an example servicing node leaving a service data network.



FIG. 10 is a process flow diagram showing a method for distributing a service session from a client to servers, according to an example embodiment.



FIG. 11 shows a diagrammatic representation of a computing device for a machine in the example electronic form of a computer system, within which a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein, can be executed.





DETAILED DESCRIPTION

The following detailed description includes references to the accompanying drawings, which form a part of the detailed description. The drawings show illustrations in accordance with example embodiments. These example embodiments, which are also referred to herein as “examples,” are described in enough detail to enable those skilled in the art to practice the present subject matter. The embodiments can be combined, other embodiments can be utilized, or structural, logical, and electrical changes can be made without departing from the scope of what is claimed. The following detailed description is therefore not to be taken in a limiting sense, and the scope is defined by the appended claims and their equivalents. In this document, the terms “a” and “an” are used, as is common in patent documents, to include one or more than one. In this document, the term “or” is used to refer to a nonexclusive “or,” such that “A or B” includes “A but not B,” “B but not A,” and “A and B,” unless otherwise indicated.


The techniques of the embodiments disclosed herein may be implemented using a variety of technologies. For example, the methods described herein may be implemented in software executing on a computer system or in hardware utilizing either a combination of microprocessors or other specially designed application-specific integrated circuits (ASICs), programmable logic devices, or various combinations thereof. In particular, the methods described herein may be implemented by a series of computer-executable instructions residing on a storage medium such as a disk drive, or computer-readable medium. It should be noted that methods disclosed herein can be implemented by a computer (e.g., a desktop computer, a tablet computer, a laptop computer, and a server), game console, handheld gaming device, cellular phone, smart phone, smart television system, and so forth.


The method of the current disclosure may include receiving, by a forwarding node, a packet of a service session, determining by the forwarding node whether the packet is matching a service address, with the service address being associated with the service session. Responsive to the determination, the method can proceed with selecting a servicing node from a plurality of servicing nodes based on a forwarding policy, wherein each of the plurality of servicing nodes is associated with the service address, and sending the packet to the selected servicing node. In some embodiments, the method may further include receiving the packet by the servicing node, determining whether the packet is a service request packet, selecting a server, with the server being configured to serve the service session, and sending the packet to the server. In certain embodiments, before receiving the packet by the forwarding node, the method can include receiving, by the gateway node, a notification and the packet, determining whether the packet matches the service address, selecting the forwarding node based on the notification, and sending the packet to the forwarding node.


Referring now to the drawings, FIG. 1 is a block diagram showing a service data network 100 for distributing a service session from client to servers and working environment of thereof, according to an example embodiment. The example service data network 100 includes one or more network nodes. The network nodes include at least one gateway node 110, one or more forwarding nodes 120, and one or more servicing nodes 130. In some embodiments, the service data network 100 can include assistant network nodes (not shown in FIG. 1), configured to carry out data communication between gateway node 110, forwarding nodes 120, and servicing nodes 130 of service data network 100. In certain embodiments, the service network 100 is connected to a network controller 300. The network controller 300 is configured to communicate to network nodes of the service data network 100.


According to some embodiments, service data network 100 can include an Ethernet network, an ATM network, a cellular network, a wireless network, a Frame Relay network, an optical network, an IP network or data network utilizing other physical layers, link layer capability, or network layers to carry data packets.


In some embodiments, the service data network 100 is connected to at least one client device 200. The client device 200 can be a personal computer (PC), a laptop, a smartphone, a cell phone, a tablet, a personal digital assistant (PDA), a desktop, a notebook, a set top box, a network connected device, a computer, a network connecting computing device, a network element such as an Ethernet switch, a router, or any network computing device seeking a service from a server.


In some embodiments, service data network 100 is connected to one or more servers 400. The server 400 may include a Web server, a video server, a music server, an e-commerce server, an enterprise application server, a news server, a mobile broadband service server, a messaging server, an email server, a game server, an app server, an Internet radio server, a storage server, a social network services server, or a network computing device. The network computing device is operable to provide services to a service session 210 coming from client device 200.


In some embodiments, service network 200 is configured to serve service address 220. The service address 220 represents a network address for service session 210 between client 200 and a server 400. In certain embodiments, the service address 220 includes one or more of an IP address, a TCP port number, a UDP port number, a data link layer identity, a VLAN identity, a network identity, and a service identity.


In some embodiments, client device 200 conducts service session 210 with server 400. Service session 210 may be a web page access session; an e-commerce transaction session; a video playing session; a music playing session; a file transfer session; an image downloading session; a message chat session; a session to send a message, a picture, a video, or a file; a game playing session; or any data communication session between client device 200 and server 400.


In certain embodiments, service session 210 includes one or more data packets sent by client 200. Data packets can be processed by service network 100 prior to being delivered to server 400. In some embodiments, data packets are received by the gateway node 110. Gateway node 110 is configured to examine data packets and determine whether to forward the data packets to forwarding node 120. Forwarding node 120 is configured to receive data packets of service session 210 from the gateway node, examine the data packets, and determine whether to forward the data packets to servicing node 130. In one embodiment, servicing node 130 is configured to receive data packets of service session 210, process the data packets, select server 400 to handle the service session 210, and forward the data packets to selected server 400.


Referring now to FIG. 2, components of an example network node 105 are shown. The example network node 105 of service network 100 comprises a processor module 106, a network module 107, and computer storage medium 108. In certain embodiment, processor module 106 includes one or more processors, which may be a micro-processor, an Intel processor, an AMD processor, a MIPS processor, an ARM-based processor, or a RISC processor. In other embodiments, processor module 106 includes one or more processor cores embedded in a processor. In some other embodiment, processor module 106 includes one or more embedded processors, or embedded processing elements in a Field Programmable Gate Array (FPGA), an ASIC, or Digital Signal Processor (DSP).


In some embodiment, network module 107 includes a network interface such as an Ethernet, optical network interface, a wireless network interface, T1/T3 interface, or a WAN or LAN interface. In certain embodiments, network module 107 includes a network processor.


In some embodiment, storage module 108 includes RAM, DRAM, SRAM, SDRAM or memory utilized by processor module 106 or network module 107. The storage module 108 can be configured to store data utilized by processor module 106.


In other embodiments, storage module 108 includes a hard disk drive, a solid state drive, an external disk, a DVD, a CD, or a readable external disk. Storage module 108 stores one or more computer programming instructions which when executed by processor module 106 and network module 107 implement one or more of the methods described in present disclosure.



FIG. 3 shows a block diagram showing an example working environment of a gateway node 110 of a service data network 100, according to an example embodiment. Details of service data network 100 and environment thereof are previously described in FIG. 1. According to an example embodiment, the client device 200 sends data packet 215 of service session 210 (shown in FIG. 1). In some embodiments, data packet 215 includes a service address 220. The gateway node 110 is configured to examine the data packet 215 and determine whether the data packet 215 matches the service address 220.


In certain embodiments, the data packet 215 includes service address 220 as a destination network address. Gateway node 110 can be configured to retrieve and determine whether the destination network address of the data packet 215 matches the service address 220. Upon determining that data packet 215 matches service address 220, the gateway node 110 checks a forwarding policy 115 to determine where to forward the data packet 215. In particular embodiments, the forwarding policy 115 can include a forwarding table, a TCAM table, a hash table, a look-up table, an application programming interface (API), or a set of computer programming instructions.


If, for example, the gateway node 110 is connected to forwarding node 121, and forwarding policy 115 indicates that forwarding node 121 is selected, then the gateway node 110 forwards the data packet 215 to the forwarding node 121.


If, for example, the gateway node 110 is connected to the forwarding node 121 and forwarding node 122, and the forwarding policy 215 indicates that the forwarding node 121 is selected, then the gateway node 110 forwards the data packet 215 to the forwarding node 121.


In some embodiments, forwarding policy 115 can include a criterion for selecting a forwarding node between the forwarding node 121 and the forwarding node 122. The criterion in forwarding policy 115 can indicate that the selection is based on the source network address of data packet 215. The gateway node 110 is configured to retrieve a source network address, which can include one or more of an IP address, a transport layer address, a link layer address, and a network identity. The gateway node 110 can be further configured to make a decision based on the retrieved source network address and the criterion of forwarding policy 115. In certain embodiments, gateway node 110 applies a hashing function, according to the criterion, to the retrieved source network address. In other embodiments, the gateway node 110 looks up a table using the retrieved source network address. In another embodiment, gateway node 110 processes only a portion of the retrieved source network address to determine a forwarding node. After the gateway node 110 determines and selects forwarding node 121 or 122 in accordance to criterion of the forwarding policy 115, the data packet 215 is sent to the selected forwarding node.


In some embodiments, prior to receiving data packet 215, gateway node 110 may receive one or more indications that the forwarding node 121 and the forwarding node 122 are capable of handling data packets for service address 220. In other embodiments, the gateway node 110 can be configured to store a prior forwarding policy and update the prior forwarding policy with the indications to create forwarding policy 115. In certain embodiments, the gateway node 110 is configured to receive the forwarding policy 115 from a network controller 300.


In some embodiments, the gateway node 110 includes a routing module implementing a routing protocol, which may be an IP routing protocol such as Open Shortest Path First (OSPF), ISIS (Intermediate System to Intermediate System), Routing Information Protocol (RIP), Border Gateway Protocol (BGP), E-BGP or I-BGP. The gateway node 110 receives one or more indications through one or more routing protocols indicating forwarding node 121 or forwarding node 122 are capable of handling data packets for service address 220.


In certain embodiments, the gateway node 110 includes an aggregated link, a link aggregated group, or a group of links connecting to the forwarding node 121 and the forwarding node 122. The gateway node 110 creates forwarding policy 115 to support a plurality of forwarding paths for service address 220, such as paths to both the forwarding node 121 and the forwarding node 122. In some embodiments, gateway node 110 can create the forwarding policy 115 based on ECMP (Equal Cost Multi-Path) routing, configuration of LAG (link aggregation group) or MLAG (multi-link aggregation group) to support multiple forwarding paths.


In some embodiments, forwarding policy 115 includes a criterion that the same forwarding node should be selected for data packets of the same service session, or data packets from a same client. In further embodiments, forwarding policy 115 includes a criterion that the same forwarding path should be selected for data packets of the same service session or from the same client. Such criteria are useful to assure that data packets of the same service session or from a same client are delivered to the same forwarding node or the same forwarding path.


Referring now to FIG. 4, a block diagram of an example forwarding node 120 and environment thereof is shown, according to an example embodiment. Details of service data network 100 and environment thereof are previously described in FIG. 1. The forwarding node 120 receives data packet 215. The forwarding node 120 is further configured to examine the data packet 215 and determine whether the data packet 215 matches the service address 220. In some embodiments, the forwarding node 120 retrieves a destination network address of the data packet 215 and determines whether the destination network address of the data packet 215 matches the service address 220. Upon determining that data packet 215 matches the service address 220, the forwarding node 120 applies a forwarding policy 125 to determine where to forward the data packet 215. In certain embodiments, the forwarding node 120 is configured to retrieve the forwarding policy 125 from a storage module of the forwarding node 120 prior to applying the forwarding policy 125.


If, for example, the forwarding node 120 is connected to servicing node 131, and the forwarding policy 125 indicates to forward the data packet 215 to servicing node 131, then the forwarding node 120 sends the data packet 215 to the servicing node 131.


In other example embodiment, the forwarding node 120 is connected to the servicing node 131 and servicing node 132. If the forwarding policy 120 indicates that the servicing node 131 should be selected, then the forwarding node 120 forwards data packet 215 to the servicing node 131. In some embodiments, the forwarding policy 125 may indicate a criterion for selecting a servicing node between the servicing node 131 and the servicing node 132.


In some embodiments, the criterion of the forwarding policy 125 can indicate that the selection should be based on a source network address of the data packet 215. Forwarding node 120 retrieves a source network address of the data packet 215. The source network address may include one or more of an IP address, a transport layer address, and a link layer address. Forwarding node 120 is configured to make the selection based on the retrieved source network address.


In other embodiments, the forwarding node 120 applies a hashing function to the retrieved source network address in accordance to a criterion of the forwarding policy 125. In some embodiments, the forwarding node 120 is configured to look up a table based on the retrieved source network address. In certain embodiments, forwarding node 130 is configured to process only a portion of the retrieved source network address to determine a servicing node. After the forwarding node 120 determines and selects a servicing node based on the forwarding policy 125 criterion, the forwarding node 120 sends data packet 215 to the selected servicing node.


In some embodiments, prior to receiving data packet 215, the forwarding node 120 can receive one or more indications that either servicing node 131 or servicing node 132 are capable of handling data packets for the service address 220. In certain embodiments, the forwarding node 120 can include a prior forwarding policy and generate the forwarding policy 125 according to the indications and the prior forwarding policy.


In other embodiments, the forwarding node 120 is configured to receive the forwarding policy 125 from the network controller 300. In further embodiments, the forwarding node 120 stores the forwarding policy 125 to a storage module of the forwarding node 120 prior to applying the forwarding policy 125.


Referencing now to FIG. 5, a block diagram of an example servicing node 130 and environment thereof is shown, according to an example embodiment. Details of service data network 100 and environment thereof are previously described in FIG. 1. The servicing node 130 is configured to receive a data packet 215 of client device 200. The servicing node 130 examines the data packet 215 and determines whether the data packet 215 matches service address 220. Upon determining that the data packet 215 matches the service address 220, the servicing node 130 processes the data packet 215.


In some embodiments, the data packet 215 includes a service request. The service request can include a HTTP request, an IP header, a HTTP cookie, a FTP command, a video/music/file service request, or a piece of data indicating a request for a service. The servicing node 120 processes the service request of the data packet 215 and uses service policy 135 to select a server (for example, server 401). The servicing node 130 sends the service request of the data packet 215 to the selected server 401.


In some embodiments, servicing node 130 can be connected to the server 401 and server 402, which are both capable of serving the service request of the data packet 215, and the servicing node 130 selects a server according to the service policy 135.


In some embodiments, the service policy 135 may indicate a selection criterion which is based on information of the client device 200, such as a network address of client device 200, a user identity, a HTTP cookie, a session identifier or a pattern in a data packet. The servicing node 130 extracts the necessary information from data packet 215 according to the selection criterion. In certain embodiments, the servicing node 130 does not select a server immediately after processing the service request of the data packet 215. In these embodiments, the servicing node 130 extracts additional information from data packets of a subsequent service session received from the client device 200 in order to apply the selection criterion. In one embodiment, servicing node 501 selects a server based on a server load balancing criterion indicated in service policy 135.


In some embodiments, the servicing node 130 can retrieve the service policy 135 from storage module. In other embodiments, the servicing node 130 receives the service policy 135 from the network controller 300.



FIG. 6 is a block diagram showing an example forwarding node joining a service data network. In the example embodiment of FIG. 6, the service data network 100 includes at least a gateway node 110, forwarding nodes 121 and 122 before the forwarding node 123 joins the service network 100. The forwarding node may join the service data network 100 when the service data network 100 is required to increase capacity to serve additional client devices or service sessions.


In some embodiments, the forwarding node 123 is configured to receive a forwarding policy 125 from the network controller 300. The forwarding policy 125 can include the service address 220. In certain embodiments, the forwarding node 123 is configured with service address 220 prior to receiving forwarding policy 125. In some embodiments, the forwarding node 123 informs the gateway node 110 that forwarding node 123 has joined the service network 100. In other embodiments, the forwarding node 123 informs gateway node 110 based on the forwarding policy 125. The forwarding node 123 can process a routing protocol in conjunction with the gateway node 110, and the forwarding node 123 notifies the gateway node 110 using the routing protocol. The forwarding node 123 can includes the service address 220 in the notification to the gateway node 110.


According to an example embodiment, the forwarding node 123 can establish connections to the servicing node 131 and the servicing node 132. The forwarding node 123 can establish the connections to the servicing nodes 131 and 132 in accordance to forwarding policy 125. The forwarding policy 125 can include criteria for packet forwarding. In certain embodiments, the forwarding node 123 is configured to store the forwarding policy 125 in a storage module and to apply the forwarding policy 125 to select a servicing node, as described in FIG. 4.


The forwarding node 123 may inform the gateway node 110 after establishing connections to servicing nodes 131 and 132. In some embodiments, the forwarding node 123 establishes a connection with gateway node 110 prior to informing gateway node 110. In other embodiments, the forwarding node 123 establishes a routing protocol session with gateway node 110 and informs the gateway node 110 using the routing protocol session.


In some embodiments, network controller 300 can configured to inform the gateway node 110 that forwarding node 123 is available. The gateway node 110 updates a prior forwarding policy after being made aware of the forwarding node 123 in order to include the forwarding node 123. For example, if prior to including the forwarding node 123, the gateway node 110 is connected to the forwarding nodes 121 and 122, then after connecting to forwarding node 123, the gateway node 110 updates the prior forwarding policy in such a manner that the updated forwarding policy includes the forwarding nodes 121, 122 and 123.



FIG. 7 is a block diagram showing an example of a forwarding node leaving a service data network. In example embodiment of FIG. 7, the service data network 100 includes at least a gateway node 110, and forwarding nodes 121, 122, and 123. The forwarding node 123 is leaving the service network 100. The service network 100 may reduce its capability to serve in response to a reduced demand for service sessions.


In some embodiments, the forwarding node 123 receives an indication to leave service network 100 from the network controller 300. The forwarding node 123 may inform gateway node 110 that the forwarding node 123 is no longer participating in service network 100. The forwarding node 123 can inform the gateway node 110 via a routing protocol session with the gateway node 110. In certain embodiments, the network controller 300 can inform the gateway node 110 that the forwarding node 123 is no longer available. The gateway node 110 updates a prior forwarding policy associated with the gateway node 110 to make sure that the forwarding node 123 is no longer selectable based on the updated forwarding policy. In some embodiments, the gateway node 110 removes a connection to the forwarding node 123 since the forwarding node 123 is no longer selectable.


In some embodiments, the forwarding node 123 may remove an existing connection to servicing node 130. In certain embodiments, the network controller 300 informs the servicing node 130 to remove an existing connection to the forwarding node 123.



FIG. 8 is a block diagram showing an example servicing node joining a service data network. In the example embodiment of FIG. 8, the service data network 100 includes forwarding node 120 and servicing node 131. Servicing node 132 is added to the service data network 100. The servicing node 132 may receive the service policy 135 from the network controller 300. The service policy 300 includes the service address 220. In some embodiments, the service policy 135 includes information about server 400 so that the servicing node 132 can select the server 400 to serve a client service session. In other embodiments, the service policy 135 includes information associated to forwarding node 120. The servicing node 132 establishes a connection with forwarding node 120 according to service policy 135.


In some embodiments, the forwarding node 120 is made aware of the presence of servicing node 132 upon receipt of forwarding policy 125 from the network controller 300. The forwarding node 120 can further establish a connection to the servicing node 132 according to the forwarding policy 125. In certain embodiments, the forwarding node 120 is connected to the servicing node 131 before it becomes aware of the servicing node 132 and includes a prior forwarding policy. Forwarding node 120 updates the prior forwarding policy to include forwarding policy 125 and servicing node 132. The forwarding policy 125 can include both the servicing node 131 and the servicing node 132. Forwarding node 120 replaces the prior forwarding policy with forwarding policy 125. The updated forwarding policy can be stored in storage module of the forwarding node 120 to be applied later.



FIG. 9 is a block diagram showing an example of a servicing node leaving a service data network. In example embodiment of FIG. 9, the service data network 100 includes at least a forwarding node 120 and two servicing nodes 131 and 132 connected to forwarding node 120. The servicing node 132 is leaving the service network 100. The service network 100 may reduce its capability to serve upon reduction in the demand for service sessions.


In an example embodiment, the servicing node 132 receives an indication from network controller 300 to exit the service network 100. The servicing node 132 may further inform the forwarding node 120. In some embodiments, the network controller 300 informs the forwarding node 120 that servicing node 132 is no longer available in service network 100. In certain embodiments, the forwarding node 120 receives indication of service node 132 leaving upon receipt of forwarding policy 125. The forwarding node 120 removes an existing connection with servicing node 132 after receiving the indication. The forwarding node 120 can update a pre-stored forwarding policy with the forwarding policy 125 so that servicing node 132 cannot be selected using the updated forwarding policy.


In some embodiments, the network controller 300 indicates to the servicing node 131 that servicing node 132 is no longer available in service network 100. The network controller 300 can provide the indication to servicing node 131 via a service policy.


Referencing back to FIG. 1, it can be appreciated by one skilled in the art that various modifications can be applied to the components of the service data network and environment thereof. For instance, in some embodiments, the gateway node can include the functionality of a forwarding node. Sending data packets from a gateway node to a forwarding node may be conducted over an internal system network interface or a software interface. The forwarding node functionality in a gateway node can be disabled and enabled by the network controller.


In further embodiments, a forwarding node can include the functionality of a servicing node. Sending data packets from a forwarding node to a servicing node may be carried out over an internal system bus or network interface, or over a software interface or API. The network controller disables and enables the servicing node functionality of the forwarding node.


In other embodiments, a servicing node includes the functionality of a server. The network controller disables and enables the server functionality of a servicing node. In some embodiments, a first forwarding node connects to a second forwarding node, and the first forwarding node has a forwarding policy to send a data packet of the service address to the second forwarding node, which forwards the data packet to a servicing node.


In some embodiments, different servicing nodes may have different system capabilities. A forwarding policy of a forwarding node considers the different system capabilities of the servicing nodes. In certain embodiments, different forwarding nodes have different forwarding policies, while in other embodiments the different forwarding nodes have the same forwarding policy. The network controller can determine a forwarding policy based on the different system capabilities of the servicing nodes.


In certain embodiments, functionality of a network controller can be included in a gateway node, a forwarding node, or a servicing node.


In some embodiments, a service network is configured to start with a network node, wherein the network node has combined functionalities of a gateway node, a forwarding node, and a servicing node. The service network is configured subsequently to include additional forwarding nodes and servicing nodes as described herein.


In certain embodiments, the service network is configured to serve a second service address, where at least one or more of a gateway node, forwarding nodes, and servicing nodes would process service sessions for the second service address in addition to the above mentioned service address. In some embodiments, the service network may share one or more of a gateway node, forwarding nodes, and servicing nodes with a second service network serving a second service address.


Referring now to FIG. 10, steps of an example method 1000 for distributing a service session from a client to servers is shown, according to an example embodiment. In some embodiments the steps may be combined, performed in parallel, or performed in a different order. The method 1000 of FIG. 10 may also include additional or fewer steps than those illustrated. The steps of the method 1000 can be executed by components of a service data network 100 shown in FIG. 1-5.


In step 1002, a notification and the packet belonging to the service session are received by a gateway node of the service data network 100. The notification may contain a service address associated with the services session and an address associated with a forwarding node.


In step 1004, a forwarding node is selected by the gateway node based on the notification. In step 1006, the packet is sent to the selected forwarding node. In step 1008, the packet is received by the forwarding node.


In step 1010, the forwarding node determines whether the packet matches a service address, with the service address being associated with the service session. Responsive to the determination, in step 1012, a service node is selected by the forwarding node based on a forwarding policy. The forwarding policy may comprise an address associated with a service node or may contain a criterion as to how to select a service node from a plurality of the servicing nodes of the service data network 100.


In step 1014, the packet is sent by the forwarding node to the selected servicing node. In step 1016, the packet is received by the servicing node. In step 1018, the servicing node determines whether the packet is a service request packet. Responsive to the determination, in step 1020, a server configured to serve the service request packet is selected by the servicing node based on a service policy. The service policy may comprise a criterion for selecting the server based, for example, on service address, an address of a client service where the packets of the service session are sent from, and so forth. In step 1022, the packet is sent to the selected server.



FIG. 11 shows a diagrammatic representation of a machine in the example electronic form of a computer system 1100, within which a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed. In various example embodiments, the machine operates as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, the machine may operate in the capacity of a server or a client machine in a server-client network environment, or as a peer machine in a peer-to-peer (or distributed) network environment. The machine may be a PC, a tablet PC, a set-top box (STB), a cellular telephone, a portable music player (e.g., a portable hard drive audio device such as an Moving Picture Experts Group Audio Layer 3 (MP3) player), a web appliance, a network router, switch or bridge, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while only a single machine is illustrated, the term “machine” shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.


The example computer system 1100 includes a processor or multiple processors 1102 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), or both), a main memory 1104, and a static memory 1106, which communicate with each other via a bus 1108. The computer system 1100 may further include a video display unit 1110 (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)). The computer system 1100 may also include an alphanumeric input device 1112 (e.g., a keyboard), a cursor control device 1114 (e.g., a mouse), a disk drive unit 1116, a signal generation device 1118 (e.g., a speaker), and a network interface device 1120.


The disk drive unit 1116 includes a non-transitory computer-readable medium 1122, on which is stored one or more sets of instructions and data structures (e.g., instructions 1124) embodying or utilized by any one or more of the methodologies or functions described herein. The instructions 1124 may also reside, completely or at least partially, within the main memory 1104 and/or within the processors 1102 during execution thereof by the computer system 1100. The main memory 1104 and the processors 1102 may also constitute machine-readable media.


The instructions 1124 may further be transmitted or received over a network 1126 via the network interface device 1120 utilizing any one of a number of well-known transfer protocols (e.g., HTTP).


While the computer-readable medium 1122 is shown in an example embodiment to be a single medium, the term “computer-readable medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database and/or associated caches and servers) that store the one or more sets of instructions. The term “computer-readable medium” shall also be taken to include any medium that is capable of storing, encoding, or carrying a set of instructions for execution by the machine and that causes the machine to perform any one or more of the methodologies of the present application, or that is capable of storing, encoding, or carrying data structures utilized by or associated with such a set of instructions. The term “computer-readable medium” shall accordingly be taken to include, but not be limited to, solid-state memories, optical and magnetic media, and carrier wave signals. Such media may also include, without limitation, hard disks, floppy disks, flash memory cards, DVDs, RAM, read only memory (ROM), and the like.


The example embodiments described herein can be implemented in an operating environment comprising computer-executable instructions (e.g., software) installed on a computer, in hardware, or in a combination of software and hardware. The computer-executable instructions can be written in a computer programming language or can be embodied in firmware logic. If written in a programming language conforming to a recognized standard, such instructions can be executed on a variety of hardware platforms and for interfaces to a variety of operating systems. Although not limited thereto, computer software programs for implementing the present method can be written in any number of suitable programming languages such as, for example, Hypertext Markup Language (HTML), Dynamic HTML, Extensible Markup Language (XML), Extensible Stylesheet Language (XSL), Document Style Semantics and Specification Language (DSSSL), Cascading Style Sheets (CSS), Synchronized Multimedia Integration Language (SMIL), Wireless Markup Language (WML), Java™, Jini™, C, C++, Pea UNIX Shell, Visual Basic or Visual Basic Script, Virtual Reality Markup Language (VRML), ColdFusion™ or other compilers, assemblers, interpreters or other computer languages or platforms.


Thus, methods and systems for distributing service sessions are disclosed. Although embodiments have been described with reference to specific example embodiments, it will be evident that various modifications and changes can be made to these example embodiments without departing from the broader spirit and scope of the present application. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.

Claims
  • 1. A method for distributing a service session from a client device, the method comprising: receiving, by a forwarding node, a packet of the service session;determining, by the forwarding node, whether the packet matches a service address, the service address being associated with the service session;responsive to the determining, selecting a servicing node from a plurality of servicing nodes based on a forwarding policy, wherein each of the plurality of servicing nodes is associated with the service address; andsending the packet to the servicing node.
  • 2. The method of claim 1, wherein the forwarding policy comprises a source network address.
  • 3. The method of claim 2, wherein the determining selecting the servicing node from a plurality of servicing nodes based on a forwarding policy comprises: retrieving a packet source network address associated with the packet; andcomparing the packet source network address to the forwarding policy.
  • 4. The method of claim 2, wherein the source network address comprises an IP address of the client device.
  • 5. The method of claim 1, further comprising: receiving the packet by the servicing node;determining, by the servicing node, whether the packet is a service request packet;selecting, by the servicing node, a server, the server being configured to serve the service session; andsending, by the servicing node, the packet to the server.
  • 6. The method of claim 5, wherein the server is selected by the servicing node based on a service policy.
  • 7. The method of claim 1, wherein the forwarding node is receiving the packet from a gateway node.
  • 8. The method of claim 7, further comprising, prior to receiving the packet, by the forwarding node: receiving, by the gateway node, a notification and the packet;determining, by the gateway node, whether the packet matches the service address;selecting, by the gateway node, the forwarding node based on the notification; andsending, by the gateway node, the packet to the forwarding node.
  • 9. The method of claim 8, wherein the notification comprises the forwarding node and the service address.
  • 10. The method of claim 8, wherein the gateway node receives the notification over a routing protocol session with the forwarding node.
  • 11. The method of claim 8, wherein the gateway node receives the notification from a network controller.
  • 12. A system for distributing a service session from a client device, the system comprising: one or more forwarding nodes; anda plurality of servicing nodes, wherein each of the plurality of servicing nodes is associated with a service address, the service address being associated with the service session; andwherein the one or more forwarding nodes are configured to: receive the service session;determine whether a packet included in the service session matches the service address;select a servicing node from the plurality of servicing nodes based on a forwarding policy; andsend the packet to the servicing node.
  • 13. The system of claim 12, wherein the forwarding policy comprises a source network address.
  • 14. The system of claim 13, wherein the one or more forwarding nodes are further configured: to retrieve a packet source network address associated with the packet; andto compare the packet source network address to the forwarding policy.
  • 15. The system of claim 13, wherein the source network address comprises an IP address of the client device.
  • 16. The system of claim 12, wherein the servicing node is configured to: receive the packet;determine whether the packet is a service request packet;select a server, the server being configured to serve the service session; andsend the packet to the server.
  • 17. The system of claim 16, wherein the server is selected by the servicing node based on a service policy.
  • 18. The system of claim 12, further comprising a gateway node; and wherein the one or more forwarding nodes are further configured to receive the packet from a gateway node.
  • 19. The system of claim 18, wherein the gateway node is configured to receive a notification and the packet; determine whether the packet matches the service address;select the forwarding node from the one or more forwarding nodes based on the notification; andsend the packet to the forwarding node.
  • 20. The system of claim 19, wherein the notification comprises the forwarding node and the service address.
  • 21. The method of claim 19, wherein the gateway node is configured to receive the notification over a routing protocol session with the forwarding node.
  • 22. The method of claim 19, wherein the gateway node is configured to receive the notification from a network controller.
  • 23. A non-transitory processor-readable medium having instructions stored thereon, which when executed by one or more processors, cause the one or more processors to perform the following steps of a method for distributing a service session from a client device, the method comprising: receiving by a forwarding node, a packet of the service session;determining by the forwarding node, whether the packet matches a service address, the service address being associated with the service session;responsive to the determining, selecting, based on a forwarding policy, a servicing node from a plurality of servicing nodes, wherein each of the plurality of servicing nodes is associated with the service address;sending the packet to the servicing node;receiving the packet by the servicing node;determining, by the servicing node, whether the packet is a service request packet;selecting, by the service node, a server, the server being configured to serve the service session; andsending, by the service node, the packet to the server.
  • 24. The non-transitory processor-readable medium of claim 23, wherein the method further comprises: receiving, by the gateway node, a notification and the packet;determining, by the gateway node, whether the packet matches the service address;selecting, by the gateway node, the forwarding node based on the notification; andsending, by the gateway node, the packet to the forwarding node.
CROSS-REFERENCE TO RELATED APPLICATIONS

This patent application is a Continuation-in-Part of U.S. patent application Ser. No. 14/029,656, titled “Load Distribution in Data Networks,” filed Sep. 17, 2013, which claims the priority benefit of U.S. provisional patent application No. 61/705,618, filed Sep. 25, 2012; and is a Continuation-in-Part of U.S. patent application Ser. No. 13/716,128, titled “Configuration of a Virtual Service Network,” filed Dec. 15, 2012. The disclosure of each of the above referenced applications is incorporated herein by reference.

Provisional Applications (1)
Number Date Country
61705618 Sep 2012 US
Continuation in Parts (2)
Number Date Country
Parent 14029656 Sep 2013 US
Child 14279270 US
Parent 13716128 Dec 2012 US
Child 14029656 US