Research Article
Service-Based Hybrid Access Control Technology with Priority Level for the Internet of Vehicles under the Cloud Architecture
(1) | Input: Prioritylevel, Goalprioritylevel, User, Role | (2) | Initialize the Resource storage. | (3) | Initialize the User storage. | (4) | Output: Prioritylevel, Role. | (5) | User storage ⟸ User | (6) | Priorityadjust(Userid, Prioritylevel, Goalprioritylevel) | (7) | if Prioritylevel ! = Goalprioritylevel then | (8) | Prioritylevel = Prioritylevel-1 | (9) | Priorityadjust(UserID, Prioritylevel, Goalprioritylevel) | (10) | else | (11) | Role ⟸ User storage. | (12) | User ⟸ Resource storage. | (13) | Return Role, Prioritylevel | (14) | end if | (15) | End |
|