Research Article

Tenant-Centric Attribute Semantic Access Control Policy Model for the Cloud Service Platform

Algorithm 4

Attribute synchronization algorithm (ASA).
Input: or
Output: Performing the update operation
1: IF the attribute or its value is changed
2:  IF the attribute or its value is invoked
3:    
4:    Executing P_Operation ()
5:    Executing V_Operation ()
6:  ELSE
7:    
8:    Executing P_Operation ()
9:    Executing V_Operation ()
10:  END IF
11: END IF
12: P_Operation (: Semaphore)
13:  
14:  IF
15:    Wait ()
16:  ELSE
17:   Performing the update operation
18:  END IF
19: END P_Operation
20: V_Operation (: Semaphore)
21:  
22:  IF
23:    Resume ()
24:    Performing the update operation
25:  ELSE
26:    Releasing the update operation
27:  END IF
28: END V_Operation