×

Mechanisms for transparently converting client-server software agents to peer-to-peer software agents

  • US 9,332,068 B2
  • Filed: 03/08/2011
  • Issued: 05/03/2016
  • Est. Priority Date: 11/29/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method implemented by a client agent device for translating between client-server and peer-to-peer protocols, the method comprising:

  • executing by the client agent device application-level software that sends and receives client-server protocol messages;

    executing by the client agent device an adapter software module that transparently translates the client-server protocol messages to and from peer-to-peer protocol messages;

    wherein the adapter software module and the application-level software are directly coupled to each other in software on the client agent device;

    receiving by the adapter software module on the client agent device 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, updating by the adapter software module on the client agent device a local protocol state with information in the application-level message;

    if the network message is an application-level message and triggers an application-level event, sending by the adapter software module on the client agent device to an application layer on the client agent device a translated message in a client-server protocol to trigger an appropriate application-level event for the application-level software;

    performing by the adapter software module on the client agent device peer-to-peer protocol-level operations in response to the network message;

    receiving by the adapter software module on the client agent device a call from the application layer on the client agent device, wherein the call is generated by the application-level software and conforms to a client-server protocol;

    if the call generated by the application-level software is a library initialization call, creating by the adapter software module on the client agent device a local stack to handle subsequent calls and to process incoming network messages conforming to a peer-to-peer protocol;

    if the call generated by the application-level software is not a library initialization call but the call generated by the application-level software implies library initialization, creating by the adapter software module on the client agent device a local stack to handle subsequent calls and to process incoming network messages conforming to a peer-to-peer protocol;

    and if the call generated by the application-level software is a request to send information using a client-server protocol, then translating by the adapter software module on the client agent device the request to at least one network message conforming to a peer-to-peer protocol.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×