Patent ID: 7757018

Claim:
A method for controlling a sequence of a plurality of functions which are implemented on at least two interacting devices, a first group of functions being assigned to be implemented on a first interacting device and a second group of functions being assigned to be implemented on a second interacting device, the method comprising: (a) defining at least one forbidden pair of functions, wherein the forbidden pair includes a first function from the first group and a second function from the second group, and wherein at least one of the first function and the second function interferes with the other when simultaneously executed; (b) assigning each function of the first group of functions a priority value; (c) selecting, among the first group of functions, at least two functions having the highest priority values, wherein if the second function of the forbidden pair is currently being executed, the first function of the forbidden pair is eliminated from the at least two selected functions among the first group of functions; (d) identifying a single function from the at least two selected functions among the first group of functions; and (e) starting execution of the single function identified in step (d).