Mechanisms for transparently converting client-server software agents to peer-to-peer software agents
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.
2 Assignments
0 Petitions
Accused Products
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.
15 Citations
6 Claims
-
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 Dependent Claims (2, 3, 4, 5, 6)
-
Specification