# US 2019/0244621 A1 · Techniques for concurrent processing of user speech

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0244621 A1
- Document ID: US20190244621A1
- Status: Published application
- Kind: A1
- Application number: 16/388,526
- Filed: 2019-04-18
- Published: 2019-08-08
- Earliest claimed: 2016-12-22
- Assignees: SoundHound, Inc.
- Applicants: SoundHound, Inc.
- Inventors: Scott Halstvedt; Bernard Mont-Reynaud; Kazi Asif Wadud
- Web page: https://patentgrep.com/patent/US20190244621A1

## CPC

- G10L 15/30: Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G06F 16/243: {Natural language query formulation}
- G06F 16/24532: {of parallel queries}
- G06F 16/24545: {Selectivity estimation or determination}
- G06F 16/33295: {in dialogue systems}
- G06F 16/3334: {Selection or weighting of terms from queries, including natural language queries}
- G06F 16/3344: {using natural language analysis}
- G06F 16/90332: {Natural language query formulation or dialogue systems}
- G06F 40/205: Parsing
- G06F 40/35: Discourse or dialogue representation
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 15/222: {Barge in, i.e. overridable guidance for interrupting prompts}
- G10L 25/87: Detection of discrete points within a voice signal
- G10L 2015/223: {Execution procedure of a spoken command}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A server receives a user audio stream, the stream comprising multiple utterances. A query-processing module of the server continuously listens to and processes the utterances. The processing includes parsing successive utterances and recognizing corresponding queries, taking appropriate actions while the utterances are being received. In some embodiments, a query may be parsed and executed before the previous query's execution is complete.

## Claims

### Claim 1

A computer-implemented method of generating a response to a spoken input, the computer-implemented method comprising:
obtaining an audio input stream;
detecting in the audio input stream a beginning of a first utterance;
detecting in the audio input stream an end of the first utterance;
responsive to detecting the end of the first utterance:
starting to process the first utterance to recognize a first query;
starting to execute the first query to determine a first response;
continuing to process the audio input stream; and
detecting in the audio input stream a beginning of a second utterance; and
responsive to detecting the end of the second utterance:
starting to process the second utterance to recognize a second query.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising, responsive to recognizing the second query, starting to execute the second query concurrently with executing the first query.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising outputting the second response before the first response.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein outputting the second response is performed concurrently with executing the first query.

### Claim 5 (depends on 3)

The computer-implemented method of claim 3, wherein the first response is output visually, the method further comprising:
determining whether a display period has elapsed since the first response was output visually; and
clearing the visual output of the response after the elapse of the display period.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising:
identifying the presence or absence of serial constraints between the first query and the second query;
responsive to identifying the absence of serial constraints, starting execution of the second response before the end of the execution of first response; and
responsive to identifying the presence of a serial constraint, disallowing execution of the second response before execution of first response.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, further comprising:
responsive to identifying the absence of serial constraints, outputting the second response before the first response.

### Claim 8

A non-transitory computer-readable storage medium storing instructions that when executed by a computer processor perform actions comprising:
obtaining an audio input stream;
detecting in the audio input stream a beginning of a first utterance;
detecting in the audio input stream an end of the first utterance;
responsive to detecting the end of the first utterance:
starting to process the first utterance to recognize a first query;
starting to execute the first query to determine a first response;
continuing to process the audio input stream; and
detecting in the audio input stream a beginning of a second utterance; and
responsive to detecting the end of the second utterance:
starting to process the second utterance to recognize a second query.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, the actions further comprising, responsive to recognizing the second query, starting to execute the second query concurrently with executing the first query.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, the actions further comprising outputting the second response before the first response.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein outputting the second response is performed concurrently with executing the first query.

### Claim 12 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein the first response is output visually, the actions further comprising:
determining whether a display period has elapsed since the first response was output visually; and
clearing the visual output of the response after the elapse of the display period.

### Claim 13 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, the actions further comprising:
identifying the presence or absence of serial constraints between the first query and the second query;
responsive to identifying the absence of serial constraints, starting execution of the second response before the end of the execution of first response; and
responsive to identifying the presence of a serial constraint, disallowing execution of the second response before execution of first response.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, the actions further comprising:
responsive to identifying the absence of serial constraints, outputting the second response before the first response.

### Claim 15

A computer system comprising:
a computer processor; and
a computer-readable storage medium storing instructions that when executed by the computer processor perform actions comprising:
obtaining an audio input stream;
detecting in the audio input stream a beginning of a first utterance;
detecting in the audio input stream an end of the first utterance;
responsive to detecting the end of the first utterance:
starting to process the first utterance to recognize a first query;
starting to execute the first query to determine a first response;
continuing to process the audio input stream; and
detecting in the audio input stream a beginning of a second utterance; and
responsive to detecting the end of the second utterance:
starting to process the second utterance to recognize a second query.

### Claim 16 (depends on 15)

The computer system of claim 15, the actions further comprising, responsive to recognizing the second query, starting to execute the second query concurrently with executing the first query.

### Claim 17 (depends on 16)

The computer system of claim 16, the actions further comprising outputting the second response before the first response.

### Claim 18 (depends on 17)

The computer system of claim 17, wherein outputting the second response is performed concurrently with executing the first query.

### Claim 19 (depends on 17)

The computer system of claim 17, wherein the first response is output visually, the actions further comprising:
determining whether a display period has elapsed since the first response was output visually; and
clearing the visual output of the response after the elapse of the display period.

### Claim 20 (depends on 15)

The computer system of claim 15, the actions further comprising:
identifying the presence or absence of serial constraints between the first query and the second query;
responsive to identifying the absence of serial constraints, starting execution of the second response before the end of the execution of first response; and
responsive to identifying the presence of a serial constraint, disallowing execution of the second response before execution of first response.
