Research Article

Modeling and Optimization for Collaborative Business Process Towards IoT Applications

Algorithm 1

DPFR Sensing Event Scheduling Algorithm.
Input: The sensing event buffer queue in the secondary storage
Output: The highest-priority sensing event
 The event manager sets the timeout value
for Q is not empty do
  Set the temporary variable
  Get the waiting time of each event
if then
  Get the execution time of each event
  Calculate the response ratio
   if then
    
    current++
   else current++
else Abandon current event, release storage space
return The highest-priority sensing event