Patent ID: 8595725

Claim:
A method for processing one or more tasks with a default host dual-role device and a default peripheral dual-role device in a system including a plurality of dual-role devices, comprising: receiving a collaboration request; determining, by analyzing a type of at least one or more tasks and the capabilities of the default host dual-role device and the default peripheral dual-role device, whether the default host dual-role device or the default peripheral dual-role device will act as a host for processing said at least one of the tasks, wherein the type of said one or more tasks is indicated by a job request communicated between the default host dual-role device and the default peripheral dual-role device; in response to the analysis, swapping host and peripheral roles, wherein the default peripheral dual-role device acts as the host and the default host dual-role device acts as a peripheral; processing at least one of said one or more tasks with the default peripheral dual-role device acting as host; and changing the role of host from the default peripheral dual-role device to another one of the plurality of dual-role devices.