Terminal Permission Control via Prime Factorization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing permission control systems for terminal devices are limited in the number of permissions they can manage and lack flexibility in expanding user permissions for applications.
Innovation Solution
A method and apparatus for a terminal device that acquires a permission control code from a server upon user login, processes it into specific permission codes, and uses these codes to control access to application functionalities, allowing for flexible extension of user permissions by performing prime factorization or determining divisibility by specified codes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If traditional permission control systems are used, then the system structure is simple, but the number of permissions that can be managed is limited and flexibility in expanding permissions is poor
Solution Approach 1:
The patent transforms permission control from a static list-based system to a dynamic mathematical system where permissions are represented as prime numbers and permission combinations are achieved through multiplication. This parameter transformation enables flexible expansion of permissions without increasing system structural complexity, as new permissions can be added by introducing new prime numbers.
Solution Approach 2:
The permission control code serves multiple functions: it encodes multiple permissions simultaneously, enables flexible permission combinations through mathematical operations, and provides a scalable framework for future permission expansions. This multi-functional design resolves the contradiction by making the system highly adaptable while maintaining structural simplicity.
2Adaptability or versatility
If more permissions are added to the system, then the adaptability improves, but the complexity of managing and processing permissions increases
Solution Approach 1:
The patent replaces traditional mechanical permission management (checking permission lists, managing access control tables) with mathematical operations (prime factorization, divisibility checks). This substitution dramatically simplifies the processing of complex permission sets, as the system only needs to perform mathematical calculations rather than manage complex data structures, thereby enabling management of numerous permissions without proportional increases in management complexity.
3Measurement precision
If permission control is made more granular, then the precision of access control improves, but the complexity of controlling individual functionalities increases
Solution Approach 1:
The patent segments permissions into atomic units represented by prime numbers, where each prime number corresponds to a specific permission. This segmentation enables fine-grained control over individual functionalities while simplifying the control mechanism, as the system only needs to verify whether a user's permission code contains the required prime factor, rather than managing complex permission hierarchies or access control lists for each functionality.
Data Source
AI summary
A permission control method and apparatus for a terminal device, where the method includes: acquiring, in response to detecting a login operation of the target user on the target application, from the server, a permission control code of the target user for the target application; processing the permission control code into at least one permission code, the permission code being used to indicate that a user has a use permission for a corresponding functionality of the target application; and controlling, on the basis of the at least one permission code, the use of at least one functionality of the target application by the target user.


