Research Article

H2SA-ALSH: A Privacy-Preserved Indexing and Searching Schema for IoT Data Collection and Mining

Algorithm 1

Indexing of H2SA-ALSH.
Input: a time series with objects interval ratio , and a threshold
Output: The number of disjoint K, K disjoint sets with blocks .
;
Compute ;
;
Whiledo
   ;
   Compute the bucket of the block using SRP-LSH hash family;
   ;
   ;
   Ifthen
      Build hash tables for of using ALSH;
   End
   Ifthen
      Insert into QALSH indexing of ;
   End
End
;
Return K, .