Overriding default speech processing behavior using a default focus receiver
First Claim
1. A method of using a speech focus to allocate speech processing resources in a speech processing system comprising at least one electronic processor, the speech processing system having a plurality of speech-enabled applications that share speech processing resources of the speech processing system, the plurality of speech-enabled applications gaining access to the speech processing resources only after obtaining the speech focus, the method comprising:
- establishing a waiting queue adapted to order in priority requests from any of the plurality of speech-enabled applications waiting to obtain the speech focus;
establishing a default focus receiver to override at least some default speech behavior of the speech processing system;
placing the default focus receiver in the waiting queue at a priority level above the default speech behavior, such that when none of the plurality of speech-enabled applications are requesting the speech focus the default focus receiver obtains the speech focus;
detecting a speech processing event occurrence requiring an allocation of at least a portion of the shared speech processing resources;
if the waiting queue does not include requests from any of the plurality of speech-enabled applications, determining whether the default focus receiver comprises an event handler having override behavior for occurrence of the speech processing event;
performing at least one speech processing action in accordance with machine-readable instructions of the event handler if the event handler is determined to have override behavior for occurrence of the speech processing event occurrence; and
performing at least one speech processing action in accordance with machine-readable instructions defining the default speech behavior if the event handler is determined not to have override behavior for occurrence of the speech processing event.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for implementing speech focus in a speech processing system can include the step of establishing a default focus receiver as a first entity to request speech focus of a speech processing system having multiple applications that share speech resources based upon speech focus. An event occurrence can be detected. An event handler of the default speech receiver can previously define behavior for the event occurrence and where default system behavior can be implemented within the speech processing system for the event occurrence. The default system behavior can be utilized when speech focus is not assigned during the event occurrence. Responsive to the event occurrence, at least one programmatic action can be performed in accordance with machine readable instructions of the event handler. The default system behavior is not implemented responsive to the event occurrence.
54 Citations
14 Claims
-
1. A method of using a speech focus to allocate speech processing resources in a speech processing system comprising at least one electronic processor, the speech processing system having a plurality of speech-enabled applications that share speech processing resources of the speech processing system, the plurality of speech-enabled applications gaining access to the speech processing resources only after obtaining the speech focus, the method comprising:
-
establishing a waiting queue adapted to order in priority requests from any of the plurality of speech-enabled applications waiting to obtain the speech focus; establishing a default focus receiver to override at least some default speech behavior of the speech processing system; placing the default focus receiver in the waiting queue at a priority level above the default speech behavior, such that when none of the plurality of speech-enabled applications are requesting the speech focus the default focus receiver obtains the speech focus; detecting a speech processing event occurrence requiring an allocation of at least a portion of the shared speech processing resources; if the waiting queue does not include requests from any of the plurality of speech-enabled applications, determining whether the default focus receiver comprises an event handler having override behavior for occurrence of the speech processing event; performing at least one speech processing action in accordance with machine-readable instructions of the event handler if the event handler is determined to have override behavior for occurrence of the speech processing event occurrence; and performing at least one speech processing action in accordance with machine-readable instructions defining the default speech behavior if the event handler is determined not to have override behavior for occurrence of the speech processing event. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system of using a speech focus to allocate speech processing resources, the system having a plurality of speech-enabled applications that share speech processing resources of the speech processing system, the plurality of speech-enabled applications gaining access to the speech processing resources only after obtaining the speech focus, the system comprising:
at least one processor configured to perform the following steps; establishing a waiting queue adapted to order in priority requests from any of the plurality of speech-enabled applications waiting to obtain the speech focus; establishing a default focus receiver to override at least some default speech behavior of the speech processing system; placing the default focus receiver in the waiting queue at a priority level above the default speech behavior, such that when none of the plurality of speech-enabled applications are requesting the speech focus the default focus receiver obtains the speech focus; detecting a speech processing event occurrence requiring an allocation of at least a portion of the shared speech processing resources; if the waiting queue does not include requests from any of the plurality of speech-enabled applications, determining whether the default focus receiver comprises an event handler having override behavior for occurrence of the speech processing event; performing at least one speech processing action in accordance with machine-readable instructions of the event handler if the event handler is determined to have override behavior for occurrence of the speech processing event occurrence; and performing at least one speech processing action for generating a speech-based system output in accordance with machine-readable instructions defining default speech behavior if the event handler is determined not to have override behavior for occurrence of the speech processing event. - View Dependent Claims (11, 12, 13)
-
14. At least one non-transitory computer readable storage medium encoded with a plurality of instructions that, when executed on at least one processor, perform a method of using a speech focus to allocate speech processing resources in a speech processing system having a plurality of speech-enabled applications that share the speech processing resources of the speech processing system, the plurality of speech-enabled applications gaining access to the speech processing resources only after obtaining the speech focus, the method comprising:
-
establishing a waiting queue adapted to order in priority requests from any of the plurality of speech-enabled applications waiting to obtain the speech focus; establishing a default focus receiver to override at least some default speech behavior of the speech processing system; placing the default focus receiver in the waiting queue at a priority level above the default speech behavior, such that when none of the plurality of speech-enabled applications are requesting the speech focus the default focus receiver obtains the speech focus; detecting a speech processing event occurrence requiring an allocation of at least a portion of the shared speech processing resources; if the waiting queue does not include requests from any of the plurality of speech-enabled applications, determining whether the default focus receiver defines override behavior for occurrence of the speech processing event; performing at least one speech processing action in accordance with machine-readable instructions defined by the default focus receiver if the default focus receiver is determined to have the override behavior for occurrence of the speech processing event occurrence; and performing at least one speech processing action in accordance with machine-readable instructions defining default speech behavior if the default focus receiver is determined not to have the override behavior for occurrence of the speech processing event.
-
Specification