Adaptive interface in voice activated networks
By designing a voice-based interface system in computing devices to identify and optimize requests from client devices, the problem of excessive network transmission between computing devices is solved, and network transmission efficiency and response quality are improved.
Patent Information
- Application Number
- CN202410541626.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2018-05-11
- Filing Date
- 2019-03-08
- Publication Date
- 2024-08-23
AI Technical Summary
Excessive network transmission between computing devices can cause data routing delays and degraded response quality, especially when processing capabilities are met or exceeded, resulting in reduced bandwidth utilization and unnecessary network traffic data transmission.
Design a voice-based interface system that receives the input audio signal from the client device through the data processing system, parses and identifies the request, determines the interface type, selects the appropriate candidate request, and generates an action data structure, optimizing the response to reduce unnecessary Data transfer.
It improves network transmission efficiency, reduces bandwidth occupancy and processor utilization, saves computing resources, and ensures more efficient data processing and response quality.
Smart Images

Figure CN118535773A
Abstract
Description
[0001] Description of the case
[0002] This application is a divisional application of Chinese invention patent application No. 201980002074.X, filed on March 8, 2019.
[0003] CROSS-REFERENCE TO RELATED APPLICATIONS
[0004] This application claims priority to U.S. non-provisional patent application No. 15 / 977,699, filed on May 11, 2018, entitled “ADAPTIVE INTERFACE IN A VOICE-ACTIVATED NETWORK,” the entire contents of which are incorporated herein by reference. Background Art
[0005] Excessive network transmission of network service data between computing devices based on packets or other means may prevent computing devices from properly processing network service data, completing operations related to network service data, or responding to network service data in a timely manner. If the responding computing device reaches or exceeds its processing capacity, excessive network transmission of network service data may also increase the burden of data routing or reduce the quality of response, which may lead to reduced bandwidth utilization. Network transmission corresponding to unclear requests may generate a large amount of unnecessary network traffic between computing devices. Summary of the invention
[0006] According to at least one aspect of the present disclosure, a system for generating a voice-based interface in a networked system can include a data processing system. The data processing system can execute a natural language processor (NLP) component, an interface management component, and a direct action application programming interface (API). The data processing system can receive an input audio signal detected by a sensor of a client device at an interface of the data processing system. The data processing system can parse the input audio signal to identify multiple candidate requests based on the input audio signal. The data processing system can determine the interface type of the client device. The data processing system can select a part of multiple candidate requests based on the interface type of the client device. The data processing system can generate an action data structure for each of the parts of multiple candidate requests based on the interface type of the client device. The data processing system can send an action data structure for each of the parts of multiple candidate requests to the client device based on the interface type of the client device.
[0007] The interface type may indicate at least one of a display format of the client device, a display size of the client device, a display availability of the client device, or a type of the client device. The interface may send a second action data structure for a second candidate request to the client device to be rendered after the first action data structure. The natural language processor component may parse the input audio signal to identify a request in the input audio signal, determine a confidence score for the semantic meaning of the request, and select multiple candidate requests based on the confidence score being below a predetermined threshold. The natural language processor component may identify terms in the input audio signal that have multiple interpretations, and the interface management component may select a subset of the multiple candidate requests based on the terms in the input audio signal that have multiple interpretations.
[0008] The natural language processor component may parse the input audio signal to identify a primary request in the input audio signal, and the natural language processor component may determine a plurality of candidate requests based on a semantic similarity between the primary request and each of the plurality of candidate requests. The natural language processor component may parse the input audio signal to identify a primary request in the input audio signal, and the natural language processor component may select a plurality of candidate requests from a log of previously received input audio signals based at least on a semantic similarity between each of the plurality of candidate requests and the primary request. The direct action application programming interface may include an indication of the plurality of candidate requests in a first action data structure.
[0009] The natural language processor component can parse the input audio signal to identify a request in the input audio signal, and the content selection component executed by the data processing system can select the digital component based on the request in the input audio signal. The natural language processor component can parse the input audio signal to identify a main request in the input audio signal, the direct action application programming interface can determine a response to the main request, the direct action application programming interface can determine a response to each of a plurality of candidate requests, and the interface management component can select a subset of the plurality of candidate requests based on a comparison between the response to the request and the response to each of the plurality of candidate requests. The natural language processor component can parse the input audio signal to identify a main request in the input audio signal, the direct action application programming interface can determine a response to the main request, the natural language processor component can determine a prevalence score of the response to the main request in the input audio signal, the natural language processor component can determine a prevalence score of the response to each of the plurality of candidate requests, and the interface management component can select a subset of the plurality of candidate requests based on a comparison between the prevalence score of the response to the request in the input audio signal and the prevalence score of the response to each of the plurality of candidate requests.
[0010] The interface may send an audio signal request including a prompt, the natural language processor component may receive a second input audio signal from a client device, the second input audio signal generated in response to the prompt, and the interface management component may select a subset of multiple candidate requests based on the second input audio signal. The interface management component may select a second client device associated with the client device, the interface type of the second client device being different from the interface type of the client device; and the interface may send a second action data structure to the second client device. The natural language processor component may receive a second input audio signal detected by a sensor of the client device, the natural language processor component may parse the second input audio signal to identify a candidate request based on the second input audio signal, and the interface may send the candidate request to the client device.
[0011] According to at least one aspect of the present disclosure, a method for generating a speech-based interface in a networked system may include: receiving an input audio signal detected by a sensor of a client device through a natural language processor component executed by a data processing system via an interface. The method may include: parsing the input audio signal through the natural language processor component to identify multiple candidate requests based on the input audio signal. The method may include: determining the interface type of the client device through an interface management component executed by the data processing system. The method may include: selecting a certain number of multiple candidate requests based on the interface type of the client device through the interface management component. The method may include: generating an action data structure for each of the multiple candidate requests based on the interface type of the client device through the direct action application programming interface of the data processing system. The method may include: sending an action data structure for each of the multiple candidate requests based on the interface type of the client device to the client device through the interface.
[0012] The interface type may indicate at least one of a display format of the client device, a display size of the client device, a display availability of the client device, or a type of the client device. The method may further include: sending, through the interface, a second action data structure for a second candidate request to the client device to be rendered after the first action data structure. The method may further include: parsing, through a natural language processor component, an input audio signal to identify a request in the input audio signal; determining, through the natural language processor component, a confidence score for the semantic meaning of the request; and selecting, through the natural language processor component, a plurality of candidate requests based on the confidence score being below a predetermined threshold. The method may further include: identifying, through the natural language processor component, a term in the input audio signal that has multiple interpretations; and selecting, through the interface management component, the portion of the plurality of candidate requests based on the term in the input audio signal that has multiple interpretations.
[0013] The method may further include: parsing the input audio signal, by a natural language processor component, to identify a main request in the input audio signal; and determining, by the natural language processor component, a plurality of candidate requests based on a semantic similarity between the main request and each of the plurality of candidate requests. The method may further include: parsing the input audio signal, by a natural language processor component, to identify a main request in the input audio signal; and selecting, by the natural language processor component, a plurality of candidate requests from a log of previously received input audio signals based at least on a semantic similarity between each of the plurality of candidate requests and the main request.
[0014] The method may further include: including, by a direct action application programming interface, in a first action data structure an indication of a candidate request for which the first action data structure is generated. The method may further include: parsing, by a natural language processor component, an input audio signal to identify a request in the input audio signal; and selecting, by a content selection component executed by a data processing system, a digital component based on the request in the input audio signal. The method may further include: parsing, by a natural language processor component, an input audio signal to identify a primary request in the input audio signal; determining, by a direct action application programming interface, a response to the primary request; and determining, by a direct action application programming interface, a response to each of a plurality of candidate requests; and selecting, by an interface management component, the portion of the plurality of candidate requests based on a comparison between the response to the primary request and the response to each of the plurality of candidate requests. The method may further include: parsing the input audio signal, by a natural language processor component, to identify a primary request in the input audio signal; determining, by a direct action application programming interface, a response to the primary request; determining, by the natural language processor component, a prevalence score of the response to the primary request in the input audio signal; determining, by the natural language processor component, a prevalence score of the response to each of a plurality of candidate requests; and selecting, by an interface management component, a subset of a plurality of candidate requests based on a comparison of the prevalence score of the response to the request in the input audio signal with the prevalence score of the response to each of a plurality of candidate requests.
[0015] The method may further include: sending an audio signal request including a prompt through an interface; receiving a second input audio signal from a client device through a natural language processor component, the second input audio signal generated in response to the prompt; and selecting a subset of multiple candidate requests based on the second input audio signal through an interface management component. The method may further include: selecting a second client device associated with the client device through an interface management component, the interface type of the second client device being different from the interface type of the client device; and sending a second action data structure to the second client device through an interface. The method may further include: receiving a second input audio signal detected by a sensor of the client device through a natural language processor component; parsing the second input audio signal through the natural language processor component to identify a candidate request based on the second input audio signal; and sending the candidate request to the client device through an interface.
[0016] These and other aspects and embodiments are discussed in detail below. The above information and the following detailed description include illustrative examples of various aspects and embodiments and provide an overview or framework for understanding the nature and characteristics of the claimed aspects and embodiments. The accompanying drawings provide illustration and further understanding of various aspects and embodiments and are incorporated into and constitute a part of this specification. Various aspects and embodiments of the disclosed subject matter may be combined as appropriate. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings are not intended to be drawn to scale. Like reference numerals and labels in the various drawings indicate like elements. For clarity, not every component may be labeled in every drawing. In the drawings:
[0018] Figure 1 An example system for generating an interface in a voice activated system according to examples of the present disclosure is shown.
[0019] Figure 2 A block diagram illustrating an example method of generating a speech-based interface in a voice-activated system according to examples of the present disclosure.
[0020] Figure 3 and Figure 4 A diagram showing an example voice-based interface for presenting responses to candidate requests according to examples of the present disclosure.
[0021] Figure 5 A block diagram of an example computer system is shown according to examples of the present disclosure. DETAILED DESCRIPTION
[0022] Various concepts and implementations thereof related to methods, apparatuses, and systems for generating interfaces in a voice-activated computer network environment are described in more detail below.The various concepts introduced above and discussed in more detail below can be implemented in any of numerous ways.
[0023] The system and method of the present disclosure generally relate to a data processing system that can identify and generate or display alternative requests when there are ambiguous, unclear or other requests that the data processing system may not be able to respond to. The data processing system can improve network transmission efficiency by selecting alternative requests that can respond to the intent of the original request to reduce network bandwidth occupancy and processor utilization. Selecting and responding to alternative requests can save bandwidth by not sending error messages or subsequent messages to client devices that request additional information or data about the original request. In order to further save bandwidth and computing resources, the data processing system can select which of these additional responses the data processing system will generate a response for based on the interface type of the client device that sends the request to the data processing system. For example, based on the screen size (or lack of screen size) of the client device, the data processing system can select one or a subset of the alternative requests for which it generates a response. Selecting and responding to only a portion of possible alternative requests can save bandwidth by not sending responses generated in response to all possible interpretations of the original request to the client device.
[0024] Figure 1 An example system 100 for generating an interface in a voice activation system is shown. The system 100 can include a digital component selection infrastructure. The system 100 can include a data processing system 102. The data processing system 102 can communicate with one or more digital component provider devices 106 (e.g., content provider devices) or client computing devices 104 via a network 105. The network 105 can include computer networks such as the Internet, local area networks, wide area networks, metropolitan area networks, or other regional networks, intranets, satellite networks, and other communication networks such as voice or data mobile phone networks. The network 105 can be used to access information resources such as web pages, web sites, domain names, or uniform resource locators, and can be presented, output, rendered, or displayed on at least one computing device 104 such as a laptop computer, a desktop computer, a tablet computer, a digital assistant, a personal digital assistant, a smart watch, a wearable device, a smart phone, a portable computer, or a speaker. For example, via the network 105, a user of the client computing device 104 can access information or data provided by the digital component provider device 106. The client computing device 104 may or may not include a display. For example, the client computing device 104 may include a limited type of user interface, such as a microphone and a speaker (e.g., the client computing device 104 can include a voice-driven or audio-based interface). The primary user interface of the computing device 104 may include a microphone and a speaker. The client computing device 104 can be a speaker-based digital assistant device.
[0025] Network 105 can include or constitute a display network, such as a subset of information resources available on the Internet that are associated with a content placement or search engine results system or that qualify as including a third-party digital component. Data processing system 102 can use network 105 to access information resources, such as web pages, web sites, domain names, or uniform resource locators, that can be presented, output, rendered, or displayed by client computing device 104. For example, via network 105, a user of client computing device 104 can access information or data provided by digital component provider device 106.
[0026] The network 105 may be any type or form of network and may include any of the following: a point-to-point network, a broadcast network, a wide area network, a local area network, a telecommunications network, a data communications network, a computer network, an ATM (asynchronous transfer mode) network, a SONET (synchronous optical network) network, an SDH (synchronous digital hierarchy) network, a wireless network, and a wired network. The network 105 may include a wireless link, such as an infrared channel or a satellite band. The topology of the network 105 may include a bus, star, or ring network topology. The network may include a mobile phone network that uses any one or more protocols for communicating between mobile devices, including the Advanced Mobile Phone Protocol ("AMPS"), Time Division Multiple Access ("TDMA"), Code Division Multiple Access ("CDMA"), Global System for Mobile Communications ("GSM"), General Packet Radio Service ("GPRS"), or Universal Mobile Telecommunications System ("UMTS"). Different types of data may be transmitted via different protocols, or the same type of data may be transmitted via different protocols.
[0027] System 100 can include at least one data processing system 102. Data processing system 102 can include at least one logical device, such as a computing device, whose processor communicates with, for example, computing device 104 or digital component provider device 106 via network 105. Data processing system 102 can include at least one computing resource, server, processor, or memory. For example, data processing system 102 can include multiple computing resources or servers located in at least one data center. Data processing system 102 can include multiple logically grouped servers and facilitate distributed computing technology. Logical groups of servers can be referred to as data centers, server farms, or machine farms. Servers can also be geographically dispersed. A data center or machine farm can be managed as a single entity, or the machine farm can include multiple machine farms. Servers within each computer farm can be heterogeneous-one or more of the servers or machines can operate according to one or more types of operating system platforms.
[0028] The servers in the machine farm can be housed in a high-density rack system along with associated storage systems and located in an enterprise data center. In this manner, for example, by locating servers and high-performance storage systems on a localized high-performance network, consolidating servers can improve system manageability, data security, physical security of the system, and system performance. Centralizing all or some of the data processing system 102 components, including servers and storage systems, and coupling them with advanced system management tools allows for more efficient utilization of server resources, which saves power and processing requirements and reduces bandwidth usage.
[0029] The client computing device 104 can include, execute, interact with, or otherwise communicate with one or more of at least one local digital assistant 134, at least one sensor 138, at least one transducer 140, at least one audio driver 142, or at least one display 144. The sensor 138 can include, for example, a camera, an ambient light sensor, a proximity sensor, a temperature sensor, an accelerometer, a gyroscope, a motion detector, a GPS sensor, a location sensor, a microphone, a video, an image detection, or a touch sensor. The transducer 140 can include or be part of a speaker or a microphone. The audio driver 142 can provide a software interface to the hardware transducer 140. The audio driver 142 can execute an audio file or other instructions provided by the data processing system 102 to control the transducer 140 to generate corresponding sound waves or sound waves. The display 144 can include one or more hardware or software components configured to provide a visual indication or optical output, such as a light emitting diode, an organic light emitting diode, a liquid crystal display, a laser, or a display.
[0030] The local digital assistant 134 can include one or more processors, logic arrays or memories, or be executed by them. The local digital assistant 134 can be a preprocessor. The local digital assistant 134 can execute any component of the data processing system 102. The local digital assistant 134 can detect keywords and perform actions based on the keywords. The local digital assistant 134 can execute an instance of a component executed by the data processing system 102 or can perform any function of the digital processing system 102. The local digital assistant 134 can pre-process the input audio signal received by the client computing device 104. For example, the local digital assistant 134 can filter out one or more terms or modify the terms before sending the terms as data to the data processing system 102 for further processing. The local digital assistant 134 can convert the analog audio signal detected by the transducer 140 into a digital audio signal and send one or more data packets carrying the digital audio signal to the data processing system 102 via the network 105. The local digital assistant 134 can send data packets carrying some or all of the input audio signal in response to detecting an instruction to perform such sending. The instructions can, for example, include a trigger keyword or other keyword or authorization to send a data packet including the input audio signal to the data processing system 102 .
[0031] The local digital assistant 134 can perform pre-filtering or pre-processing on the input audio signal to remove certain frequencies of the audio. Pre-filtering can include filters such as low-pass filters, high-pass filters, or band-pass filters. The filter can be applied in the frequency domain. The filter can be applied by using digital signal processing techniques. The filter can be configured to maintain frequencies corresponding to human voice or human speech while eliminating frequencies that exceed the typical frequencies of human speech. For example, the band-pass filter can be configured to remove frequencies below a first threshold (e.g., 70Hz, 75Hz, 80Hz, 85Hz, 90Hz, 95Hz, 100Hz, or 105Hz) and above a second threshold (e.g., 200Hz, 205Hz, 210Hz, 225Hz, 235Hz, 245Hz, or 255Hz). Applying a band-pass filter can reduce computing resource utilization in downstream processing. The local digital assistant 134 on the computing device 104 can apply a band-pass filter before sending the input audio signal to the data processing system 102, thereby reducing network bandwidth utilization. However, based on the computing resources available to computing device 104 and the available network bandwidth, it may be more efficient to provide the input audio signal to data processing system 102 to allow data processing system 102 to perform the filtering.
[0032] The local digital assistant 134 can apply additional pre-processing or pre-filtering techniques, such as noise reduction techniques, to reduce ambient noise levels that may interfere with the natural language processor. The noise reduction techniques can improve the accuracy and speed of the natural language processor, thereby improving the performance of the data processing system 102, and manage the rendering of the graphical user interface provided via the display 144.
[0033] The client computing device 104 can be associated with an end user who inputs a voice query as an audio input (via the sensor 138 or the transducer 140) into the client computing device 104 and receives the audio (or other) output from the data processing system 102 or the digital component provider device 106 to present, display or render to the end user of the client computing device 104. The digital component can include a computer-generated speech that can be provided to the client computing device 104 from the data processing system 102 or the digital component provider device 106. The client computing device 104 can render the computer-generated speech to the end user via the transducer 140 (e.g., a speaker). The computer-generated speech can include a recording from a real person or computer-generated language. The client computing device 104 can provide a visual output via a display device 144 that is communicatively coupled to the computing device 104.
[0034] An end user inputting a voice query into a client computing device 104 can be associated with multiple client computing devices 104. For example, the end user can be associated with a first client computing device 104 that can be a speaker-based digital assistant device, a second client computing device 104 that can be a mobile device (e.g., a smart phone), and a third client computing device 104 that can be a desktop computer. The data processing system 102 can associate each of the client computing devices 104 through common login, location, network, or other linking data. For example, the end user can log into each of the client computing devices 104 using the same account username and password.
[0035] The client computing device 104 can receive an input audio signal detected by a sensor 138 (e.g., a microphone) of the computing device 104. The input audio signal can, for example, include a query, question, command, instruction, request, or other statement provided in a language. The input audio signal can include an identifier or name of a third party (e.g., a digital component provider device 106) to which the question or request is directed. For example, the request can be for content provided by a particular digital component provider device 106.
[0036] The client computing device 104 can include, execute, or be referred to as a digital assistant device. The digital assistant device can include one or more components of the computing device 104. The digital assistant device can include a graphics driver that can receive display output from the data processing system 102 and render the display output on the display 144. The graphics driver can include a hardware or software component that controls or enhances how graphics or visual output is displayed on the display 144. The graphics driver can, for example, include a program that controls how the graphics component cooperates with the rest of the computing device 104 (or digital assistant). The local digital assistant 134 can filter the input audio signal to create a filtered input audio signal, convert the filtered input audio signal into data packets, and send the data packets to a data processing system including one or more processors and memory.
[0037] The digital assistant device can include an audio driver 142 and a speaker assembly (e.g., transducer 140). The pre-processor assembly can receive an indication of a display output and instruct the audio driver 142 to generate an output audio signal to cause the speaker assembly (e.g., transducer 140) to send an audio output corresponding to the indication of the display output.
[0038] System 100 can include, access, or interact with at least a digital component provider device 106. Digital component provider device 106 can include one or more servers that can provide digital components to client computing devices 104 or data processing system 102. Digital component provider device 106 or its components can be integrated with data processing system 102 or at least partially executed by data processing system 102. Digital component provider device 106 can include at least one logic device, such as a computing device with a processor to communicate with computing device 104, data processing system 102, or digital component provider device 106 via network 105. Digital component provider device 106 can include at least one computing resource, server, processor, or memory. For example, digital component provider device 106 can include multiple computing resources or servers located in at least one data center.
[0039] Digital component provider device 106 can provide digital components based on audio, vision or multimedia, and present as audio output digital components, visual output digital components or their mixture for client computing device 104.Digital components can be merged into action data structure, and this action data structure is sent to client computing device 104 and rendered by client computing device 104.Digital components can be or include digital content.Digital components can be or include digital objects.Digital components can include content or paid content based on subscription.Digital components can include multiple digital components.For example, digital components can include text that answers questions raised by users in requests.Client computing device 104 can process this text into audio output signal.Digital components can include or can be digital movies, websites, songs, applications (for example, smart phones or other client device applications) or other text-based, audio-based, image-based or video-based content.Digital content provider device 106 can provide digital components generated by digital content provider device 106, uploaded by users or derived from other digital content provider devices 106.
[0040] Digital component provider device 106 can provide digital components to client computing device 104 via network 105 and bypassing data processing system 102. Digital component provider device 106 can provide digital components to client computing device 104 via network 105 and data processing system 102. For example, digital component provider device 106 can provide digital components to data processing system 102, which can store the digital components and provide the digital components to client computing device 104 when client computing device 104 requests them.
[0041] The data processing system 102 can include at least one computing resource or server. The data processing system 102 can include at least one interface 110, interact with it, or otherwise communicate with it. The data processing system 102 can include at least one natural language processor component 114, interact with it, or otherwise communicate with it. The data processing system 102 can include at least one digital component selector 120, interact with it, or otherwise communicate with it. The data processing system 102 can include at least one interface management component 135, interact with it, or otherwise communicate with it. The data processing system 102 can include at least one data repository 124, interact with it, or otherwise communicate with it. At least one data repository 124 can include or store a log 128 of past requests, templates 130, and content data 132 in one or more data structures or databases. The data repository 124 can include one or more local databases or distributed databases.
[0042] The interface 110, the natural language processor component 114, the digital component selector 120, and the interface management component 135 can each include at least one processing unit or other logic device, such as a programmable logic array engine or module, configured to communicate with the database repository or database 124. The interface 110, the natural language processor component 114, the digital component selector 120, the interface management component 135, and the data repository 124 can be separate components, a single component, or part of multiple data processing systems 102. The system 100 and its components, such as the data processing system 102, can include hardware elements, such as one or more processors, logic devices, or circuits.
[0043] The data processing system 102 can include an interface 110. The interface 110 can be configured, constructed, or operable to receive and send information, for example, by using data packets. The interface 110 can receive and send information by using one or more protocols such as network protocols. The interface 110 can include a hardware interface, a software interface, a wired interface, or a wireless interface. The interface 110 can facilitate converting or formatting data from one format to another format. For example, the interface 110 can include an application programming interface that includes definitions for communicating between various components such as software components.
[0044] The data processing system 102 can include an application, script, or program installed on a client computing device 104, such as a local digital assistant 134, to communicate an input audio signal to an interface 110 of the data processing system 102 and drive a component of the client computing device to render an output audio signal or a visual output. The data processing system 102 can receive data packets, digital files, or other signals including or identifying an input audio signal (or multiple input audio signals). The computing device 104 can detect an audio signal via a transducer 140 and convert the analog audio signal to a digital file via an analog-to-digital converter. For example, the audio driver 142 can include an analog-to-digital converter component. The preprocessor component can convert the audio signal to a digital file that can be sent over the network 105 via a data packet.
[0045] The data processing system 102 can execute or run the NLP component 114 to receive or obtain a data packet including an input audio signal detected by the sensor 138 of the computing device 104. The client computing device 104 can also execute an instance of the client computing device 104 to process language and text at the client computing device 104. The data packet can provide a digital file. The NLP component 114 can receive or obtain a digital file or data packet including an audio signal and parse the audio signal. For example, the NLP component 114 can provide interaction between a person and a computer. The NLP component 114 can be configured with a technology for understanding natural language and enabling the data processing system 102 to derive meaning from human or natural language input. The NLP component 114 can include or be configured with a technology based on machine learning, such as statistical machine learning. The NLP component 114 can parse the input audio signal using a decision tree, a statistical model, or a probability model.
[0046] The NLP component 114 can, for example, perform the following functions: named entity recognition (e.g., given a stream of text, determine which items in the text map to proper names, such as people or places, and what type each such name is, such as people, places, or organizations), natural language generation (e.g., converting information or semantic intent from a computer database into understandable human language), natural language understanding (e.g., converting text into more formal expressions, such as first-order logic structures that computer modules can manipulate), machine translation (e.g., automatically translating text from one human language to another human language), morpheme segmentation (e.g., dividing words into individual morphemes and identifying categories of morphemes, which is challenging due to the complexity of the morphology or word structure of the language under consideration), question answering (e.g., determining answers to human language questions, which can be specific or open-ended), semantic processing (e.g., processing that may occur after identifying a word and encoding its meaning in order to relate the identified word to other words with similar meanings). The NLP component 114 can identify semantic representations of the identified words. By identifying the semantic representation, the data processing system can match words or phrases based on similar semantic meanings of the words or phrases rather than specific word matches. For example, searching for input requests based on the semantic representation can return related requests.
[0047] NLP component 114 can convert the input audio signal into recognized text by comparing the input signal with a stored representative audio waveform set (e.g., stored in data warehouse 124) and selecting the closest match. The audio waveform set can be stored in data repository 124 or other databases accessible to data processing system 102. The representative waveform is generated across a large number of users and can then be expanded with voice samples from the users. After the audio signal is converted into recognized text, NLP component 114 matches the text with words associated with actions that data processing system 102 can serve, such as via training across users or by manual designation. NLP component 114 can convert image or video input into text or digital files. For example, NLP component 114 can detect voice in a video file, convert the voice into text, and then process the text. NLP component 114 can convert, process, analyze or interpret image or video input to perform actions, generate requests or select or identify data structures.
[0048] In addition to or in lieu of the input audio signal, the data processing system 102 can receive an image or video input signal. The data processing system 102 can process the image or video input signal, for example, by using image interpretation techniques, computer vision, a machine learning engine, or other techniques to recognize or interpret the image or video to convert the image or video into a digital file. One or more image interpretation techniques, computer vision techniques, machine learning techniques can be collectively referred to as imaging techniques. In addition to or in lieu of audio processing techniques, the data processing system 102 (e.g., the NLP component 114) can be configured with imaging techniques.
[0049] The NLP component 114 can obtain an input audio signal. Based on the input audio signal, the NLP component 114 can identify at least one request or at least one trigger keyword corresponding to the request. The request can indicate the intent, digital component, or subject of the input audio signal. The trigger keyword can indicate the type of action that may be taken. For example, the NLP component 114 can parse the input audio signal to identify at least one request for the current weather at a specific location. The request can be an explicit request or an implicit request. For example, the request "is it going to rain today" can be an explicit request for an indication of whether it will rain. The request "do I need an umbrella" can be an implicit request for an indication of whether it will rain.
[0050] The NLP component 114 can parse the input audio signal to identify, determine, retrieve or otherwise obtain a main request from the input audio signal. For example, the NLP component 114 can apply semantic processing techniques to the input audio signal to identify a request in the input audio signal. The natural language processor component 114 can identify candidate requests based on the input audio signal. For example, the natural language processor component 114 can identify a main request in the input audio signal. The main request may be ambiguous or unclear. If the main request has multiple possible responses, the main request may be ambiguous or unclear. If the quality of the input audio signal is poor and the natural language processor component 114 cannot process one or more terms in the input audio signal, the main request may be ambiguous or unclear.
[0051] The NLP component 114 can determine candidate requests based on a log of previously received input audio signals. The data processing system 102 can record previously identified requests from previously received input audio signals. The candidate requests can be recorded requests that are semantically similar to the main requests identified in the input audio signals. The NLP component 114 can rank the recorded requests based on the semantic similarity between the main requests and the recorded requests. For example, each recorded request in the recorded requests can be uniquely hot encoded and converted to a vector space. The main request can be uniquely hot encoded and converted to a vector space. The similarity between the main request and the logged request can be based on the distance between the main request and the recorded request in the vector space. The similarity between the main request and the logged request can be based on the Pearson Correlation coefficient (Pearson Correlation) between the main request and the recorded request.
[0052] The data processing system 102 can execute or run an instance of the direct action API 112. The direct action API 112 can identify, select, or generate an action data structure to fulfill a request (or candidate request) identified in the input audio signal. Based on the request or trigger keyword, the direct action API 112 predicts, estimates, or otherwise determines the subject of the action data structure. The action data structure can include a digital component, text, video, image, or other content that can be rendered by the client computing device 104 in response to sending the input audio signal to the data processing system 102.
[0053] Action data structure and content item can correspond to the theme of input audio signal.As determined by NLP component 114, direct action API 112 can generate the action specified, to fulfill the intention, main request or candidate request of terminal user.According to the action specified in its input, direct action API 112 can execute code or dialogue script, and these codes or dialogue scripts identify the parameters required for fulfilling user request.Such code can find additional information in data repository 124 or send action data structure (or the request generated thereby) to third-party device, to provide data to data processing system 102 so as to be included in action data structure.For example, direct action API 112 can generate the search phrase sent to search engine.The response from search engine can be included in the response field of action data structure.Search phrase or the request from input audio signal can be included in the input field of action data structure.Direct action API 112 can determine necessary parameters and can pack information into action data structure, and then this action data structure can be sent to another component such as digital component selector component 120 or the agent of service provider computing device to be fulfilled. The direct action API 112 can send the primary and candidate requests to a service provider or third party, which can return a populated action data structure in response to receiving the request. For example, when a location is provided to a weather agent, the weather agent can return an action data structure indicating the weather, such as {loc:94035; currentWeather:sunny; hiTemp:85; lowTemp:60}.
[0054] The data processing system 102 can execute or run an instance of the interface management component 135. The interface management component 135 can poll, determine, identify or select an interface for rendering action data structures and digital components. The interface management component 135 can identify an interface of the client computing device 104. The interface management component 135 can identify one or more interfaces associated with the client computing device 104 or an associated client computing device 104. The client computing device 104 can be associated with one or more additional client computing devices 104. The client computing device 104 and the additional client computing device 104 can be associated with each other through a common application login, login, end user or other identifier. For example, an end user of the client computing device 104 can log in to an application installed on the client computing device 104 and the additional client computing device 104. The application can be associated with or provided by the data processing system 102. Using the same credentials to log into the application can enable the data processing system 102 to link the client computing devices 104 together in the data repository 124.
[0055] The interface management component 135 can identify the interface type of the client computing device 104. Identifying the interface type can include determining the capabilities of the interface of the client computing device. For example, the interface management component 135 can determine whether the client computing device 104 includes a display 144, an audio driver 142 (e.g., a speaker), or a combination thereof. Identifying or determining the interface type can include determining the device type of the client computing device 104. For example, the interface management component 135 can determine whether the client computing device 104 is a smart phone, a laptop computer, a desktop computer, a speaker-based auxiliary device, or another type of computing device. Identifying the interface type can include determining display screen parameters (e.g., the size of the display screen, the orientation of the display screen, the resolution of the display screen); applications, user agents, content, or digital components displayed on the interface or executed by the client computing device 104; or audio parameters.
[0056] The interface management component 135 can poll the client computing device 104 to determine the interface type of the client computing device 104. The interface management component 135 can poll the client computing device 104 by sending a message to the client computing device 104 that determines display screen parameters and returns data to the interface management component 135. For example, the interface management component 135 can send a digital component to the client computing device 104 that includes a client executable script (e.g., JavaScript) that can determine the resolution of the display 144 and send the resolution data to the interface management component 135. The interface management component 135 can poll the client computing device 104 at regular intervals (e.g., in response to receiving an input audio signal from the client computing device 104) to determine the interface type of the client computing device 104. The interface management component 135 can poll the client computing device 104 once during a registration phase. Once registered with the data processing system 102, the data processing system 102 can save the interface type associated with the client computing device 104 in the data repository 124. The interface management component 135 can retrieve the interface type from the input audio signal. For example, the client computing device 104 can include metadata with the input audio signal that indicates the interface type of the client computing device 104. The interface management component 135 can process the metadata to extract the interface type of the client computing device 104.
[0057] Based on the input audio signal, the interface management component 135 can determine which candidate request of the plurality of candidate requests to respond to. The data processing system can respond to a portion or subset of the identified plurality of candidate requests. The interface management component 135 can select a certain number of the plurality of candidate requests (e.g., a portion or a subset thereof) in response to the input audio signal. The interface management component 135 can select the number of candidate requests based on the interface type of the client computing device 104. For example, the interface management component 135 can select relatively more candidate requests for a client computing device 104 with a relatively larger display. For example, the interface management component 135 can determine the available space on the display 144 of the client computing device for displaying a response (e.g., a rendered action data structure). The interface management component 135 can select the number of candidate requests to respond based on the number of responses that will fit within the available space of the display 144.
[0058] The interface management component 135 can select the number of multiple candidate requests based on the natural language processor component 114 determining that a term or phrase in the input audio signal may have multiple interpretations or possible responses. For example, an input audio signal containing the phrase "Ok, how long will it take to get to work" may have multiple interpretations. The data processing system 102 can determine a first response based on whether the user intends to drive, a second response based on whether the user intends to take public transportation, and a third response based on whether the user intends to walk. When a request generates multiple responses, or when one or more fields of the action data structure of the request are left blank, the request may have multiple interpretations, thereby achieving multiple responses. For example, the action data structure for the above phrase may be {start_location: "123 Main St."; destination_location: "456 1 st Street"; method:""}. In this example, the transportation method is not set. The data processing system can generate a candidate request and an associated action data structure instead of generating an error message (because all parameters of the request are not defined). Each action data structure for a different candidate request may include a different transportation method in the method field.
[0059] The interface management component 135 can determine the number of multiple candidate requests based on a comparison between a response to a request parsed from an input audio signal and a response to each of a plurality of candidate requests generated based on the input audio signal. For example, the natural language processor component 114 can identify a request "Ok, how long will it take to get to work by car" from the input audio signal. The natural language processor component 114 can determine candidate requests related to the identified request. For example, the natural language processor component 114 can determine candidate requests such as "how long will it take to get to work by public transit" and "how long will it take to get to work by bike". The response to the request can be "35 minutes by car". The responses to the candidate requests can be "15 minutes by the subway" and "40 minutes by bike". The interface management component 135 can select a response that is substantially different from the response to the request identified in the input audio signal. For example, the interface management component 135 can select the response "15 minutes by the subway" in addition to the response "35 minutes by car" because the responses (e.g., the transportation time) are substantially different. The degree of difference or similarity between the responses can be determined by machine learning or a neural network. For example, the text of each response can be converted into a vector.
[0060] The distance between responses in the vector space can indicate the similarity (or difference) between the responses. Vectors that are close to each other can be ranked as more similar than vectors that are farther apart. For example, the natural language processor component 114 can generate a similarity score by generating a word vector for each word in the response. The natural language processor component 114 can use a continuous bag-of-words neural network model or a skip-gram neural network model to generate a vector representation of the words in the response. The natural language processor component 114 can use Word2Vec to generate word vectors.
[0061] The interface management component 135 can determine the number of multiple candidate requests based on the prevalence score of each candidate request (or its response). For example, the natural language processor component 114 can identify requests with prevalence scores above a predetermined threshold. The prevalence score can be based on the number of possible responses that the data processing system 102 can return in response to the input audio signal. For example, the request "what is the top speed of a 2015 Brand A car?" has a low prevalence score because the request actually has only one result. The request "what is the top speed of a car?" can have a relatively high prevalence score because multiple responses may be returned. For example, the data processing system 102 may return different responses for different car categories, manufacturers, or car configurations. When the prevalence score is high, the interface management component 135 can select a greater number of candidate requests, and the data processing system 102 provides responses to these candidate requests to the client computing device 104.
[0062] The interface management component 135 can determine the number of candidate requests for which the data processing system 102 provides responses based on the interface type of the second client computing device 104. The second client computing device 104 can be related to the client computing device 104 that sends the input audio signal to the data processing system 102. For example, the client computing device 104 can be a smartphone of the end user, and the second client computing device 104 can be a laptop computer of the end user. The interface type of the second client computing device 104 can be different from the client computing device 104 that sends the input audio signal to the data processing system 102. For example, the user's smartphone can have a display of a first size and resolution, and the user's laptop computer can have a display of a second size and resolution. The interface management component 135 can send a portion of the responses to the candidate requests to the client computing device 104 and send the remainder of the responses to the candidate requests to the second client computing device 104.
[0063] The digital component selector 120 can select a digital component including text, a string of characters, a video file, an image file, or an audio file, which can be processed by the client computing device 104 and presented to the user via a display 144 or a transducer 140 (e.g., a speaker). The digital component selector 120 can select a digital component in response to a request identified by the NLP component 114 in the input audio signal. For a given request, the digital component selector 120 can select a supplementary digital component, which can also be provided along with the primary digital component. The primary digital component can be a digital component directly selected in response to a request or a candidate request. For example, the primary digital component can include an answer to a question raised in the request. The supplementary digital component can be an additional digital component that provides additional information or is related to the primary digital component.
[0064] The digital component selector 120 can select which digital component provider device 106 should or can fulfill the request and can forward the request to the digital component provider device 106. For example, the data processing system 102 can initiate a session between the digital component provider device 106 and the client computing device 104 so that the digital component provider device 106 can send the digital component to the client computing device 104. The digital component selector 120 can request the digital component from the digital component provider device 106. The digital component provider device 106 can provide the digital component to the data processing system 102, which can store the digital component in the data repository 124. In response to the request for the digital component, the digital component selector 120 can retrieve the digital component from the data repository 124. In response to the request for the digital component, the digital component selector 120 can select a portion or all of the digital component to provide to the client computing device 104 in response to the request.
[0065] The digital component selector 120 can select multiple digital components via a real-time content selection process. The digital component selector 120 can score and rank the digital components and provide multiple digital components to be included in the action data structure, or more generally, to be sent to the client computing device 104. The digital component selector 120 can select one or more additional digital components to be sent to the client computing device 104 based on the input audio signal (or the keywords and requests contained therein). In one example, the input audio signal can include a request to start streaming an instructional video. The digital component selector 120 can select additional digital components (e.g., advertisements). The additional digital components can notify the end user of the additional or related digital component provider device 106 that may fulfill the request from the first client computing device 104.
[0066] The digital component selector 120 can provide the selected digital component selected in response to the request identified in the input audio signal to the computing device 104 or the local digital assistant 134 or an application executed on the computing device 104 for presentation. Thus, the digital component selector 120 can receive a content request from the client computing device 104, select a digital component in response to the content request, and send the digital component to the client computing device 104 for presentation. The digital component selector 120 can send the selected digital component to the local digital assistant 134 for presentation by the local digital assistant 134 itself or a third-party application executed by the client computing device 104. For example, the local digital assistant 134 can play or output an audio signal corresponding to the selected digital component.
[0067] The data repository 124 stores content data 132, which can, for example, include digital components provided by the digital component provider device 106 or obtained or determined by the data processing system 102 to facilitate content selection. The content data 132 can, for example, include digital components (or digital component objects), which can, for example, include digital components, online documents, audio, images, video, multimedia content, or third-party content. The digital component provider device 106 can provide the full-length digital component to the data processing system 102 for storage as content data 132. The digital component provider device 106 can provide the data processing system 102 with a partial digital component.
[0068] The data repository 124 can store templates 130. Templates 130 can be templates of action data structures. Templates 130 can include fields that the direct action API 112 can fill when fulfilling a request. Templates can include standardized fields that the direct action API 112 or a third party can fill when completing or responding to a request.
[0069] The data repository 124 can store past requests 128. The past requests 128 can be past requests received by the data processing system 102 in an input audio signal or other input signal. The past requests can be parsed from the input signal by the natural language processor component 114. The past requests 128 can be a log of past requests. The past requests 128 can be a database of requests. The database can include the text of the past requests. The database can include vectorizations of the past requests. The vectors of each past request can be one-hot encoded. The vectors can be used to determine the semantic similarity between the past request and the current request.
[0070] Figure 2A block diagram of an example method 200 for generating a speech-based interface in a voice-activated system is shown. The method 200 can include receiving an input signal (act 202). The method 200 can include parsing the input signal (act 204). The method 200 can include determining an interface type (act 206). The method 200 can include selecting a candidate request (act 208). The method 200 can include generating an action data structure (act 210). The method 200 can include sending the action data structure (act 212).
[0071] As described above, method 200 can include receiving an input signal (action 202). Method 200 can include receiving an input signal by a natural language processor component executed by a data processing system. The input signal can be an input audio signal detected by a sensor at a first client device. The sensor can be a microphone of a first client device. For example, a digital assistant component executed at least in part by a data processing system including one or more processors and a memory can receive an input audio signal. The input audio signal can include a conversation assisted by a digital assistant. The conversation can include one or more inputs and outputs. The conversation can be based on audio, text, or a combination of audio and text. The input audio signal can include text input or other types of input that can provide conversation information. The data processing system can receive audio input about a conversation corresponding to the conversation. The data processing system can receive audio input that is divided into one or more parts or uploaded in batches or in batches (e.g., uploading multiple parts of a conversation in a single transmission to reduce the number of transmissions).
[0072] Method 200 can include parsing an input signal (action 204). The NLP component of the data processing system can parse the input signal to identify multiple candidate requests based on the input audio signal. Each of the multiple candidate requests can be based on a different semantic meaning or interpretation of the input signal. The data processing system can identify a main request in the input audio signal. The candidate request can be based on the main request. The candidate request can be based on the term or phrase with multiple interpretations identified by the NLP component in the main request. Each of these candidate requests can correspond to the main request, and its term or phrase is interpreted with each possible interpretation. For example, based on the main request "Ok, what's the time in Greenville (please determine what time is Greenville)", the data processing system can generate candidate requests "what's the time in Greenville, NH (what time is Greenville, New Hampshire)" and "what's the time in Greenville, SC (what time is Greenville, South Carolina)". The data processing system can generate or select candidate requests based on the semantic similarity between the main request and each of these candidate requests. For example, the data processing system can search a log file of past requests. The data processing system can calculate the distance between the past requests and the primary request in the vector space. The data processing system can select the previous, three, five, ten, or more past responses that are most similar to the primary response (e.g., closest to the primary response in the vector space).
[0073] The NLP component can determine a confidence score for a main request identified in an input audio signal. NLP can determine a confidence score based on the semantics of the main request. The confidence score can indicate whether the main request is ambiguous or unclear. For example, if the main request (or one of the terms) has multiple interpretations, the confidence score of the semantic meaning of the main request may be low. A low confidence score can indicate that the main request may have multiple interpretations, multiple possible responses, a broad or extensive request, or that the request does not include information sufficient to provide a response. If a term in a request has multiple interpretations, the request may have multiple or different semantics. A term may have multiple interpretations because the term has multiple definitions or because the term is a homonym or homograph (e.g., different words with the same pronunciation). For example, a user requests information about "genes", but in an audio-based interface, the data processing system may interpret "genes" as "genes" or "jeans". A request may have multiple or different semantics because the request lacks information, context, or other data. For example, a user may request the top speed of a bird without specifying the bird. When a term is a genus (e.g., higher level) term rather than a species term, the term can be generalized. For example, Corolla(c) is a type of the broader genus term automobile. When the confidence score is below a predetermined threshold, the NLP component can determine that multiple candidate requests were selected, indicating that the primary request has multiple semantic meanings.
[0074] Method 200 can include determining an interface type (action 206). The data processing system can determine the interface type of a client computing device that sends an input audio signal to the data processing system. The interface type can indicate at least one of a display format of the client device, a display size of the client device, a display availability of the client device, or a type of the client device. The data processing system can poll the client computing device to determine the interface type. For example, the data processing system can send a message including processor executable instructions to the client computing device that, when executed by the client computing device, determines the interface type of the client computing device. When sending the input audio signal to the data processing system, the client computing device can send an indication of the interface type to the data processing system. For example, the client computing device can include the indication of the interface type of the client computing device in metadata or as a parameter of the input audio signal.
[0075] Method 200 can include selecting candidate requests (act 208). The data processing system can select a subset of candidate requests for which the data processing system will send a response or action data structure to the client computing device. The subset of candidate requests can be one or more of the candidate requests. The data processing system can select all candidate requests. The number of candidate requests selected can be based on an interface type of the client computing device. The number of candidate requests selected can be based on terms or phrases in the primary request that have multiple interpretations. For example, the data processing system can select a number of candidate requests that corresponds to the number of interpretations of the term or phrase. The data processing system can select the number of candidate requests based on a semantic similarity between the primary request and one or more past requests stored in a past request log.
[0076] For example, refer to Figure 3 and Figure 4 The data processing system can select the number of candidate requests (or a portion of the candidate requests to which the data processing system will respond) based on, among other things, the interface type of the client computing device. Figure 3 An example client computing device 104 is shown displaying responses to a single candidate request. Figure 4 An example client computing device 104 is shown displaying responses to a plurality of candidate requests. Figure 3 In the example shown, the client computing device 104 is a smart phone. The client computing device 104 provides an input signal. The input signal can be an audio-based signal or a text-based signal. The text 302 of the input signal can be rendered on the display 144 of the client computing device 104. The data processing system 102 can parse the text 302 of the input signal to determine that the input signal includes a primary request "how long does it take to get to work". The data processing system can determine that the primary request can include multiple candidate requests. For example, the candidate requests can be "how long does it take to get to work by car", "how long does it take to get to work by public transit", or "how long does it take to get to work by bike". As shown in the figure, Figure 3, the interface type can indicate that display 144 is a relatively small display. In response to the interface type, the data processing system can select a single candidate request. The data processing system can generate an action data structure 304, which includes a text-based response (or portion) 306 and an image-based response (or portion) 308. The text-based response 306 can include text displayed or spoken to the user. The image-based response 308 can include an image, video, or other digital component displayed to the user. The action data structure can include an indication of the candidate request for which the action data structure was generated. For example, the text-based response 306 indicates that the data processing system returned a response to the candidate request "how long does it take to get to work by public transit (how long does it take to go to work by public transportation)".
[0077] Figure 4 An example is shown in which the client computing device 104 displays multiple responses to different candidate requests. Figure 4 In the example shown, the client computing device 104 is a tablet computer and is connected to Figure 3 The client computing device 104 shown can have a relatively large display 144. The client computing device 104 provides an input signal. The input signal can be an audio-based signal or a text-based signal. The text 302 of the input signal can be rendered on the display 144 of the client computing device 104. The NLP component can determine that the main request "how fast do birds fly" is broad because the request can return multiple possible responses. For example, the speed of the bird may depend on the bird about which the user intends to request information. The data processing system can determine that the main request is broad or general. In response to receiving the broad or general main request, the data processing system can send a message including a prompt. The message can be an audio signal request. The user can respond to the prompt. The client computing device 104 can capture the response as a second input audio signal, which is sent to the data processing system 102. The data processing system can select one or more of the candidate responses (or generate new candidate responses) based on the response identified in the second input audio signal.
[0078] like Figure 4As shown, the data processing system can generate multiple candidate responses, which may include "how fast can bird A fly", "how fast can bird B fly", and "how fast can bird C fly". The data processing system can generate other candidate requests. Based on the interface type (e.g., the client computing device 104 has a relatively large screen), the data processing system can select to generate responses to three of the candidate requests. The data processing system can generate an action data structure for each of the selected candidate requests. The action data structures can include indications of the candidate requests in response to which they were generated. Figure 4 The data processing system is shown generating three action data structures, which the client computing device 104 renders as cards 404(1), 404(2), and 404(3), which can be collectively referred to as cards 404. Cards 404 can include a separate response to each of the candidate requests. Cards 404 can include text, images, video, audio, or other forms of content or digital components. Cards 404 can be arranged in a carousel so that a user can swipe or browse between cards 404 to view each of these cards 404. A user can select one or more of these cards 404 to activate card 404. Activating card 404 can cause the user interface to display additional information associated with card 404 or to start playing or rendering media (e.g., a video or audio file) associated with card 404.
[0079] Method 200 can include generating an action data structure (action 210). A data processing system can generate an action data structure for each candidate request in the selected candidate request. The action data structure for each candidate request can include responses, which include digital components, video-based content, text-based content, audio-based content, or other types of content items. The action data structure can be sent to a third-party server, or before the action data structure is sent to a client device, the data processing system can receive data from the third-party server to fill in one or more fields of the action data structure. The content of the action data structure can be rendered and displayed to the user by a client computing device. Each action data structure can include a response to a corresponding one in the candidate request.
[0080] Method 200 can include sending an action data structure (action 212). The data processing system can send the generated action data structure to the client computing device via the interface of the data processing system. The data processing system can send the action data structure to the client device associated with the client computing device. The data processing system can generate an action data structure for one or more of the unselected candidate requests, which can be called additional requests. The action data structure for the additional request can be sent to a second client device. In a certain example, the client device can be a smart phone. The data processing system can select a candidate request (e.g., the highest ranked candidate request), generate an action data structure for the candidate request as a response and send it to the client device. The data processing system can also generate an action data structure for the next five (or other number) candidate requests in the candidate request. The action data structure can be sent to the user's laptop. A notification indicating that additional information and possible responses can be viewed on the user's laptop can be sent to the smart phone.
[0081] The data processing system can send an action data structure to a client computing device for sequential or parallel display. For example, the data processing system can select a first candidate request and a second candidate request from a plurality of candidate requests. The data processing system can generate a first action data structure for the first candidate request and a second action data structure for the second candidate request. The data processing system can send the first action data structure and the second action data structure so that these action data structures are rendered together on a display as a response. The data processing system can send the first action data structure and the second action data structure to the client computing device so that these action data structures are rendered sequentially. For example, the first action data structure can be rendered as a first possible response to a user input signal. Rendering the first action data structure can cause the client computing device to display the results associated with the first candidate request and an indication of the first candidate request (e.g., the text of the first candidate request). The user can clear the rendered first action data structure. For example, the user can sweep the card including the response from the screen. The client computing device can then render the second action data structure. The data processing system can cause the action data structure to be rendered sequentially based on the interface type of the client computing device. For example, on a relatively small screen of a smart phone, the action data structure can be rendered sequentially. The data processing system can also send the first action data structure and the second action data structure separately to the client computing device. That is, the data processing system can send the first action data structure to the client computing device and send the second action data structure to the client computing device only if the client computing device indicates that the first action data structure has been cleared, e.g., indicating that the user has swiped the card including the first response from the screen. In this way, unnecessary data is not sent to the client computing device, and thus bandwidth and processing burden are reduced.
[0082] Figure 5A block diagram of an example computer system 500 is shown. The computer system or computing device 500 can include or be used to implement the system 100 or its components such as the data processing system 102. The data processing system 102 can include an intelligent personal assistant or a voice-based digital assistant. The computing system 500 includes a bus 505 or other communication component for transmitting information and a processor 510 or processing circuit coupled to the bus 505 to process information. The computing system 500 can also include one or more processors 510 or processing circuits coupled to the bus to process information. The computing system 500 also includes a main memory 515, such as a random access memory (RAM) or other dynamic storage device, coupled to the bus 505 to store information and instructions to be executed by the processor 510. The main memory 515 can be or include the data repository 124. During the execution of instructions by the processor 510, the main memory 515 can also be used to store location information, temporary variables, or other intermediate information. The computing system 500 may further include a read-only memory (ROM) 520 or other static storage device coupled to the bus 505 to store static information and instructions for the processor 510. A storage device 525, such as a solid-state device, magnetic disk, or optical disk, can be coupled to the bus 505 to permanently store information and instructions. The storage device 525 can include or be a part of the data repository 124.
[0083] Computing system 500 may be coupled to a display 535, such as a liquid crystal display or an active matrix display, via bus 505 to display information to a user. An input device 530, such as a keyboard including alphanumeric and other keys, may be coupled to bus 505 to communicate information and command selections to processor 510. Input device 530 can include a touch screen display 535. Input device 530 can also include a cursor control, such as a mouse, trackball, or cursor direction keys, to communicate direction information and command selections to processor 510 and control cursor movement on display 535. Display 535 can be, for example, a display of data processing system 102, client computing device 104, or Figure 1 Part of other components.
[0084] The processes, systems, and methods described herein can be implemented by the computing system 500 in response to the processor 510 executing an arrangement of instructions contained in the main memory 515. Such instructions can be read into the main memory 515 from another computer-readable medium, such as the storage device 525. Execution of the arrangement of instructions contained in the main memory 515 causes the computing system 500 to perform the illustrative processes described herein. One or more processors in a multi-processing arrangement can also be employed to execute the instructions contained in the main memory 515. Hard-wired circuitry can be used in place of or in combination with software instructions with the systems and methods described herein. The systems and methods described herein are not limited to any specific combination of hardware circuitry and software.
[0085] Although Figure 5 An example computing system is described in the specification, but the subject matter including the operations described in this specification can be implemented in other types of digital electronic circuits or computer software, firmware or hardware, or a combination of one or more of them, including the structures disclosed in this specification and their equivalents.
[0086] For the situation that the system discussed in this article collects personal information about users or can make use of personal information, it is possible to provide users with a program or feature that controls whether personal information (e.g., information about user social networks, social actions or activities, user preferences, or user locations) can be collected or control whether or how to receive content from content servers or other data processing systems that are more relevant to users. In addition, some data can be anonymized in one or more ways before being stored or used so that personally identifiable information is removed when generating parameters. For example, the identity of a user can be anonymized so that no personally identifiable information can be determined for the user, or in the case of obtaining location information, the user's geographic location can be generalized (such as to the city, zip code, or state level) so that the user's specific location cannot be determined. Therefore, users can control how information about him or her is collected and how it is used by content servers.
[0087] The subject matter and operation described in this specification can be implemented with a digital electronic circuit or computer software, firmware or hardware or a combination of one or more of the structures disclosed in this specification and their equivalent structures. The subject matter described in this specification can be implemented as one or more computer programs, for example, a circuit of one or more computer program instructions encoded on one or more computer storage media for a digital processing device to perform or control its operation. Alternatively or additionally, program instructions can be encoded on artificially generated propagation signals, for example, machine-generated electrical signals, optical signals or electromagnetic signals, and the signals are generated to encode information so as to be transmitted to a suitable receiver device for execution by a data processing device. The computer storage medium can be a computer-readable storage device, a computer-readable storage matrix, a random or serial access memory array or device or a combination of one or more of them, or be included therein. Although the computer storage medium is not a propagation signal, the computer storage medium can be the source or destination of the computer program instructions encoded with an artificially generated propagation signal. The computer storage medium can also be one or more separate components or media (for example, multiple CDs, disks or other storage devices), or be included therein. The operations described in this specification can be implemented as operations performed by a data processing apparatus on data stored on one or more computer-readable storage devices or received from other sources.
[0088] The terms "data processing system", "computing device", "component" or "data processing apparatus" cover various apparatuses, devices and machines for processing data, including, for example, one or more programmable processors, computers, systems on chips, or combinations thereof. The apparatus can include dedicated logic circuits, such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). In addition to hardware, the apparatus can also include code that creates an execution environment for the above-mentioned computer programs, such as code that constitutes processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more of them. The apparatus and execution environment can implement various computing model infrastructures, such as web services, distributed computing, and grid computing infrastructures. For example, the interface 110, the digital component selector 120, the NLP component 114, the interface management component 135, and other data processing system components can include or share one or more data processing apparatuses, systems, computing devices, or processors.
[0089] A computer program (also known as a program, software, software application, app, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and can be deployed in any form, including as a standalone program or as a module, component, subroutine, object, or other unit suitable for a computing environment. A computer program can correspond to a file in a file system. A program can be stored in a file portion that stores other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the above program, or in multiple collaborative files (e.g., a file that stores one or more modules, subroutines, or code portions). A computer program can be deployed to execute on a single computer or on multiple computers located at a site or distributed across multiple sites and interconnected by a communication network.
[0090] The processes and logic flows described in this specification can be performed by one or more programmable processors (e.g., components of data processing system 102) executing one or more computer programs to perform actions by operating on input data and generating output. The processes and logic flows can also be performed by special purpose logic circuits such as FPGAs (field programmable gate arrays) or ASICs (application specific integrated circuits), and the apparatus can also be implemented as special purpose logic circuits. Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example: semiconductor memory devices, such as EPROMs, EEPROMs, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD-ROM disks and DVD-ROM disks. The processor and memory can be supplemented by or incorporated into special purpose logic circuits.
[0091] The subject matter described herein can be implemented in a computing system that includes a back-end component, for example, as a data server, or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a client computer having a graphical user interface or a web browser by which a user can interact with an implementation of the subject matter described herein), or a combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication, for example, a communication network. Examples of communication networks include local area networks ("LANs") and wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks).
[0092] A computing system such as system 100 or system 500 can include a client and a server. The client and server are generally remote from each other and usually interact through a communication network (e.g., network 105). The relationship between the client and the server is implemented by means of computer programs running on the corresponding computers and having a client-server relationship with each other. In some embodiments, the server sends data (e.g., data packets representing digital components) to the client device (e.g., for the purpose of displaying data to a user interacting with the client device and receiving user input from the user). Data generated at the client device (e.g., the result of user interaction) can be received at the server from the client device (e.g., received by the data processing system 102 from the client computing device 104).
[0093] Although operations are depicted in the drawings in a particular order, it is not required that such operations be performed in the particular order shown or in sequential order, and it is not required that all illustrated operations be performed. The actions described herein can be performed in a different order.
[0094] The separation of various system components is not required in all embodiments, and the program components can be included in a single hardware or software product. For example, NLP component 114 or interface management component 135 can be a single component, app or program, or a logical device with one or more processing circuits, or a part of one or more servers of data processing system 102.
[0095] Having now described some illustrative embodiments, it is apparent that the foregoing is illustrative rather than restrictive and has been exemplified. In particular, although many of the examples presented herein relate to specific combinations of method behaviors or system elements, those behaviors and those elements may be combined in other ways to achieve the same goals. The combination of the behaviors, elements, and features discussed with one embodiment is not intended to exclude similar functions in other embodiments.
[0096] The phrases and terms used herein are for descriptive purposes and should not be considered limiting. The use of "comprising," "including," "having," "containing," "involving," "characterized by," "characterized by," and variations thereof herein are intended to encompass the items listed thereafter, their equivalents and additions, and alternative embodiments consisting exclusively of the items listed thereafter. In one embodiment, the systems and methods described herein consist of one, more than one, each combination, or all of the elements, acts, or components described.
[0097] Any reference to an embodiment or element or behavior of the systems and methods herein in the singular may also encompass embodiments including a plurality of these elements, and any reference to any embodiment or element or behavior herein in the plural may also encompass embodiments including only a single element. References in the singular or plural are not intended to limit the systems or methods disclosed herein, their components, behaviors, or elements to a single or multiple configurations. References to any behavior or element based on any information, behavior, or element may include embodiments in which the behavior or element is based at least in part on any information, behavior, or element.
[0098] Any embodiment disclosed herein may be combined with any other embodiment or implementation, and references to "an embodiment," "some embodiments," "an embodiment," etc. are not necessarily mutually exclusive and are intended to indicate that a particular feature, structure, characteristic described in conjunction with the embodiment may be included in at least one embodiment or implementation. Thus, the terms used herein do not necessarily all refer to the same embodiment. Any embodiment may be combined with any other embodiment, inclusively or exclusively, in any manner consistent with the aspects and embodiments disclosed herein.
[0099] References to "or" may be interpreted as inclusive, so that any term described using "or" may refer to any of a single, more than one, and all of the terms. For example, a reference to "at least one of A and B" can include only "A", only "B", and both "A" and "B". Such references used in conjunction with "including" or other open-ended terms can include additional items.
[0100] Where reference numerals are attached to technical features in the drawings, detailed description or any claims, such reference numerals are included to improve the intelligibility of the drawings, detailed description and claims. Accordingly, the presence or absence of reference numerals will not have any limiting effect on the scope of any claim element.
[0101] The systems and methods described herein may be embodied in other specific forms without departing from the features thereof. For example, when launching an application, the computing device 104 can generate a packaged data object and forward it to a third-party application. The above embodiments are illustrative and do not limit the systems and methods described herein. Therefore, the scope of the systems and methods described herein is specified by the appended claims rather than the above description, and the equivalent meanings and changes within the scope of the claims are covered therein.
Claims
1. A system for generating a speech-based interface in a networked system, comprising: A processor, a computer readable memory, one or more computer readable media, and program instructions stored together on the one or more computer readable media, the program instructions being executable to: receiving an input audio signal detected by a sensor of a client device; parsing the input audio signal to identify a main request in the input audio signal; determining a confidence score for the semantic meaning of the primary request; In response to the confidence score not satisfying a predetermined threshold, determining a plurality of candidate requests, each candidate request in the plurality of candidate requests corresponding to a different semantic meaning of the input audio signal; Determining an interface type of the client device; selecting a number of the plurality of candidate requests based on semantic similarity to the primary request, the number being based on an interface type of the client device, and the number of the plurality of candidate requests corresponding to a subset of the plurality of candidate requests; generating a first action data structure for a first candidate request in the subset of the plurality of candidate requests; as well as The first action data structure for the first candidate request in the subset of the plurality of candidate requests is sent to the client device based on the interface type of the client device.
2. The system according to claim 1, wherein: The interface type indicates at least one of a display format of the client device, a display size of the client device, a display availability of the client device, or a client device type.
3. The system of claim 1, wherein the program instructions are further executable to: generating a second action data structure for a second candidate request in the subset of the plurality of candidate requests; and The second action data structure for the second candidate request is sent to the client device to be rendered after the first action data structure.
4. The system of claim 1, wherein the program instructions are further executable to: identifying terms in the input audio signal that have multiple interpretations; and The number of the plurality of candidate requests is selected based on the terms in the input audio signal having multiple interpretations.
5. The system of claim 1, wherein the program instructions are further executable to: The plurality of candidate requests are selected from a log of previously received input audio signals based at least on a semantic similarity between each of the plurality of candidate requests and the primary request.
6. The system of claim 1, wherein the program instructions are further executable to: An indication of the plurality of candidate requests is included in the first action data structure.
7. The system of claim 1, wherein the program instructions are further executable to: A digital component is selected based on the dominant request in the input audio signal.
8. The system of claim 1, wherein the program instructions are further executable to: determining a response to the primary request; determining a response to each of the plurality of candidate requests; and The number of the plurality of candidate requests is selected based on a comparison between a response to the request and a response to each of the plurality of candidate requests.
9. The system of claim 1, wherein the program instructions are further executable to: determining a response to the primary request; determining a prevalence score for the response to the primary request in the input audio signal; determining a prevalence score for a response to each of the plurality of candidate requests; and The number of the plurality of candidate requests is selected based on a comparison of a prevalence score of a response to the request in the input audio signal and a prevalence score of a response to each of the plurality of candidate requests.
10. The system of claim 1, wherein the program instructions are further executable to: sending an audio signal request including a prompt; receiving a second input audio signal from the client device, the second input audio signal being generated in response to the prompt; and The number of the plurality of candidate requests is selected based on the second input audio signal.
11. The system of claim 1 , wherein the program instructions are further executable to: generating a second action data structure for a second candidate request in the subset of the plurality of candidate requests; selecting a second client device associated with the client device, the second client device having an interface having an interface type different from the interface type of the client device; and The second action data structure is sent to the second client device.
12. The system of claim 1, wherein the program instructions are further executable to: receiving a second input audio signal detected by the sensor of the client device; parsing the second input audio signal to identify candidate requests based on the second input audio signal; and The candidate request is sent to the client device.
13. A method implemented by one or more processors for generating a speech-based interface in a networked system, comprising: receiving an input audio signal detected by a sensor of a client device; parsing the input audio signal to identify a main request in the input audio signal; determining a confidence score for the semantic meaning of the primary request; In response to the confidence score not satisfying a predetermined threshold, determining a plurality of candidate requests, each candidate request in the plurality of candidate requests corresponding to a different semantic meaning of the input audio signal; Determining an interface type of the client device; selecting a number of the plurality of candidate requests based on semantic similarity to the primary request, the number being based on an interface type of the client device; generating a first action data structure for a first candidate request of the number of the plurality of candidate requests based on an interface type of the client device; as well as The action data structure is sent for each candidate request in a portion of the plurality of candidate requests based on the interface type of the client device.
14. The method according to claim 13, wherein: The interface type indicates at least one of a display format of the client device, a display size of the client device, a display availability of the client device, or a client device type.
15. The method according to claim 13, comprising: identifying a term in the input audio signal having multiple interpretations; as well as The number of the plurality of candidate requests is selected based on the terms in the input audio signal having multiple interpretations.
16. The method according to claim 13, comprising: The plurality of candidate requests are selected from a log of previously received input audio signals based at least on a semantic similarity between each of the plurality of candidate requests and the primary request.
17. The method according to claim 13, comprising: determining a response to the primary request; determining a response to each candidate request of the plurality of candidate requests; as well as The number of the plurality of candidate requests is selected based on a comparison between a response to the primary request and a response to each of the plurality of candidate requests.
18. A method implemented by one or more processors, the method comprising: receiving a first input audio signal from a first client device; determining a first plurality of candidate requests based on the first input audio signal, each candidate request in the first plurality of candidate requests corresponding to a different semantic meaning of the first input audio signal; determining an interface type of the first client device; generating a first action data structure for a first candidate request in the first plurality of candidate requests and a second action data structure for a second candidate request in the first plurality of candidate requests, the first action data structure comprising a response to the first candidate request in the first plurality of candidate requests, and the second action data structure comprising a response to the second candidate request in the first plurality of candidate requests; as well as The first action data structure and the second action data structure are transmitted to the first client device for serial rendering by the first client device, wherein the transmitting is performed to cause serial rendering based on the interface type of the first client device.
19. The method according to claim 18, wherein: The transmitting is operable to cause the first client device to: rendering, on a display of the first client device, a response to the first candidate request included in the first action data structure; as well as After the first client device receives user input from a display of the first client device to clear the response to the first candidate request, rendering a response to the second candidate request instead of a response to the first candidate request on the display of the first client device.
20. The method of claim 18, further comprising: receiving a second input audio signal from a second client device; determining a second plurality of candidate requests based on the second input audio signal, each candidate request in the second plurality of candidate requests corresponding to a different semantic meaning of the second input audio signal; determining an interface type of the second client device; generating a third action data structure for a first candidate request in the second plurality of candidate requests and a fourth action data structure for a second candidate request in the second plurality of candidate requests, the third action data structure comprising a response to the first candidate request in the second plurality of candidate requests and the fourth action data structure comprising a response to the second candidate request in the second plurality of candidate requests; as well as The third action data structure and the fourth action data structure are transmitted to the second client device for parallel rendering by the second client device, wherein the transmitting is performed to cause parallel rendering based on the interface type of the second client device.
21. The method of claim 18, further comprising: parsing the first input audio signal to identify a primary request in the first input audio signal; as well as determining a confidence score for the semantic meaning of the primary request, Wherein, determining the first plurality of candidate requests is in response to the confidence score failing to meet a predetermined threshold.
22. The method according to claim 18, wherein: The interface type of the first client device indicates at least one of a display format of the first client device, a display size of the first client device, a display availability of the first client device, or a client device type of the first client device.
23. The method of claim 18, further comprising: identifying a term in the first input audio signal having multiple interpretations; as well as The first plurality of candidate requests is determined based on the terms in the first input audio signal having the plurality of interpretations.
24. The method of claim 18, further comprising determining the first plurality of candidate requests using a log of previously received input audio signals.
25. The method of claim 18, further comprising: transmitting an audio signal request including a prompt; as well as receiving from the first client device a second input audio signal from the second input audio signal generated in response to the prompt, Wherein, determining the first plurality of candidate requests is based on the second input audio signal.
26. A computer program product comprising one or more computer-readable storage media having program instructions stored collectively on the one or more computer-readable storage media, the program instructions being executable to: receiving a first input audio signal from a first client device; determining a first plurality of candidate requests based on the first input audio signal, each candidate request in the first plurality of candidate requests corresponding to a different semantic meaning of the first input audio signal; determining an interface type of the first client device; generating a first action data structure for a first candidate request in the first plurality of candidate requests and a second action data structure for a second candidate request in the first plurality of candidate requests, the first action data structure comprising a response to the first candidate request in the first plurality of candidate requests, and the second action data structure comprising a response to the second candidate request in the first plurality of candidate requests; as well as The first action data structure and the second action data structure are transmitted to the first client device for serial rendering by the first client device, wherein the transmitting is performed to cause serial rendering based on the interface type of the first client device.
27. The computer program product of claim 26, wherein: The transmitting is operable to cause the first client device to: rendering, on a display of the first client device, a response to the first candidate request included in the first action data structure; as well as After the first client device receives user input from the display of the first client device to clear the response to the first candidate request, rendering the response to the second candidate request instead of the response to the first candidate request on the display of the first client device.
28. The computer program product of claim 26, wherein: The program instructions are further executable to: receiving a second input audio signal from a second client device; determining a second plurality of candidate requests based on the second input audio signal, each candidate request in the second plurality of candidate requests corresponding to a different semantic meaning of the second input audio signal; determining an interface type of the second client device; generating a third action data structure for a first candidate request in the second plurality of candidate requests and a fourth action data structure for a second candidate request in the second plurality of candidate requests, the third action data structure comprising a response to the first candidate request in the second plurality of candidate requests and the fourth action data structure comprising a response to the second candidate request in the second plurality of candidate requests; as well as The third action data structure and the fourth action data structure are transmitted to the second client device for parallel rendering by the second client device, wherein the transmitting is performed to cause parallel rendering based on the interface type of the second client device.
29. The computer program product of claim 26, wherein: The program instructions are further executable to: parsing the first input audio signal to identify a primary request in the first input audio signal; and determining a confidence score for the semantic meaning of the primary request, Wherein, determining the first plurality of candidate requests is in response to the confidence score failing to meet a predetermined threshold.
30. The computer program product of claim 26, wherein: The interface type of the first client device indicates at least one of a display format of the first client device, a display size of the first client device, a display availability of the first client device, or a client device type of the first client device.
31. The computer program product of claim 26, wherein: The program instructions are further executable to: identifying a term in the first input audio signal having multiple interpretations; and The first plurality of candidate requests is determined based on the terms in the first input audio signal having the plurality of interpretations.
32. The computer program product of claim 26, wherein: The program instructions are further executable for determining the first plurality of candidate requests using a log of previously received input audio signals.
33. The computer program product of claim 26, wherein: The program instructions are further executable to: transmitting an audio signal request including a prompt; and receiving from the first client device a second input audio signal from the second input audio signal generated in response to the prompt, Wherein, determining the first plurality of candidate requests is based on the second input audio signal.
34. A system comprising: A processor, a computer readable memory, one or more computer readable storage media, and program instructions stored together on the one or more computer readable storage media, the program instructions being executable to: receiving a first input audio signal from a first client device; determining a first plurality of candidate requests based on the first input audio signal, each candidate request in the first plurality of candidate requests corresponding to a different semantic meaning of the first input audio signal; determining an interface type of the first client device; generating a first action data structure for a first candidate request in the first plurality of candidate requests and a second action data structure for a second candidate request in the first plurality of candidate requests, the first action data structure comprising a response to the first candidate request in the first plurality of candidate requests, and the second action data structure comprising a response to the second candidate request in the first plurality of candidate requests; as well as The first action data structure and the second action data structure are transmitted to the first client device for serial rendering by the first client device, wherein the transmitting is performed to cause serial rendering based on the interface type of the first client device.
35. The system of claim 34, wherein: The transmitting is operable to cause the first client device to: rendering, on a display of the first client device, a response to the first candidate request included in the first action data structure; as well as After the first client device receives user input from a display of the first client device to clear the response to the first candidate request, rendering a response to the second candidate request instead of a response to the first candidate request on the display of the first client device.
36. The system of claim 34, wherein: The program instructions are further executable to: receiving a second input audio signal from a second client device; determining a second plurality of candidate requests based on the second input audio signal, each candidate request in the second plurality of candidate requests corresponding to a different semantic meaning of the second input audio signal; determining an interface type of the second client device; generating a third action data structure for a first candidate request in the second plurality of candidate requests and a fourth action data structure for a second candidate request in the second plurality of candidate requests, the third action data structure comprising a response to the first candidate request in the second plurality of candidate requests and the fourth action data structure comprising a response to the second candidate request in the second plurality of candidate requests; as well as The third action data structure and the fourth action data structure are transmitted to the second client device for parallel rendering by the second client device, wherein the transmitting is performed to cause parallel rendering based on the interface type of the second client device.
37. The system of claim 34, wherein: The program instructions are further executable to: parsing the first input audio signal to identify a primary request in the first input audio signal; and determining a confidence score for the semantic meaning of the primary request, Wherein, determining the first plurality of candidate requests is in response to the confidence score failing to meet a predetermined threshold.
38. A system for generating a speech-based interface in a networked system, comprising: A data processing system comprising one or more processors for: receiving an input audio signal detected by a sensor of a client device; determining a plurality of candidate requests based on past requests received by the data processing system, each candidate request in the plurality of candidate requests corresponding to a different semantic meaning of the input audio signal; generating a first action data structure for a first candidate request among the plurality of candidate requests and a second action data structure for a second candidate request among the plurality of candidate requests; selecting a content item provided by a third-party content provider based on the first candidate request or the first action data structure; as well as The content item and the first action data structure for the first candidate request of the plurality of candidate requests are transmitted to the client device based on an interface type of the client device.
39. The system of claim 38, comprising the data processing system being configured to: selecting the content item based on the first candidate request; and The first action data structure is generated using the content item.
40. The system of claim 38, comprising the data processing system being configured to: selecting the content item based on the first action data structure; and The content item is transmitted to the client device for output by the client device.
41. The system of claim 38, wherein: The content item includes an audio output.
42. The system of claim 38, wherein: The interface type indicates at least one of a display format of the client device, a display size of the client device, a display availability of the client device, or a client device type.
43. The system of claim 38, comprising: The data processing system transmits the second action data structure for the second candidate request to the client device for rendering subsequent to the first action data structure.
44. The system of claim 38, comprising the data processing system being configured to: parsing the input audio signal to identify a request in the input audio signal; determining a confidence score for the semantic meaning of the request; and The plurality of candidate requests are selected based on the confidence score being below a predetermined threshold.
45. The system of claim 38, comprising the data processing system being configured to: identifying terms in the input audio signal that have multiple interpretations; and A number of the plurality of candidate requests is selected based on the terms in the input audio signal having the plurality of interpretations.
46. The system of claim 38, comprising the data processing system being configured to: parsing the input audio signal to identify a primary request in the input audio signal; determining a response to the primary request; determining a prevalence score of responses to the primary request in the input audio signal; determining a widespread score for a response to each candidate request in the plurality of candidate requests; as well as A number of the plurality of candidate requests is selected based on a comparison of the extensiveness score of the response to the request in the input audio signal and a generality score of the response to each of the plurality of candidate requests.
47. The system of claim 38, comprising the data processing system being configured to: transmitting an audio signal request including a prompt; receiving a second input audio signal from the client device, the second input audio signal being generated in response to the prompt; and A number of the plurality of candidate requests is selected based on the second input audio signal.
48. A method of generating a voice-based interface in a networked system, comprising: receiving, by a data processing system including one or more processors, an input audio signal detected by a sensor of a client device; determining, by the data processing system, a plurality of candidate requests based on past requests received by the data processing system, each of the plurality of candidate requests corresponding to a different semantic meaning of an input audio signal; generating, by the data processing system, a first action data structure for a first candidate request among the plurality of candidate requests and a second action data structure for a second candidate request among the plurality of candidate requests; selecting, by the data processing system, a content item provided by a third-party content provider based on the first candidate request or the first action data structure; as well as The first action data structure and the content item of the first candidate request of the plurality of candidate requests are transmitted, by the data processing system, to the client device based on an interface type of the client device.
49. The method of claim 48, comprising: selecting the content item based on the first candidate request; as well as The first action data structure is generated using the content item.
50. The method of claim 48, comprising: selecting the content item based on the first action data structure; as well as The content item is transmitted to the client device for output by the client device.
51. The method of claim 48, wherein: The content item includes an audio output.
52. The method of claim 48, wherein: The interface type indicates at least one of a display format of the client device, a display size of the client device, a display availability of the client device, or a client device type.
53. The method of claim 48, comprising: The second action data structure for the second candidate request is transmitted to the client device for rendering subsequent to the first action data structure.
54. The method of claim 48, comprising: parsing the input audio signal to identify a request in the input audio signal; determining a confidence score for the semantic meaning of the request; as well as The plurality of candidate requests are selected based on the confidence score being below a predetermined threshold.
55. The method of claim 48, comprising: identifying a term in the input audio signal having multiple interpretations; as well as A number of the plurality of candidate requests is selected based on the terms in the input audio signal having the plurality of interpretations.
56. The method of claim 48, comprising: parsing the input audio signal to identify a primary request in the input audio signal; determining a response to the primary request; determining a prevalence score of responses to the primary request in the input audio signal; determining a widespread score for a response to each candidate request in the plurality of candidate requests; as well as The number of the plurality of candidate requests is selected based on a comparison of the prevalence score of the response to the request in the input audio signal and the prevalence score of the response to each of the plurality of candidate requests.
57. The method of claim 48, comprising: transmitting an audio signal request including a prompt; receiving a second input audio signal from the client device, the second input audio signal being generated in response to the prompt; as well as A number of the plurality of candidate requests is selected based on the second input audio signal.
58. A system for generating a speech-based interface in a networked system, comprising: A data processing system comprising one or more processors for: receiving an input audio signal detected by a sensor of a client device; parsing the input audio signal to identify a plurality of candidate requests, each candidate request in the plurality of candidate requests being based on a different semantic meaning of the input audio signal; Determining an interface type of the client device; selecting a number of the plurality of candidate requests based on an interface type of the client device, the number of the plurality of candidate requests corresponding to a subset of the plurality of candidate requests; generating a first action data structure for a first candidate request of the subset of the plurality of candidate requests and a second action data structure for a second candidate request of the subset of the plurality of candidate requests; selecting a content item provided by a third-party content provider based on the first candidate request or the first action data structure; Based on the interface type of the client device, the first action data structure and a content item of the first candidate request of the subset of the plurality of candidate requests are transmitted to the client device.
59. The system of claim 58, comprising the data processing system being configured to: selecting the content item based on the first candidate request; and The first action data structure is generated using the content item.
60. The system of claim 58, comprising the data processing system being configured to: selecting the content item based on the first action data structure; and The content item is transmitted to the client device for output by the client device.
61. The system of claim 58, wherein: The content item includes an audio output.
62. The system of claim 58, wherein: The interface type indicates at least one of a display format of the client device, a display size of the client device, a display availability of the client device, or a client device type.
63. The system of claim 58, comprising: The data processing system transmits the second action data structure for the second candidate request to the client device for rendering subsequent to the first action data structure.
64. The system of claim 58, comprising the data processing system being configured to: parsing the input audio signal to identify a request in the input audio signal; determining a confidence score for the semantic meaning of the request; and The plurality of candidate requests are selected based on the confidence score being below a predetermined threshold.
65. The system of claim 58, comprising the data processing system being configured to: identifying terms in the input audio signal that have multiple interpretations; and A number of candidate requests is selected based on the terms in the input audio signal having the plurality of interpretations.
66. The system of claim 58, comprising the data processing system to: parsing the input audio signal to identify a primary request in the input audio signal; determining a response to the primary request; determining a prevalence score of responses to the primary request in the input audio signal; determining a widespread score for a response to each candidate request in the plurality of candidate requests; as well as The number of the plurality of candidate requests is selected based on a comparison of the prevalence score of the response to the request in the input audio signal and the prevalence score of the response to each of the plurality of candidate requests.
67. The system of claim 58, comprising the data processing system being configured to: transmitting an audio signal request including a prompt; receiving a second input audio signal from the client device, the second input audio signal being generated in response to the prompt; as well as A number of the plurality of candidate requests is selected based on the second input audio signal.
68. A method of generating a voice-based interface in a networked system, comprising: receiving, by a data processing system including one or more processors, an input audio signal detected by a sensor of a client device; parsing, by the data processing system, the input audio signal to identify a plurality of candidate requests, each candidate request in the plurality of candidate requests being based on a different semantic meaning of the input audio signal; determining, by the data processing system, an interface type of the client device; selecting, by the data processing system, a number of the plurality of candidate requests based on an interface type of the client device, the number of the plurality of candidate requests corresponding to a subset of the plurality of candidate requests; generating, by the data processing system, a first action data structure for a first candidate request of the subset of the plurality of candidate requests and a second action data structure for a second candidate request of the subset of the plurality of candidate requests; selecting, by the data processing system, a content item provided by a third-party content provider based on the first candidate request or the first action data structure; The first action data structure and content items of the first candidate request of the subset of the plurality of candidate requests are transmitted, by the data processing system, to the client device based on the interface type of the client device.
69. The method of claim 68, comprising: selecting the content item based on the first candidate request; as well as The first action data structure is generated using the content item.
70. The method of claim 68, comprising: selecting the content item based on the first action data structure; as well as The content item is transmitted to the client device for output by the client device.
71. The method of claim 68, wherein: The content item includes an audio output.
72. The method of claim 68, wherein: The interface type indicates at least one of a display format of the client device, a display size of the client device, a display availability of the client device, or a client device type.
73. The method of claim 68, comprising: A second action data structure for the second candidate request is transmitted to the client device for rendering subsequent to the first action data structure.
74. The method of claim 68, comprising: parsing the input audio signal to identify a request in the input audio signal; Determining a confidence score for the semantics of the request; as well as The plurality of candidate requests are selected based on the confidence score being below a predetermined threshold.
75. The method of claim 68, comprising: identifying a term in the input audio signal having multiple interpretations; as well as A number of the plurality of candidate requests is selected based on the terms in the input audio signal having the plurality of interpretations.
76. The method of claim 68, comprising: parsing the input audio signal to identify a primary request in the input audio signal; determining a response to the primary request; determining a prevalence score of responses to the primary request in the input audio signal; determining a widespread score for a response to each candidate request in the plurality of candidate requests; as well as The number of the plurality of candidate requests is selected based on a comparison of the prevalence score of the response to the request in the input audio signal and the prevalence score of the response to each of the plurality of candidate requests.
77. The method of claim 68, comprising: transmitting an audio signal request including a prompt; receiving a second input audio signal from the client device, the second input audio signal being generated in response to the prompt; as well as A number of the plurality of candidate requests is selected based on the second input audio signal.
Citation Information
Patent Citations
Voice recognition device and voice recognition method, language model generating device and language model generating method, and computer program
CN101847405A
Multi-dimensional disambiguation of voice commands
CN102137085A
Method of speech recognition by presenting N-best word candidates
US20020173955A1
Self-learning statistical natural language processing for automatic production of virtual personal assistants
US20150032443A1
Mobilizing an existing web application
US20150378685A1
