A Hierarchical Software Design Methodology for High-Concurrency and Fine-Grained Access Control Scenarios

Complex software frequently faces high-concurrency and complex access control scenarios, and the development of access control modules in such contexts suffers from low code reuse rates and structural disorganization of functional modules. Providing a software design methodology for such scenarios is therefore vital for improving software productivity and quality. This paper proposes a hierarchical software design methodology for complex software development under high-concurrency and fine-grained access control scenarios. The methodology partitions the hierarchical structure according to the characteristics of the access control workflow, supporting fine-grained and multi-level permission control. For high-concurrency scenarios, a cache management layer is introduced to enhance the execution efficiency of the access control workflow. The specific layers within the methodology are delineated according to the practical requirements of software development. By decoupling user state detection, user state verification, and permission authentication within the access control workflow, the methodology ensures applicability across different framework environments and reduces security risks arising from high inter-framework coupling. Through a series of concurrency tests ranging from 0 to 500K, performance data across different frameworks under the same scenario are obtained, providing practitioners with a reference for selecting higher-performing frameworks based on specific deployment contexts.