Voiceprint Recognition via Asynchronous Message Queue Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing voiceprint recognition processes are inefficient and prone to losing requests due to long processing times, especially when handling a large number of requests simultaneously.
Innovation Solution
A voiceprint recognition method and device that utilize a background server with a message queue and asynchronous mechanism to process voice recognition requests, allowing for simultaneous handling of multiple requests and reducing processing time by acquiring and comparing target and test voiceprint features using I-vector and Gaussian mixture model-universal background models.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional synchronous voiceprint recognition processing is used, then processing accuracy is maintained, but processing time becomes too long causing request loss
Solution Approach 1:
The system performs voiceprint feature extraction in advance during the voiceprint registration phase, storing the extracted features for rapid comparison during recognition. This preliminary preparation eliminates the need for repeated extraction during actual recognition, significantly reducing processing time while maintaining accuracy
Solution Approach 2:
The patent introduces a message queue as an intermediary component between the voice recognition request receiver and the processing engine. This allows requests to be queued and processed asynchronously, decoupling the request submission from the processing timeline and preventing request loss due to processing delays
2Productivity
If more voice recognition requests are processed simultaneously, then service capacity increases, but processing time increases causing more requests to be lost
Solution Approach 1:
The system implements continuous asynchronous processing of voice recognition requests through the message queue mechanism. Multiple requests are processed continuously without waiting for each other to complete, maintaining high throughput while ensuring each request receives timely processing through the queued asynchronous workflow
Solution Approach 2:
Voiceprint features are extracted and stored in advance during registration, so that during recognition requests, only fast comparison operations are needed. This preliminary preparation enables the system to handle multiple simultaneous requests efficiently without increasing processing time
Data Source
AI summary
The present invention provides a voiceprint recognition method, a device, a storage medium and a background server. The voiceprint recognition method comprises: collecting, by a client, and sending a voice recognition request to the background server, the voice recognition request comprises the user ID and the test voice; receiving the voice recognition request, and determining the voice recognition request to be processed with a message queue and an asynchronous mechanism; acquiring a target voiceprint feature which corresponds to the user ID of the voice recognition request to be processed, and acquiring a test voiceprint feature which corresponds to the test voice of the voice recognition request to be processed; judging whether the target voiceprint feature and the test voiceprint feature correspond to the same user, and outputting the result of the judging to the client; and receiving and displaying, by the client, the result of the judging.

