Patent ID: 8087019

Claim:
A method for performing one or more tasks from a first group of weighted tasks in response to a first triggering condition and performing one or more tasks from a second group of weighted tasks in response to a different second triggering condition, the method comprising: creating first task group data indicating a first group of weighted tasks to be performed in response to a first triggering condition, the first task group data including: first task data indicating a plurality of tasks associated with the first triggering condition; and first weight data associated with the first task data, the first weight data indicating a weight for each of the plurality of tasks associated with the first triggering condition; creating second task group data indicating a second group of weighted tasks to be performed in response to a different second triggering condition, the second task group data including: second task data indicating a plurality of tasks associated with the second triggering condition; and second weight data associated with the second task data, the second weight data indicating a weight for each of the plurality of tasks associated with the different second triggering condition; incrementing a counter to a first incremented value; in response to a first occurrence of the first triggering condition: using the first incremented value and the first weight data, which indicates a weight for each of the plurality of tasks associated with the first triggering condition, to select a first portion of the first task data; and using the selected first portion of the first task data to perform a first task of the plurality of tasks associated with the first triggering condition; incrementing the counter to a second incremented value; and in response to a first occurrence of the different second triggering condition: using the second incremented value and the second weight data, which indicates a weight for each of the plurality of tasks associated with the different second triggering condition, to select a first portion of the second task data; and using the selected first portion of the second task data to perform a first task of the plurality of tasks associated with the different second triggering condition.