Abstract:With the continuous advancement of ship intelligence, multi-terminal collaborative control and cross-system command scheduling have become core requirements for modern ship control systems. This paper addresses the permission management issue in ship control systems and proposes a dynamic permission allocation algorithm (RBSAC) based on roles and terminal positions. The algorithm integrates an improved Role-Based Access Control (RBAC) model and a terminal position context-aware mechanism. By establishing a multi-dimensional permission allocation strategy, it enables unified command control across terminals. The study introduces an auction algorithm to resolve permission conflict arbitration, designs a multi-level permission configuration framework to meet the complex needs of ship command systems, and integrates multi-factor authentication and operation log auditing mechanisms to ensure system security. This paper proposes, for the first time, a dynamic permission allocation algorithm tailored for ship contro