# Patent

## Title
Treatment processing of a plurality of streaming voice signals for determination of a responsive action thereto

## Abstract

Streaming voice signals, such as might be received at a contact center or similar operation, are analyzed to detect the occurrence of one or more unprompted, predetermined utterances. The predetermined utterances preferably constitute a vocabulary of words and/or phrases having particular meaning within the context in which they are uttered. Detection of one or more of the predetermined utterances during a call causes a determination of response-determinative significance of the detected utterance(s). Based on the response-determinative significance of the detected utterance(s), a responsive action may be further determined. Additionally, long term storage of the call corresponding to the detected utterance may also be initiated. Conversely, calls in which no predetermined utterances are detected may be deleted from short term storage. In this manner, the present invention simplifies the storage requirements for contact centers and provides the opportunity to improve caller experiences by providing shorter reaction times to potentially problematic situations.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The instant application is related to co-pending applications having application Ser. No. 12/470,592 and application Ser. No. 12/470,614, filed on even date herewith.
FIELD OF THE INVENTION
The instant disclosure relates generally to techniques for the processing of a plurality of streaming voice signals and, in particular, to techniques for determining responsive actions thereto.
BACKGROUND OF THE INVENTION
Contact centers (or call centers) are well known in the art for the purpose, among others, of handling on behalf of organizations large volumes of incoming requests, complaints, queries, etc. from customers or other interested parties (collectively referred to hereinafter as “callers”). While such communications may be received in contact centers via a variety of channels (e.g., email, short message service, post, etc.), a large percentage are often received in the form of voice signals, e.g., telephone calls, placed to the contact center.
Historically, contact centers have recorded their caller interactions for both compliance and quality purposes. Compliance refers to certain legal/regulatory requirements to record calls for verification in the future, e.g., all online financial transactions in a bank could be recorded. In a similar vein, quality refers to those actions need to ensure that contact center agents at least meet minimum standards. Typically, contact centers randomly record approximately 3%-4% of their incoming calls (with the exception of agencies that have to record 100% for compliance purposes). Storage of even this small percentage of calls can be costly, and identifying issues or problems within such stored calls can be like “finding a needle in a haystack”. Additionally, since the analysis of the calls is done after the fact, contact centers lose the opportunity to address problem issues when they occur, i.e., when the customer interaction is taking place. Further still, additional costs are incurred trying to make amends for the problems that have occurred and that are identified—in certain situations, the damage may already be done (e.g., mistrust by the caller has developed, loss of customer loyalty, etc.).
Thus, it would be advantageous to provide techniques that overcome these limitations of the prior art.
SUMMARY OF THE INVENTION
The instant disclosure describes techniques for processing voice signals in order to determine the need to save such voice signals for subsequent analysis, and to preferably deploy one or more responsive actions while such voice signals are still being received. As described herein, streaming voice signals, such as might be received at a contact center or similar operation, are analyzed to detect the occurrence of one or more unprompted, predetermined utterances. The predetermined utterances preferably constitute a vocabulary of words and/or phrases having particular meaning within the context in which they are uttered. For example, certain words or phrases may be of particular importance during calls in which a potential customer is requesting information about goods or services, whereas wholly different words or phrases may be of importance during an emergency call for assistance. The detection of one or more of the predetermined utterances during a call causes a determination of response-determinative significance of the detected utterance. Based on the response-determinative significance of the detected utterance, a responsive action may be further determined. Additionally, long term storage of the call corresponding to the detected utterance may also be initiated. Conversely, calls in which no predetermined utterances are detected may be deleted from short term storage. In this manner, the present invention simplifies the storage requirements for contact centers and provides the opportunity to improve caller experiences by providing shorter reaction times to potentially problematic situations.



BRIEF DESCRIPTION OF THE DRAWINGS
The features described in this disclosure are set forth with particularity in the appended claims. These features and attendant advantages will become apparent from consideration of the following detailed description, taken in conjunction with the accompanying drawings. One or more embodiments are now described, by way of example only, with reference to the accompanying drawings wherein like reference numerals represent like elements and in which:
FIG. 1 is a schematic block diagram of a system in accordance with various embodiment described herein;
FIG. 2 is a schematic block diagram of an apparatus suitable for implementing various embodiments described herein;
FIG. 3 is a block diagram illustrating an implementation of a recognizer in accordance with an embodiment described herein;
FIG. 4 is a block diagram illustrating an implementation of a treatment processor in accordance with an embodiment described herein;
FIG. 5 is a flowchart illustrating system-level processing in accordance with an embodiment described herein;
FIG. 6 is a flowchart illustrating processing performed by a recognizer in accordance with an embodiment described herein; and
FIG. 7 is a flowchart illustrating processing performed by a treatment processor in accordance with an embodiment described herein.



DETAILED DESCRIPTION OF THE PRESENT EMBODIMENTS
Referring now to FIG. 1, a system 100 in accordance with the various embodiments described herein is illustrated. In particular, the system 100 comprises a plurality of communication devices 102 operably coupled to a contact center 104 via intervening networks 106, 108. Generally, the communication devices 102 may comprise any devices capable of transmitting voice signals (when operated by a user or caller) in any convenient format over the networks 106, 108 to the contact center 104. Additionally, the communication devices 102 may be capable of providing non-voice signals, such as electronic inputs, to the contact center 104. For example, the communication devices may comprise conventional landline telephones or mobile wireless devices having the capability to generate so-called dual tone, multi-frequency (DTMF) tones or microphone-equipped computers also comprising typical user input mechanisms (e.g., keyboards, mouse and cursor, etc.) or similar devices. Preferably, the voice signals provided by the communication devices 102 are provided in a suitable digital format, although it is understood that analog signals may be employed provided that suitable analog-to-digital conversion capabilities are employed prior to analysis described below.
The communication networks may comprise any suitable networks for conveying voice (and, optionally, data) between the communication device 102 and the contact center 104. The instant disclosure is not limited by the particular implementation of the networks 106, 108. For example, two well-known types of networks are illustrated in FIG. 1—a packet-switched network 106 and a circuit-switched network 108. Examples of a suitable packet-switched network include, but are not limited to, Internet Protocol (IP)-based networks, whereas examples of circuit-switched networks include, but are not limited to, public switched telephone network (PSTN). Although illustrated separately, those of skill in the art will appreciate that such networks 106, 108 can be combined as necessary or desired. Furthermore, either wired or wireless networks, or combinations thereof, may be equally employed.
The contact center 104 preferably comprises a variety of interlinked capabilities, as shown in simplified form in FIG. 1. In particular, a voice gateway 110 receives signals from the networks 106, 108, which signals may pertain to any or all of incoming voice signals and electronic inputs as discussed below, e.g., DTMF tones, short message service (SMS) messages, email, web form data, etc. Suitable equipment for this purpose is well known to those having ordinary skill in the art. A router 112 (which, likewise, may be implemented using any suitable router hardware and/or software known to those having skill in the art) operably coupled to the voice gateway 110 routes incoming signals to the appropriate constituents within the contact center 104. As further shown, one or more communication channels 114 are provided to allow the router 112 to communicate with the various illustrated call center constituents, and to further allow such constituents to communicate with each other. The communication channels 114 may comprise any suitable network or combination of networks; in a presently preferred embodiment, networks based on the Internet Protocol (IP) suite are used. As shown, the various contact center constituents can be functionally grouped into traditional contact center equipment 116, multi-channel integration systems 118, organizational resources 120 and one or more databases 122.
The traditional contact center equipment 116 may comprise one or more interactive voice response (IVR) systems 130, one or more computer telephony integration (CTI) systems 132, IP-based private branch exchange(s) (IP-PBX) 134 and, optionally, other legacy servers 136. As known in the art, the IVR systems 130 allow callers to provide data input in response to automated prompts. CTI systems 132 integrate and/or coordinate interactions between telephone systems and computers, e.g., displaying caller information, computer controlled dialing, call center phone control, etc. The IP-PBX 134 operates as an interface between the PSTN and the contact center's internal data network, i.e., it allows voice signals to be delivered over a data network. As will be appreciated by those having skill in the art, suitable equipment of the type described above is widely available from manufacturers including, but not limited to, Avaya, Inc., Genesys Telecommunications Laboratories Inc., Nortel Networks Corp. and Cisco Systems, Inc. Finally, various other servers 136 may be provided as part of an organization's existing data networks.
Within the multi-channel integration systems 118, suitable hardware, software and management capabilities are provided for virtually any type of conventional communication channel. For example, as shown, capabilities are provided for voice mail 140, telephone 142, facsimile 144, call recorder 146, email 148, chat 150, web 152, short message service (SMS) 154 and outbound dialing 156. Using these types of systems, virtually any type of communications mode may be employed when communicating with users of the contact center 104.
As shown, the organization resources 120 comprise personnel (and any necessary supporting communication equipment, such as computers, telephones, etc.) needed to implement the specific contact center services. In particular, this includes both onsite agents 160 and remote agents 162 and their corresponding supervisors/managers 164. As known in the art, onsite agents 160 are physically co-located with the constituents 118 at one or more centralized facilities, whereas remote agents 162 are located away from the contact center facility(ies) but with remote access to the necessary constituents. In various embodiments described in greater detail below, the techniques described herein may be employed to facilitate improved handling of callers by the agents 160, 162, particularly those callers requiring greater or more specialized attention.
One or more databases 122 are also provided and made accessible via the communication channels 114. Given the volume of data that even a modestly sized contact center typically handles, the database(s) 122 are typically implemented as a so-called “server farm” comprising a plurality of suitable hardware and software server constituents co-located at one or more facilities specifically designed for maintaining such systems. Virtually any suitable server hardware and/or software components, as known to those having skill in the art, may be employed for this purpose. In embodiments described in greater detail below, both short-term storage 170 and long-term storage 172 may be employed when processing streaming voice signals. More particularly, the short-term storage 170 may be employed to temporarily store substantially all streaming voice signals (and any associated, possibly contemporaneously-received, data) received at the contact center 104. As the streaming voice signals are processed as described below, those streaming voice signals (calls) that include specific, predetermined (but unprompted) utterances may be moved to the long-term storage 172 (along with any associated data) for subsequent compliance and quality review purposes.
In one embodiment, the communication channels 114 also interconnect the various contact center constituents 116-122 with an interceptor 124, a recognizer 126 and a treatment processor 128. Each of these constituents 124-128 may be implemented using suitably programmed server hardware and/or software components as known to those of skill in the art and as described in greater detail below. Generally, the interceptor 124 operates to extract any voice signals (typically embodied as suitable network packets) from the call traffic received by the contact center 104. In a presently preferred embodiment, the interceptor 124, is connected to a port on the router 112 an operates to intercept all IP-based calls coming into the router 112, regardless of any encryption or encoding that may be applied to a given call. For each new call intercepted, a new file is opened and the call stored in the file in the short-term storage 170 as it is captured, i.e., substantially in real time. Preferably, the call is stored in the form in which it was received from the network, e.g., as IP-based network packets. Further still, each file is uniquely indexed or tagged to facilitate subsequent identification, as in the case where an indication is received from the recognizer 126 to either delete the call or move it to long-term storage 172, as described in greater detail below. Because calls are almost always duplex communications (i.e., two-way conversations), the streaming voice signal being stored and analyzed preferably includes any voice responses provided by the agent handling the call. As used herein, a streaming signal refers to the state of being substantially continuous and free-form in nature, as in the case of naturally-spoken language and in contrast to prompted or otherwise artificially-structured voice signals. Additionally, any electronic inputs (e.g., IVR data, caller ID data, etc.) that is received along with the call are stored as part of the call, i.e., in network packet form in which it is received.
The recognizer 126 implements speech recognition processing in order to detect occurrences of unprompted, predetermined utterances in streaming voice signals. As used herein, an utterance comprises a spoken word or phrase, i.e., a natural unit of spoken speech bounded by silence or pauses, as opposed to a general feature of a voice signal (e.g., one or more physical or statistical properties of the voice signal, such as formant frequencies, speech energy, statistics or rates of change thereof, etc.). Thus, a predetermined utterance is a designation of an utterance of particular interest for a given context. For example, in the context of a contact center fielding calls placed to a customer service hotline, predetermined utterance may include utterances that are indicative that a given customer is especially displeased. Thus, utterances such as “cancel my account”, “terrible”, “inadequate” may be designated as predetermined utterances. Alternatively, in the case where calls are being placed to an emergency response service, utterance such as “fire”, “trapped”, “injured”, etc. may be designated as predetermined utterances. It is understood, however, that the instant disclosure need not be limited to predetermined utterances that are indicative of a bad experience or an emergency, and could be chosen on some other basis, e.g., a customer having a good experience. The contextual uniqueness of predetermined utterances as used herein, as opposed to physical/statistical properties of voice signals, allows greater precision when determining whether to preserve voices signals for subsequent analysis and when determining how best to respond to a particular caller. That is, understanding of the actual content of a voice signal improves the accuracy, reliability and speed with which such determinations may be made than would otherwise be possible with only an understanding of the physical/statistical properties of the voice signal. Further still, greater flexibility in accommodating different context is provided through the recognition of predetermined utterances.
Regardless, the recognizer 126 performs speech recognition techniques on incoming streaming voice signals in an attempt to detect occurrences of the predetermined utterance or utterances. Generally, any suitable speech recognition technique known to those skilled in the art and capable of operating in real time or near-real time may be employed. For example, speech recognition techniques may be generally characterized two ways, techniques employing wave pattern recognition and techniques employing phoneme recognition. In the former, particular sound waves to be recognized (representative of, in the instant scenario, of the predetermined utterances) are provided as input to the recognizer 126 that subsequently attempts to compare the targeted sound waves with incoming speech waveforms in order to identify a match. In the latter, statistical analysis techniques are employed in an attempt to recognize the occurrence of smaller portions of speech (i.e., phonemes) that, when combined appropriately, are representative of the desired predetermined utterance. For example, the so-called Hidden Markov Model (HMM) approach is an example of the latter class of techniques that may be employed herein. Those having ordinary skill in the art will further appreciate that still other techniques, or combinations of techniques, may be employed without loss of generality. Indeed, it is anticipated that, as improved speech recognition techniques are developed, they may be beneficially employed in the context of the instant disclosure.
When the recognizer 126 detects a predetermined utterance, it likewise determines response-determinative significance of the detected utterance. As used herein, a response-determinative significance is an indication of why a particular detected utterance is important in a given context, which in turn informs a subsequent decision concerning how to respond, if at all. This is accomplished based on a context in which the detected utterance was identified as well as the identification of the specific detected utterance. For example, in one embodiment, tables may be employed according to certain contexts. That is, for a given context, a table of predetermined utterances and associated significances may be provided. Referring once again to the previous examples, one table may be provided for detected utterances from calls directed to a customer service hotline. In this case, each of the predetermined utterances (e.g., “cancel my account”, “terrible”, “inadequate”) may have a response-determinative significance associated therewith in the table (e.g., “requires supervisor escalation”, “likely loss of customer”, “potential loss of customer”, respectively). Alternatively, a table may be provided for detected utterances from calls directed to an emergency response service. In this case, each of the predetermined utterances (e.g., “fire”, “trapped”, “injured”) may have a different response-determinative significance associated therewith in the table (e.g., “initiate fire department contact”, “use script X”, “use script Y”, respectively). Of course, those having skill in the art will appreciate that the above-described examples are merely illustrative of the myriad context dependent possibilities that may arise in practice.
In addition to searching for occurrences of predetermined utterances and their corresponding response-determinative significance, the recognizer 126 also operates to provide indications to the interceptor 124 whether to retain or delete each of the temporarily stored streaming voice signals. Thus, in one embodiment, if one or more of the unprompted predetermined utterances are detected during a streaming voice signal, the recognizer 126 provides an indication to move the streaming voice signal from short term storage to long term storage (a save indication). On the other hand, when a streaming voice signal is discontinued (i.e., when a call is completed), the recognizer 126 may provide an indication that the streaming voice signal should be deleted from short term storage (a delete indication). It is understood that, rather than providing affirmative indications to either save or delete a streaming voice signal in short term storage, such operations could be achieved through negative indications, i.e., deleting a streaming voice signal when a save indication is not received prior to discontinuation of the streaming voice signal, or storing the streaming voice signal in long term storage when a delete indication is not received prior to discontinuation of the streaming voice signal. Regardless, the various embodiments described herein are not limited by the particular form of the save and/or delete indications, which may be selected as a matter of design choice. In an alternative embodiment, the retain/delete determination may occur not upon the detection of one or more predetermined utterances, but only after the identification of the response-determinative significance. In this manner, equivocal situations may be avoided when making the retain/delete determination.
For example, in those instances in which more than one predetermined utterance is detected during a call, the net effect of the multiple detected utterances may lead to an equivocal determination of the response-determinative significance. Building off of the previous customer service hotline example, if a caller says “I'm sorry my last payment was inadequate, I don't want you to cancel my account”, the occurrence of “inadequate” and “cancel my account” would appear to indicate that the caller is dissatisfied and wants to cancel his/her account, whereas the words “sorry” and “don't” could be interpreted otherwise. That is, clearly this example is a situation in which a placating approach is not required, even though certain keywords indicating otherwise were detected. In this situation, it is likely that no set of rules would apply (i.e., the table lookup described above would be inconclusive). In situations such as these, in one embodiment, default handling would cause the call to be stored for subsequent analysis to possibly determine a new rule for dealing with similar occurrences in the future.
The treatment processor 128 is the interface between the recognizer 126 and the other constituents 116-120 of the contact center 104. That is, based at least in part upon the data/indications provided by the recognizer 126, the treatment processor 128 determines any necessary or desired responsive action and interacts with the other constituents 116-120 (i.e., the response implementation constituents) to carry out the responsive action. To this end, the treatment processor 128 operates upon the response-determinative significances and, optionally, the detected utterances themselves, as provided by the recognizer 126. Additionally, the treatment processor 128 may operate upon other electronic inputs (e.g., IVR inputs, associated telecommunication data such as caller ID data, etc.) when determining the responsive action, as described in greater detail below.
Referring now to FIG. 2, an embodiment of an apparatus suitable for implementing any of the above-described constituents 124-128 is further illustrated. In particular, the apparatus 200 comprises one or more processing devices 202 operably coupled to at least one storage device 204. Furthermore, the processing device(s) 202 are also operably coupled to one or more interfaces 206. In one embodiment, the processing device(s) 202 may be embodied as one or more microprocessors, microcontrollers, digital signal processors, co-processors such as graphics co-processors, similar devices or combinations thereof, as know in the art. Similarly, the storage device(s) 204 may comprise any suitable media capable of being read by the one or more processing devices 202, such as volatile or non-volatile memory devices including random access memory (RAM) and/or read only memory (ROM). Examples of storage devices include, but not limited to, disc drives, solid-state memory drives, removable storage media such as magnetic or optical discs, thumb drives, etc. In one embodiment, the interface(s) 206 comprise a network interface that allows the apparatus 200 to communicate with one or more suitable communication networks, e.g., network 114. Examples of a suitable network interface include, but is not limited to, one or more Ethernet ports. Such interfaces are typically implemented using known combinations of hardware, firmware, or software. The interface(s) 206 may also include interfaces suitable for use by humans, e.g., a graphical user interface, keyboard, mouse and cursor arrangements, speakers, microphones, etc. Once again, techniques for implementing such user input/output devices are well known to those having skill in the art. As shown, the storage device(s) 204 include one or more programs (or applications) 208 as well as any operational data 210 used during execution of the one or more programs 208. In particular, the program(s) 208 comprise instructions (i.e., software object code) that may be executed by the one or more processing devices 202 to implement the functionality described herein. Techniques for developing and deploying programs in this manner are well know in the art. In a similar vein, the operational data 210 comprises any data, often transitory in nature, used by or otherwise operated upon by the program(s) 208 when being executed by the one or more processing devices 202. With these basic constituents, the processing device 200 may take any of a number of different forms, such as a desktop or laptop computer or a server computer. The present invention is not limited in this regard. Furthermore, to the extent that the apparatus 200 relies on the use of suitable programs 208 being executed by the one or more processors 202, those of skill in the art will appreciate that other implementations are equally employable as a matter of design choice. For example, at least some portion of software-implemented functionality may instead be implemented using known dedicated hardware techniques, such as application specific circuits, programmable logic arrays, etc. Again, the instant disclosure is not limited in this regard.
While the interceptor 124, recognizer 126 and treatment processor 128 have been described above as separate entities and may be implemented separately using, for example, separate computer-based platforms, those having ordinary skill in the art will appreciate that these constituents 124-128 can be implemented in combination. For example, in one embodiment, it may be desirable to implement the interceptor 124 and the recognizer 126 within a single hardware/software platform (i.e., one or more co-located server computers and associated server and application software) and, further still, in substantially proximity to (i.e., within the same local network of) the router 112. Those having ordinary skill in the art will appreciate that implementation of the interceptor 124, recognizer 126 and treatment processor 128 described herein are illustrative only and that such constituents are susceptible to a wide variety of implementations.
Referring now to FIG. 3, a specific implementation of a recognizer 126 is further illustrated. In particular, the recognizer 124 comprises a voice recognition component 302 operably coupled to a significance determination component 304 and, optionally, a conversion components 306. Using the voice recognition techniques described above, the voice recognition component 302 operates upon one or more streaming voice signals received (optionally via the conversion component 306) from a network or similar means of conveying the streaming voice signals. As will be appreciated by those of skill in the art, the voice recognition component 302 may operate on a “threaded” basis whereby multiple streaming voice signals are processed separately as individual threads or processes, each having its own continuously updated state information. Such implementations are typically limited only by the availability of sufficient processing resources to provide substantially real time processing capabilities. Alternatively, multiple voice recognition components 302 may be provided in those instances where each voice recognition component 302 is capable of handling only a single streaming voice signal. Of course, other combinations of multiple and/or single thread voice recognition components may be employed as a matter of design choice. Regardless, each streaming voice signal (corresponding to a single call and the responses of a handling agent) is uniquely assigned to a given thread (in the case of multi-threaded processing) or dedicated voice recognition component (in the case of single-thread processing) for the duration of the streaming voice signal.
As noted, the streaming voice signals provided to the voice recognition component 302 are received from a network or similar channel. Preferably, the streaming voice signals received from the network are provided in a format that facilitates their immediate analysis by the voice recognition component, i.e., digitally-represented baseband voice samples. However, it is often the case that voice signals transmitted via a network are processed and/or encapsulated to facilitate their transfer via the network. To this end, the conversion component 306 may be provided to reverse any such processing/encapsulation to provide analyzable voice signals to the voice recognition component 302.
In particular, the conversion component 306 may comprise an extraction component 308 that operates to extract the streaming voice signal from network packets. As known in the art, data (or voice signals) to be transmitted over a network often have so-called “headers” or similar information appended thereto in order assist the network equipment when routing the data from one point to another within the network according to a transport protocol. Alternatively, such encapsulation processing may also comprise channel error encoding to which, as known in the art (particularly where wireless channels are employed), helps prevent channel-induced errors from being introduced into the transmitted data. Once received at the targeted destination, such routing information is stripped from the received packets, or the error coding information applied to ensure data integrity, by the extraction component 308.
In some instances, the data transported within a network is first encrypted prior to encapsulation for transport to ensure the security of the data. To this end, a decryption component 310 may be provided to decrypt any previously encrypted data. The present disclosure is not limited by the particular encryption/decryption technique used. In a similar vein, data is often compressed prior to transmission (i.e. prior to any encryption, error encoding and/or addition of routing headers) in order to decrease the amount of data to be transmitted. In these instances, a decompression component 312 is provided to undo any prior compression. Once again, the instant disclosure is not limited by the particular compression/decompression technique employed.
As the voice recognition component 302 analyzes a given streaming voice signal, it provides various information to the significance determination component 304 depending on whether it detects any unprompted, predetermined utterances, as described above. For example, the voice recognition component 302 may provide the significance determination component 304 with state data corresponding to a given streaming voice signal. Such state data may include start and stop indications for the voice signal, as well as any detected utterances identified by the voice recognition component 302, if any. In those instances in which no detected utterances are identified after both the start and stop indications for the voice signal have been received, then the significance determination component 304 can (but not necessarily always) provide a short-term deletion indication to the interceptor 124 indicating that the streaming voice signal can be deleted from long term storage. Conversely, if one or more detected utterances are provided by the voice recognition component 302 prior to the stop indication being received, then the significance determination component 304 can provide both a response-determinative significance to the treatment processor 128 and a long term storage indication to the interceptor 124.
Referring now to FIG. 4, a specific implementation of a treatment processor 128 is further illustrated. In particular, a response determination component 402 is provided operably coupled to an input component 404, a storage component 406 and an output component 408. The response determination component 402 receives as input, at a minimum, the response-determinative significance(s) of one or more detected utterances, and optionally, the detected utterance itself as well as any electronic inputs corresponding to a given streaming voice signals, as shown. In one embodiment, these inputs are provided by one or more input components 404 that operate to receive these inputs from the recognizer 126 (in the case of the response-determinative significance(s) and detected utterance(s)) or the sources of the electronic inputs. For example, in a computer-implemented embodiment of the treatment processor 128, the input component(s) may comprise a memory-mapped register, a memory controller, interrupt routine or other suitable mechanism for receiving data. In another embodiment in which the treatment processor 128 is combined with the recognizer 126, the input component may simply comprise a suitable memory location with these inputs are stored for subsequent operation by the response determination component 402.
Regardless of the manner in which these inputs are obtained, the response determination component 402 determines a responsive action based at least upon the response-determinative significance(s) of the detected utterance(s). Once again, the determination of the responsive action will depend on the nature of the call being analyzed and the configuration of the contact center 104. For example, upon detecting any predetermined utterance indicative of an emergency (i.e., “I'm hurt”, “fire”, etc.), the responsive action could be to conference in an emergency services dispatcher or take an even more urgent action if, for example, the caller identification (or other electronic input, as noted above) indicates that the caller may be particularly vulnerable to a delayed response, e.g., a call from an elementary school or a senior citizen care facility. Alternatively, if, in a customer service call center context, predetermined utterance associated with an angry customer is detected, then the responsive action could be to transfer the call to a specialist. Further still, historical data (residing in the storage 406) may be incorporated into the determination. For example, a caller's credit score may be used to determine what type of offer he/she should be offered when a certain predetermined utterance is detected. Once again, a wide variety of other types of historical information (i.e., information that is not obtained contemporaneously with the call) may be employed for this purpose.
Once the responsive action is determined, it may be stored in the storage component 406 as part, for example, of a customer history log or the like as evidence of how interactions with the particular caller have proceeded in the past. Finally, the output component 408 takes as input the responsive action (which may, in fact, comprise multiple actions to be carried out) and provides as output an messages, control signals or the like necessary to cause response implementation components (e.g., various ones of the contact center constituents 116-120) to carry out the responsive action. The instant disclosure is not limited by the particular form of the messages employed by the output component 408 for this purpose, and those of skill in the art will appreciate that such messages may be structured as a matter of design choice.
Referring now to FIG. 5, a flow chart illustrating system-level processing is provided. In particular, the processing illustrated in FIG. 5 is preferably carried out by the interceptor 124, recognizer 126 and treatment component 128 described above. Thus, beginning at block 502, the interceptor 124 intercepts substantially all calls (i.e., streaming voice signals) coming in to the contact center 104 and temporarily stores them in short term storage. Thereafter, at block 504, the recognizer 126 analyzes a call as it is stored in short term storage, i.e., in real time or near real time (i.e., delayed by an amount of time shorter than the duration of the call itself). In the event that one or more detected utterances lead to a determination of response-determinative significance for the call (also performed at block 504), processing continues in parallel at blocks 506 and 508. At block 506, the recognizer 126 provides an appropriate indication to the interceptor 128 to move the call to long term storage, preferably, once the call has completed. Likewise, at block 508, the responsive action is determined is based on the response-determinative significance(s) of the detected utterance(s) by the treatment processor 128 at any time during or after the call.
Referring now to FIG. 6, a flow chart illustrating processing performed by the recognizer is shown. Beginning at block 602, an incoming streaming voice signal may be optionally converted to an analyzable form, as described above. Although this functionality is described herein as part of the recognizer, those of skill in the art will appreciate that such conversions could be performed by another constituent (e.g., the interceptor) prior to providing the streaming voice signal to the recognizer. Regardless, at block 604, the streaming voice signal is analyzed in accordance with the above-described methods. In practice, this is typically done by taking short samples of the streaming voice signal (e.g., 10 to 100 milliseconds worth of base band voice samples) and performing the speech recognition processing thereon. If not predetermined utterance is detected, as illustrated by block 606, processing continues at block 608 where it is determined if the end of the streaming voice signal has been reached. If not, processing continues at blocks 602 and 604 where further portions of the streaming voice signal are analyzed in this manner. If, however, the end of the voice signal is received prior to any detected utterances, processing continues at block 610 where an indication is provided to delete the streaming voice signal from the short term storage.
If one of the unprompted, predetermined utterances is detected at block 606, processing continues at block 612 where the response-determinative significance of the detected utterance is determined, as described above. Thereafter, at blocks 614 and 616 respectively, an indication of the response-determinative significance is provided, as is an indication to move the streaming voice signal into long term storage. As used herein, the indication of response-determinative significance may comprise the response-determinative significance alone or may include the detected utterance itself as well.
Finally, and with reference to FIG. 7, a flow chart illustrating processing performed by the treatment processor is shown. In particular, beginning at block 702, at least one response-determinative significance corresponding to one or more detected utterances are obtained by the treatment processor. As used herein, the treatment processor “obtains” information by either receiving it from another entity, e.g., the recognizer, or, in an alternative embodiment, directly determining it, e.g., in the case where the recognizer and the treatment processor are combined. Likewise, at blocks 704 and 706, respectively, the one or more detected utterances and/or electronic inputs may likewise be obtained by the treatment processor. Thereafter, at block 708, the treatment processor determines a responsive action based on the previously-obtained response-determinative significance, detected utterance and/or electronic inputs, as described above.
The instant disclosure describes an architecture and method for analyzing customer interactions in real-time and applying customer analytics. In this manner, substantially real time determination can be made whether to store a given streaming voice signal for subsequent quality/compliance analysis, and to determine optimal response strategies while the opportunity exists to provide the best possible caller experience. For at least these reasons, the above-described techniques represent an advancement over prior art teachings.
While particular preferred embodiments have been shown and described, it will be obvious to those skilled in the art that changes and modifications may be made without departing from the instant teachings. For example, although the example of a contact center has been used throughout this disclosure, it is understood that the teachings described herein could be equally applied in another environment in which it may be desirable, for example, to selectively store streaming voice signals. It is therefore contemplated that any and all modifications, variations or equivalents of the above-described teachings fall within the scope of the basic underlying principles disclosed above and claimed herein.

## Claims

1. A method comprising:
receiving, by a device and during a communication between a first person and a second person, a first plurality of voice signals from the first person and a second plurality of voice signals from the second person;
temporarily storing, by the device, based on intercepting the communication, and in a first storage, at least a portion of the first plurality of voice signals and at least a portion of the second plurality of voice signals;
detecting, by the device and based on the first plurality of voice signals and the second plurality of voice signals, portions of utterances included in the first plurality of voice signals or the second plurality of voice signals;
combining, by the device, the portions of utterances to generate multiple utterances;
determining, by the device and based on the multiple utterances, that particular utterances, of the multiple utterances, include significances,
the significances of the particular utterances corresponding to indications of why the particular utterances are important in a given context, and providing information about a subsequent decision concerning how to respond, and
determining that the particular utterances include significances including:
analyzing information that associates a plurality of utterances with a corresponding significance; and
determining, based on analyzing the information, that each of the particular utterances matches an utterance of the plurality of utterances;


determining, by the device, and based on the significances of the particular utterances, if a responsive action is appropriate,
the responsive action being based on a nature of the communication, based on types of the particular utterances, and corresponding to a particular action to carry out,
the responsive action being appropriate when a threshold number of the particular utterances is satisfied;

removing, automatically by the device and without user input, when the responsive action is not appropriate and prior to termination of the communication, the at least the portion of the first plurality of voice signals and the at least the portion of the second plurality of voice signals from the first storage;
moving, automatically, by the device and without user input, when the responsive action is appropriate and prior to the termination of the communication, the at least the portion of the first plurality of voice signals and the at least the portion of the second plurality of voice signals from the first storage to a second storage,
the second storage being different than the first storage; and

processing, by the device and when the responsive action is appropriate, the communication,
where processing the communication includes deploying the responsive action, prior to the termination of the communication, by:
displaying an indication of the responsive action to the second person, where the indication directs the second person to request that a third party monitor the communication substantially in real time, and
redirecting the communication to the third party.

2. The method of claim 1, where the communication is a call to a contact center.

3. The method of claim 1, where the responsive action is deployed by displaying an indication to modify at least one response of the second person to the first person.

4. The method of claim 1, where the responsive action is deployed by displaying an indication to initiate a specific response sequence for the second person.

5. The method of claim 1, where the responsive action is deployed by displaying an indication to initiate a follow-up communication to the first person subsequent to the termination of the communication.

6. The method of claim 1, where analyzing the information, associated with the plurality of utterances, includes:
using statistical analysis techniques to one of:
analyze one or more portions of the first plurality of voice signals, or
analyze one or more portions of the second plurality of voice signals.

7. An apparatus comprising:
a memory to store instructions; and
at least one processor to execute the instructions to:
receive, during a communication between a first person and a second person, a first plurality of voice signals from the first person and a second plurality of voice signals from the second person;
temporarily store, based on intercepting the communication and in a first storage, at least a portion of the first plurality of voice signals and at least a portion of the second plurality of voice signals;
detect, based on the first plurality of voice signals and the second plurality of voice signals, portions of utterances included in the first plurality of voice signals or the second plurality of voice signals;
combine the portions of utterances to generate multiple utterances;
determine, based on the multiple utterances, that particular utterances, of the multiple utterances, include significances,
the significances of the particular utterances corresponding to indications of why the particular utterances are important in a given context, and providing information about a subsequent decision concerning how to respond, and
the at least one processor, when determining that the particular utterances include significances, is to:
analyze information that associates a plurality of utterances with a corresponding significance; and
determine, based on analyzing the information, that each of the particular utterances matches an utterance of the plurality of utterances;


determine, based on the significances of the particular utterances, if a responsive action is appropriate,
the responsive action being based on a nature of the communication, based on types of the particular utterances, and corresponding to a particular action to carry out,
the responsive action being appropriate when a threshold number of the particular utterances is satisfied;

remove, automatically and without user input, when the responsive action is not appropriate and prior to termination of the communication, the at least the portion of the first plurality of voice signals and the at least the portion of the second plurality of voice signals from the first storage;
move, automatically and without the user input, when the responsive action is appropriate and prior to the termination of the communication, the at least the portion of the first plurality of voice signals and the at least the portion of the second plurality of voice signals from the first storage to a second storage,
the second storage being different than the first storage; and

process, when the responsive action is appropriate, the communication,
the at least one processor, when processing the communication, is to deploy the responsive action, prior to the termination of the communication, by:
displaying an indication of the responsive action to the second person, where the indication directs the second person to request that a third party monitor the communication substantially in real time, and
redirecting the communication to the third party.

8. The apparatus of claim 7, where the communication is a call to a contact center.

9. The apparatus of claim 7, where the responsive action is deployed by displaying an indication to modify at least one response of the second person to the first person.

10. The apparatus of claim 7, where the responsive action is deployed by displaying an indication to initiate a specific response sequence for the second person to make to the first person.

11. The apparatus of claim 7, where the responsive action is deployed by displaying an indication to initiate a follow-up communication to the first person subsequent to the termination of the communication.

12. The apparatus of claim 7, where, upon completing the processing of the communication, the at least one processor is to one of:
determine whether to delete or retain the first plurality of voice signals based on one or more predetermined utterances being detected, or
determine whether to delete or retain the second plurality of voice signals based on one or more other predetermined utterances being detected.

13. A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions which, when executed by a processor of a device, cause the processor to:
receive, during a communication between a first person and a second person, a first plurality of voice signals from the first person and a second plurality of voice signals from the second person;
temporarily store, based on intercepting the communication and in a first storage, at least a portion of the first plurality of voice signals and at least a portion of the second plurality of voice signals;
detect, based on the first plurality of voice signals and the second plurality of voice signals, portions of utterances included in the first plurality of voice signals or the second plurality of voice signals;
combine the portions of the utterances to generate multiple utterances;
determine, based on the multiple utterances, that particular utterances, of the multiple utterances, include significances,
the significances of the particular utterances corresponding to indications of whether the particular utterances are important in a given context, and providing information about a subsequent decision concerning how to respond, and
the one or more instructions, that cause the processor to determine that the particular utterances include significances, cause the processor to:
analyze information that associates a plurality of utterances with a corresponding significance; and
determine, based on analyzing the information, that each of the particular utterances matches an utterance of the plurality of utterances;


determine, based on the significances of the particular utterances, if a responsive action is appropriate,
the responsive action being based on a nature of the communication, based on types of the particular utterances, and corresponding to a particular action to carry out,
the responsive action being appropriate when a threshold number of the particular utterances is satisfied;

remove, automatically and without user input, when the responsive action is not appropriate and prior to termination of the communication, the at least the portion of the first plurality of voice signals and the at least the portion of the second plurality of voice signals from the first storage;
move, automatically and without the user input, when the responsive action is appropriate and prior to the termination of the communication, the at least the portion of the first plurality of voice signals and the at least the portion of the second plurality of voice signals from the first storage to a second storage,
the second storage being different than the first storage; and

process, when the responsive action is appropriate, the communication,
the one or more instructions, that cause the processor to process the communication, cause the processor to deploy the responsive action, prior to the termination of the communication, by:
displaying an indication of the responsive action to the second person, where the indication directs the second person to request that a third party monitor the communication substantially in real time, and
redirecting the communication to the third party.

14. The non-transitory computer-readable medium of claim 13, where the significances of the particular utterances are further based on:
first information associated with a physical location of the first person, and
second information associated with historical data describing past characteristics of the first person.

15. The non-transitory computer-readable medium of claim 13, where the responsive action is deployed by displaying an indication to modify at least one response of the second person to the first person.

16. The non-transitory computer-readable medium of claim 13, where the responsive action is deployed by displaying an indication to initiate a specific response sequence for the second person to make to the first person.

17. The non-transitory computer-readable medium of claim 13, where the responsive action is deployed by displaying an indication to initiate a follow-up communication to the first person subsequent to the termination of the communication.

18. The non-transitory computer-readable medium of claim 13, further comprising:
one or more instructions which, when executed by the processor, cause the processor to:
use statistical analysis techniques to analyze one or more portions of the first plurality of voice signals, and one or more portions of the second plurality of voice signals.

19. The non-transitory computer-readable medium of claim 13, where the communication is a call to a contact center.

20. The non-transitory computer-readable medium of claim 13, further comprising:
one or more instructions which, when executed by the processor, cause the processor to:
determine whether to delete or retain the first plurality of voice signals based on one or more predetermined utterances being detected; and
determine whether to delete or retain the second plurality of voice signals based on one or more other predetermined utterances being detected.