US20160219129A1 - Mechanisms for Transparently Converting Client-Server Software Agents to Peer-to-Peer Software Agents - Google Patents
Mechanisms for Transparently Converting Client-Server Software Agents to Peer-to-Peer Software Agents Download PDFInfo
- Publication number
- US20160219129A1 US20160219129A1 US15/087,513 US201615087513A US2016219129A1 US 20160219129 A1 US20160219129 A1 US 20160219129A1 US 201615087513 A US201615087513 A US 201615087513A US 2016219129 A1 US2016219129 A1 US 2016219129A1
- Authority
- US
- United States
- Prior art keywords
- protocol
- peer
- client
- application
- agent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/03—Protocol definition or specification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/541—Interprogram communication via adapters, e.g. between incompatible applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H04L67/42—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1087—Peer-to-peer [P2P] networks using cross-functional networking aspects
- H04L67/1091—Interfacing with client-server systems or between P2P systems
Definitions
- the invention relates generally to distributed software systems. More particularly, the invention relates to methods for providing transparent translation between client-server and peer-to-peer protocols.
- agents also often called endpoints, devices, or user agents, communicate with each other and/or with central devices, such as servers.
- an agent may both send and receive information, such as in a telephone-like device, or file/media sharing application.
- An agent may only receive (or request and receive) information, such as in a television-like device, a web client, or streaming media viewer agent.
- An agent may only transmit information, such as with a camera that is only able to stream information to a central server for others to obtain.
- agents may be realized in the form of a software application, a hardware device, or a hardware device running a software application which implements the agent.
- the agent may have a user associated with it, for example in the case of a phone or mail system where the agent processes messages for a particular user's number or address, or the agent may operate without an associated user.
- agents 402 and 404 are connected to a centralized server 406 , which acts on behalf of the agents, via network connections propagated through data network 400 using a client-server protocol.
- the behaviors or services that the central server 406 may provide to each agent include, for example, registration, or storing a mapping of a user's unique name to a network location of the agent associated with the user; presence information, or information about the user's availability, desire to be disturbed, etc.; locating a remote agent and proxying messages to that agent; locating a remote agent and referring or redirecting the agent to that party (often referred to as “discovery” or “rendezvous” capability); storage and/or distribution of information used by applications (such as web pages, media files, documents, etc.); storage and/or distribution of information such as configuration information; storage and/or distribution of information such as system warning or downtime information; storage and/or distribution of information related to system or software updates; storage of and/or distribution of messages in text, audio, video, or other form for later retrieval or delivery; providing security and asserted identity between various communicating parties; storing and delivering messages for a user who is unavailable; providing interactive voice response mechanisms; and providing information about resources stored by the remote agents
- Peer-to-peer (P2P) mechanisms exist to distribute many of the services enumerated above.
- P2P communications system one, more, or all of the functions that would normally be performed by a centralized server 406 are instead performed by a distributed group of the agents themselves, working together to collectively provide the service.
- P2P agents 402 and 404 could be used to use a P2P protocol instead of a CS protocol, then much of the functionality of server 406 would be provided by the P2P agents 402 and 404 .
- some aspects of communications between the agents might be identical to the behavior of an agent connecting to the central server.
- one or more critical aspects would differ in that the distributed group of agents performs a task that is, in the client-server protocol, performed by central server 406 .
- the following example illustrates how a client-server model may differ from a peer-to-peer model.
- Session Initiation Protocol SIP
- locating a remote party in a CS model involves several steps.
- an agent 402 wishing to make themselves available for communications first registers, or sends a message or messages, to a central server 406 , providing the location (IP address or other information required to route information) of the agent 402 and a well known name or address of record that refers to that agent's user.
- a calling agent 404 When a calling agent 404 wishes to send a message to the agent 402 , it either sends requests to the central server 406 asking for the location of the remote agent 402 and then sends the message directly to the agent 402 , or it sends the message to the server, which then routes or redirects the message so that it reaches the intended agent endpoint 402 .
- registrations are instead sent to one or more of the other agents that make up the distributed group of agents. These agents collectively maintain the mappings that would normally be maintained by the server.
- calling agents contact and work with one or more other agents (dependent upon the exact nature of the P2P algorithm) to locate the agent that is storing the registration.
- This P2P location mechanism (and, more generally, any other mechanism beyond location that is distributed among the end agents rather than being provided by a central server) requires special P2P functionality that is not normally present in CS agents. Implementations of a P2P system have to date taken three approaches: implementing a completely new agent containing P2P functionality, significantly modifying an existing agent to include P2P functionality, or using a separate, standalone “adaptor node” agent to receive the calling agent's CS protocol and make new P2P protocol calls on behalf of the calling agent.
- an adaptor agent 504 runs as a member of a P2P network of agents which also includes P2P agents 506 and 508 . These P2P agents communicate with each other over P2P network connections via a data network 500 using a P2P protocol.
- An unmodified CS agent 502 is explicitly configured to connect to the adaptor agent 504 over a network connection using a CS protocol. This network connection may be external (between two physical machines) or internal, using a virtual machine or loopback, but must always be explicitly configured in the unmodified CS agent 502 .
- the adaptor node 504 acts as a central server in the view of the unmodified CS agent 502 , but participates as a full P2P agent in the distributed group along with peers 506 and 508 .
- an adapter node works to allow unmodified CS agents to connect to a P2P network, but there are a significant number of problems with this approach, as well as cases where it fails. For example, problems arise with certain protocols that allow agents to initiate connections directly with other agents when the location of these have already been determined. In such cases, it may be difficult to ensure that the unmodified CS agent 502 does not become confused and try to communicate directly with P2P agents 506 or 508 rather than through the adapter agent 504 . Failure to use the adaptor agent 504 for all communications can result in incorrect or corrupted P2P state information, or result in agents 506 and/or 508 receiving messages that they are unable to understand or process.
- a further problem is that most newer protocols, including the P2P protocols to which this concept applies, are designed with increased security. Since an older CS protocol is used between the unmodified agent 502 and the adaptor node 504 , possibly traveling over an unsecured network or on a virtual network inside a multi-user machine, the advantages of the newer security mechanisms are not realized. Another problem is that if the adaptor agent 504 is located on a different host than the calling agent 502 , the calling agent cannot function properly if the host running the adaptor agent 504 fails. In the event both 502 and 504 operate on the same host, the calling agent 502 will not operate in the event that the adaptor node application crashes.
- Kruppa et al. in US Pat. Pub. 2009/0316687 discloses a P2P distributed call center method for high-level management of how to handle incoming calls to a call center.
- the technique is a layer on top of a communications system, and not a communications system itself. While standard P2P communications may be part of the underlying system, there is no teaching or suggestion by Kruppa of converting CS protocol to P2P protocol at the basic level of call control.
- a mechanism is provided where a client is directly coupled in software to an adaptor software module that services underlying traffic from the unmodified agent and relays it on behalf of the agent. Rather than the agent using a network connection to the adaptor, all traffic generated by the agent is relayed directly to the adaptor software module.
- a method of converting a client-server software agent to a peer-to-peer software agent is provided.
- a client agent which operates using a client-server protocol, is directly coupled in software to an adaptor software module without any network connection between them.
- the adaptor software module receives from the client agent application-level network traffic in a client-server protocol, then it converts the received traffic into a peer-to-peer protocol and relays it over a network connection on behalf of the client agent.
- the conversion between client-server protocol traffic and peer-to-peer protocol traffic is performed by a modified software library.
- the conversion between client-server protocol traffic and peer-to-peer protocol traffic is performed by a modified stack performing deep packet inspection at the socket level.
- a method for translating between client-server and peer-to-peer protocols includes receiving a network message conforming to a peer-to-peer protocol. If the network message is an application-level message and does not trigger an application-level event, a local protocol state is updated with information in the application-level message. If the network message is an application-level message and triggers an application-level event, a translated message is sent to an application layer in a client-server protocol to trigger an appropriate application-level event. Peer-to-peer protocol-level operations are performed in response to the network message. In addition, the method includes receiving from an application-layer a call conforming to a client-server protocol.
- a local stack is created to handle subsequent calls and to process incoming network messages conforming to a peer-to-peer protocol. If the call is not a library initialization call but the call implies library initialization, a local stack is created to handle subsequent calls and to process incoming network messages conforming to a peer-to-peer protocol. If the call is a request to send information using a client-server protocol, then the request is translated to at least one network message conforming to a peer-to-peer protocol. The method may include various additional steps. For example, if the call received from the application layer is awaiting a response, a response network message in a peer-to-peer protocol is waited for.
- the method may also include registering an appropriate event trigger if the call received from the application layer is not awaiting a response. If the response network message is later received, a translated response in client-server protocol is sent to the application layer.
- the method may be implemented by a network edge device performing deep packet inspection, by software executing on a machine shared with application-level software generating the application-level message, or by an adapter software module that transparently translates client-server application level network messages to and from peer-to-peer network messages, e.g., a protocol stack, state machine, protocol library, dialog manager, or application driver.
- the adapter module converts a non-P2P protocol that the agent uses to a P2P protocol with exactly or substantially similar function signatures.
- the client-server application requires little or no modification, since the function calls are essentially identical. Internally to the stack, however, these commands are translated to the P2P protocol. Activities such as lookup, storage of information, etc.
- the existing application may have inferior security properties, but the new stack will use superior security properties.
- a configuration mechanism may be provided to allow configuration of parameters that are specific to the P2P protocol and the adaptor software module.
- the new stack may additionally provide some new functionality, allowing the client developer to add new features to the agent over time.
- a client-server interface substantially like the existing interface is provided to allow agent applications to be converted to P2P enabled applications with little or no modification.
- the above methods for converting between a client-server protocol and a P2P protocol may also be used to convert between two P2P protocols.
- FIG. 1 is a flowchart illustrating a method implemented in a software library when an incoming message from the network is received, according to an embodiment of the invention.
- FIG. 2 is a flowchart illustrating a method for processing requests that initialize the software library, according to an embodiment of the invention.
- FIG. 3 is a flowchart illustrating a method for processing requests from the application layer to send information out using the original protocol(s), according to an embodiment of the invention.
- FIG. 4 is a schematic diagram illustrating a traditional client-server architecture in which agents communicate via a centralized server using a client-server protocol.
- FIG. 5 is a schematic diagram illustrating a known network architecture using a standalone adaptor agent network device which translates between client-server protocol and peer-to-peer protocol.
- FIG. 6 is a schematic diagram that illustrates network protocol stacks in two devices connected to each other via a network connection, according to an embodiment of the invention.
- FIG. 7 is a schematic diagram that illustrates an example of a P2P architecture for converting a client-server software agent to a peer-to-peer software agent, according to an embodiment of the invention.
- FIG. 7 illustrates an example of a P2P system implementing one embodiment of the invention.
- a client agent 702 which is implemented as an application-layer software program, is originally designed to operate using a client-server protocol.
- the client agent 702 is directly coupled in software to an adaptor software module 704 without any network connection between them.
- an adaptor software module 704 without any network connection between them.
- the adapter module 704 is directly coupled to the client agent 702 so that the CS messages do not pass all the way down the network protocol stack and over a network connection. Instead, the CS messages from the agent 702 are intercepted by the adapter module 704 and converted to P2P protocol before they reach the link layer and pass over the network.
- the conversion between client-server protocol traffic and peer-to-peer protocol traffic may be performed either by a modified software library or by a modified stack performing deep packet inspection at the socket level.
- the agent at the application layer is compiled against a modified library, which presents the same interface to the developer, but performs P2P operations in the background.
- the translation between CS and P2P may take place either by intercepting messages at a very low level (socket or data connection level) or by translating messages at a higher level (stack, state machine, application).
- the agent requires no separate adaptor device for the conversion, as it is directly coupled at a software level to the adaptor software module that performs the P2P translation operations.
- the adaptor software module 704 receives from the client agent 702 application-layer network traffic in a client-server protocol and converts the received traffic into a peer-to-peer protocol. Only after the CS traffic is converted to P2P protocol is the traffic relayed on behalf of the client agent 702 over a network connection. Consequently, unmodified (or minimally modified) application layer agent 702 designed to operate using CS protocol is enabled by adaptor module 704 to communicate with P2P agents 706 and 708 over network 700 using a P2P protocol. The P2P functionality is transparent to the application layer agent 702 which still operates as if it were using a CS protocol.
- FIG. 6 illustrates the network protocol stacks in two devices 602 and 604 connected to each other via a network connection.
- Each device has a network protocol stack composed of several layers.
- the network stack for device 602 has application layer 606 , transport layer 608 , internet layer 610 , and link layer 612 .
- the network stack for device 604 has application layer 614 , transport layer 616 , internet layer 618 , and link layer 620 .
- the CS traffic generated by an agent at application layer 606 in device 602 is converted to P2P protocol prior to passing down the lower layers of the network stack (e.g., layers 608 , 610 and 612 ) and over a network connection through network 600 .
- prior techniques using adapter nodes function by passing the CS traffic from application layer 606 down through all layers 608 , 610 , 612 of the network protocol stack and over network 600 .
- the CS traffic is then received by the adapter node 604 , passes up the protocol stack, is converted from CS to P2P, and only then does P2P traffic pass down the protocol stack of the adapter node device 604 and out on the network 600 .
- the present embodiment of the invention is distinguished by the fact that CS traffic does not flow down all layers of the protocol stack of any device.
- CS traffic does not flow down all layers of the protocol stack of any device.
- this technique may be implemented in various ways including a modified protocol stack, state machine, protocol library, dialog manager, or application driver.
- Embodiments of the present invention can be used to convert between various different CS and P2P protocols, enabling translation between them that is transparent to the application layer agent(s).
- Various general principles apply to all these implementations.
- P2P identifier such as a peer or node ID
- the adaptor module 704 works by receiving calls from the application to a modified software entity, such as a protocol stack, state machine, protocol library, dialog manager or application driver. This modified software entity is designed to appear to the application as a traditional CS version.
- the underlying adaptor module code is responsible for making a number of modifications/translations to the message (if passed as a complete message) or to encode it in a different way than the unmodified library would have. In both cases, this is done before any information is sent over a network connection or to a low-level socket library.
- modifications may include one or more of the following. (Note that these modifications are quite different than those that would be applied when translating between two different CS protocols.)
- An exemplary translation may be applied to messages that are being sent out in a P2P or overlay network, and in many cases these require a P2P identifier.
- an identifier is obtained, either by local generation (for example hashing a unique property), protocol based mechanisms to request an ID from the other peers, or out of band mechanism for requesting an ID. This ID may or may not also provide cryptographic assertion of identity.
- Another translation example may include a case where all messages that are sent after an ID is obtained (including the first message sent) may need to include this ID.
- the modified protocol stack, state machine, protocol library, dialog manager, or application driver inserts this ID into the messages.
- Received messages may need to have this ID (and other information added to support insertion of this ID) stripped or translated before being passed back to the unmodified application. Additionally, the messages may need to be made to appear to have originated from the desired target of the CS protocol.
- a further translation example can be applied in cases where message routing in structured P2P systems often involves performing a lookup, and using the returned network location as the destination of the message.
- the modified protocol stack, state machine, protocol library, dialog manager, or application driver performs this lookup, and if required by the particular P2P protocol being used, places this information into headers to route the message, rather than the more traditional mechanisms that may be used in a CS protocol, such as DNS resolution or sending directly to an embedded IP address.
- the information added to support this may need to be stripped or translated from received messages before they are passed back to the unmodified application. Additionally, the messages may need to be made to appear to have originated from the desired target of the CS protocol.
- messages routed in a structured P2P network also may need to be sent through an intermediary device, determined by the underlying P2P network. This could be for topological routing considerations, NAT traversal, obfuscation/anonymity of the messages, or simply because the particular P2P protocol used requires such an intermediary be used.
- the modified protocol stack, state machine, protocol library, dialog manager, or application driver will determine which other peer it is appropriate to use to relay the message, marking and routing the request appropriately as needed. Information added to support this may need to be stripped or translated from received messages before being passed back to the unmodified application. Additionally, the messages may need to be made to appear to have originated from the desired target of the CS protocol.
- some P2P protocols may require unique signatures or encryption properties, for example ones that sign or encrypt information as being from a particular peer. This may involve fetching of the appropriate information (certificates or other information) that is needed to encrypt or decrypt messages from other peers, so they can be translated and passed back to the unmodified application.
- messages of different types may be treated differently in different protocols.
- messages providing location, controlling features, storing voicemails, and setting up calls may all be sent to different devices, e.g., registration servers, feature servers, voicemail servers, and call control servers.
- devices e.g., registration servers, feature servers, voicemail servers, and call control servers.
- P2P system all of these features may be distributed among the peers, and require appropriate lookup to route to a peer with those capabilities.
- a CS system may require all messages to be sent to one location, and again a P2P system may distribute the functions among the peers, requiring lookup of locations before transmitting, or storing information.
- IDs may not be present, but techniques such as broadcasts or flooding the network may be used to locate an appropriate host for messages to be sent to, and appropriate routing information based on these P2P responses may be inserted on outbound messages and stripped from inbound messages.
- the modified protocol stack, state machine, protocol library, dialog manager, or application driver may then route messages to the appropriate peer, based on these unstructured searches.
- Information added to support this may need to be stripped or translated from received messages before they are passed back to the unmodified application, just as ID based information would need to be stripped or translated in the case of a structured P2P system. Additionally, the messages may be made to appear to have originated from the desired target of the CS protocol.
- modifying a single stack implementation may not allow all the agents to transparently use the new protocol. Consequently, deep packet inspection techniques may be used instead.
- the client application layer program is built against a modified low-level data connection library (for example a socket library or equivalent), rather than the traditional system low-level data connection library.
- the raw messages are not passed over a network or within the computer as virtual messages across the loop back or system sockets, but are rather intercepted by a modified interface library. This library performs deep packet inspection, examining each packet to see if it is using the older, CS protocol.
- packets that are not using a CS protocol selected for translation to P2P are passed unmodified to the network connection, while packets using such a CS protocol are processed and modified.
- P2P packets are inserted on the network connection as appropriate.
- the modified low-level data connection is used to pass packets back to the calling application level program such that the packets appear to have come from the network and to have been processed in a client-server fashion.
- the modified low-level data connection library may send and receive messages over a network connection at a different rate or with different payloads than those passed back and forth between the modified data connection library. This allows for translation even in cases where the new P2P protocol differs radically from the client-server protocol.
- Protocol translation code is implemented.
- this code lies in the modified protocol stack, state machine, protocol library, dialog manager, or application driver, which has a signature similar to the unmodified one, and in general is an application level software implementation.
- the application level protocol stack, state machine, protocol library, dialog manager, or application driver is left intact, but the messages it produces are intercepted at a low level using deep packet inspection before being passed over a network connection. These intercepted messages are then translated from CS to P2P using techniques discussed above in relation to other embodiments.
- the application layer program is unchanged, and is even linked to an unmodified protocol library.
- Deep packet inspection has been used previously in other contexts to intercept and redirect messages to a different (but usually fixed) location, to translate messages between two CS protocols, or to translate internal addresses to traverse a NAT.
- run time decisions about where messages are routed are not made in these prior applications of deep packet inspection.
- the unique properties of a P2P network including as discussed above, choosing where to route messages, marking them appropriately for an overlay, performing broadcasts, etc. make the type of translation performed quite different. Packets that are not related to a selected CS protocol to be translated to P2P or that are unrelated to the new P2P protocol are untouched.
- the agent is not explicitly aware of any network connection to an adaptor module and need not be configured for such a connection.
- the agent In the adaptor node scenario, on the other hand, the agent must be explicitly configured to communicate with the adaptor, just as if the adaptor were a server. The adaptor node approach is thus not entirely transparent or configuration-free.
- the code is recompiled against the adaptor software module, or is performed at the socket library level, which makes the protocol translation transparent to the higher-level agent. Additionally, this mechanism does not require packets to pass over a virtual network connection (although, as noted below, an alternate embodiment where this does occur is mentioned).
- Embodiments of the invention may be implemented such that the low-level code performing the translation could additionally switch back and forth in behavior between translating a selected CS protocol or not, thus producing a P2P application or not translating the underlying packets, allowing the application to operate alternatively in either P2P or CS modes, without modification to the application.
- the deep packet code is implemented in a NAT device, firewall, router, gateway or any other device that sits in the network, in particular, at the interface, or edge, between a local network and a wider area network such as the internet so that it intercepts packets flowing to and from the WAN. All intercepted traffic is inspected for client-server traffic, which is then transparently converted to P2P traffic.
- the use of deep packet inspection avoids the need to configure the endpoint agents on the local network to communicate with an adaptor node.
- this embodiment allows insertion and configuration of the edge box implementing the deep packet inspection, allowing all CS agents behind the network to be switched transparently over to a P2P protocol as seen by the WAN, without the agents even being aware this change had happened.
- This provides the opportunity for providers/managers to transition enterprises or organizations from CS to P2P in a nearly seamless way.
- This technique could be implemented as deep packet inspection, as discussed in the earlier embodiment above, but with the CS traffic now flowing over a LAN unmodified until it reaches the network edge, where the translation between protocols takes place. Similar techniques have been implemented in other contexts to fix addresses within a protocol while traversing NATs and to translate from one protocol to another. However, the unique nature of the changes required to convert between P2P and CS, as outlined in above, make this a unique application of deep packet inspection technology.
- This transparent deep packet inspection behavior could also be placed in operating system software, such as a system-wide firewall. In such a case, all applications running on the host would be converted, again without modification to or configuration of the applications implementing the CS agents.
- the behavior could be implemented directly in the OS low-level data connection library itself, meaning all applications using the network connection would be translated.
- Packet inspection and modification behavior is often implemented in firewalls, NATs, or Session Border Controllers (SBCs). However, such behavior has not been used previously to convert between different protocols or between P2P and non-P2P protocols.
- SBCs Session Border Controllers
- this mechanism can additionally be used to translate between CS and P2P versions of the same protocol, where appropriate, or even to translate messages from multiple CS protocols into a single P2P protocol.
- an adaptor module may be transparently inserted into an edge device in the network or within an OS network component (low level data interface, firewall, etc.).
- Such an adaptor module uses deep packet inspection to intercept and translate messages from the agents before they are fed onto the WAN.
- This adaptor module thus differs from the existing adaptor node approach in that such interception and modification of traffic is transparent to the agent and does not require the agent to be “pointed” at an adaptor that serves on the behalf of the agent.
- This adaptor module also allows installations to be translated from one protocol to another in place.
- the edge agent resident approach described above differs from the session border controllers (SBCs) deployed today in that the inspection mechanism is used to fundamentally alter the behavior of the agents from speaking a client-server oriented protocol to speaking to one that is peer-to-peer.
- SBCs session border controllers
- Today, these devices mostly translate between two versions (often proprietary) of a single CS protocol, or between two different CS protocols. Additionally, they are used to modify protocols to pass NATs, insert additional security, etc. They are not used to translate between CS and P2P protocols, or between CS and P2P versions of one protocol.
- FIGS. 1-3 illustrate the functioning of an unmodified CS application layer program that issues calls to and receives messages from a modified underlying protocol stack, state machine, protocol library, dialog manager, or application driver (all of which are collectively referred to below as a “library”).
- This modified library is designed so that the application layer programs interacting with it see it behaving exactly as an unmodified library that uses an original protocol(s), including identical calls and responses.
- the library then translates the messages in the original protocol(s) to and from P2P protocol(s).
- the library processes both new incoming messages that arrive at the library from a network connection and various software commands (calls) issued by the application to the library.
- the overriding functionality of the library is to perform operations (storing local data, sending messages, responding to calls from the application, etc.) as required such that the library appears to devices connected over the network as a software entity communicating using the new protocol(s) while appearing to the application as an unmodified library for the earlier protocol(s).
- step 100 the library receives the incoming message over a network connection.
- step 102 the message is examined to determine if the purpose of the message is to send a message to the local application, or simply a message used by the new protocol(s).
- a message used by the new protocol might be a message containing information to traverse NATs, to keep connections alive, or to maintain the P2P structure (overlay) such as to replication information or maintain connections between peers.
- control is passed to step 104 which examines the message to determine if it contains information that causes an event to be triggered that must be passed to the application.
- step 106 the library updates local state with the information received in the event it may be needed later when an event is triggered. Note that this handles the case where there is not a one-to-one correspondence between messages in the new protocol(s) and the original protocol(s). Control is then passed to step 110 . If in step 104 it is determined that the message is not simply for protocol(s) maintenance (is an application level message), and does cause one of the events to be triggered, in step 108 the library looks up the corresponding event to determine what action (e.g., calling a function) is to be taken.
- action e.g., calling a function
- control is then passed to step 110 , in which any required low-level protocol operations for the new protocol(s) are performed (e.g., updating lists of peers, marking connections as live, or storing data required in a P2P layer), and any required responses to the message are constructed and transmitted.
- any required low-level protocol operations for the new protocol(s) are performed (e.g., updating lists of peers, marking connections as live, or storing data required in a P2P layer), and any required responses to the message are constructed and transmitted.
- the processing of an incoming message is then completed in step 112 .
- the application issues a call to the library.
- the value(s) provided to the library (if any) by the unmodified application are functionally identical to an unmodified library call, and the value(s) returned (if any) appear to have come from the unmodified library.
- step 200 the library receives a call from the application layer (e.g., a function call, method on an object, or OS call).
- step 202 the call is examined to determine if this is an explicit library initialization call (note that this examination may be implicit, for example, in that the call is or is not a particular initialize function). If the call is an initialization call, control is transferred to step 212 in which the library is initialized. Specifically, actions are performed to create the local stack needed to handle further calls and to process incoming message. This may include creating data structures, opening sockets, and so on. The handling is then completed in step 214 .
- step 202 If in step 202 it is determined that the call is not an explicit initialization call, control is transferred to step 204 which checks to see if the library supports implicit initialization when the first command arrives and if this is a message that causes implicit initialization. If not, control is transferred to step 206 which checks if the library is already initialized. If not, an error condition is present and control is passed to step 208 . If so, the initialization phase is over and control is transferred to step 214 which terminates the processing. If, in step 204 , the library supports implicit initialization when the first command arrives and if this is a message that causes implicit initialization, then control is transferred to step 210 which checks if the library is already initialized. If not, then the library is initialized in step 212 as discussed above. Otherwise, control is transferred to step 214 and the initialization phase is over.
- the library will create and maintain this information for a duration similarly to the unmodified application (until program end, until the structures are explicitly de-allocated, until no longer needed, and so on).
- the policy for determining if the resources can be deleted is the same as for the unmodified library.
- the library creates and maintains a list of events that are registered and the action to be taken in response to this event.
- this may be a complex structure, as the event being registered for in the old protocol(s) may not have a one-to-one correlation to events in the new protocol(s) library's case.
- the library will maintain a decision tree, table, event tracker, or the like to determine when the corresponding event from the original protocol(s) would have occurred.
- the library returns an appropriate return value, corresponding to the value that would have been returned by the unmodified library, ensuring that application requires no modification.
- Requests from the application layer to send information out (with or without a response) using the original protocol(s) are handled as illustrated in FIG. 3 .
- the library receives a call from the application (e.g., a function call, method on an object, or OS call).
- the library examines the call and uses configuration information and information about the new protocol(s) to determine where the message should be sent.
- the destination may be the destination peer for a P2P protocol. Note that this process may itself involve sending a number of messages.
- the library takes the information provided in the call and properly formats it for the format of the new protocol(s), and sends the message to the destination calculated in step 302 .
- step 306 the library determines if the call received from the application is a blocking call, i.e., one that waits for a response (e.g., an acknowledgement that that the message had been received or data returned in response to a request). If it is a blocking call, step 308 waits for a response from peer(s) that the request was sent to, or for a timeout (indicating the message failed) to be returned. Step 310 checks if the message times out.
- a blocking call i.e., one that waits for a response (e.g., an acknowledgement that that the message had been received or data returned in response to a request). If it is a blocking call, step 308 waits for a response from peer(s) that the request was sent to, or for a timeout (indicating the message failed) to be returned.
- Step 310 checks if the message times out.
- step 312 If so, appropriate timeout processing is performed in step 312 . If no timeout was received (i.e., a response is received), control passes to step 314 which formats a response to the call. The response is formatted so that it appears to be identical to the response (if any) that would have occurred in the unmodified library. The response (if any) is returned in step 314 , and the processing is completed in step 316 . If in step 306 the call is not blocking, control is passed to step 318 which determines if a new event must be registered to trigger an action when a response is received later. If so, step 320 sets up an appropriate event registration and passes control to step 314 . If not, control is passed directly to step 314 which formats the response (if any) in a form that is appropriate for the original, unmodified library and returns it to the application. The process then completes at step 316 .
- a protocol stack, state machine, protocol library, dialog manager, or application driver is provided for the new P2P protocol with exactly or substantially similar function signatures to the older, non-P2P protocol the CS agent is built using.
- the application requires little or no modification, since the function calls are essentially identical. Internally to the stack, however, these commands are translated to the new protocol, and activities such as lookup and storage of information are performed by the underlying stack in a P2P manner, with the result being passed back to the calling agent application in exactly the same format as if it were received from a server.
- the existing application may have inferior security properties, but the new stack will preferably use the newer, superior security properties.
- the existing application may function only in CS mode, or in combination with the adaptor software module, it can join the P2P network.
- the new stack or software may provide a configuration mechanism to allow configuration of parameters that are specific to the new protocol and the adaptor software module.
- the new stack may additionally provide some new functionality, allowing the client developer to add new features to the agent over time, but an interface substantially like the existing one is provided to allow agent applications to be ported with little or no modification. If an application is operating in a CS mode, the traffic can be monitored to detect a loss in connectivity with the server. In such an event, the translation to P2P protocol can be automatically turned on, providing switching between protocols that is transparent to the application.
- the techniques of the present invention may be used for translating not only between CS and P2P protocols but also between different P2P protocols such as structured/DHTs, unstructured/flooding, tracker-based, and so on. It will also be evident to those skilled in the art that, while the invention has been described for the sake of simplicity as translating one protocol to another, it may be easily extended to translate between multiple protocols, e.g., translating several different CS protocols to and from several different corresponding P2P protocols.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
Abstract
A method of converting client-server software agents to peer-to-peer software agents coupling a client to an adaptor software module is provided. The method includes directly coupling a client in software to an adaptor software module, wherein said adaptor software services underlying traffic from an unmodified agent and relays it on behalf of said unmodified agent, wherein all traffic generated by said unmodified agent is relayed directly to said adaptor software module.
Description
- This application is a continuation of U.S. patent application Ser. No. 12/932,859 filed Mar. 8, 2011, which is a continuation-in-part of U.S. patent application Ser. No. 12/313,609 filed Nov. 21, 2008, which claims priority from U.S. Provisional Patent Application 61/004,900 filed Nov. 29, 2007, both of which are incorporated herein by reference.
- The invention relates generally to distributed software systems. More particularly, the invention relates to methods for providing transparent translation between client-server and peer-to-peer protocols.
- In distributed software systems, agents, also often called endpoints, devices, or user agents, communicate with each other and/or with central devices, such as servers. For example, an agent may both send and receive information, such as in a telephone-like device, or file/media sharing application. An agent may only receive (or request and receive) information, such as in a television-like device, a web client, or streaming media viewer agent. An agent may only transmit information, such as with a camera that is only able to stream information to a central server for others to obtain.
- These agents may be realized in the form of a software application, a hardware device, or a hardware device running a software application which implements the agent. The agent may have a user associated with it, for example in the case of a phone or mail system where the agent processes messages for a particular user's number or address, or the agent may operate without an associated user.
- In traditional client-server (CS) architecture, such as the example shown in
FIG. 4 , agents 402 and 404 are connected to a centralizedserver 406, which acts on behalf of the agents, via network connections propagated throughdata network 400 using a client-server protocol. The behaviors or services that thecentral server 406 may provide to each agent include, for example, registration, or storing a mapping of a user's unique name to a network location of the agent associated with the user; presence information, or information about the user's availability, desire to be disturbed, etc.; locating a remote agent and proxying messages to that agent; locating a remote agent and referring or redirecting the agent to that party (often referred to as “discovery” or “rendezvous” capability); storage and/or distribution of information used by applications (such as web pages, media files, documents, etc.); storage and/or distribution of information such as configuration information; storage and/or distribution of information such as system warning or downtime information; storage and/or distribution of information related to system or software updates; storage of and/or distribution of messages in text, audio, video, or other form for later retrieval or delivery; providing security and asserted identity between various communicating parties; storing and delivering messages for a user who is unavailable; providing interactive voice response mechanisms; and providing information about resources stored by the remote agents and how to retrieve the information from the remote agents. - Peer-to-peer (P2P) mechanisms exist to distribute many of the services enumerated above. In a P2P communications system, one, more, or all of the functions that would normally be performed by a centralized
server 406 are instead performed by a distributed group of the agents themselves, working together to collectively provide the service. For example, if user agents 402 and 404 were to use a P2P protocol instead of a CS protocol, then much of the functionality ofserver 406 would be provided by the P2P agents 402 and 404. In such cases, some aspects of communications between the agents might be identical to the behavior of an agent connecting to the central server. However, one or more critical aspects would differ in that the distributed group of agents performs a task that is, in the client-server protocol, performed bycentral server 406. - The following example illustrates how a client-server model may differ from a peer-to-peer model. In the Session Initiation Protocol (SIP), locating a remote party in a CS model involves several steps. At a high level, an agent 402 wishing to make themselves available for communications first registers, or sends a message or messages, to a
central server 406, providing the location (IP address or other information required to route information) of the agent 402 and a well known name or address of record that refers to that agent's user. When a calling agent 404 wishes to send a message to the agent 402, it either sends requests to thecentral server 406 asking for the location of the remote agent 402 and then sends the message directly to the agent 402, or it sends the message to the server, which then routes or redirects the message so that it reaches the intended agent endpoint 402. - In a P2P model, registrations (the mappings between the user's well-known, unique name and current network location) are instead sent to one or more of the other agents that make up the distributed group of agents. These agents collectively maintain the mappings that would normally be maintained by the server. Using a P2P protocol to communicate over network connections, calling agents contact and work with one or more other agents (dependent upon the exact nature of the P2P algorithm) to locate the agent that is storing the registration. One or more intermediate agents or data provided by one or more agents, rather than a central server or information from a central server, is thus used to locate and communicate with the remote party's agent.
- This P2P location mechanism (and, more generally, any other mechanism beyond location that is distributed among the end agents rather than being provided by a central server) requires special P2P functionality that is not normally present in CS agents. Implementations of a P2P system have to date taken three approaches: implementing a completely new agent containing P2P functionality, significantly modifying an existing agent to include P2P functionality, or using a separate, standalone “adaptor node” agent to receive the calling agent's CS protocol and make new P2P protocol calls on behalf of the calling agent.
- Implementing a new P2P agent or modifying a CS agent to include P2P functionality both have a number of shortcomings. They require significant new engineering effort. They cannot immediately leverage all work on existing agents, since current agents require modification to operate. Finally, work done to modify one application client in no way improves the performance of other applications—each must be modified separately to perform the operations in a distributed fashion.
- Because of these shortcomings, a standalone adaptor agent, often called an adaptor node or adaptor peer, has been attempted, as illustrated in
FIG. 5 . Such anadaptor agent 504 runs as a member of a P2P network of agents which also includes P2P agents 506 and 508. These P2P agents communicate with each other over P2P network connections via adata network 500 using a P2P protocol. An unmodified CS agent 502 is explicitly configured to connect to theadaptor agent 504 over a network connection using a CS protocol. This network connection may be external (between two physical machines) or internal, using a virtual machine or loopback, but must always be explicitly configured in the unmodified CS agent 502. Theadaptor node 504 acts as a central server in the view of the unmodified CS agent 502, but participates as a full P2P agent in the distributed group along with peers 506 and 508. - In some cases, the use of an adapter node works to allow unmodified CS agents to connect to a P2P network, but there are a significant number of problems with this approach, as well as cases where it fails. For example, problems arise with certain protocols that allow agents to initiate connections directly with other agents when the location of these have already been determined. In such cases, it may be difficult to ensure that the unmodified CS agent 502 does not become confused and try to communicate directly with P2P agents 506 or 508 rather than through the
adapter agent 504. Failure to use theadaptor agent 504 for all communications can result in incorrect or corrupted P2P state information, or result in agents 506 and/or 508 receiving messages that they are unable to understand or process. A further problem is that most newer protocols, including the P2P protocols to which this concept applies, are designed with increased security. Since an older CS protocol is used between the unmodified agent 502 and theadaptor node 504, possibly traveling over an unsecured network or on a virtual network inside a multi-user machine, the advantages of the newer security mechanisms are not realized. Another problem is that if theadaptor agent 504 is located on a different host than the calling agent 502, the calling agent cannot function properly if the host running theadaptor agent 504 fails. In the event both 502 and 504 operate on the same host, the calling agent 502 will not operate in the event that the adaptor node application crashes. There may be no good mechanism for the adaptor agent to restart, or to even detect that the adaptor node has failed. Additionally, because the proper function of this system requires the calling agent 502 to be configured to communicate with theadaptor node 504, this mechanism is susceptible to misconfiguration. - Kruppa et al. in US Pat. Pub. 2009/0316687 discloses a P2P distributed call center method for high-level management of how to handle incoming calls to a call center. The technique is a layer on top of a communications system, and not a communications system itself. While standard P2P communications may be part of the underlying system, there is no teaching or suggestion by Kruppa of converting CS protocol to P2P protocol at the basic level of call control.
- In view of the above, there is still a need for techniques that help overcome the existing challenges in converting client-server agents to peer-to-peer agents.
- A mechanism is provided where a client is directly coupled in software to an adaptor software module that services underlying traffic from the unmodified agent and relays it on behalf of the agent. Rather than the agent using a network connection to the adaptor, all traffic generated by the agent is relayed directly to the adaptor software module.
- In one aspect, a method of converting a client-server software agent to a peer-to-peer software agent is provided. A client agent, which operates using a client-server protocol, is directly coupled in software to an adaptor software module without any network connection between them. The adaptor software module receives from the client agent application-level network traffic in a client-server protocol, then it converts the received traffic into a peer-to-peer protocol and relays it over a network connection on behalf of the client agent. In one embodiment, the conversion between client-server protocol traffic and peer-to-peer protocol traffic is performed by a modified software library. In another embodiment, the conversion between client-server protocol traffic and peer-to-peer protocol traffic is performed by a modified stack performing deep packet inspection at the socket level.
- In another aspect, a method for translating between client-server and peer-to-peer protocols is provided. The method includes receiving a network message conforming to a peer-to-peer protocol. If the network message is an application-level message and does not trigger an application-level event, a local protocol state is updated with information in the application-level message. If the network message is an application-level message and triggers an application-level event, a translated message is sent to an application layer in a client-server protocol to trigger an appropriate application-level event. Peer-to-peer protocol-level operations are performed in response to the network message. In addition, the method includes receiving from an application-layer a call conforming to a client-server protocol. If the call is a library initialization call, a local stack is created to handle subsequent calls and to process incoming network messages conforming to a peer-to-peer protocol. If the call is not a library initialization call but the call implies library initialization, a local stack is created to handle subsequent calls and to process incoming network messages conforming to a peer-to-peer protocol. If the call is a request to send information using a client-server protocol, then the request is translated to at least one network message conforming to a peer-to-peer protocol. The method may include various additional steps. For example, if the call received from the application layer is awaiting a response, a response network message in a peer-to-peer protocol is waited for. And if the response network message is received, a translated response in client-server protocol is sent to the application layer. The method may also include registering an appropriate event trigger if the call received from the application layer is not awaiting a response. If the response network message is later received, a translated response in client-server protocol is sent to the application layer.
- The method may be implemented by a network edge device performing deep packet inspection, by software executing on a machine shared with application-level software generating the application-level message, or by an adapter software module that transparently translates client-server application level network messages to and from peer-to-peer network messages, e.g., a protocol stack, state machine, protocol library, dialog manager, or application driver. The adapter module converts a non-P2P protocol that the agent uses to a P2P protocol with exactly or substantially similar function signatures. Preferably, the client-server application requires little or no modification, since the function calls are essentially identical. Internally to the stack, however, these commands are translated to the P2P protocol. Activities such as lookup, storage of information, etc. are performed by the underlying stack in a P2P manner, with the result being passed back to the agent application in exactly the same format as if it were received from a server. In another aspect, the existing application may have inferior security properties, but the new stack will use superior security properties. In another aspect, a configuration mechanism may be provided to allow configuration of parameters that are specific to the P2P protocol and the adaptor software module. In a further aspect, the new stack may additionally provide some new functionality, allowing the client developer to add new features to the agent over time. Significantly, however, a client-server interface substantially like the existing interface is provided to allow agent applications to be converted to P2P enabled applications with little or no modification.
- The above methods for converting between a client-server protocol and a P2P protocol may also be used to convert between two P2P protocols.
-
FIG. 1 is a flowchart illustrating a method implemented in a software library when an incoming message from the network is received, according to an embodiment of the invention. -
FIG. 2 is a flowchart illustrating a method for processing requests that initialize the software library, according to an embodiment of the invention. -
FIG. 3 is a flowchart illustrating a method for processing requests from the application layer to send information out using the original protocol(s), according to an embodiment of the invention. -
FIG. 4 is a schematic diagram illustrating a traditional client-server architecture in which agents communicate via a centralized server using a client-server protocol. -
FIG. 5 is a schematic diagram illustrating a known network architecture using a standalone adaptor agent network device which translates between client-server protocol and peer-to-peer protocol. -
FIG. 6 is a schematic diagram that illustrates network protocol stacks in two devices connected to each other via a network connection, according to an embodiment of the invention. -
FIG. 7 is a schematic diagram that illustrates an example of a P2P architecture for converting a client-server software agent to a peer-to-peer software agent, according to an embodiment of the invention. - Although the following detailed description contains many specifics for the purposes of illustration, anyone of ordinary skill in the art will readily appreciate that many variations and alterations to the following exemplary details are within the scope of the invention. Accordingly, the following preferred embodiments of the invention are set forth without any loss of generality to, and without imposing limitations upon, the claimed invention.
- In one embodiment of the invention a method is provided for converting a client-server software agent to a peer-to-peer software agent.
FIG. 7 illustrates an example of a P2P system implementing one embodiment of the invention. A client agent 702, which is implemented as an application-layer software program, is originally designed to operate using a client-server protocol. The client agent 702 is directly coupled in software to an adaptor software module 704 without any network connection between them. In other words, instead of sending network messages down from the application layer, through the network protocol stack and passing them over a network connection to an adapter node in the network (seeFIG. 6 ), the adapter module 704 is directly coupled to the client agent 702 so that the CS messages do not pass all the way down the network protocol stack and over a network connection. Instead, the CS messages from the agent 702 are intercepted by the adapter module 704 and converted to P2P protocol before they reach the link layer and pass over the network. - The conversion between client-server protocol traffic and peer-to-peer protocol traffic may be performed either by a modified software library or by a modified stack performing deep packet inspection at the socket level. In the case of a modified software library, the agent at the application layer is compiled against a modified library, which presents the same interface to the developer, but performs P2P operations in the background. Using deep packet inspection, on the other hand, the translation between CS and P2P may take place either by intercepting messages at a very low level (socket or data connection level) or by translating messages at a higher level (stack, state machine, application). In any case, the agent requires no separate adaptor device for the conversion, as it is directly coupled at a software level to the adaptor software module that performs the P2P translation operations.
- The adaptor software module 704 receives from the client agent 702 application-layer network traffic in a client-server protocol and converts the received traffic into a peer-to-peer protocol. Only after the CS traffic is converted to P2P protocol is the traffic relayed on behalf of the client agent 702 over a network connection. Consequently, unmodified (or minimally modified) application layer agent 702 designed to operate using CS protocol is enabled by adaptor module 704 to communicate with P2P agents 706 and 708 over
network 700 using a P2P protocol. The P2P functionality is transparent to the application layer agent 702 which still operates as if it were using a CS protocol. -
FIG. 6 illustrates the network protocol stacks in twodevices device 602 hasapplication layer 606,transport layer 608,internet layer 610, andlink layer 612. Similarly, the network stack fordevice 604 hasapplication layer 614,transport layer 616,internet layer 618, andlink layer 620. In one embodiment of the present invention, the CS traffic generated by an agent atapplication layer 606 indevice 602 is converted to P2P protocol prior to passing down the lower layers of the network stack (e.g., layers 608, 610 and 612) and over a network connection throughnetwork 600. - In contrast, prior techniques using adapter nodes (see
FIG. 5 ) function by passing the CS traffic fromapplication layer 606 down through alllayers network 600. The CS traffic is then received by theadapter node 604, passes up the protocol stack, is converted from CS to P2P, and only then does P2P traffic pass down the protocol stack of theadapter node device 604 and out on thenetwork 600. - Thus, the present embodiment of the invention is distinguished by the fact that CS traffic does not flow down all layers of the protocol stack of any device. Those skilled in the art will appreciate that this technique may be implemented in various ways including a modified protocol stack, state machine, protocol library, dialog manager, or application driver.
- Embodiments of the present invention can be used to convert between various different CS and P2P protocols, enabling translation between them that is transparent to the application layer agent(s). Various general principles, however, apply to all these implementations. In a structured P2P system, systems are uniquely identified, and are located based upon P2P identifier (ID) (such as a peer or node ID), which are either used in place of, or in addition to, traditional network routing primitives such as IP addresses, Ethernet addresses, etc. The adaptor module 704 works by receiving calls from the application to a modified software entity, such as a protocol stack, state machine, protocol library, dialog manager or application driver. This modified software entity is designed to appear to the application as a traditional CS version. Once CS calls from the application are received, the underlying adaptor module code is responsible for making a number of modifications/translations to the message (if passed as a complete message) or to encode it in a different way than the unmodified library would have. In both cases, this is done before any information is sent over a network connection or to a low-level socket library. These modifications may include one or more of the following. (Note that these modifications are quite different than those that would be applied when translating between two different CS protocols.)
- An exemplary translation may be applied to messages that are being sent out in a P2P or overlay network, and in many cases these require a P2P identifier. For the first message being sent, an identifier is obtained, either by local generation (for example hashing a unique property), protocol based mechanisms to request an ID from the other peers, or out of band mechanism for requesting an ID. This ID may or may not also provide cryptographic assertion of identity.
- Another translation example may include a case where all messages that are sent after an ID is obtained (including the first message sent) may need to include this ID. The modified protocol stack, state machine, protocol library, dialog manager, or application driver inserts this ID into the messages. Received messages may need to have this ID (and other information added to support insertion of this ID) stripped or translated before being passed back to the unmodified application. Additionally, the messages may need to be made to appear to have originated from the desired target of the CS protocol.
- A further translation example can be applied in cases where message routing in structured P2P systems often involves performing a lookup, and using the returned network location as the destination of the message. As such, the modified protocol stack, state machine, protocol library, dialog manager, or application driver performs this lookup, and if required by the particular P2P protocol being used, places this information into headers to route the message, rather than the more traditional mechanisms that may be used in a CS protocol, such as DNS resolution or sending directly to an embedded IP address. The information added to support this may need to be stripped or translated from received messages before they are passed back to the unmodified application. Additionally, the messages may need to be made to appear to have originated from the desired target of the CS protocol.
- In another translation example, messages routed in a structured P2P network also may need to be sent through an intermediary device, determined by the underlying P2P network. This could be for topological routing considerations, NAT traversal, obfuscation/anonymity of the messages, or simply because the particular P2P protocol used requires such an intermediary be used. As such, the modified protocol stack, state machine, protocol library, dialog manager, or application driver will determine which other peer it is appropriate to use to relay the message, marking and routing the request appropriately as needed. Information added to support this may need to be stripped or translated from received messages before being passed back to the unmodified application. Additionally, the messages may need to be made to appear to have originated from the desired target of the CS protocol.
- In a further translation example, some P2P protocols may require unique signatures or encryption properties, for example ones that sign or encrypt information as being from a particular peer. This may involve fetching of the appropriate information (certificates or other information) that is needed to encrypt or decrypt messages from other peers, so they can be translated and passed back to the unmodified application.
- Additionally, messages of different types may be treated differently in different protocols. For example, in some CS telephony applications, messages providing location, controlling features, storing voicemails, and setting up calls, may all be sent to different devices, e.g., registration servers, feature servers, voicemail servers, and call control servers. In a P2P system, all of these features may be distributed among the peers, and require appropriate lookup to route to a peer with those capabilities. Similarly, a CS system may require all messages to be sent to one location, and again a P2P system may distribute the functions among the peers, requiring lookup of locations before transmitting, or storing information.
- In an unstructured P2P system, IDs may not be present, but techniques such as broadcasts or flooding the network may be used to locate an appropriate host for messages to be sent to, and appropriate routing information based on these P2P responses may be inserted on outbound messages and stripped from inbound messages. The modified protocol stack, state machine, protocol library, dialog manager, or application driver may then route messages to the appropriate peer, based on these unstructured searches. Information added to support this may need to be stripped or translated from received messages before they are passed back to the unmodified application, just as ID based information would need to be stripped or translated in the case of a structured P2P system. Additionally, the messages may be made to appear to have originated from the desired target of the CS protocol.
- These types of translations described above are fundamentally different from the type of translations that are offered by traditional CS to CS translations. Such CS to CS translations often involve little more than converting an address or transcoding packets from one protocol to another.
- In one aspect, if there are several agent applications, each of which uses a different stack implementation, modifying a single stack implementation may not allow all the agents to transparently use the new protocol. Consequently, deep packet inspection techniques may be used instead. In such a case, the client application layer program is built against a modified low-level data connection library (for example a socket library or equivalent), rather than the traditional system low-level data connection library. Unlike an adaptor node, the raw messages are not passed over a network or within the computer as virtual messages across the loop back or system sockets, but are rather intercepted by a modified interface library. This library performs deep packet inspection, examining each packet to see if it is using the older, CS protocol. As appropriate, packets that are not using a CS protocol selected for translation to P2P are passed unmodified to the network connection, while packets using such a CS protocol are processed and modified. As a result of the processing of the packets, P2P packets are inserted on the network connection as appropriate. The modified low-level data connection is used to pass packets back to the calling application level program such that the packets appear to have come from the network and to have been processed in a client-server fashion.
- In some cases there may not be a one-to-one mapping between the old packets and new packets. As such, the modified low-level data connection library may send and receive messages over a network connection at a different rate or with different payloads than those passed back and forth between the modified data connection library. This allows for translation even in cases where the new P2P protocol differs radically from the client-server protocol.
- Implementing such an application using deep packet inspection is similar to the other embodiments discussed above. The primary difference is where the protocol translation code is implemented. In the other embodiments above, this code lies in the modified protocol stack, state machine, protocol library, dialog manager, or application driver, which has a signature similar to the unmodified one, and in general is an application level software implementation. In a deep packet inspection implementation, the application level protocol stack, state machine, protocol library, dialog manager, or application driver is left intact, but the messages it produces are intercepted at a low level using deep packet inspection before being passed over a network connection. These intercepted messages are then translated from CS to P2P using techniques discussed above in relation to other embodiments. The application layer program is unchanged, and is even linked to an unmodified protocol library.
- Deep packet inspection has been used previously in other contexts to intercept and redirect messages to a different (but usually fixed) location, to translate messages between two CS protocols, or to translate internal addresses to traverse a NAT. In general, run time decisions about where messages are routed are not made in these prior applications of deep packet inspection. In this case, however, the unique properties of a P2P network (including as discussed above, choosing where to route messages, marking them appropriately for an overlay, performing broadcasts, etc.) make the type of translation performed quite different. Packets that are not related to a selected CS protocol to be translated to P2P or that are unrelated to the new P2P protocol are untouched.
- In contrast with techniques in which an agent is connected over a network connection to an adaptor agent (
FIG. 5 ), in the embodiments described above, there is a single resulting software entity and CS messages selected for translation to P2P are not passed over a network connection (either physical or virtual internal such as a loopback or system socket). No traffic in the selected CS protocol is transmitted over the network, ensuring that messages are not inadvertently sent in a non-P2P fashion, and ensuring old security mechanisms, if applicable, are not accidentally used. - In embodiments of the invention, the agent is not explicitly aware of any network connection to an adaptor module and need not be configured for such a connection. In the adaptor node scenario, on the other hand, the agent must be explicitly configured to communicate with the adaptor, just as if the adaptor were a server. The adaptor node approach is thus not entirely transparent or configuration-free.
- In the approach of these embodiments, the code is recompiled against the adaptor software module, or is performed at the socket library level, which makes the protocol translation transparent to the higher-level agent. Additionally, this mechanism does not require packets to pass over a virtual network connection (although, as noted below, an alternate embodiment where this does occur is mentioned).
- Embodiments of the invention may be implemented such that the low-level code performing the translation could additionally switch back and forth in behavior between translating a selected CS protocol or not, thus producing a P2P application or not translating the underlying packets, allowing the application to operate alternatively in either P2P or CS modes, without modification to the application.
- According to another embodiment, the deep packet code is implemented in a NAT device, firewall, router, gateway or any other device that sits in the network, in particular, at the interface, or edge, between a local network and a wider area network such as the internet so that it intercepts packets flowing to and from the WAN. All intercepted traffic is inspected for client-server traffic, which is then transparently converted to P2P traffic. Although similar in architecture to the system of
FIG. 5 , the use of deep packet inspection avoids the need to configure the endpoint agents on the local network to communicate with an adaptor node. Instead, this embodiment allows insertion and configuration of the edge box implementing the deep packet inspection, allowing all CS agents behind the network to be switched transparently over to a P2P protocol as seen by the WAN, without the agents even being aware this change had happened. This provides the opportunity for providers/managers to transition enterprises or organizations from CS to P2P in a nearly seamless way. This technique could be implemented as deep packet inspection, as discussed in the earlier embodiment above, but with the CS traffic now flowing over a LAN unmodified until it reaches the network edge, where the translation between protocols takes place. Similar techniques have been implemented in other contexts to fix addresses within a protocol while traversing NATs and to translate from one protocol to another. However, the unique nature of the changes required to convert between P2P and CS, as outlined in above, make this a unique application of deep packet inspection technology. - This transparent deep packet inspection behavior could also be placed in operating system software, such as a system-wide firewall. In such a case, all applications running on the host would be converted, again without modification to or configuration of the applications implementing the CS agents.
- Similarly, the behavior could be implemented directly in the OS low-level data connection library itself, meaning all applications using the network connection would be translated.
- Packet inspection and modification behavior is often implemented in firewalls, NATs, or Session Border Controllers (SBCs). However, such behavior has not been used previously to convert between different protocols or between P2P and non-P2P protocols.
- Note that this mechanism can additionally be used to translate between CS and P2P versions of the same protocol, where appropriate, or even to translate messages from multiple CS protocols into a single P2P protocol.
- Thus, an adaptor module may be transparently inserted into an edge device in the network or within an OS network component (low level data interface, firewall, etc.).
- Such an adaptor module uses deep packet inspection to intercept and translate messages from the agents before they are fed onto the WAN. This adaptor module thus differs from the existing adaptor node approach in that such interception and modification of traffic is transparent to the agent and does not require the agent to be “pointed” at an adaptor that serves on the behalf of the agent. This adaptor module also allows installations to be translated from one protocol to another in place.
- The edge agent resident approach described above differs from the session border controllers (SBCs) deployed today in that the inspection mechanism is used to fundamentally alter the behavior of the agents from speaking a client-server oriented protocol to speaking to one that is peer-to-peer. To date, SBCs have been used mostly to enforce security, to modify the IP addresses embedded in messages to allow the traffic to traverse NATs, or to translate between one CS protocol and another. Today, these devices mostly translate between two versions (often proprietary) of a single CS protocol, or between two different CS protocols. Additionally, they are used to modify protocols to pass NATs, insert additional security, etc. They are not used to translate between CS and P2P protocols, or between CS and P2P versions of one protocol.
- A functional description of the operation of some embodiments of the invention will now be described in relation to
FIGS. 1-3 . These embodiments illustrate the functioning of an unmodified CS application layer program that issues calls to and receives messages from a modified underlying protocol stack, state machine, protocol library, dialog manager, or application driver (all of which are collectively referred to below as a “library”). This modified library is designed so that the application layer programs interacting with it see it behaving exactly as an unmodified library that uses an original protocol(s), including identical calls and responses. The library then translates the messages in the original protocol(s) to and from P2P protocol(s). - The library processes both new incoming messages that arrive at the library from a network connection and various software commands (calls) issued by the application to the library. As translation between different protocols and different specific software embodiments (different libraries, protocol stacks etc.) may cause slightly different actions, for other types of actions not described here, the overriding functionality of the library is to perform operations (storing local data, sending messages, responding to calls from the application, etc.) as required such that the library appears to devices connected over the network as a software entity communicating using the new protocol(s) while appearing to the application as an unmodified library for the earlier protocol(s).
- When an incoming message from the network is received by the library, the following steps are performed by the library, as illustrated in
FIG. 1 . Note that standard lower-level operations (such as message reassembly in the event of fragmentation, encryption and decryption of messages, performing checksums, etc.) may occur as part of the protocols used, but are not illustrated here for clarity in understanding the invention. - In
step 100 the library receives the incoming message over a network connection. Instep 102 the message is examined to determine if the purpose of the message is to send a message to the local application, or simply a message used by the new protocol(s). For example, a message used by the new protocol might be a message containing information to traverse NATs, to keep connections alive, or to maintain the P2P structure (overlay) such as to replication information or maintain connections between peers. If the message is not simply for protocol(s) maintenance (i.e., if it is an application level message), control is passed to step 104 which examines the message to determine if it contains information that causes an event to be triggered that must be passed to the application. If the message is not simply for protocol(s) maintenance (is an application level message), but does not contain information that causes an event to be triggered, instep 106 the library updates local state with the information received in the event it may be needed later when an event is triggered. Note that this handles the case where there is not a one-to-one correspondence between messages in the new protocol(s) and the original protocol(s). Control is then passed to step 110. If instep 104 it is determined that the message is not simply for protocol(s) maintenance (is an application level message), and does cause one of the events to be triggered, instep 108 the library looks up the corresponding event to determine what action (e.g., calling a function) is to be taken. In addition, the library properly formats the data received in a way that the unmodified application is familiar with, and performs any actions to be triggered when the event occurs. Control is then passed to step 110, in which any required low-level protocol operations for the new protocol(s) are performed (e.g., updating lists of peers, marking connections as live, or storing data required in a P2P layer), and any required responses to the message are constructed and transmitted. The processing of an incoming message is then completed instep 112. - For calls made by the application into the P2P library there are a number of different types of requests that may be made. In all cases, The application issues a call to the library. The value(s) provided to the library (if any) by the unmodified application (values passed, name of the call, etc) are functionally identical to an unmodified library call, and the value(s) returned (if any) appear to have come from the unmodified library.
- Requests that initialize the library are processed as shown in
FIG. 2 . Note that this behavior may be spread across multiple calls. Instep 200 the library receives a call from the application layer (e.g., a function call, method on an object, or OS call). Instep 202 the call is examined to determine if this is an explicit library initialization call (note that this examination may be implicit, for example, in that the call is or is not a particular initialize function). If the call is an initialization call, control is transferred to step 212 in which the library is initialized. Specifically, actions are performed to create the local stack needed to handle further calls and to process incoming message. This may include creating data structures, opening sockets, and so on. The handling is then completed instep 214. If instep 202 it is determined that the call is not an explicit initialization call, control is transferred to step 204 which checks to see if the library supports implicit initialization when the first command arrives and if this is a message that causes implicit initialization. If not, control is transferred to step 206 which checks if the library is already initialized. If not, an error condition is present and control is passed to step 208. If so, the initialization phase is over and control is transferred to step 214 which terminates the processing. If, instep 204, the library supports implicit initialization when the first command arrives and if this is a message that causes implicit initialization, then control is transferred to step 210 which checks if the library is already initialized. If not, then the library is initialized instep 212 as discussed above. Otherwise, control is transferred to step 214 and the initialization phase is over. - Requests that create local data structures, register functions to be called back when incoming messages are received, and so on, behave as discussed as follows. For calls that create local data structures, the library will create and maintain this information for a duration similarly to the unmodified application (until program end, until the structures are explicitly de-allocated, until no longer needed, and so on). The policy for determining if the resources can be deleted is the same as for the unmodified library. For calls registering callbacks to be called on the receipt of messages, the library creates and maintains a list of events that are registered and the action to be taken in response to this event. Note that this may be a complex structure, as the event being registered for in the old protocol(s) may not have a one-to-one correlation to events in the new protocol(s) library's case. The library will maintain a decision tree, table, event tracker, or the like to determine when the corresponding event from the original protocol(s) would have occurred. The library returns an appropriate return value, corresponding to the value that would have been returned by the unmodified library, ensuring that application requires no modification.
- Requests from the application layer to send information out (with or without a response) using the original protocol(s) (e.g., requests to store information or to request information) are handled as illustrated in
FIG. 3 . Instep 300 the library receives a call from the application (e.g., a function call, method on an object, or OS call). Instep 302 the library examines the call and uses configuration information and information about the new protocol(s) to determine where the message should be sent. For example, the destination may be the destination peer for a P2P protocol. Note that this process may itself involve sending a number of messages. Instep 304 the library takes the information provided in the call and properly formats it for the format of the new protocol(s), and sends the message to the destination calculated instep 302. Note that, in some P2P systems, the determination of where the message is sent is implicit (i.e., the message is sent to a “best guess” peer, which sends to its “best guess”, and so on). In some embodiments,steps step 306 the library determines if the call received from the application is a blocking call, i.e., one that waits for a response (e.g., an acknowledgement that that the message had been received or data returned in response to a request). If it is a blocking call, step 308 waits for a response from peer(s) that the request was sent to, or for a timeout (indicating the message failed) to be returned. Step 310 checks if the message times out. If so, appropriate timeout processing is performed instep 312. If no timeout was received (i.e., a response is received), control passes to step 314 which formats a response to the call. The response is formatted so that it appears to be identical to the response (if any) that would have occurred in the unmodified library. The response (if any) is returned instep 314, and the processing is completed instep 316. If instep 306 the call is not blocking, control is passed to step 318 which determines if a new event must be registered to trigger an action when a response is received later. If so, step 320 sets up an appropriate event registration and passes control to step 314. If not, control is passed directly to step 314 which formats the response (if any) in a form that is appropriate for the original, unmodified library and returns it to the application. The process then completes atstep 316. - In summary, according to embodiments of the invention, a protocol stack, state machine, protocol library, dialog manager, or application driver is provided for the new P2P protocol with exactly or substantially similar function signatures to the older, non-P2P protocol the CS agent is built using. The application requires little or no modification, since the function calls are essentially identical. Internally to the stack, however, these commands are translated to the new protocol, and activities such as lookup and storage of information are performed by the underlying stack in a P2P manner, with the result being passed back to the calling agent application in exactly the same format as if it were received from a server. The existing application may have inferior security properties, but the new stack will preferably use the newer, superior security properties. The existing application may function only in CS mode, or in combination with the adaptor software module, it can join the P2P network. The new stack or software may provide a configuration mechanism to allow configuration of parameters that are specific to the new protocol and the adaptor software module. The new stack may additionally provide some new functionality, allowing the client developer to add new features to the agent over time, but an interface substantially like the existing one is provided to allow agent applications to be ported with little or no modification. If an application is operating in a CS mode, the traffic can be monitored to detect a loss in connectivity with the server. In such an event, the translation to P2P protocol can be automatically turned on, providing switching between protocols that is transparent to the application.
- Those skilled in the art will appreciate that the techniques of the present invention may be used for translating not only between CS and P2P protocols but also between different P2P protocols such as structured/DHTs, unstructured/flooding, tracker-based, and so on. It will also be evident to those skilled in the art that, while the invention has been described for the sake of simplicity as translating one protocol to another, it may be easily extended to translate between multiple protocols, e.g., translating several different CS protocols to and from several different corresponding P2P protocols.
- The present invention has now been described in accordance with several exemplary embodiments, which are intended to be illustrative in all aspects, rather than restrictive. These embodiments are capable of many variations in detailed implementation, which may be derived from the description contained herein by a person of ordinary skill in the art. All such variations are considered to be within the scope and spirit of the present invention as defined by the following claims and their legal equivalents.
Claims (4)
1. A method implemented by a client agent device for converting a client-server software agent to a peer-to-peer software agent, the method comprising:
directly coupling in software on the client agent device a client agent application-level software program to an adaptor software module without any network connection between the client agent application-level software program and the adaptor software module, wherein the client agent application-level software program operates using a client-server protocol;
receiving by the client agent device at the adaptor software module from the client agent application-level software program application-level network traffic in a client-server protocol;
converting by the client agent device at the adaptor software module the received traffic into a peer-to-peer protocol;
relaying by the client agent device using the adaptor software module the converted traffic over a network on behalf of the client agent application-level software program.
2. The method of claim 1 wherein the converting is performed only when the client-server protocol is selected by a configuration setting for translation.
3. The method of claim 1 wherein the client-server protocol is selected for translation when an intended server is unreachable.
4. A method implemented by a network edge device for converting network traffic between a client-server protocol and a peer-to-peer protocol, the method comprising:
receiving by the network edge device packets containing application-level network traffic in a client-server protocol;
converting by the network edge device using socket-level deep packet inspection the application-level network traffic in a client-server protocol into application-level network traffic in a peer-to-peer protocol;
relaying by the network edge device the application-level network traffic in a peer-to-peer protocol over a network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/087,513 US20160219129A1 (en) | 2007-11-29 | 2016-03-31 | Mechanisms for Transparently Converting Client-Server Software Agents to Peer-to-Peer Software Agents |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US490007P | 2007-11-29 | 2007-11-29 | |
US12/313,609 US20090265414A1 (en) | 2007-11-29 | 2008-11-21 | Mechanisms for transparently converting client-server software agents to peer-to-peer software agents |
US12/932,859 US9332068B2 (en) | 2007-11-29 | 2011-03-08 | Mechanisms for transparently converting client-server software agents to peer-to-peer software agents |
US15/087,513 US20160219129A1 (en) | 2007-11-29 | 2016-03-31 | Mechanisms for Transparently Converting Client-Server Software Agents to Peer-to-Peer Software Agents |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/932,859 Continuation US9332068B2 (en) | 2007-11-29 | 2011-03-08 | Mechanisms for transparently converting client-server software agents to peer-to-peer software agents |
Publications (1)
Publication Number | Publication Date |
---|---|
US20160219129A1 true US20160219129A1 (en) | 2016-07-28 |
Family
ID=44225360
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/932,859 Active 2031-02-28 US9332068B2 (en) | 2007-11-29 | 2011-03-08 | Mechanisms for transparently converting client-server software agents to peer-to-peer software agents |
US15/087,498 Abandoned US20160219128A1 (en) | 2007-11-29 | 2016-03-31 | Mechanisms for Transparently Converting Between Peer-to-Peer Protocols |
US15/087,513 Abandoned US20160219129A1 (en) | 2007-11-29 | 2016-03-31 | Mechanisms for Transparently Converting Client-Server Software Agents to Peer-to-Peer Software Agents |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/932,859 Active 2031-02-28 US9332068B2 (en) | 2007-11-29 | 2011-03-08 | Mechanisms for transparently converting client-server software agents to peer-to-peer software agents |
US15/087,498 Abandoned US20160219128A1 (en) | 2007-11-29 | 2016-03-31 | Mechanisms for Transparently Converting Between Peer-to-Peer Protocols |
Country Status (1)
Country | Link |
---|---|
US (3) | US9332068B2 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8793602B2 (en) | 2004-01-15 | 2014-07-29 | The Mathworks, Inc. | System and method for scheduling the execution of model components using model events |
US8811383B2 (en) * | 2011-12-28 | 2014-08-19 | Skype | Communication system and method |
KR101710817B1 (en) * | 2013-02-22 | 2017-02-27 | 인텔 아이피 코포레이션 | Systems and methods for access network selection and traffic routing |
JP6277828B2 (en) * | 2014-03-31 | 2018-02-14 | 富士通株式会社 | Edit assist program, edit assist method, and edit assist device |
JP6217033B2 (en) * | 2014-04-30 | 2017-10-25 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Method, apparatus and system for interaction between hard disks |
CN105939269A (en) * | 2015-12-18 | 2016-09-14 | 杭州迪普科技有限公司 | Message translation method and device based on net address translation (NAT) rule |
US10585648B2 (en) * | 2016-06-01 | 2020-03-10 | The Mathworks, Inc. | Systems and methods for aggregating implicit and explicit event code of executable models |
US10324849B2 (en) | 2017-02-13 | 2019-06-18 | International Business Machines Corporation | Headless resilient backup and restore software ecosystem selecting server based on historical client latency, workload and metadata presence in cache |
US10554743B2 (en) * | 2017-04-26 | 2020-02-04 | Red Hat, Inc. | Managing content downloads |
US11838375B2 (en) * | 2020-11-12 | 2023-12-05 | Harman International Industries, Incorporated | Universal software communication bus |
US11637895B1 (en) * | 2022-06-30 | 2023-04-25 | Browserstack Limited | Media transfer for remote device infrastructure |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030217158A1 (en) * | 2002-05-17 | 2003-11-20 | Datta Glen Van | Configuration switching: dynamically changing between network communication architectures |
US20050135286A1 (en) * | 2003-12-23 | 2005-06-23 | Nurminen Jukka K. | Wireless extended proximity networks: systems, methods and program products |
US20070255852A1 (en) * | 2006-04-27 | 2007-11-01 | Alcatel | Mobile gateway device |
US20080098121A1 (en) * | 2006-10-23 | 2008-04-24 | Nec (China) Co., Ltd. | P2p sip enabled multimedia network communication system |
US8443057B1 (en) * | 2008-02-20 | 2013-05-14 | Adobe Systems Incorporated | System, method, and/or apparatus for establishing peer-to-peer communication |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5548726A (en) | 1993-12-17 | 1996-08-20 | Taligeni, Inc. | System for activating new service in client server network by reconfiguring the multilayer network protocol stack dynamically within the server node |
KR100322578B1 (en) | 1998-10-02 | 2002-03-08 | 윤종용 | Data communication device and method between WAP terminal and WAP server |
US8224985B2 (en) | 2005-10-04 | 2012-07-17 | Sony Computer Entertainment Inc. | Peer-to-peer communication traversing symmetric network address translators |
US7769881B2 (en) * | 2003-01-24 | 2010-08-03 | Hitachi, Ltd. | Method and apparatus for peer-to peer access |
US20070294336A1 (en) * | 2004-07-02 | 2007-12-20 | Greg Pounds | Proxy-based communications architecture |
US7895270B2 (en) | 2005-04-21 | 2011-02-22 | Microsoft Corporation | Transport abstraction for multiparty replication |
US7529255B2 (en) | 2005-04-21 | 2009-05-05 | Microsoft Corporation | Peer-to-peer multicasting using multiple transport protocols |
US9357586B2 (en) * | 2005-06-21 | 2016-05-31 | Google Technology Holdings LLC | Method and apparatus to facilitate mobile station communications using internet protocol-based communications |
WO2007106791A2 (en) * | 2006-03-10 | 2007-09-20 | Peerant Inc. | Peer to peer inbound contact center |
US20070263616A1 (en) | 2006-05-15 | 2007-11-15 | Castro Paul C | Increasing link capacity via traffic distribution over multiple WI-FI access points |
US8793390B2 (en) | 2006-05-23 | 2014-07-29 | Blue Coat Systems, Inc. | Systems and methods for protocol detection in a proxy |
-
2011
- 2011-03-08 US US12/932,859 patent/US9332068B2/en active Active
-
2016
- 2016-03-31 US US15/087,498 patent/US20160219128A1/en not_active Abandoned
- 2016-03-31 US US15/087,513 patent/US20160219129A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030217158A1 (en) * | 2002-05-17 | 2003-11-20 | Datta Glen Van | Configuration switching: dynamically changing between network communication architectures |
US20050135286A1 (en) * | 2003-12-23 | 2005-06-23 | Nurminen Jukka K. | Wireless extended proximity networks: systems, methods and program products |
US20070255852A1 (en) * | 2006-04-27 | 2007-11-01 | Alcatel | Mobile gateway device |
US20080098121A1 (en) * | 2006-10-23 | 2008-04-24 | Nec (China) Co., Ltd. | P2p sip enabled multimedia network communication system |
US8443057B1 (en) * | 2008-02-20 | 2013-05-14 | Adobe Systems Incorporated | System, method, and/or apparatus for establishing peer-to-peer communication |
Also Published As
Publication number | Publication date |
---|---|
US20160219128A1 (en) | 2016-07-28 |
US9332068B2 (en) | 2016-05-03 |
US20110167165A1 (en) | 2011-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9332068B2 (en) | Mechanisms for transparently converting client-server software agents to peer-to-peer software agents | |
US20090265414A1 (en) | Mechanisms for transparently converting client-server software agents to peer-to-peer software agents | |
US11082254B2 (en) | User datagram protocol tunneling in distributed application instances | |
US8938553B2 (en) | Cooperative proxy auto-discovery and connection interception through network address translation | |
US8473620B2 (en) | Interception of a cloud-based communication connection | |
US7227864B2 (en) | Methods and systems for establishing communications through firewalls and network address translators | |
CA2792634C (en) | System and method for providing a virtual peer-to-peer environment | |
JP4829982B2 (en) | Detection and control of peer-to-peer communication | |
US7518987B2 (en) | Mechanisms for providing connectivity in NAT redundant/fail-over scenarios in unshared address-space | |
US8868757B1 (en) | Two-way web service router gateway | |
CN114866521A (en) | Conference server | |
RU2543304C2 (en) | Packet relay method and device | |
US9015258B2 (en) | System and method for peer-to-peer media routing using a third party instant messaging system for signaling | |
US20130163470A1 (en) | Traffic optimization over network link | |
KR101087359B1 (en) | Virtual connectivity with local connection translation | |
EP2741460B1 (en) | A method and a user agent for load balancing within several proxies in a SIP network comprising a router applying network address translation | |
Barnes | Middlebox Communications (MIDCOM) Protocol Evaluation | |
US8576854B2 (en) | System for communication between private and public IP networks | |
WO2013056999A1 (en) | Method and system for enabling nat traversal for multi-homing protocols | |
Odhner | Secure Communications with WireGuard in Decentralized Networks: A Mesh VPN with NAT Traversal via STUN/TURN Servers | |
CN115426368A (en) | Network programming communication method and system based on middleware | |
Barnes | RFC 4097: Middlebox Communications (MIDCOM) Protocol Evaluation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: OOMA, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BRYAN, DAVID A;REEL/FRAME:038164/0749 Effective date: 20090629 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |