Method and apparatus for sociable computing in ad-hoc and configured peer-to-peer networks
First Claim
1. A method of executing a program structure by leveraging a peer-to-peer network, the method comprising:
- generating a program structure comprising a plurality of program instructions at a first of a plurality of network peers, wherein at least one of said program instructions of the program structure controls the manner in which at least a portion of said program structure is executed;
executing a first portion comprising fewer than all of said program instructions of the program structure in the first network peer, said first portion initiating the execution of code hosted by said first network peer, wherein at least one of the executed program instructions determines, by its execution, that said first network peer should migrate a second portion comprising fewer than all of said program instructions of the program structure to at least one other of said plurality of network peers;
migrating the second portion of the program instructions of the program structure, together with any requisite data, to said at least one other of the plurality of network peers in response to said determination by said at least one executed program instruction; and
continuing execution of the one or more program instructions at said at least one other network peer.
1 Assignment
0 Petitions
Accused Products
Abstract
Executing a program structure for spanning a thread of control and a thread of execution across multiple peers in a peer-to-peer network comprises generating a program structure comprising a plurality of program instructions. A first of a plurality of network peers then executes a portion of the program instructions which initiates the execution of code hosted by said first network peer, where said portion comprising fewer than all program instructions. The first network peer then migrates one or more of the program instructions, including one or more controlling program instructions, together with any requisite data, some of which may include control data, to at least one other of the plurality of network peer. The at least one other network peer then continues execution of the program instructions in accordance with the controlling program instructions and control data until one or more of the objections of the program structure are achieved.
-
Citations
51 Claims
-
1. A method of executing a program structure by leveraging a peer-to-peer network, the method comprising:
-
generating a program structure comprising a plurality of program instructions at a first of a plurality of network peers, wherein at least one of said program instructions of the program structure controls the manner in which at least a portion of said program structure is executed; executing a first portion comprising fewer than all of said program instructions of the program structure in the first network peer, said first portion initiating the execution of code hosted by said first network peer, wherein at least one of the executed program instructions determines, by its execution, that said first network peer should migrate a second portion comprising fewer than all of said program instructions of the program structure to at least one other of said plurality of network peers; migrating the second portion of the program instructions of the program structure, together with any requisite data, to said at least one other of the plurality of network peers in response to said determination by said at least one executed program instruction; and continuing execution of the one or more program instructions at said at least one other network peer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. A system for executing a program structure by leveraging a peer-to-peer network, the system comprising:
a plurality of network peers in communication with each other, each of said network peers comprising a memory for storing code, and a processor for executing said code, at least a first of said network peers comprising code that when executed causes said first network peer to; generate a program structure comprising a plurality of program instructions, wherein at least one of said program instructions of the program structure controls the manner in which at least a portion of said program structure is executed; execute a first portion comprising fewer than all of said program instructions of the program structure which initiate the execution of additional code hosted by said first network peer, wherein at least one of the executed program instructions determines, by its execution, that said first network peer should migrate a second portion comprising fewer than all of said program instructions of the program structure to at least one other of said plurality of network peers; migrate the second portion of the program instructions of the program structure, together with any requisite data, to at least one other of the plurality of network peers in response to said determination by said at least one executed program instruction; and continue execution of one or more program instructions received from any other of the network peers. - View Dependent Claims (27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51)
Specification