Fingerprint Resource Queue Management for Android Concurrency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In Android-based terminals, concurrent access to fingerprint verification resources by multiple applications leads to resource allocation conflicts, affecting operational stability and security, particularly when applications like payment and lock screen functions compete for resources.
Innovation Solution
A method where concurrent access requests from multiple applications are added to a predetermined access queue in a specific order, such as priority or chronological order, and resources are allocated dynamically based on the duration of occupancy, ensuring that high-priority applications are processed first and resources are released promptly to prevent conflicts.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If multiple applications concurrently access fingerprint verification resources, then application functionality and user service coverage are improved, but resource allocation conflicts occur and system operational stability deteriorates
Solution Approach 1:
The patent segments the fingerprint verification resource into multiple independent verification instances. Each application can access its own verification instance through the access queue, eliminating resource conflicts while maintaining concurrent access capability. The segmentation allows multiple applications to simultaneously perform fingerprint verification without interfering with each other.
Solution Approach 2:
The access queue serves as an intermediary mechanism between multiple applications and the fingerprint verification resource. It manages concurrent access requests by maintaining a predetermined order, allocating verification resources fairly and systematically. This intermediary structure prevents direct resource conflicts while enabling multiple applications to access fingerprint verification services.
2Reliability
If fingerprint verification resource is occupied by one application, then that application's verification function is ensured, but other applications cannot access the resource and system security is compromised
Solution Approach 1:
The patent implements dynamic resource allocation through the access queue mechanism. The fingerprint verification resource is not statically assigned to one application but dynamically allocated based on the predetermined access order. When one application finishes verification, the resource becomes available for the next application in the queue, ensuring both verification assurance and resource accessibility.
Solution Approach 2:
The system changes the parameter of resource allocation from exclusive single-appointment to multi-appointment with predetermined ordering. By modifying the allocation parameter to include an access queue with predetermined order, the system allows multiple applications to access the fingerprint verification resource in sequence, maintaining verification reliability while improving resource accessibility.
3Speed
If concurrent access requests are handled without queuing, then response speed is improved, but resource allocation becomes chaotic and system stability deteriorates
Solution Approach 1:
The patent applies preliminary action by establishing a predetermined access order in the access queue before resource allocation occurs. Applications are registered and ordered in advance, so when concurrent access requests occur, the system can quickly allocate resources according to the pre-established order without chaotic arbitration. This preliminary structuring maintains both speed and allocation order.
4Productivity
If fingerprint verification resource is shared among multiple applications, then resource utilization is improved, but resource conflicts occur and payment security is compromised
Solution Approach 1:
The patent segments the shared fingerprint verification resource into multiple isolated verification instances, each accessible to specific applications through the access queue. This segmentation maintains high resource utilization by allowing concurrent access while preventing harmful resource conflicts through instance isolation. Each application operates in its own verification context, eliminating interference and security risks.
Data Source
AI summary
Provided are a method for controlling fingerprint processing resources, a terminal, and a computer readable storage medium. The method includes the following. A terminal adds, in a predetermined order, N access requests for the fingerprint processing resources initiated concurrently by N applications of the terminal to a predetermined access queue upon detecting the N access requests, where, in the predetermined access queue, an access request first added is first processed, and N is an integer greater than one. The terminal allocates the fingerprint processing resources to an application corresponding to an access request currently processed in the predetermined access queue, and updates the access request currently processed in the predetermined access queue according to a duration in which the application occupies the fingerprint processing resources.


