Users may configure electronic devices such as smart phones to provide the users with reminders and other notifications. These reminders and notifications are often triggered by a date and/or time associated with a calendar event and/or task. For example, a user may create a calendar entry for a “meeting” at 2:30 on Friday. The user's phone may provide a reminder, e.g., in the form of audio and/or visual notification, at the time of the meeting or at some predetermined time interval before the meeting. Some users may desire notifications in response to cues other than date and/or time-based triggers.
This specification is directed generally to methods and apparatus for determining co-presence of a user with one or more other individuals using audible sounds. The audible sounds may be captured by, for instance, the user's mobile device. One or more actions may be selected that include triggers based on a determination of co-presence of the user with the one or more individuals. The selected actions may be invoked, e.g., a notification may be provided to the user, e.g., using the user's mobile device, in response to a determination of co-presence made based on the captured audible sounds.
In some implementations, a method is provided that includes the steps of: receiving audio information from a client device of a user, the audio information based on sensing of one or more audible sounds by the client device; identifying one or more voice profiles, wherein each of the voice profiles is associated with an individual and indicates one or more voice characteristics of the associated individual; determining at least a given voice profile of the one or more voice profiles matches the audio information; determining co-presence of the user with at least the individual associated with the given voice profile based on determining the given voice profile matches the audio information; identifying an action that includes a trigger based on co-presence of the user and the individual associated with the given voice profile; and invoking the action based on the determined co-presence of the user with at least the individual associated with the given voice profile.
These methods and other implementations of technology disclosed herein may each optionally include one or more of the following features.
The action may be a reminder of the user. The step of determining the co-presence of the user with at least the individual associated with the given voice profile may be further based on one or more additional indications of co-presence of the user with at least the individual associated with the given voice profile. The method may further include the steps of: identifying user location information associated with the user; and determining the additional indications of co-presence based on the user location information. The method may further include the steps of: identifying individual location information associated with the individual associated with the given voice profile; and determining the additional indications of co-presence based on comparison of the user location information and the individual location information.
The method may further include the steps of: phonetically analyzing the audio information to determine one or more terms of the audible sounds sensed by the client device; and determining the additional indications of co-presence based on the one or more terms.
The method may further include the steps of: identifying one or more signals indicative of potential co-presence of the user with one or more individuals; wherein the step of receiving the one or more audible sounds by the client device may be triggered in response to identifying the one or more signals. The method may further include the steps of: providing an audio information request to the client device based on identifying the one or more signals; and receiving the audio information from the client device in response to the audio information request. The one or more signals indicative of potential co-presence of the user with one or more individuals may be identified at the client device. The one or more signals may include one or more contextual signals indicative of one or more of a location of the user, an activity of the user, a current time, and a current date.
Each of the voice profiles may be associated with an authorization permitting access by the user. The audio information may include an abstraction of the audible sounds sensed by the client device. The step of determining at least the given voice profile matches the audio information may include the step of determining similarity between the one or more voice characteristics of the given voice profile and the audio information.
The step of identifying the action that includes the trigger based on co-presence of the user and the individual associated with the given voice profile may include the steps of: identifying the trigger based on co-presence of the user and a class of individuals; and determining the individual associated with the given voice profile is a member of the class of individuals.
Other implementations may include a non-transitory computer readable storage medium storing instructions executable by a processor to perform a method such as one or more of the methods described above. Yet another implementation may include a system including memory and one or more processors operable to execute instructions, stored in the memory, to perform a method such as one or more of the methods described above.
It should be appreciated that all combinations of the foregoing concepts and additional concepts described in greater detail herein are contemplated as being part of the subject matter disclosed herein. For example, all combinations of claimed subject matter appearing at the end of this disclosure are contemplated as being part of the subject matter disclosed herein.
A user may interact with knowledge system 102 via client device 106 and/or other computing systems (not shown). Client device 106 may be a computer coupled to the knowledge system 102 through one or more networks 110 such as a local area network (LAN) or wide area network (WAN) such as the Internet. The client device 106 may be, for example, a desktop computing device, a laptop computing device, a tablet computing device, a mobile phone computing device, a computing device of a vehicle of the user (e.g., an in-vehicle communications system, an in-vehicle entertainment system, an in-vehicle navigation system), or a wearable apparatus of the user that includes a computing device (e.g., a watch of the user having a computing device, glasses of the user having a computing device). Additional and/or alternative client devices may be provided. While the user likely will operate a plurality of computing devices, for the sake of brevity, examples described in this disclosure will focus on the user operating client device 106.
Client device 106 may operate one or more applications and/or components which may relate to provision of notifications to users, as well as provide various types of signals. These application and/or components may include but are not limited to a microphone 107, output device 109, position coordinate component, such as a global positioning system (“GPS”) component 111, a calendar component 113, and so forth. In some instances, one or more of these applications and/or components may be operated on multiple client devices operated by the user. Other components of client device 106 not depicted in
In some implementations, output device 109 may include one or more of a speaker (or speakers), a screen, a touch screen, one or more notification lights (e.g., light-emitting diodes), a printer, and so forth. As will be described herein, in some implementations output device 109 may be used to render, e.g., as output, one or more notifications in response to a determination of co-presence between a user and one or more other individuals. Also, in some implementations output device 109 may be used to provide output based on one or more other actions invoked in response to a determination of co-presence such as actions of opening an app, playing a song, sending an e-mail or text message, taking a picture, etc.
Client device 106 and knowledge system 102 each include one or more memories for storage of data and software applications, one or more processors for accessing data and executing applications, and other components that facilitate communication over a network. The operations performed by client device 106 and/or knowledge system 102 may be distributed across multiple computer systems. Knowledge system 102 may be implemented as, for example, computer programs running on one or more computers in one or more locations that are coupled to each other through a network.
In some implementations, client device 106 may be configured to sense one or more audible sounds, e.g., using microphone 107, and may provide audio information based on the sensed one or more audible sounds (also referred to as “audio input”) to various other components. Those other components, examples of which are described in more detail below, may perform various operations based on the audio information to identify one or more voice profiles, associated with one or more individuals, that match the audio information. In various implementations, audio information may include: a raw recording of one or more individuals that are speaking; a compressed version of a recording; indications of one or more features of audio input obtained via microphone 107 of client device 106 such as pitch, tone, frequencies, and/or volume; and/or a transcript of audio input obtained via microphone 107.
In various implementations, knowledge system 102 may include a voice profile engine 120, a term association engine 122, a co-presence engine 124, and/or an action engine 126. In some implementations one or more of engines 120, 122, 124, and/or 126 may be omitted. In some implementations all or aspects of one or more of engines 120, 122, 124, and/or 126 may be combined. In some implementations, one or more of engines 120, 122, 124, and/or 126 may be implemented in a component that is separate from knowledge system 102. In some implementations, one or more of engines 120, 122, 124, and/or 126, or any operative portion thereof, may be implemented in a component that is executed by client device 106.
Voice profile engine 120 may be configured to match audio information, e.g., received from client device 106, to at least one voice profile in an index 121 of voice profiles. In various implementations, a “voice profile” may include voice information about an associated individual that may be utilized to determine whether audio information includes the voice of the individual. In some implementations, a voice profile may indicate one or more voice characteristics of an associated individual. In some implementations, a voice profile may be a spectrogram of a voice, also known as a “voiceprint.”
In some implementations, an individual may provide permission for one or more other users to access and/or utilize a voice profile for the individual. For example, an individual may provide one or more users with access to an associated voice profile and may not provide one or more other users with access to the same associated voice profile. In some implementations, voice profiles may include voice identification information for an individual and include, or otherwise be associated with, one or more additional attributes of the associated individual. For example, a voice profile of an individual may include one or more names of the individual, a relationship between the individual and the user, and/or one or more locations that are associated with the individual.
In various implementations, voice profile engine 120 may determine a voice profile that matches audio information, e.g., received from client device 106, based on similarity between the audio information and voice profiles of individuals contained in index 121. In some implementations, a matching voice profile may be determined based on similarities between the audio information and audio characteristics that are included in the voice profiles of the individuals. In various implementations, voice profile engine 120 may employ a variety of speaker recognition techniques to match audio information to one or more voice profiles. These techniques may include but are not limited to frequency estimation, hidden Markov models, Gaussian mixture models, pattern matching algorithms, neural networks, matrix representation, vector quantization, decision trees, as well as “anti-speaker” techniques such as cohort models, world models, and so forth.
In some implementations, audio information may undergo various levels of preprocessing prior to being matched by voice profile engine 120 to one or more voice profiles. This preprocessing may, in some instances, facilitate more efficient voice recognition, e.g., by voice profile engine 120. In various implementations, the preprocessing may be performed by client device 106 or by another component, such as a component of knowledge system 102. In some implementations, voice profile engine 120 itself may preprocess the audio information.
As a non-limiting example of pre-processing, audio information may be initially captured, e.g., by microphone 107 of client device 106, as raw data (e.g., in “lossless” form such as a way file or “lossy” form such as an MP3 file). This raw data may be preprocessed, e.g., by client device 106 or one or more components of knowledge system 102, to extract various information to facilitate voice recognition. In various implementations, this extracted information, which may include an abstraction of audible sounds sensed by client device 106, may serve as “distilled” audio data (with the raw data being discarded or otherwise ignored), or may be used to annotate the raw data. In various implementations, voice profile engine may compare the audio sound abstraction or annotations to one or more characteristics of a voice profile, rather than the originally captured audio information.
As a supplement or alternative to voice profile engine 120, term association engine 122 may maintain an index 121 of terms (e.g., words or phrases) that may be associated with particular individuals that may be available, in whole or in selective part, to various components of knowledge system 102. In various implementations, term association engine 122 may be configured to utilize various speech recognition techniques (e.g., hidden Markov models, dynamic time warping, neural networks, etc.) to phonetically analyze audio information, e.g., provided by client device 106, to determine one or more spoken terms. Term association engine 122 may then perform various actions based on those terms. For example, term association engine 122 may identify one or more individuals that are associated with the identified terms. Term association engine 122 may utilize various resources to associate one or more terms with one or more individuals, including but not limited to contacts, social networks, and so forth.
Suppose a user's phone captures speech of an individual. The individual may use various terms, such as his name or alias, his hobbies, other people's names or nicknames, other people's hobbies, or a favorite catch phrase, that term association engine 122 may associate with an identity of that individual or another. For instance, suppose a user's phone detects one individual posing a question to another individual, such as “Tomas, can you hand me that remote?” The user's phone may provide audio information to term association engine 122, which may identify the term “Tomas” and associate it with a contact of the user named Tomas.
Co-presence engine 124 may be configured to determine co-presence of a user with an individual associated with a voice profile based on a determination, e.g., by voice profile engine 120, that the voice profile matches audio information, e.g., received by client device 106 operated by the user. In some implementations, co-presence engine 124 may further based its determination on one or more additional indications of co-presence of a user with an individual associated with a matched voice profile. As one example, user location information associated with the user may be identified, e.g., using GPS 111 and/or using other hardware or techniques such as those based on cell tower signals, Wi-Fi signals, etc. One or more aspects of the user's location, such as whether it meets particular criteria, may be used as additional indications of co-presence. For instance, co-presence engine 124 may determine that a user is co-present with another individual where the user's GPS coordinates are sufficiently proximate to GPS coordinates obtained from a mobile device operated by the other individual. As another example additional indication of co-presence, in some implementations, terms identified by term association engine 122 may be used to corroborate co-presence.
Action engine 126 may maintain an index 127 of actions, such as audio and/or visual reminders or other similar notifications. In various implementations an action may be associated with or include a trigger that causes action engine 126 to invoke the action (e.g., to provide the notification when the action is a notification). In some implementations, the trigger may be based on co-presence of a user and another individual associated with a voice profile matched by voice profile engine 120. In various implementations, action engine 126 may be configured to invoke the action based on the determined co-presence of the user with at least the individual associated with the given voice profile. In some implementations, action engine 126 and/or index 127 may be implemented in whole or in part on client device 106. For example, a user may operate client device 106 to create various notifications the user would like to receive in response to various events, such as occurrence of a selected date/time, arrival at a particular location (e.g., “remind me to do laundry when I get home”), or a determination of co-presence of the user with one or more other individuals (or classes of individuals, e.g., “remind me to collect dues when co-present with a member of our club”). Also, for example, client device 106 may invoke additional and/or alternative actions in response to various events, such as occurrence of a selected date/time, arrival at a particular location, or a determination of co-presence of the user with one or more other individuals. For example, based on co-presence of the user with one or more other individuals, client device 106 may open an app, may play a song (e.g., happy birthday when co-presence is detected with an individual with a birthday), may send an email or text message (e.g., to an individual when co-presence is detected with one or more other individuals), and/or take a picture.
In this specification, the term “database” and “index” will be used broadly to refer to any collection of data. The data of the database and/or the index does not need to be structured in any particular way and it can be stored on storage devices in one or more geographic locations. Thus, for example, the indices 121, 123, and/or 127 may include multiple collections of data, each of which may be organized and accessed differently.
In various implementations, action engine 126 may additionally or alternatively be configured to identify a notification (or other action) that includes a trigger based on co-presence of the user and a class of individuals. For example, action engine 126 may determine that an individual associated with a voice profile matched by voice profile engine 120 to audio information is a member of a class of individuals (e.g., teammates, co-workers, friends, colleagues, etc.). Based on that determination, action engine 126 may identify and/or provide one or more notifications to the user that is appropriate given the user's presence with a member of the class (or invoke another action that is appropriate).
For instance, a user may configure client device 106 to provide a notification (e.g., a text message or notification, “don't forget to collect yearly dues”) whenever the user is co-present with any member of the user's club or organization. To this end, client device 106 and/or knowledge system 102 may store identifying information about members of the user's club or organization in various locations. Voice profiles associated with the members may be stored in index 121. Additionally or alternatively, terms used by or otherwise associated with the members may be stored in index 123. When co-presence engine 124 determines co-presence of the user with an individual having an associated voice profile stored in index 121, action engine 126 may determine whether that individual associated with that voice profile is also a member of the user's club or organization. If so, action engine 126 may provide the user with a notification that is pertinent to how the user interacts with any member of the club or organization.
In various implementations, action engine 126 may identify an action with multiple triggers. This action may be invoked when any one of the triggers is satisfied (e.g., when the user is co-present with the individual or when the user is at a particular location), or when all triggers have been satisfied (e.g., when the user is co-present with the particular individual at the particular location).
In instances where speech 250 is captured by client device 106, constantly operating microphone 107 may drain a battery (not depicted) of client device 106. Accordingly, in various implementations, microphone 107 may be activated, e.g., by client device 106, in response to various signals, such as events and/or stimuli. Some of these signals may be indicative of potential co-presence of the user with one or more individuals. These signals may be identified, e.g., by client device 106 or knowledge system 102, and may trigger activation of microphone 107 to record speech 250.
For instance, in some implementations, knowledge system 102 may identify one or more signals indicative of potential co-presence of the user with one or more individuals (e.g., the user has a meeting with another individual), and may provide an audio information request to client device 106 in response. That audio information request may cause client device 106 to activate microphone 107, so that microphone 107 may capture speech 250. In other implementations, client device 106 itself may identify the one or more signals indicative of potential co-presence of the user with one or more individuals. For instance, client device 106 may utilize one or more contextual signals indicative of an activity of the user to determine that the user is potentially co-present with one or more individuals. For instance, if the user's client device 106 determines, e.g., from calendar 113, that the user is scheduled to be at soccer practice, the user's client device 106 may activate microphone 107 to capture speech 250. In yet other implementations, microphone 107 may be manually activated by a user, e.g., using voice-activation or by simply pressing a button or graphical element rendered on a touch screen. In some implementations, other signals that may or may not be indicative of co-presence may also trigger activation of microphone, such as a user operating one or more applications on client device 106 (e.g., updating a social network status, drafting a text or email, surfing the web, etc.).
In some implementations, audio information captured at client device 106 (or elsewhere) may be provided to voice profile engine 120. As described above, voice profile engine 120 may utilize various speaker recognition techniques to identify one or more voice profiles that match the audio information. Voice profile engine 120 may provide various types of information as output. In some implementations, voice profile engine 120 may provide an indication of one or more identities of one or more individuals associated with one or more voice profiles matched by voice profile engine 120 with audio information representing speech 250.
In some implementations, audio information captured at client device 106 (or elsewhere) may be additionally or alternatively be provided to term association engine 122. As described above, term association engine 122 may utilize various speech recognition techniques to identify one or more terms contained in speech 250. Term association engine 122 may associate those identified terms with one or more individuals, and may provide as output an indication of those associated individuals.
As indicated by the double-headed arrow between them, in various implementations, each of voice profile engine 120 and term association engine may use output of the other to corroborate its own conclusions. For instance, voice profile engine 122 may identify a particular speaker with an associated level of confidence (e.g., as a percentage and/or a value along a range). Output from term association engine 122 indicating that one or more spoken terms in speech 250 is also associable with the particular speaker may raise the level of confidence associated with voice profile engine 120's conclusion. On the other hand, output from term association engine 122 indicating that one or more spoken terms in speech 250 is associable with a different speaker may not affect, or even reduce, the level of confidence associated with voice profile engine 120's conclusion. In some instances, output from term association engine 122 may even contradict voice profile engine 120's conclusion; in such case, a level of confidence associated with voice profile engine 120's conclusion may be reduced.
Output from voice profile engine 120 and/or term association engine 122 may be utilized by co-presence engine 124 to determine co-presence of a user with an individual. For example, co-presence engine 124 may determine co-presence between the user and an individual associated with a voice profile matched by voice profile engine 120 to audio information. As another example, co-presence engine 124 may determine co-presence between the user and an individual identified by term association engine 122 as being associated with one or more terms identified in speech 250. Co-presence engine 124 may output, in various forms, an indication of co-presence of the user with one or more individuals.
Action engine 126 may obtain output of co-reference engine 124 and, based on that output, select, from a plurality of notifications, one that includes a trigger based on co-presence of the user and an individual. Action engine 126 may then cause the selected notification to be provided to a user. For example, action engine 126 may send a “render notification” instruction to client device 106 to cause client device to render the notification using output 109. Or, if action engine 126 is part of client device 106, action engine 126 may simply cause client device 106 to render output using output device 109. As noted above, output device 109 may come in various forms, and therefore, the notification may be rendered in various audio and/or visual forms. For instance, a user may be provided with a pop-up notification on a touch screen of client device 106, or client device 106 may render an audible tone or other sound to serve to remind the user of something. As also noted above, in some implementations action engine 126 may invoke additional or alternative actions besides notifications.
At block 302, the system may identify one or more signals that may be indicative of potential co-presence of a user with one or more individuals. As noted above, these signals may come in various forms, such as calendar appointments (and dates/times associated therewith), location (e.g., determined using GPS component 111), ambient noises, wireless communications (e.g., near field communication (“NFC”) received at client device 106 when user passes NFC tag at entryway of building), visual cues (e.g., reading of QR code), other contextual cues (e.g., temperature reading, one or more gestures or motions made with client device 106), user operation of one or more applications (e.g., updating social network status, sending email, talking on phone, recording video, taking picture, etc.) on client device 106, and so forth. These signals may be identified by client device 106 or by knowledge system 102.
At block 304, the system may activate or cause activation of a pressure wave sensor, such as microphone 107 on client device 106, in response to identification of the one or more signals at block 302. If the signal was identified by client device 106, client device 106 may simply activate microphone 107. If the signal was identified by knowledge system 102, a component of knowledge system 102 may provide an audio information request to client device 106. Client device 106 may respond by activating microphone 107.
At block 306, the system may receive audio information based on sensing of audible sound(s), e.g., by microphone 107 of client device 106. As noted above, this audio information may be represented in various forms, including raw audio data, annotated audio data, abstractions of one or more features of captures audible sound(s), and so forth. At block 308, the system may identify one or more voice profiles that are associated with one or more individuals. At block 310, the system may determine whether any of the voice profiles identified at block 308 match the audio information received at block 306.
Assuming there is at least one match, at block 312, the system may determine co-presence of the user with one or more individuals associated with the one or more voice profiles matched to the audio data at block 310. In some implementations, the system may consider additional signals to determine co-presence. For example, at block 314, the system may associate one or more terms identified in speech (e.g., by term association engine 122) with one or more individuals. As another example, at block 316, the system may identify a location of the user and/or a location of one or more individuals, e.g., those individuals associated with voice profiles matched at block 310. These additional signals may corroborate and/or raise a confidence measure associated with a co-presence determined at block 312.
At block 318, the system may identify one or more notifications, e.g., in index 127, that have triggers based on co-presence of the user with one or more individuals. As described herein, in some implementations the system may identify one or more actions that are in addition to, or as an alternative, to one or more notifications. At block 320, the system may provide one or more of the notifications identified at block 318 to the user based on the co-presence of the user with one or more individuals determined at block 312. As described herein, in some implementations the system may invoke additional or alternative actions besides notifications.
User interface input devices 422 may include a keyboard, pointing devices such as a mouse, trackball, touchpad, or graphics tablet, a scanner, a touchscreen incorporated into the display, audio input devices such as voice recognition systems, microphones, and/or other types of input devices. In general, use of the term “input device” is intended to include all possible types of devices and ways to input information into computer system 410 or onto a communication network.
User interface output devices 420, which in some implementations may correspond to output device 109 in
Storage subsystem 424 stores programming and data constructs that provide the functionality of some or all of the modules described herein. For example, the storage subsystem 424 may include the logic to perform selected aspects of method 300, as well as one or more of the operations performed by voice profile engine 120, term association engine 122, co-presence engine 124, action engine 126, and so forth.
These software modules are generally executed by processor 414 alone or in combination with other processors. Memory 425 used in the storage subsystem 424 can include a number of memories including a main random access memory (RAM) 430 for storage of instructions and data during program execution and a read only memory (ROM) 432 in which fixed instructions are stored. A file storage subsystem 426 can provide persistent storage for program and data files, and may include a hard disk drive, a floppy disk drive along with associated removable media, a CD-ROM drive, an optical drive, or removable media cartridges. The modules implementing the functionality of certain implementations may be stored by file storage subsystem 426 in the storage subsystem 424, or in other machines accessible by the processor(s) 414.
Bus subsystem 412 provides a mechanism for letting the various components and subsystems of computer system 410 communicate with each other as intended. Although bus subsystem 412 is shown schematically as a single bus, alternative implementations of the bus subsystem may use multiple busses.
Computer system 410 can be of varying types including a workstation, server, computing cluster, blade server, server farm, or any other data processing system or computing device. Due to the ever-changing nature of computers and networks, the description of computer system 410 depicted in
In situations in which the systems described herein collect personal information about users, or may make use of personal information, the users may be provided with an opportunity to control whether programs or features collect user information (e.g., information about a user's social network, social actions or activities, profession, a user's preferences, or a user's current geographic location), or to control whether and/or how to receive content from the content server that may be more relevant to the user. Also, certain data may be treated in one or more ways before it is stored or used, so that personal identifiable information is removed. For example, a user's identity may be treated so that no personal identifiable information can be determined for the user, or a user's geographic location may be generalized where geographic location information is obtained (such as to a city, ZIP code, or state level), so that a particular geographic location of a user cannot be determined. Thus, the user may have control over how information is collected about the user and/or used.
While several implementations have been described and illustrated herein, a variety of other means and/or structures for performing the function and/or obtaining the results and/or one or more of the advantages described herein may be utilized, and each of such variations and/or modifications is deemed to be within the scope of the implementations described herein. More generally, all parameters, dimensions, materials, and configurations described herein are meant to be exemplary and that the actual parameters, dimensions, materials, and/or configurations will depend upon the specific application or applications for which the teachings is/are used. Those skilled in the art will recognize, or be able to ascertain using no more than routine experimentation, many equivalents to the specific implementations described herein. It is, therefore, to be understood that the foregoing implementations are presented by way of example only and that, within the scope of the appended claims and equivalents thereto, implementations may be practiced otherwise than as specifically described and claimed. Implementations of the present disclosure are directed to each individual feature, system, article, material, kit, and/or method described herein. In addition, any combination of two or more such features, systems, articles, materials, kits, and/or methods, if such features, systems, articles, materials, kits, and/or methods are not mutually inconsistent, is included within the scope of the present disclosure.