Research Article
Double Cache Approach with Wireless Technology for Preserving User Privacy
Input: Query (q) of User A Output: Answers of q | // Search-Function | 1 if (q ∈ Query in Cache1) then | 2 = ( in Cache1) + 1 | 3 Return | 4 end | 5 else | 6 Insert (q in Cache2) | 7 Get first q~ of Cache2 // Unknown User | 8 Insert to Cache1 with | 9 Query with in the Cache1 will be deleted. | 10 end | 11 Recall Search-Function | 12 End Function |
|