Control system using affective search and dialog interface
Through the combination of media robots and search systems, the problems of low control efficiency and uneven complexity of media playback equipment in the existing technology are solved, resource-efficient equipment control and user-friendly interfaces are achieved, and development costs are reduced.
Patent Information
- Application Number
- CN202410713542.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2016-09-27
- Filing Date
- 2017-09-20
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, human-machine control interfaces have problems of low efficiency and uneven complexity in the interaction of media playback devices, resulting in poor user experience and high development and maintenance costs.
Use a media robot to intercept user messages through the message interface component, determine whether it contains a playback command, and use the search system to perform domain-specific searches to generate selection control information to control the media playback device. It also provides a dialog interface component and a command buffer component to achieve user-friendliness. device control.
Enables resource-efficient control of media playback devices, reduces the need for custom language processing machinery, provides a user-friendly way to coordinate, and interact with external networks in a secure manner.
Smart Images

Figure CN118740774A_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese patent application with the application date of September 20, 2017, application number 202210244873.1, and invention name “Control system using scoped search and dialogue interface”. Background Art
[0002] Industry provides for many control mechanisms used in interacting with various equipment (such as the media playback device provided in the user's home or work environment) in local settings.For example, the user can set up a local network with a control device and one or more media playback devices (for example, loudspeaker).In operation, an authorized user can interact with the control device to select one or more media items (for example, songs) to be played back on the media playback device (for example, by calling the list of available media items, and selecting one or more items from the list).Although the above method is relatively direct, some users experience it as troublesome and inefficient.
[0003] Technical literature often describes more complex human-machine control interfaces than the mechanisms described above. However, these types of interfaces can also be expensive and time-consuming to develop, test, and maintain. And when developed, these interfaces can potentially provide uneven performance due to their increased complexity. Summary of the invention
[0004] This article describes a computer-implemented technology for controlling media playback devices (and other types of devices) in a resource-efficient manner while providing a good user experience. In a media-related implementation, the technology uses a media robot (BOT) to intercept messages entered by a user via a message interface component. The media robot then determines whether the message includes a selection control command specifying a target media item (such as a desired song) to be played by the media playback device. If such a command is detected, the media robot formulates an input query including the message. The media robot uses the search system to send the input query to the search system with instructions to perform a specific domain search.
[0005] In response to the input query, the search system generates a query response that identifies the top ranked media item (if any), and sends the query response to the media robot. The search system performs this operation by searching a curated media-specific corpus of media items. The media-specific corpus corresponds to a specific search domain that is otherwise available to the search system for a much broader universe of information.
[0006] Upon receiving the query response, the media robot generates selection command information based on the query response. The local system uses the selection control information to control the media playback device.
[0007] According to another illustrative aspect, the message interface component corresponds to a conversation interface component. The conversation interface component provides one or more instances of a collaborative user interface presentation for use by respective users in a user group (including a particular user). Users can interact with the conversation interface component to converse with each other (by formulating user-to-user messages) and to control a playback device (by formulating user-to-bot messages).
[0008] According to another illustrative aspect, the search system operates by performing pre-processing on an input query, searching a curated media-specific corpus to identify a set of media items (if any) that match the pre-processed input query, and ranking the media items in the set to generate a top-ranked media item (if any).
[0009] According to another illustrative aspect, the media robot publishes selection command information to the command buffer component. The local system obtains the selection command information from the command buffer component.
[0010] According to another illustrative aspect, technology allows a user group to control any device in a local setting via a dialog interface component with or without interaction with a search system.
[0011] By using a search system, the technique can successfully leverage pre-existing language processing mechanisms to provide an enhanced control interface without the need to develop a customized one-off language processing mechanism for use exclusively in controlling a media playback device. By using a conversational interface component, the technique provides an efficient and enjoyable way for users to coordinate among themselves to control a media playback device in a shared local setting. By using a command buffer component, a local system can interact with an external network in a secure manner.
[0012] The above techniques may be manifested in various types of systems, apparatus, components, methods, computer-readable storage media, data structures, graphical user interface presentations, articles of manufacture, and the like.
[0013] This Summary is provided to introduce a selection of concepts in a simplified form; these concepts are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 An illustrative system is shown in which one or more users can control a media playback device using a search system.
[0015] Figure 2 shows that it can be used to implement Figure 1 computing device of the system.
[0016] Figure 3 The diagram shows Figure 1 An illustrative collaborative user interface provided by the system is presented.
[0017] Figure 4 Shown by Figure 1 An illustrative flow of operations performed by various components of the system.
[0018] Figure 5 Shown as Figure 1 An implementation of a media robot with components of the system.
[0019] Figure 6 Shown for use in Figure 1 An implementation of a profile update component and an automated project selection component in a system.
[0020] Figure 7 Shown is the representation from Figure 5 The media robot's perspective Figure 1 The process of operating a system in one way.
[0021] Figure 8 Shown Figure 1 The process of operating a search system in one way.
[0022] Fig. 9 Shown Figure 6 The process of operating a function in a certain way.
[0023] Fig.10 Illustrative computing functionality is shown that may be used to implement any aspect of the features shown in the preceding figures.
[0024] The same reference numerals are used throughout this disclosure and the accompanying drawings to refer to the same components and features. Figure 1 The features initially found in the series 200 reference numerals refer to Figure 2 The features initially found in the series 300 reference numerals refer to Figure 3 The features initially found in, etc. DETAILED DESCRIPTION
[0025] The present disclosure is organized as follows. Section A describes a computer-implemented system for controlling media playback devices and other devices. Section B sets forth an illustrative method for explaining the operation of the system of Section A. And Section C describes illustrative computing functions that can be used to implement any aspect of the features described in Sections A and B.
[0026] As a preliminary content, some of the figures in the drawings describe concepts in the context of one or more structural components, which are also referred to as functions, modules, features, elements, etc. In one implementation, the various components shown in the drawings can be implemented by software running on a computer device, or other logical hardware (e.g., an FPGA device), etc., or any combination thereof. In one case, the illustrated separation of the various components in the drawings into different units can reflect the use of corresponding different physical and tangible components in an actual implementation. Alternatively or in addition, any single component illustrated in the drawings can be implemented by multiple actual physical components. Alternatively or in addition, the depiction of any two or more separated components in the drawings can reflect the different functions performed by a single actual physical component. Section C provides additional details about an illustrative physical implementation of the functions shown in the drawings.
[0027] Other drawings describe concepts in the form of flow charts. In this form, some operations are described as constituting different frames executed in a particular order. Such an implementation is illustrative and non-restrictive. Some frames described herein can be grouped together and executed in a single operation, some frames are divided into multiple component frames, and some frames can be executed in an order different from the order illustrated herein (including the parallel mode of executing the frame). In an implementation, the frame shown in the flow chart can be implemented by software running on a computer device, or other logic hardware (e.g., FPGA device), etc. or any combination thereof.
[0028] With regard to terminology, the phrase "configured to" encompasses various physical and tangible mechanisms for performing the identified operations. These mechanisms may be configured to perform the operations using, for example, software running on a computer device, or other logic hardware (e.g., an FPGA device), etc., or any combination thereof.
[0029] The term "logic" encompasses various physical and tangible mechanisms for performing tasks. For example, each operation illustrated in a flowchart corresponds to a logical component for performing that operation. Operations may be performed using, for example, software running on a computer device, or other logical hardware (e.g., an FPGA device), etc., or any combination thereof. When implemented by a computing device, a logical component represents an electrical component (i.e., a physical component of a computing system) in whatever manner that is implemented.
[0030] Any one of the storage resources described herein or any combination of storage resources can be considered as computer-readable media. In many cases, computer-readable media represents a physical entity and a tangible entity of some form. The term computer-readable media also encompasses propagation signals transmitted or received, for example, via physical conduits and / or air or other wireless media. However, the specific terms "computer-readable storage media" and "computer-readable storage media device" explicitly do not include the propagation signal itself, but include all other forms of computer-readable media.
[0031] The following explanation may identify one or more features as "optional". This statement type will not be interpreted as an exhaustive indication of features that may be considered optional; that is, other features may be considered optional despite not being explicitly identified in the text. Further, any description of a single entity is not intended to exclude the use of multiple such entities; similarly, the description of multiple entities is not intended to exclude the use of a single entity. Further, as used herein, a "set" or "subset" refers to a collection of zero, one, or more items. Further, although the description may interpret certain features as alternative ways of implementing the identified functions or realizing the identified mechanisms, features may also be combined together in any combination. Finally, the terms "exemplary" or "illustrative" refer to one implementation among potentially many implementations.
[0032] A. Prescriptive System
[0033] Figure 1 A system 102 (also referred to as a system environment) is shown in which one or more users 104 can control a media playback device 106. As will be described at the end of this section, the system 102 can also be expanded to control other devices (such as lighting devices, home security devices, etc.) within a local setting. However, in order to facilitate and simplify explanation, the system 102 will be primarily described below in the context of the device to be controlled constituting the media playback device 106.
[0034] The media playback device 16 presents the media items in the local environment. For example, the media playback device 106 can correspond to a music playback device for playing songs and other audio items, a video playback device for playing movies, etc. or any combination thereof. The local environment can correspond to any shared settings of the user 104 consuming media items. For example, the local environment can correspond to one or more rooms and / or outdoor venues of a building where the user 104 listens to the music and / or video items provided by the media playback device 106.
[0035] The users 104 interact with the system 102 via a conversation interface component 108. In one implementation, the conversation interface component 108 provides a chat-like experience via one or more instances of a collaborative user interface (UI) presentation 110. That is, each user can interact with a separate instance of the collaborative UI presentation 110 via a user computing device. Each instance of the collaborative UI presentation 110 displays a historical stream of messages entered by the user 104 during the course of the conversation. Further, at any given time instance, a user can enter a new message via his or her instance of the collaborative UI presentation 110.
[0036] The message entered by user 104 falls into at least three types of messages via dialogue interface component 104. The user enters the message of the first type under the main intention of communicating with another user in the group. For example, the first user enters the message "Does anyone want to listen to some music?" under the main intention of requesting a response from other users. The user enters the type of the second message under the main intention of indicating that media playback device 106 plays a specific media project (such as a specific song, movie, etc.). For example, the user can enter the message "play some new things of Neil Young" under the intention of indicating that media playback device 106 plays the latest song released by artist Neil Young. The user can enter the message of the third type under the intention of controlling the mode of the media project that has been selected or not yet selected by the media playback device 106. For example, the user can enter the message "turn the volume up to 8" to increase the volume of its playback media project with the indication that media playback device 106 increases.
[0037] The categories of above messages are mutually non-exclusive for various reasons.The first, the dialogue interface component 108 shows the message of all other users in the group entered by the user, even if the main intention of the message is to control the media playback device 106, rather than communicating with other users.Therefore, any message that is directed to the media playback device 106 inherently also conveys information to other users.The second, the user can deliberately create a message with at least two parts, comprising a first part that is intended to transfer information to other users, and a second part that is intended to control the media playback device 106.For example, the user can enter the message "unless anyone objects, play some Neil Young contents from Harvest Moon".The first part of this message indicates that the media playback device 106 plays the music from the specific release album of artist Neil Young.The second part of this message invites other users to object to the user's selection.
[0038] More generally, the system 102 may include any message interface component for receiving messages from at least one user. Figure 1In the embodiment of the present invention, the message interface component corresponds to the conversation interface component 108 that provides one or more instances of the collaborative UI presentation 110. However, in other implementations, the message interface component provides an input mechanism for receiving messages from users without displaying those messages to other users who are also eligible to interact with the message interface component. However, to facilitate and simplify the explanation, the following Figure 1 The message interface component will be described in the context of an implementation of , where it corresponds to the conversation interface component 108 .
[0039] Media robot 112 refers to computer automation agent. In operation, media robot 112 intercepts each message entered by a user. Media robot 112 then determines whether the message belongs to a first type of message (which mainly involves conveying information to other users), or whether the message belongs to or a second or third type of message (which mainly involves controlling media playback device 106). In the former case, media robot 112 does not take action relative to the message. In the latter case, media robot 112 initiates the process in the system 102 with the ultimate goal of controlling media playback device 106. Relative to the latter case, media robot 112 can also provide feedback to user 104 via the conversation interface component 108 that notifies user 104 of the changes that have been made or will be made for media playback device 106; alternatively or in addition, media robot 112 can request additional information from user 104 in the case of clarifying the intention of user 104 intention.
[0040] In other words, the media robot 112 analyzes each message to determine whether it is a user-to-user message or a user-to-robot message. A user-to-user message has the sole intent of conveying information to another user rather than conveying instructions to the media playback device 106. A user-to-robot message includes at least a portion having the primary intent of controlling the media playback device 106. With respect to a user-to-robot message, the media robot 112 performs the further task of determining whether it contains: a selection control command, in which the user specifies a target media item to be played by the media playback device 106; and / or a non-selection control command, which corresponds to any media control command other than a selection control command.
[0041] The following will be relative to Figure 5 Additional details are set forth regarding the operation of the media robot 112. As a preview of this explanation, the media robot 112 can discriminate among messages of the types described above by detecting triggering features (such as indicative keywords) in the message. For example, the media robot 112 can determine that a user has entered a message containing a select control command when the message contains the keyword "play".
[0042] Assume that the media robot 112 determines that a particular message entered by a user contains a selection control command. If so, the media robot 112 passes the entity of the message or a portion thereof as an input query to the search system 114. The search system 114 generates a query response that identifies zero, one, or more media items that match the input query, and then sends the query response to the media robot 112. Upon receiving the query response, the media robot 112 generates selection control information based on the query response. The selection control information conveys instructions to the media playback device 106 to play the (multiple) media items identified in the query response. The media robot 112 can also optionally send a robot-generated message to the dialogue interface component 108, which notifies the user 104 of the (multiple) media items that have been selected.
[0043] In one implementation, the search system 114 is "scoped" in that it matches an input query to a curated media-specific corpus 116 of media items, rather than a much larger universe of information 118 of result items that pertain to other domains. For example, the curated media-specific corpus 116 may pertain to a collection of songs provided by a particular network-accessible service. For example, the curated media-specific corpus 116 may correspond to any podcast service (such as the SPOTIFY service provided by Spotify Technology SA of Stockholm, Sweden). In contrast, the larger universe of information 118 of result items may correspond to all items accessible via a wide area network (such as all items accessible via the web).
[0044] The curated media-specific corpus 116 is "curated" in the sense that the provider of the corpus 116 applies one or more provider-specific rules to govern: (a) what kinds of items are stored in the corpus 116; and (b) which format or formats are used to store items in the corpus 116. For example, the provider may employ rules that specify that only media items that meet specific digital rights management (DMR) criteria are allowed to be stored in the corpus 116. Further, the provider may employ rules that specify that each media item stored is accompanied by well-defined descriptive metadata. This metadata can convey various attributes belonging to the media item, such as: one or more identifiers associated with the media item; a title belonging to the media item; an artist associated with the media item; a release date associated with the media item, a brief description of the media item, and so on. Finally, the provider may employ rules that specify that the playable content of each media item is stored in a specified format (or multiple formats).
[0045] In the case of existing providers (such as SPOTIFY), clear and highly consistent media-specific corpora already exist. In another implementation, a group of authorized individuals can create a customized media-specific corpus for a specific use of the system 102. The group can adopt standards that specify the preferred format of the media items stored by the corpus. The group can also establish an enforcement mechanism for rejecting newly submitted media items that do not conform to the preferred format.
[0046] In one case, the search system 114 is implemented using at least some of the processing resources provided by a commercially available general-purpose search engine, such as the BING search engine provided by Microsoft Corporation of Redmond, Wash. In some cases, the general-purpose search engine is initially designed and configured to perform a domain-agnostic search across all candidate result items provided in a larger universe of information 118. However, in the context of the system 102, the search system 114 is limited to matching an input query to only the curated media-specific corpus 116.
[0047] In one implementation, the media robot 112 may instruct the search system 114 to perform a scoped search (rather than a normal domain-agnostic search) by submitting instructions along with the input query to that effect. For example, the media robot 112 may provide instructions that specify that the input query is to be searched relative to a domain associated with a particular uniform resource locator (URL). For example, the media robot 112 may communicate the instructions as a parameter in an application programming interface (API) exposed by the search system 114. The system 102 responds to the instructions by performing its search operations relative to the identified corpus rather than the larger universe of information.
[0048] In another scenario, it is assumed that the media robot 112 intercepts a message containing a non-selection control command. As described above, the non-selection control command belongs to any command that controls the operation of the media playback device 106, rather than a command that selects a specific media item. In a non-limiting manner, an illustrative non-selection control command corresponds to a request to increase the volume, decrease the volume, pause playback, resume playback, stop playback, move forward in playback (e.g., by fast forwarding in playback), rewind in playback (e.g., by rewinding in playback), etc. When a non-selection control command is detected, the media robot 112 can immediately generate non-selection control information associated with the command without interacting with the search system 114. The system 102 uses the non-selection control information to control the media playback device 106. The media robot 112 can also optionally send a robot-generated message to the dialogue interface component 108, which identifies the nature of the control information that has been (or will be) sent to the media playback device 106.
[0049] In summary, the media robot 112 generates selection control information when encountering a selection control command in a message. This operation includes sending a message containing a selection control command to the search system 114. Without interacting with the search system 114, the media robot 112 generates non-selection control information when encountering a non-selection control command in a message. And when the message contains neither a selection control command nor a non-selection control command, the media robot 112 does not generate control information.
[0050] The command buffer component 120 receives instances of control information from the media robot 112 and stores those instances in the data repository 122. More specifically, assume that the system 102 assigns a particular account ID to a particular user group 104. The command buffer component 120 can store all instances of control information created by the user 104 in a particular storage space (e.g., a particular file) within the data repository 122 associated with the account ID. The command buffer component 120 can store instances of control information associated with another user group (not shown) in another storage space within the data repository 122 associated with another account ID.
[0051] The command buffer component 120 may use any security mechanism (password protection mechanism, encryption mechanism, etc.) to ensure the privacy of information stored in the data repository 122. An entity may retrieve control information from the data repository 122 only after specifying a valid account ID and submitting appropriate credentials (e.g., a valid password and / or encryption key(s) associated with the specified account ID).
[0052] In one implementation, and as in (below) Figure 2 As more fully described in , at least some of the components of system 102 are implemented by one or more remote computing systems through which users interact using corresponding user computing devices. In contrast, local system 124 corresponds to any device provided in the local environment where media items are presented to user 104 via media playback device 106. For example, local system 124 can correspond to all devices provided in one or more rooms of a building. User 104 can correspond to a group of individuals working together as a team in the building. Or user 104 can correspond to family members working together in the building, etc.
[0053] The local system 124 may include a command retrieval component 126 that obtains instances of control information from the command buffer component 120 via the computer network 128. For example, in a first implementation, the command retrieval component 126 may periodically query the command buffer component 120 (e.g., every 3 seconds). Upon each query, the command retrieval component 126 identifies the account ID and the appropriate credentials associated with the account ID. In response, the command buffer component 120 validates the query and then determines whether the data repository 122 includes any new instances of control information that have not yet been downloaded to the local system 124. Upon identifying a new instance of the command information, the command buffer component 120 forwards the new instance to the command retrieval component 126.
[0054] In a second implementation, the command buffer component 120 may proactively notify the command retrieval component 126 when any new instances of control information have been received by the media robot 112. The command retrieval component 126 may then access the new instances of control information in the manner specified above.
[0055] Both the first and second implementations involve receiving new instances in response to polling requests made by local system 124, which helps reduce the risk that malicious agents in the external network environment can gain unauthorized access to resources of local system 124. In a third implementation, however, command buffer component 120 can automatically forward new instances of control information to command retrieval component 126 without first notifying command retrieval component 126 of the arrival of those new instances.
[0056] Media controller 130 and media playback device 106 are mutually to perform each instance of control information.In some implementations, media controller 130 represents the assembly separated from media playback device 106.In other implementations, media controller 130 represents the assembly integrated into the media playback device 106.Local network 132 is coupled together with all the assemblies of local system 124.For example, local network 132 can comprise router, and it is coupled to each playback device associated with media playback device 106 with media controller 130.In an implementation, local network 132 uses universal plug and play (UPnP) protocol to coordinate the interaction in the middle of its assembly, and handles the addition and removal of the assembly from local network 132.
[0057] In the first scenario, it is assumed that a new instance of selecting control information has been received. The project ID of at least one media project is specified by the selection control information. The media controller 130 is connected to (multiple) sources of (multiple) media projects identified, and then indicates that the media playback device 106 plays (multiple) media projects. For example, in one implementation, the media controller 130 can be connected to the remote computing system associated with the specific corpus 116 of the planning media. The media controller 130 can then request the remote computing system to make the requested (multiple) media project streams associated with the (multiple) project ID specified be transferred to the local system 124, for consumption by the media playback device 106. In another implementation, the media controller 130 can be connected to the local source 134 (such as the local storage device storing (multiple) media projects) of (multiple) media projects. The media controller 130 can then request the media playback device 106 to play the (multiple) media projects obtained from the specified local source 134.
[0058] The media playback device 106 itself may include any combination of music playback devices (e.g., corresponding to one or more speakers), video playback devices (e.g., corresponding to one or more video presentation devices), etc. To cite just one example, at least one playback device may include a speaker device provided by SONOS, Inc. of Santa Barbara, California.
[0059] Referring now in more detail to the search system 114, the search system 114 may include various processing components that it uses to process any input query regardless of its origin. The system 102 utilizes these pre-existing processing components to perform the specific task of intercepting user-submitted messages containing selection control commands.
[0060] First, the search system 114 includes an index update component 136 for crawling the resources of a larger information universe 118 (e.g., corresponding to resources provided by the entire network). In doing so, the index update component 136 inherently crawls the resources provided in the curated media-specific corpus 116. The index update component 136 can crawl the network using any strategy. For example, the index update component 136 can methodically investigate the linked resources of the network using a collection of crawlers. The index update component 136 can then extract content from any new (or updated) resources it encounters. In one implementation, the search system 114 can perform its crawling operations on a periodic basis.
[0061] The index update component 136 then updates the index information provided in the index data repository 138. The index information maps the terms found in the network resources with the uniform resource locators (URLs) associated with those network resources. The index information provides a way to later identify the network resources containing the terms identified in the input query. In one case, the index update component 136 creates a conventional inverted index.
[0062] In the real-time stage of operation, the interface component (not shown) receives new input queries from an actual user or a media robot 112. In the case of a media robot 112, the input query comprises a message entered by the user that contains a selection control command, such as the message "I want to play pop songs by Neil Diamond." The interface component also receives an instruction that the input query is to be searched against a media-specific corpus 116 rather than a larger universe of information 118.
[0063] The query preprocessing component 140 performs preprocessing on the input query to generate a preprocessed input query. Preprocessing can include any combination of operations, including but not limited to: tokenization, parsing analysis, spelling correction, stemming, synonym expansion, stop word removal, named entity recognition, semantic analysis, term weighting, etc. As a general goal, the query preprocessing component 140 adds information to the input query (and / or removes information from the input query) that allows downstream components in the search system 114 to process it more efficiently.
[0064] Tokenization entails breaking down an input query into its constituent parts (eg, its constituent words). In one instance, query pre-processing component 140 does this by breaking down the input query into parts delineated by whitespace characters and by the beginning and end of the input query string.
[0065] Parsing analysis requires assigning descriptive labels to each part of the query.The query pre-processing component 140 may perform parsing using hidden Markov models, conditional random field models, or any other statistical techniques.
[0066] Spelling correction entails correcting the spelling of a term in an input query. The query preprocessing component 140 can perform spelling correction by determining whether the input term exists in a dictionary. If the term does not exist, the query preprocessing component 140 can identify the word in the dictionary that is closest to the input term, as assessed by any measure of word similarity (e.g., edit distance). The query preprocessing component 140 can also consider word frequency information in selecting the correct spelling of the term (e.g., by weighting popular word candidates more favorably than unpopular word candidates).
[0067] The stemming analysis requires finding the original form of each word specified in the input query. The query preprocessing component 140 can perform the stemming analysis using any strategy (such as by mapping the input terms to their normalized stemmed counterparts using a lookup table). Alternatively, the query preprocessing component 140 can apply a set of suffix stripping rules to generate stemmed counterparts, etc.
[0068] Synonym expansion entails identifying synonyms (if any) for the terms in the input query and adding these synonyms to the input query.The query pre-processing component 140 can perform synonym expansion using a synonym dictionary that maps input terms to their semantically equivalent terms.
[0069] Stop word removal entails removing terms in the input query that constitute information noise. The query pre-processing component 140 may perform stop word removal by removing any terms in the input query that are present in an established stop word list.
[0070] Named entity recognition requires identifying portions of the input query, if any, that identify named entities. Named entities, in turn, refer to specific people, organizations, places, events, etc., often associated with proper nouns. The query pre-processing component 140 may identify named entities in the input query using a lookup dictionary containing established named entities and / or by using machine-trained statistical models, etc.
[0071] Semantic analysis requires a more general interpretation of the terms in the input query and / or the meaning of the input query as a whole. The query preprocessing component 140 can perform semantic analysis in any manner (e.g., by using a machine-trained deep learning neural network). The deep learning neural network can map an encoded version of the input query (or a portion thereof) to a vector in an abstract semantic space. The vector conveys information about the meaning of the input query.
[0072] Weighted analysis requires assigning weights to individual terms in the input query. The query preprocessing component 140 can assign weights to query terms based on various factors (e.g., based on the frequency with which the term occurs in a corpus of documents, based on the frequency with which the term appears in previously encountered search terms, based on the position of the term in the input query, etc.).
[0073] The query processing operations outlined above are cited by way of example and not limitation. Other implementations may apply one or more additional query processing operations not mentioned above, and / or may omit one or more query processing operations mentioned above.
[0074] The find component 142 finds a set of media items that match a preprocessed input query selected from the curated media-specific corpus 116. For example, in one representation, the find component 142 finds each media item that contains all of the terms in the preprocessed input query, e.g., within metadata associated with a song. The find component 142 uses index information in the data repository 138 to find matching media items. However, the find component 142 relies only on the portion of the index information in the data repository 138 that is related to the curated media-specific corpus 116.
[0075] To facilitate and simplify explanation, the examples presented here correspond to situations where matching media items correspond to individual songs, movies, etc. However, matching media items may also refer to collections of media items (such as a list of songs). For example, the search system 114 may identify a playlist as a candidate matching item when a user enters the command "play Neil Young's greatest hits."
[0076] Ranking component 114 ranks the media items identified in the media item set in the order of the likelihood of matching the input query. Ranking component 114 can use any algorithm to perform the method. In one case, ranking component 144 generates a confidence score for each candidate media item using a machine-trained statistical model. Ranking component 144 then selects the (multiple) candidate media items with the (multiple) highest confidence scores. The machine-trained statistical model operates by receiving a set of descriptive feature values for each candidate media item. The feature values describe the pre-processed input query and the candidate media items and optionally other contextual information. The machine-trained statistical model then applies its machine-trained weight values to map the feature values to scores.
[0077] In a specific implementation, the machine training model can use a deep learning neural network model. The model maps the preprocessed input query into a first vector in an abstract semantic space, and then maps the candidate media items into a second vector in the abstract semantic space (wherein the second mapping operation can alternatively be performed in advance in an offline manner). The model then determines the similarity between the input query and the candidate media items by determining the distance between the two vectors in the semantic space. The model can use any technique to evaluate the distance, such as a cosine similarity metric.
[0078] Overall, the system 102 provides a variety of potential benefits. By using the search system 114 in a scoped manner as described above, the system 102 can successfully leverage pre-existing language processing mechanisms to provide an enhanced control interface while avoiding the need to develop custom one-off language processing mechanisms. By using the conversational interface component 108, the system 102 provides an efficient and enjoyable way in which users can coordinate among themselves to control a media playback device 106 in a shared local setting.
[0079] Figure 2 shows that it can be used to implement Figure 1 The computing device 202 of the system 102 includes a plurality of user computing devices 204, one or more remote computing systems 206, and the local system 124. The local system 124 further includes a combination of Figure 1 The computer network 128 enables interaction between the user computing device 204, the remote computing system(s) 206, and the local system 124. Further, the local system 124 may interact with other parts of the computing device 202 via the firewall 208. For example, referring to Figure 1 , the command retrieval component 126 can interact with the command buffer component 120 via the firewall 208 .
[0080] Figure 2 Any user computing devices shown in the may correspond to any type of computing device, such as a desktop or laptop personal computing device, any type of handheld computing device (e.g., a smart phone, a tablet-type device, etc.), a set-top box, a game console, a wearable computing device, a smart appliance, etc. Figure 2 Any remote computing systems shown in can be implemented by one or more server computing devices and other computing devices (e.g., routers, etc.). Computer network 128 can correspond to a wide area network (such as the Internet), a local area network, one or more point-to-point links, or any combination thereof.
[0081] Different implementations may use different corresponding methods. Figure 1 The components shown in Figure 2 A computing device 202 is provided. Figure 2 By showing that any user computing device, any remote computing system and the local system 124 can be implemented Figure 1, and any portion of the system functionality shown in . For example, in some implementations, the conversation interface component 108 can correspond to a collaborative messaging application. The application can run on each user computing device and / or on a remote computing system. Similarly, the media robot 112 can correspond to a computer program running on each user computing device and / or on a remote computing system. The collaborative messaging application can include a backend service that delivers messages entered by a user to the media robot 112.
[0082] The command buffer component 120 may correspond to a storage service provided by another remote computing system. The media robot 112 may forward the instance of the control information to the command buffer component 120 via the computer network 128. The local system 124 may download the instance of the control information from the command buffer component 120 via the computer network 128 through the firewall 208.
[0083] The search system 114 may correspond to yet another remote computing system. The media robot 112 may interact with the search system 114 via the computer network 128. As described above, in one implementation, the search system 114 uses the resources of a general search engine that is configured based on instructions from the media robot 112 to perform its search on the curated media-specific corpus 116.
[0084] In other implementations, Figure 1 Two or more components shown in can be implemented by a single device or a remote computing system. For example, the same remote computing system can host the media robot 112 and the command buffer component 120.
[0085] From a management perspective, different entities can manage Figure 1 For example, a first service provider may host the conversation interface component 108, while a second service provider may host the media robot 112. In other cases, a single entity may manage Figure 1 The system 102 may include two or more components. For example, the same entity may provide both the conversation interface component 108 and the media robot 112.
[0086] Figure 3 Shown by Figure 1 An example of a collaborative user interface (UI) presentation 110 provided by the conversation interface component 108 of FIG. Note that the presentation is presented in the spirit of illustration and not limitation. Figure 3 The particular collaborative UI presentation 110 shown in FIG. For example, other implementations may add other functional features to Figure 3 Alternatively or in addition, other implementations may omit Figure 3 Alternatively or in addition, other implementations may enable Figure 3 Alternatively or additionally, with Figure 3 Other implementations may use different graphical control mechanisms for receiving input from a user, as compared to the graphical control mechanism shown in . Finally, other implementations may use other modes of interacting with a user than a visual graphical user interface presentation; for example, other implementations may use speech recognition technology to receive input from a user and provide output to the user in verbal form.
[0087] Assume that a particular user, Tom, interacts with collaborative UI presentation 110 via a first user computing device. Other users (e.g., users John, Jean, and Sally) may interact with other instances of collaborative UI presentation 110 via other user computing devices. Alternatively or in addition, two or more users may interact with the same instance of collaborative UI presentation 110 via the same user computing device.
[0088] The first part 302 invites the user Tom to select a specific channel among the set of channels provided. Each channel corresponds to a specific focus of the discussion. The focus can be defined with respect to any (multiple) attributes (such as the topic of the conversation and / or the individuals included as participants in the conversation). Further, different channels can provide backend integration with different corresponding media robots.
[0089] For example, a first channel (Channel A) may allow a first group of users to control a music playback device in a shared environment. The first channel may provide back-end integration with a first type of media robot. A second channel (Channel B) may allow a second group of users to control a video playback device in another shared environment. The second channel may provide back-end integration with a second type of media robot. Assume that a user (Tom) has selected the first channel (Channel A) because the user wishes to control a music playback device within a work setting that he shares with John, Jean, and Sally.
[0090] In one case, each channel is associated with a restricted, limited group of participants. Other users cannot participate in a conversation associated with the channel unless first invited by one of the current participants of the conversation. In another case, each channel is associated with an open group of participants. In this case, any user present within the shared environment may contribute to a conversation hosted by the channel. Figure 3 In the example of , assume that the user (Tom) selects channel A. Further assume that channel A contains at least four participants Tom, John, Jean, and Sally.
[0091] The second portion 304 shows an ongoing conversation among four users. For example, in message 306, Tom first asks his colleagues if they would like to listen to music at the moment. This message 306 corresponds to a user-to-user message because it does not contain any commands directed to the media playback device 106. After receiving input from others, Tom enters another message 308 that reads "Play What's Life Like in America from the Rocky movie." This message 308 corresponds to a user-to-bot message because the user is instructing the media playback device 106 to play a specific song. The media robot 112 determines that the user has entered a selection control command via message 308 because the user has typed in the trigger keyword "play."
[0092] In response, the media robot 112 submits message 308 as an input query to the search system 114 along with instructions to perform a scoped media-specific search. The media robot 112 receives a query response identifying the number one song in response to the input query. The media robot 112 then formulates selection control information describing the number one song for consumption by the local system 124. Further, in message 310, the media robot 112 displays descriptive information about the number one song. Message 310 allows the user to verify that the media robot 112 has correctly interpreted Tom's message.
[0093] Next, assume that user Tom formulates another message 312 that reads "Increase volume to 8". The media robot 112 interprets this message 312 as a non-selective control command (e.g., due to the presence of "volume" and / or "increase" in the message). In response, the media robot 112 directly formulates the non-selective control information without interacting with the search system 114.
[0094] In subsequent messages, the other users react to Tom's media selections, for example, by selecting additional media items, controlling the volume of the music playback, controlling the status of the music playback, etc. While making these selections, the users are also communicating with each other.
[0095] Overall, the conversational interface component 108 provides an efficient and enjoyable way to control a shared device. In particular, the first portion 302 informs each user of control-related actions made by others, clarifies who made the action and why the action was made. This allows the user to react to the control-related action in an appropriate manner and to more effectively reach agreement on future control-related actions.
[0096] For example, suppose a first user selects a song that a second user does not like. Without the dialog interface component 108, the second user would need to manually check with his or her colleagues to understand who made the song selection and gauge the user's "investment" in their song selection. The second user would then need to manually consult with him or a colleague to pick a new song. The second user would then need to separately interact with the control device to select a new song. Such manual operations are potentially cumbersome, time consuming, and imprecise. They are also potentially a source of mutual irritation within the group.
[0097] Although not shown, there may be occasions where the search system 114 cannot identify any media item with the desired confidence. For example, the ranking component 114 may assign a confidence score to each candidate item. The search system 114 may be said to generate an indeterminate result when the top-ranked media item has a confidence score below a specified threshold. In this case, the media robot 112 may generate a message inviting the user to rephrase his selection. Or the media robot 112 may present the top-ranked media item to the user and ask the user to confirm whether the media item is the item being sought by the user.
[0098] The optional third section 314 shows a queue of media items that have and will exist on the media playback device 106. The third section indicates that a particular song 316 is currently selected for playback, but playback is currently paused.
[0099] The optional fourth portion 318 may provide a control mechanism (not specifically shown) that allows each user to manually control the media playback device 106. Figure 3 For example, the fourth portion 318 may provide controls that allow the user to select a particular song, change the volume at which a song is played, pause a song, stop a song, etc.
[0100] Figure 4 Shown by Figure 1 An illustrative flow of operations performed by various components of system 102 is provided. The flow of operations is described by Figure 3 The messages 308 and 312 shown in FIG.
[0101] In operation (1), the dialog interface component 108 receives the message "Play the movie from Rocky How's Life in America?" In operation (2), the media robot 112 detects that the user has invoked a select control command (e.g., by virtue of the fact that the message contains the word "play"). In operation (3), the media robot 112 sends an input query, which includes the message entered by the user.
[0102] In operation (4), the search system 114 performs a search based on the input query to generate a query response. The query response identifies songs that most likely match the media item sought by the user. In operation (5), the search system 114 sends the query response to the media robot 112.
[0103] In operation (6), the media robot 112 receives the query response and optionally presents a robot message to the conversation interface component 108. The robot message informs the user of the song that has been identified by the search system 114. In operation (7), the conversation interface component 108 displays the robot message to the user (and all other users). In operation (8), the media robot 112 formulates select command information based on the query response and publishes this instance of the select command information to the command buffer component 120.
[0104] In operation (9), local system 124 retrieves selection control information from command buffer component 120. In operation (10), local system 124 plays the media item identified by the selection control information on media playback device 106.
[0105] In operation (11), the dialogue interface component 108 receives another message from the user, this time reading "Increase volume to 8". In operation (12), the media robot 112 intercepts the message and detects that the user has entered a non-selection control command (e.g., by virtue of the fact that the message contains the words "volume" and / or "increase"). In operation (13), the media robot 112 formulates a robot message that informs the user of the interpretation of its message and that it is intended to control the media playback device 106 in a corresponding manner. Further, the media robot 112 generates non-selection control information and publishes the information to the command buffer component 120. In operation (14), the dialogue interface component 108 presents the media robot's message. In operation (15), the local system 124 retrieves the non-selection control information from the command buffer component 120. In operation (16), the local system 124 adjusts the volume of the media playback device 106 as indicated by the non-selection command information.
[0106] Although not shown, consider a scenario where a single message includes both a selection control command and a non-selection control command, such as, for example, when a user enters the message "Play Neil Young's Heart of Gold at volume level 5". The media robot 112 will detect that the message contains both a selection control command and a non-selection control command. In response, the media robot 112 will execute Figure 4, for example, by submitting a message as an input query to the search system 114, and formulating non-selective control information based on the message. Unless there is a Neil Young song that includes a similar phrase in its title, the search system 114 will likely inherently discount the ending phrase "at volume level 5". Similarly, the media robot 114 can be configured to ignore the content of the message that is not directly related to an instruction to control the volume of the media playback device 106 (such as "Play Neil Young's Heart of Gold").
[0107] Figure 5 One implementation of the media robot 112 is shown. The message receiving component 502 intercepts messages provided by the user to the conversation interface component 108. The message receiving component 502 relies on a backend channel between the conversation interface component 108 and the media robot 112.
[0108] The command extraction component 504 determines whether the message includes a selection control command or a non-selection control command or a combination thereof. The command extraction component 504 can determine whether the message contains one or more specified keywords associated with a selection control command (such as "play", "show", etc.) or one or more specified keywords associated with a non-selection control command (such as "increase", "decrease", "volume", "pause", "stop", "forward", "rewind", etc.). For a user-to-user message, the command extraction component 504 will determine that it does not contain a control command. In this case, the media robot 112 will not perform further processing on the message.
[0109] Alternatively or in addition, the command extraction component 504 can apply linguistic analysis to determine the intent of the message (eg, by interpreting the intent of the message using a statistical model of machine learning).
[0110] Alternatively or additionally, the command extraction component 504 can determine whether the user has explicitly invoked the services of the media robot 112 by determining whether the user's message includes an explicit reference to the robot. For example, the user can create a message "Robot, play Neil Diamond" or "Robot, increase the volume to 8", etc.
[0111] The result processing component 506 generates control information corresponding to the selected control information and / or the non-selected control information. The result processing component 506 then publishes the control information to the command buffer component 120. The result processing component 506 can also generate a confirmation robot message that notifies the user what control action will (or has) been taken.
[0112] The result processing component 506 can generate selection control information by extracting the item ID of the top-ranked media item from the query response. The result processing component 506 can also provide instructions to play the media item associated with the identified item ID.
[0113] Figure 6 Shown for use in Figure 1 1. The profile update component 602 and the automated item selection component 604 in the system 102 of FIG. The profile update component 602 generates a user profile for each user interacting with the system 102 and a user profile for each group interacting with the system 102. In general, the profile update component 602 generates a plurality of user profiles 606 and a plurality of group profiles 608.
[0114] Each user profile may identify previous media selections made by a particular individual user and / or other control selections made by that user. Each group profile may identify previous media selections made by a particular group of users and / or other control selections made by that group of users. Profile update component 602 may also store metadata for each such selection. The metadata describes the context in which each selection was made. For example, a profile may identify a user selecting media items on a particular day, an identified time, etc.
[0115] The automated item selection component 604 automatically selects media items based on the user profile 606 and / or the group profile 608. For example, assume that a particular user group is currently interacting with the system 102 in a current context. The automated item selection component 604 may first generate metadata describing the current contextual situation (such as the current day of the week and the current time of the day and / or any other (multiple) environmental attributes). The automated item selection component 604 may then consult the group profile of the group to identify selections made by the user group in the past in the same contextual situation. The automated item selection component 604 may then identify at least one media item similar to the previous selection.
[0116] The automation project selection component 604 can make the above similarity determination in different ways. In one such method, the automation project selection component 604 can use a deep learning neural network to map the corresponding vectors in the abstract semantic space in the previous media selection. The vector can define the cluster in the specific area of the semantic space. The automation project selection component 604 can then select the media items mapped to the same area of the abstract semantic space defined by the cluster of vectors. In a variation of the method, the profile update component 602 can generate a cluster of abstract semantic vectors as an offline process, and include those vectors as a part of the group profile.
[0117] In another method, the automated item selection component 604 can use the click log to find similar (multiple) media items. The click log identifies each occasion where the user selects two or more media items in a similar search context (e.g., in response to submitting the same input query, or in the same search session, etc.). The automated item selection component 604 can then treat the user group's previous media selection as an anchor selection. It can then use the click log to find the additional media selections that are linked to the anchor selection. The automated item selection component 604 can then select one or more of the additional media items to present to the group. In a variation of the method, the profile update component 602 can identify the additional media selections as a part of the offline process.
[0118] In yet another approach, the automated item selection component 604 can randomly select from the media items that the group user has previously selected on previous occasions. The automated item selection component 604 can then replay those media items. Other implementations of the automated item selection component 604 are also possible.
[0119] In one implementation, the search system 144 implements both the profile update component 602 and the automated item selection component 604. In another implementation, the media robot 112 implements at least the profile update component 602, and the search system 114 implements the automated item selection component 604. In this latter case, the media robot 112 passes the profile information to the search system 114, which allows the search system 114 to perform its automated selection based on the profile information.
[0120] Each user group can add one or more rules that determine when automation project selection component 604 will automatically select media project. In one case, user group can provide the first rule that specifies that automation project selection component 604 will automatically generate media project during the specified time span (e.g., weekday afternoon). Second rule can specify (via dialogue interface component 108) that any media project explicitly selected by the user will cover the media project selected by automation project selection component 604; This means that automation project selection component 604 will only select media project in the case of lacking the explicit selection caused by the user. In addition, system 102 will allow any user to disable automation project selection component 604 at any time.
[0121] As a concluding topic, the system 102 has been described above in the context of control of the media playback device 106. However, the system 102 may also be applied to control other devices in a shared local setting (such as lighting devices, home security devices, etc.).
[0122] Consider applying system 102 to the control of a home security system. As a preliminary operation, some individual or group of authorized individuals may prepare a curated corpus of searchable items belonging to the security domain (if not already created). Each such document contrasts the format of the media items in the curated media-specific corpus 116. For example, instead of providing metadata describing a song, a security-related document may provide metadata describing a specific security situation. One such security situation may include parameter values {garage door open, no occupants present in the home}. And instead of providing an identifier describing a specific song, a security document may provide an identifier associated with a specific action to be taken. For example, in the above security situation, the specified action may require the generation of a security alert. In essence, therefore, each such created document describes the rules that govern when a specific security-related action will be performed.
[0123] In order to ensure consistency in documents created by individuals, groups of authorized individuals can establish and publish rules describing the preferred format of documents. Groups can also use automated and / or semi-automated enforcement agencies to monitor new documents that are supplied to the corpus to ensure that they conform to the preferred format. The enforcement agency operates by comparing each submitted document with a template describing the preferred format. The enforcement agency can notify individuals who attempt to submit inconsistent documents and invite individuals to resubmit the document in the correct format. In this implementation, the corpus constitutes a curated market for rules.
[0124] In the real-time application stage, at least one user may enter a message into the message interface component. The security robot may determine whether the message contains a trigger feature indicating that the user has made a security control command, such as when the user's message reads "Tom's garage door is open and he is on vacation. Assess security." Here, the term "assess security" may constitute a key term for the security robot to infer that the user is asking the system 102 to identify an appropriate security action to be performed and then perform the security action. In other words, the user's message may be said to include a selection control command, similar to the "play" command in the media-related context described above.
[0125] The security robot may then forward the user's message to the search system 114. The search system 114 may then perform a domain-specific search on the corpus of security documents to identify the documents that most closely match the input query. The security robot will receive the query response identified by the search system 114. The query response will contain an ID describing the preferred action to take, if any. The robot will then generate security control information based on the query response. The security system may consume the security control information and take appropriate action, such as by automatically closing the garage door, or by sending an alarm to TOM to notify him of the potential threat.
[0126] In another scenario, the security robot may determine that a user has made a non-selective command when the user enters a message with the intent to directly control the security system in a prescribed manner. For example, the security robot may determine that a user has made a non-selective command when the user enters the message "lock the front door".
[0127] In another variation, the system 102 may control any type of local device (e.g., lighting device) using the conversational interface component 108 described above in conjunction with a robot 112, but without interacting with the search system 114. In other words, the robot 112 may process non-selective control commands, rather than selective control commands involving interaction with the search system 114. (Note that the robot is simply referred to as a "robot" rather than a "media robot" in this implementation, as this need not serve a media-related purpose.)
[0128] More specifically, in the above variation, the conversational interface component 108 receives a message from a particular user within the user group 104 using the same type of collaborative UI presentation 110 described above. The message may include a control command to control a local device, such as when the user writes "turn the lights down to a dim level." By writing the message, the particular user also inherently communicates with other users in the group, who also have simultaneous access to the collaborative UI presentation 110 and can see the particular user's message. In another case, the particular user may interact more directly with other users in controlling a local device, such as when the user writes "I'm turning the lights down to dim unless anyone objects." In other cases, the particular user may provide a user-to-user message that is directed solely to other users and does not include any control commands, such as when the user writes "Can anyone see what it does at this light level?" In one implementation, the bot 112 may determine that a user has made a control command when the message includes one or more specified key terms.
[0129] The robot 112 outputs control information to the command buffer component 120 when it detects that the user's message includes a control command. The robot 112 performs this action without interacting with the search system 114. When the robot 112 determines that the user's message does not include a control command, the robot 112 does not take action on the user's message.
[0130] B. Graphical Process
[0131] Figures 7 to 9A process is shown that explains the operation of the system 102 of Section A in the form of a flowchart. Since the principles underlying the operation of the system 102 have been described in Section A, certain operations will be addressed in a general manner in this section. As noted in the introduction to the detailed description, each flowchart is expressed as a series of operations performed in a specific order. However, the order of these operations is representative only and may be varied in any manner.
[0132] Figure 7 Process 702 is shown implemented by one or more computing devices for controlling any type of device, but process 702 is described below in the context of controlling media playback device 106. Process 702 is also described from the perspective of media robot 112. In block 704, media robot 112 receives a message provided by a particular user from a message interface component with which the particular user interacts. For example, the message interface component may correspond to Figure 1 In block 706, the media robot 112 determines whether the message includes: a selection control command, in which a particular user specifies a target media item to be played by the playback device; and / or a non-selection control command, which corresponds to any media control command other than a selection control command. It is first assumed that the message includes a selection control comment.
[0133] In block 708, the media robot 112 sends the message as an input query to the search system 114, along with information instructing the search system 114 to perform a domain-specific search. In block 710, the media robot 112 receives a query response from the search system 114, which includes the top-ranked media item, if any. In block 712, the media robot 112 outputs selection control information describing the top-ranked media item to the command buffer component 120 for use in controlling the media playback device 106.
[0134] Alternatively, assume that the message provided by the particular user is determined to contain a non-selection control command. If so, in block 714, without formulating an input query for processing by the search system 114, the media robot 112 outputs non-selection control information describing the non-selection control command to the command buffer component 120.
[0135] Alternatively, assume that the message provided by the particular user contains neither a selection control command nor a non-selection control command. If so, in block 716, the media robot 112 does not provide control information to the command buffer component 120.
[0136] In other cases, process 702 is configured to process only non-selective control commands (and user-to-user messages that do not include control commands), but not selective control commands. In this case, process 702 omits interaction with search system 114 associated with blocks 708 and 710.
[0137] Figure 8 A process 802 is shown that is performed by the search system 114 when an input query is received from the media robot 112 along with an instruction to perform a domain-specific search. In box 804, the search system 114 performs pre-processing on the input query to provide a pre-processed input query. In box 806, the search system 114 identifies a set of media items, if any, that match the pre-processed input query selected from a curated media-specific corpus 116 of media items. The curated media-specific corpus 116 is associated with a specific network-accessible domain. In box 808, the search system 114 ranks the set of media items to provide a query response. The media response identifies the top-ranked media item in the set of media items, if any.
[0138] Fig. 9 Shown by Figure 6 902. In block 904, profile update component 602 maintains a group profile for a user group, the group profile describing media selections made by the user group over a time span. In block 906, automated project selection component 604 automatically selects a new project based on the group profile without any user in the user group explicitly specifying the new project.
[0139] C. Representative computing functions
[0140] Fig.10 1002 is shown which can be used to implement any aspect of the mechanisms described in the above figures. For example, Fig.10 The type of computing function 1002 shown in FIG. 1 may be used to implement Figure 2 Any local computing device shown in and / or by Figure 2 Any remote server computing device provided by the remote computing system shown in Figure 1 Any control mechanism provided by the local system 124. In all cases, the computing function 1002 represents one or more physical and tangible processing mechanisms.
[0141] The computing function 1002 may include one or more hardware processor devices 1004, such as one or more central processing units (CPUs) and / or one or more graphics processing units (GPUs), etc. The computing function 1002 may also include any storage resources (also referred to as computer-readable storage media or computer-readable storage media devices) 1006 for storing any kind of information (such as machine-readable instructions, settings, data, etc.). Without limitation, for example, the storage resource 1006 may include any of any (multiple) types of RAM, any (multiple) types of ROM, flash memory devices, hard disks, optical disks, etc. More generally, any storage resource may use any technology for storing information. Further, any storage resource may provide volatile or non-volatile retention of information. Further, any storage resource may represent a fixed or removable component of the computing function 1002. When the (multiple) hardware processor devices 1004 implement computer-readable instructions stored in any storage resource or combination of storage resources, the computing function 1002 may perform any of the above functions. For example, the computing function 1002 may implement computer-readable instructions for executing each box of the process described in Section B. The computing functionality 1002 also includes one or more drive mechanisms 1008 (such as a hard disk drive mechanism, an optical disk drive mechanism, etc.) for interacting with any storage resources.
[0142] The computing functionality 1002 also includes an input / output component 1010 for receiving various inputs (via input devices 1012) and for providing various outputs (via output devices 1014). Illustrative input devices include a keyboard device, a mouse input device, a touch screen input device, a digitizer tablet, one or more video cameras, one or more depth cameras, a free space gesture recognition mechanism, one or more microphones, a voice recognition mechanism, any motion detection mechanism (e.g., accelerometer, gyroscope, etc.), and the like. One particular output mechanism may include a display device 1016 and an associated graphical user interface presentation (GUI) 1018. The dialog interface component 108 may present a graphical user interface presentation (GUI) 1018 on the display device 1016. Figure 3 10. The display device 1016 may correspond to a charge coupled display device, a cathode ray tube device, a projection mechanism, etc. The computing function 1002 may also include one or more network interfaces 1020 for exchanging data with other devices via one or more communication pipes 1022. One or more communication buses 1024 communicatively couple the components described above together.
[0143] The communication conduit(s) 1022 may be implemented in any manner (e.g., via a local area computer network, a wide area computer network (e.g., the Internet), a point-to-point connection, etc., or any combination thereof). The communication conduit(s) 1022 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., managed by any protocol or combination of protocols.
[0144] Alternatively or additionally, any of the functions described in the foregoing sections may be performed at least in part by one or more hardware logic components. For example, without limitation, the computing function 1002 (and its hardware processor) may be implemented using one or more of the following: a field programmable gate array (FPGA); an application specific integrated circuit (ASIC); an application specific standard product (ASSP); a system on a chip (SOC); a complex programmable logic device (CPLD), etc. In this case, the machine executable instructions may be implemented in the hardware logic itself.
[0145] The following summary provides a non-exhaustive list of illustrative aspects of the techniques set forth herein.
[0146] According to a first aspect, a system environment for controlling a media playback device is described, which includes one or more computing devices. The system environment includes a message interface component, which is configured to receive a message from a specific user via a user interface presentation provided by the message interface component. The system environment also includes a media robot, which is configured to: receive a message; determine whether the message includes a selection control command, wherein the specific user specifies a target media item to be played by the media playback device; and when the message is determined to contain a selection control command, send the message as an input query to the search system using an instruction for performing a domain-specific search by the search system. The search system then processes the input query by: performing preprocessing on the input query to provide a preprocessed input query; identifying a set of media items (if any) that matches the preprocessed input query selected from a curated media-specific corpus of media items; and ranking the set of media items to provide a query response, the query response identifies the first-ranked media item (if any) in the set of media items. The media robot is also configured to receive a query response from the search system, which includes the first-ranked media item (if any); and output selection control information describing the first-ranked media item. The system environment also includes a command buffer component configured to store the selection control information in the data repository. The system environment also includes a local system configured to: receive the selection control information from the command buffer command component; and control the media playback device based on the selection control information by playing the top-ranked media item on the media playback device.
[0147] According to a second aspect, the message interface component is a conversation interface component configured to provide one or more instances of a collaborative user interface presentation for use by respective users in a user group (including a specific user). Each instance of the collaborative user interface presentation displays a message entered by a user in the group.
[0148] According to a third aspect, a set of messages entered by users of a group includes: a first subset of user-to-bot messages that include commands directed to a media robot; and a second subset of user-to-user messages that do not include commands directed to a media robot. The media robot is configured to discriminate between the first subset of messages and the second subset of messages.
[0149] According to a fourth aspect, the media robot is configured to detect whether a particular message is a user-to-robot message by determining whether the particular message includes a trigger feature associated with a command.
[0150] According to a fifth aspect, the trigger feature corresponds to at least one trigger keyword.
[0151] According to a sixth aspect, the system environment further comprises: a profile updating component configured to maintain a group profile for a user group, the group profile describing media selections made by the user group over a time span. Each item in the group profile comprises: an identification of a previous media item that has been selected; and contextual information pertaining to an environment in which the previous media item has been selected.
[0152] According to a seventh aspect, the system environment further comprises an automated item selection component configured to automatically select new media items based on a group profile without any user in the user group explicitly specifying the new media item in the message.
[0153] According to an eighth aspect, the media robot is further configured to: determine whether the message includes a non-selection control command corresponding to any media control command other than a selection control command; and when the message is determined to include a non-selection control command, send non-selection control information describing the non-selection control command to the command buffer component without formulating an input query for processing by the search system. The local system is further configured to: receive the non-selection control information from the command buffer command component; and control the media playback device based on the non-selection control information.
[0154] According to a ninth aspect, a curated media-specific corpus is associated with a specific web-accessible domain. Further, the search system is implemented using processing resources provided by a general search system that is initially configured to perform a domain-agnostic search, wherein the general search system identifies result items that do not match a user query relative to a corresponding domain associated with those result items.
[0155] According to a tenth aspect, the local system is configured to receive the selected control information by polling the command buffer component to determine whether it includes any instances of command information that have not yet been received by the local system.
[0156] According to the eleventh aspect, the selection control information includes an identifier identifying the top-ranked media item. Further, the local system is configured to play the top-ranked media item by retrieving the top-ranked media item from the curated media-specific corpus.
[0157] According to a twelfth aspect, one or more computing devices implementing a robot for use in controlling a device in a local setting are described. The computing device(s) include a message receiving component configured to receive a message provided by a specific user from a message interface component with which the specific user interacts. The computing device(s) also include a command extraction component configured to: determine whether the message provided by the specific user includes a selection control command, wherein the specific user specifies a target item; and when the message is determined to contain a selection control command, send the message as an input query to the search system using instructions for performing a domain-specific search by the search system. The search system generates a query response in response to the input query by searching a curated domain-specific corpus of items, and the query response identifies the top-ranked item (if any). The computing device(s) also include a result processing component configured to: receive a query response from the search system, which includes the top-ranked item (if any); and provide selection control information describing the top-ranked item to a local control system for use in controlling the device.
[0158] According to a thirteenth aspect, a message interface component (associated with the twelfth aspect) is a conversation interface component configured to provide one or more instances of a collaborative user interface presentation for use by respective users in a user group (including a specific user). Each instance of the collaborative user interface presentation displays a message entered by a user in the group.
[0159] According to the fourteenth aspect, the command extraction component is also configured to: determine whether the message includes a non-selection control command corresponding to any control command other than a selection control command; and when the message is determined to contain a non-selection control command, send non-selection control information describing the non-selection control command to the local system without formulating an input query for processing by the search system.
[0160] According to the fifteenth aspect, the curated domain-specific corpus (associated with the twelfth aspect) is associated with a specific network-accessible domain. Further, the search system is implemented using processing resources provided by a general search system that is initially configured to perform a domain-agnostic search, wherein the general search system identifies result items that do not match a user query relative to a corresponding domain associated with those result items.
[0161] According to a sixteenth aspect, a method implemented by one or more computing devices for controlling a device in a local setting is described. The method includes receiving a message provided by a specific user from a message interface component with which the specific user interacts. The message interface component corresponds to a dialog interface component, which is configured to provide one or more instances of a collaborative user interface presentation for use by corresponding users in a user group (including the specific user). Each instance of the collaborative user interface presentation displays a message entered by a user in the group. The method also includes determining whether the message provided by the specific user: includes a control command directed to a device in the local setting; or is a user-to-user message that does not contain a control command. The method also includes outputting control information describing the control command for use in controlling the device in the local setting when the message is determined to contain a control command.
[0162] According to the seventeenth aspect, the device in the local setting is a media playback device for playing media items. Further, the determination message cited above includes whether the control command includes determining whether the message contains: a selection control command, wherein a specific user specifies a target media item to be played by the media playback device; and / or a non-selection control command, which corresponds to any media control command except the selection control command. The system also includes when the message is determined to contain the selection control command, using the search system to send the message as an input query to the search system by an instruction to perform a domain-specific search. The search system then processes the input query by the following items: performing preprocessing on the input query to provide a preprocessed input query; identifying a media item set (if any) that matches the preprocessed input query selected from the curated media-specific corpus of the media item; and ranking the media item set to provide a query response, the media response identifies the first-ranked media item in the media item set (if any). The method also includes receiving a query response from the search system, which contains the first-ranked media item (if any). The output cited above corresponds to the selection control information of the output description of the first-ranked media item, for use in controlling the media playback device.
[0163] According to the eighteenth aspect, the method also includes: maintaining a group profile for the user group, the group profile describing the media selections made by the user group over a time span; and automatically selecting new media items based on the group profile without any user in the user group explicitly specifying the new media item.
[0164] According to the nineteenth aspect, when the message is determined to contain a non-selective control command, the output cited above corresponds to outputting non-selective control information describing the non-selective control command without formulating an input query for processing by the search system.
[0165] According to a twentieth aspect, a curated media-specific corpus (associated with the sixteenth aspect) is associated with a specific network-accessible domain. The search system is implemented using processing resources provided by a general search system, the general search system being configured to perform a domain-agnostic search, wherein the general search system identifies result items that do not match a user query relative to a corresponding domain associated with those result items.
[0166] The twenty-first aspect corresponds to any combination (or any logically inconsistent arrangement or subset) of the first to twentieth aspects cited above.
[0167] The twenty-second aspect corresponds to any method copy, device copy, system copy, means plus function copy, computer-readable storage medium copy, data structure copy, product copy, graphical user interface presentation copy, etc. associated with the first to twenty-first aspects.
[0168] In conclusion, the functionality described herein may employ various mechanisms to ensure that any user data is handled in a manner that complies with applicable laws, social norms, and the expectations and preferences of individual users. For example, the functionality may allow users to explicitly opt-in (and then explicitly opt-out) of provision of the functionality. The functionality may also provide suitable security mechanisms to ensure the privacy of user data (such as data clearing mechanisms, encryption mechanisms, password protection mechanisms, etc.).
[0169] Although the subject matter has been described in language specific to structural features and / or methodological acts, it will be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. A method implemented by one or more computing devices, the method comprising: Receive messages provided by specific users; determining whether the message provided by the specific user includes a device control command directed to a device in a local setting, or includes a selection control command; in a case where the message is determined to contain the selection control command, sending the message as an input query to the search system with instructions to perform a domain-specific search for target media items to be played on the device; as well as In the event that the message is determined to contain the device control command, control information describing the device control command for use in controlling the device in the local setting is output. 2 . The method of claim 1 , wherein the selection control command comprises specification of the target media item to be played by the device in the local setting.
3. The method according to claim 1, further comprising: maintaining a group profile for a group of users including the particular user, the group profile describing media selections made by the group of users; as well as The new media item is automatically selected based at least on the group profile without any user in the group of users explicitly specifying the new media item. The method of claim 1 , wherein the device in the local setting comprises a media playback device.
5. The method according to claim 1, further comprising: identifying the target media item specified by the select control command, wherein the domain-specific search accesses a curated media-specific corpus that includes the target media item; receiving the target media item from the curated media-specific corpus; as well as The device in the local setting is caused to play the target media item.
