Research Article

A Process Mining Based Service Composition Approach for Mobile Information Systems

Algorithm 1

Preprocessing—preprocessing logs for process mining by steps of removing invalid records, eliminating similar request in a short time, picking the successful request and deleting others, connecting service with events, and dividing the events into traces, according to time duration.
Input:
   ,
   ,
   
   
Output:
   
(1)  
(2)
(3) .remove if not
(4) .remove if not
(5) .remove if
(6)
(7)
(8) while   do
(9)  
(10)    if   in a short time then
(11)  trace.add(r)
(12)    else
(13)  TM.add(trace)
(14)  
(15)    end if
(16) end while
(17) return