The application discloses a real-time voice transcription conversation whole life cycle management and control method and device, in the method, a double-provider isolation architecture is constructed, and an
authentication path is selected according to a provider type identifier; a multi-scene bridging
rule engine is constructed, a rule array is traversed according to priority, and an
action function of a matching scene is executed; an audio
stream state
machine including
processing, ending and
heartbeat states is maintained for a voice transcription conversation,
state switching is ensured not to interrupt an audio frame through delayed
jumping; a
WebSocket disconnection self-
recovery mechanism is implemented, an
exponential backoff strategy is adopted to rebuild a connection and recover a state
machine; a three-level
access control engine of
extension set-
relay-number is constructed, each level of
verification is executed in turn, and transcription is allowed as long as a hit is made at any level. The application realizes multi-voice recognition service parallel access, full-scene intelligent start-stop, network fluctuation automatic
recovery and fine permission management, and significantly improves the reliability and flexibility of the voice transcription function.