System and method for uninterrupted application wake-up and voice recognition

By recording continuous audio data in the audio queue and monitoring wake-up phrases, the inaccurate voice recognition problem in the existing technology is solved, achieving seamless voice input and high-accuracy recognition effects.

CN110800045BActive Publication Date: 2024-09-20BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201780092563.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2017-10-24
Publication Date
2024-09-20
Estimated Expiration
2037-10-24

AI Technical Summary

Technical Problem

Existing application wake-up and speech recognition technologies suffer from inaccuracies and inconsistencies. Users need to pause speaking when waking up applications and recognizing commands, resulting in an unnatural user experience and possible detection errors.

Method used

By recording continuous audio data in the audio queue, using the processor to monitor wake-up phrases and obtain audio clips, and send them to the server for speech recognition, seamless audio capture and speech recognition are achieved to adapt to various user scenarios.

Benefits of technology

It improves the accuracy and user experience of speech recognition, allows users to speak continuously without pausing, and adapts to natural speech input in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110800045B
    Figure CN110800045B
Patent Text Reader

Abstract

A system and method for application wake-up and speech recognition is provided. The system (102, 500) may include a microphone (103, 108, 512) configured to record audio in an audio queue. The system (102, 500) may also include a processor (104, 504) configured to monitor the audio queue for a wake-up phrase, obtain an audio segment from the audio queue in response to detecting the wake-up phrase, and send the obtained audio segment to a server (109). The recording of the audio may be continuous from the beginning of the wake-up phrase to the end of the audio segment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application generally relates to methods and techniques for application wake-up and speech recognition. Background Art

[0002] Advances in human-computer interaction allow people to control things with their voice. For example, traditional inputs that are filtered through keyboard, mouse or touch can be realized through voice to trigger various applications or processes. However, there are still many obstacles to overcome to simplify this process. Summary of the invention

[0003] Various embodiments of the present application include systems, methods, and non-transitory computer-readable media for application wake-up and speech recognition. An exemplary system may include a microphone configured to record audio in an audio queue. The system may also include a processor configured to monitor the audio queue for a wake-up phrase, obtain an audio segment from the audio queue in response to detecting the wake-up phrase, and send the obtained audio segment to a server. The recording of audio from the beginning of the wake-up phrase to the end of the audio segment can be continuous.

[0004] In some embodiments, the exemplary system can be implemented on a mobile device including a mobile phone. The server can be caused to perform speech recognition on the audio clip and return information based on the speech recognition to the mobile device.

[0005] In some embodiments, the exemplary system may further include a display for displaying the returned information. The returned information may include text corresponding to the machine-recognized speech of the audio segment.

[0006] In some embodiments, the audio queue can be associated with a time.To monitor the audio queue for a wake-up phrase, the processor can be configured to screen the recorded audio for matches to the wake-up phrase.

[0007] In some embodiments, the recording of audio in the audio queue may be continuous throughout the detection of the wake-up phrase.

[0008] In some embodiments, to retrieve an audio segment from the audio queue in response to detecting the wake-up phrase, the processor may be configured to monitor the audio queue for a first absence of voice activity, wherein the first absence of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase without a voice recording exceeding a first preset threshold. The processor may also be configured to monitor the audio queue for a first presence of voice activity after the first absence of voice activity in response to detecting the first absence of voice activity exceeding a first preset threshold, wherein the first presence of voice activity corresponds to a duration of a first detection of a voice recording in the audio queue after the first absence of voice activity. The processor may also be configured to retrieve the audio segment in response to not detecting the first presence of the voice activity within a second preset threshold from the end of the wake-up phrase, the audio segment comprising at least a portion of the voice queue from the end of the wake-up phrase to the beginning of the first absence of voice activity.

[0009] In some embodiments, the audio clip also includes a wake-up phrase.

[0010] In some embodiments, to retrieve an audio segment from the audio queue in response to detecting the wake-up phrase, the processor is configured to monitor the audio queue for a first absence of voice activity, wherein the first absence of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase with no voice recordings exceeding a first preset threshold. The processor may also be configured to monitor the audio queue after the first absence of voice activity for a first presence of voice activity, wherein the first presence of voice activity corresponds to a duration of a first detection of a presence of voice recordings in the audio queue after the first absence of voice activity, in response to detecting the first absence of voice activity that does not exceed the first preset threshold. The processor is further configured to monitor the audio queue for a second absence of voice activity in response to not detecting the first presence of voice activity within a second preset threshold from the end of the wake-up phrase, wherein the second absence of voice activity corresponds to a duration of a first detection in the audio queue after a first presence of voice activity with no voice recordings exceeding the first preset threshold. The processor is further configured to retrieve the voice segment in response to detecting the second absence of voice activity, the voice segment comprising at least a portion of the voice activity from the beginning of the first presence of voice activity to the end of the first presence of voice activity.

[0011] In some embodiments, the first preset threshold may be 700 milliseconds, and the second preset threshold may be longer than the first preset threshold.

[0012] These and other features of the systems, methods, and non-transitory computer-readable media disclosed herein, as well as the operation and function of the related elements of the structures and the combination of parts and manufacturing economy will become more apparent by considering the following description and the appended claims with reference to the accompanying drawings, all of which constitute a part of the specification, wherein like reference numerals represent corresponding parts in the various drawings. However, it should be expressly understood that the drawings are for illustration and description purposes only and are not intended as a definition of the limits of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Certain features of various embodiments of the present technology are specifically set forth in the appended claims. The features and advantages of the present technology will be better understood by referring to the following detailed description and its accompanying drawings, which describe in detail illustrative embodiments utilizing the principles of the present invention, including:

[0014] Figure 1 An example environment for uninterrupted application wakeup and speech recognition in accordance with various embodiments is shown.

[0015] Figure 2 An example system for uninterrupted application wakeup and speech recognition in accordance with various embodiments is shown.

[0016] Figure 3 Example speech recognized by uninterrupted application wakeup and speech recognition according to various embodiments is shown.

[0017] Figures 4A-4B A flow chart of an example method for uninterrupted application wakeup and speech recognition in accordance with various embodiments is shown.

[0018] Figure 5 A block diagram is shown of an exemplary computer system upon which any of the embodiments described herein may be implemented. DETAILED DESCRIPTION

[0019] Existing application wake-up and speech recognition are performed separately and discontinuously, resulting in inaccurate recognition and inconsistent user experience. For example, when talking to an audio capture device to execute certain instructions, the user must speak a certain keyword in stage (1) to wake up the application, and pause the device to recognize the wake-up phrase, before speaking the instruction in stage (2). With current technology, pausing is necessary for the device to end stage (1) speech capture, recognize the wake-up phrase, and wake up the corresponding application to prepare to recognize the instruction by starting stage (2) speech capture. The pause may take several seconds. Accordingly, the audio capture device turns on the recorder in stage (1) and turns off the recorder when the wake-up phrase is detected. The recorder is not turned back on until stage (2). Therefore, in order to comply with the current technology settings, the user is forced to speak in an unnatural way. If the user speaks continuously between the two stages without pausing, some instructions may be accidentally captured in stage (1) instead of stage (2), or part of the keyword (wake-up phrase) may fall into stage (2) instead of stage (1), causing interference and inaccurate recognition of the wake-up phrase and instruction. Even if the user pauses, various detection errors may still occur if the pause is not long enough. Therefore, current technologies are insufficient to provide seamless, natural, and convenient application wake-up and voice recognition.

[0020] Various embodiments described below can overcome these problems that arise in the field of application wake-up and voice recognition. Embodiments can be implemented in various scenarios, such as walking, vehicle calls, navigation driving, searching the Internet while driving, or other situations when typing is not realistic or convenient. For example, in order to order a vehicle service for transportation, when the corresponding application is activated, the user can speak to the mobile phone continuously (for example, "XYZ, let me ride to Metro Center"). Based on the disclosed system, the mobile phone can wake up the function based on the recognition of the wake-up phrase "XYZ" and obtain the instruction of "let me ride to Metro Center". The mobile phone can further send the instruction "let me ride to Metro Center" to the server, so that the server determines the address corresponding to "Metro Center" and the vehicle that realizes such transportation. Upon receiving the corresponding information from the server, the mobile phone can display an indication of accepting the transportation request, vehicle information and pick-up means to "Metro Center". The user can but does not have to pause between the wake-up phrase "XYZ" and the instruction "let me...". The disclosed system and method can automatically determine whether the user intends to end the instruction or pause only before speaking the instruction, adapting to various user scenarios. Therefore, audio capture and voice recognition can be seamlessly completed with higher accuracy.

[0021] In various embodiments, an exemplary system for application wake-up and speech recognition may include a microphone configured to record audio in an audio queue. The system may also include a processor configured to monitor the audio queue for a wake-up phrase, obtain an audio segment from the audio queue in response to detecting the wake-up phrase, and send the obtained audio segment to a server. The recording of audio from the beginning of the wake-up phrase to the end of the audio segment may be continuous.

[0022] In some embodiments, the exemplary system can be implemented on a mobile device including a mobile phone. The server can be caused to perform speech recognition on the audio clip and return information to the mobile device based on the speech recognition. In some embodiments, the exemplary system can also include a display for displaying the returned information. The returned information can include text corresponding to the machine-recognized speech of the audio clip.

[0023] In some embodiments, the audio queue can be associated with time. In order to monitor the tail of the audio queue for a wake-up phrase, the processor can be configured to screen the recorded audio to match the wake-up phrase. In some embodiments, the recording of the audio in the audio queue can be continuous throughout the detection of the wake-up phrase.

[0024] In some embodiments, to retrieve an audio segment from the audio queue in response to detecting the wake-up phrase, the processor may be configured to monitor the audio queue for a first absence of voice activity, wherein the first absence of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase without a voice recording exceeding a first preset threshold. The processor is further configured to monitor the audio queue for a first presence of voice activity after the first absence of voice activity in response to detecting the first absence of voice activity exceeding a first preset threshold, wherein the first presence of voice activity corresponds to a duration of a first detection of a voice recording in the audio queue after the first absence of voice activity. The processor is further configured to retrieve the audio segment in response to not detecting the first presence of voice activity within a second preset threshold from the end of the wake-up phrase, the audio segment comprising at least a portion of the voice queue from the end of the wake-up phrase to the beginning of the first absence of voice activity. In some embodiments, the audio segment also includes the wake-up phrase.

[0025] In some embodiments, to retrieve an audio segment from the audio queue in response to detecting the wake-up phrase, the processor is configured to monitor the audio queue for a first absence of voice activity, wherein the first absence of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase with no voice recordings exceeding a first preset threshold. The processor is further configured to monitor the audio queue after the first absence of voice activity for a first presence of voice activity, wherein the first presence of voice activity corresponds to a duration of a first detection of a presence of voice recordings in the audio queue after the first absence of voice activity, in response to detecting the first absence of voice activity exceeding a first preset threshold. The processor is further configured to monitor the audio queue for a second absence of voice activity in response to not detecting the first presence of voice activity within a second preset threshold from the end of the wake-up phrase, wherein the second absence of voice activity corresponds to a duration of a first detection in the audio queue after a first presence of voice activity with no voice recordings exceeding a first preset threshold. The processor is further configured to retrieve the voice segment in response to detecting the second absence of voice activity, the voice segment comprising at least a portion of the voice activity from the beginning of the first presence of voice activity to the end of the first presence of voice activity. In some embodiments, the first preset threshold is 700 milliseconds, and the second preset threshold is longer than the first preset threshold.

[0026] Figure 1 An example environment 100 for uninterrupted application wakeup and speech recognition according to various embodiments is shown. Figure 1As shown, exemplary environment 100 may include at least one computing system 102, which includes one or more processors 104 and memory 106. Memory 106 may be non-temporary and computer-readable. Memory 106 may store instructions, and when the instructions are executed by one or more processors 104, one or more processors 104 perform various operations described herein. System 102 may also include microphone 103, which is configured to capture audio input (e.g., human voice or sound). Here, any other alternative audio capture device may be used as microphone 103. Audio input may be captured from computing device 107 or user 101. Computing device 107 (e.g., mobile phone, tablet computer, computer, wearable device (smart watch)) may send and / or play information (e.g., recorded audio) to system 102. User 101 may speak within the detection range of microphone 103 for audio capture. Optionally, system 102 may also include a display 105 configured to display information (e.g., text of the recognized voice). Display 105 may include touch screening. The system 102 can be implemented on various devices such as mobile phones, tablets, computers, wearable devices (smart watches), etc. The above system 102 can install appropriate software (e.g., applications, platform programs, etc.) and / or hardware (e.g., wires, wireless connections, etc.) to access other devices of the environment 100.

[0027] Environment 100 may include one or more data stores (e.g., data store 108) and one or more computing devices (e.g., computing device 109) that are accessible to system 102. In some embodiments, system 102 may be configured to exchange data or information with data store 108 and / or computing device 109. For example, data store 108 may be installed in a computer for storing address information. Computing device 109 may be a server configured to perform speech recognition. The server may be configured to receive audio input and apply various models (e.g., hidden Markov model, dynamic time warping-based speech recognition, neural network) to the audio input to recognize one or more sounds (e.g., human voice) and obtain text corresponding to the sound.

[0028] In some embodiments, data storage 108 and / or computing device 109 can implement an online information or service platform. The service can be associated with a vehicle (e.g., a car, a bicycle, a ship, an airplane, etc.), and the platform can be referred to as a vehicle service call platform. The platform can accept requests for transportation, identify vehicles that meet the request, arrange rides, and process transactions. For example, a user can access the platform using system 102 (e.g., a mobile phone with an application associated with the platform installed). Some platform data (e.g., vehicle information, vehicle driver information, address information, etc.) can be stored in memory 106 or can be retrieved from data storage 108 and / or computing device 109. In some embodiments, a user can talk to system 102 to submit a request (e.g., a vehicle call request). As described herein, system 102, data storage 108, and / or computing device 109 can work together to capture and process the user's voice to complete the request.

[0029] In some embodiments, system 102 and one or more computing devices (e.g., computing device 109) can be integrated into a single device or system. Alternatively, system 102 and computing device 109 can operate as separate devices. Data storage can be located anywhere accessible to system 102, for example, in memory 106, in computing device 109, in another device coupled to system 102 (e.g., a network storage device), or other storage locations (e.g., a cloud-based storage system, a network file system, etc.), etc. Although computing device 109 is shown as a single component in this figure, it should be understood that computing device 109 can be implemented as a single device or multiple devices coupled together (e.g., computers, servers, etc.). The computing device can be coupled to and interact with multiple systems such as system 102. Typically, system 102, computing device 109, and data storage 108 are able to communicate with each other via one or more wired or wireless networks (e.g., the Internet) through which data can be transmitted. Reference is made below to Figures 2 to 5 Various aspects of environment 100 are described.

[0030] Figure 2 An example system 200 for uninterrupted application wakeup and speech recognition is shown in accordance with various embodiments. Figure 2 The operations shown in and presented below are intended for illustration. Figure 2 The various devices and components in Figure 1 Those described in , except that data storage 108 and computing device 107 are removed for simplicity.

[0031] In various embodiments, the system 102 can be implemented on a mobile device including a mobile phone. One or more components of the system 102 (e.g., microphone 108, processor 104, and / or memory 106) can be configured to record audio (e.g., audio 202) in an audio queue. Audio 202 can include human-speaking speech (e.g., sentences, phrases, words). The speech can be in any language. The processor 104 can be configured to control the start and stop of recording. For example, when a preset interface of an application is entered on the device or an application is opened, recording can be started as described above. The processor 104 can control the analog-to-digital converter (ADC) of the system 102 (not shown in the figure) to convert the captured audio into a digital format and store it in an audio queue. The audio queue can be associated with time and can include time series data of the captured audio. The audio queue can be stored in various audio file formats (e.g., WAV files). The audio queue can be stored in the memory 106, in a cache, or in other storage media. The audio queue may not be limited to a particular operating system, and various alternative audio buffers, audio caches, audio streams, or audio callback techniques may be used in place of the audio queue. The audio queue may be configured to capture only the most recent audio (e.g., the last minute of audio capture, the last 1G audio file, etc.). For example, the captured audio may be continuously streamed to a limited-size cache, and the most recent audio portion that exceeds the limit is written over the oldest audio portion.

[0032] In some embodiments, one or more components of system 102 (e.g., processor 104 and / or memory 106) may be configured to monitor an audio queue for a wake-up phrase, obtain an audio segment from the audio queue in response to detecting the wake-up phrase, and send the obtained audio segment (e.g., audio segment 204) to computing device 109 (e.g., server). In some embodiments, the recording of the audio may be continuous and uninterrupted from at least the beginning of the wake-up phrase to the end of the audio segment. Figure 3 Describes the details used to obtain the audio segment.

[0033] In some embodiments, the processor 104 and / or the memory 106 of the system 102 may be configured to perform speech recognition on the audio queue in real time to screen for wake-up phrases. In order to monitor the audio queue for wake-up phrases, the processor may be configured to screen the recorded audio to match the wake-up phrase. The wake-up phrase may include one or more words or phrases. The wake-up phrase may be considered as part of the speech spoken by the user in the user voice. The wake-up phrase may include a name or greeting (e.g., "Hello XYZ") and may be associated with an application, a preset program, a function, or a process (e.g., application XYZ). For example, the system 102 may trigger a step to obtain an audio clip when a wake-up phrase in the audio queue is detected. Here, "wake-up" does not necessarily mean wake-up from "sleep mode". Before waking up, the system 102 may be dormant, idle, or perform other tasks. Whether or not the wake-up phrase is detected, the microphone 108 may continue to record, and the system 102 may not stop or pause recording. That is, the recording of the audio in the audio queue is continuous throughout the detection of the wake-up phrase (e.g., from before to after the detection of the wake-up phrase, as long as it stays in the above-mentioned preset interface or is in a similar preset state). System 102 can obtain audio clip 204 in response to detecting the wake-up phrase and send the obtained audio clip 204 to computing device 109. Audio clip 204 can also include a portion of the user's speech in the user voice. Audio clip 204 can include or not include the wake-up phrase.

[0034] In some embodiments, the computing device 109 may be caused to perform speech recognition on the audio segment 204 and return information 206 (e.g., text of the recognized speech) to the system 102 based at least on the speech recognition. The display 105 of the system 102 may be configured to display the returned information. The returned information may include text of the machine-recognized speech corresponding to the audio segment.

[0035] In this way, speech recognition can be performed at the system 102 and / or the computing device 109. Speech recognition can recognize and translate the audio signals of spoken words and phrases into text by machines such as servers, computers or mobile phones. In principle, the machine can extract features from the audio (e.g., an audio queue, an audio clip) to generate a speech fingerprint. The machine can compare the generated speech fingerprint with a word fingerprint template (e.g., a dictionary stored in the memory 106, another dictionary stored in the computing device 109) to select the best matching word. The dictionary contains a mapping between a written representation and the pronunciation of a word or phrase. The dictionary can be referred to as part of an acoustic model. The acoustic model can represent the relationship between the audio signal of the captured speech and the phonemes or other language units that constitute the speech, thereby associating the audio signal with the word. The acoustic model (e.g., Viterbi algorithm, hidden Markov model) can identify the text that best matches the audio signal based on extracting character vectors and model training. In addition, the machine can compare the selected words with a sentence fingerprint template (e.g., a grammatical and semantic model stored in memory 106, another grammatical and semantic model stored in computing device 109) to select the best matching sentence to distinguish between words and phrases that sound similar. The grammatical and semantic models can be referred to as part of the speech model. The speech model represents a probability distribution over a series of words, each word determined by an acoustic model. For example, the probability of a sentence can be expressed as a chain product of the probabilities of all words in the sentence. In particular, an N-gram model can be used as a speech model. After obtaining the recognized speech output (e.g., phrase, sentence), the comparison and selection step (e.g., algorithm) can be trained by feedback output (whether correct or incorrect).

[0036] Although both utilize the principles of speech recognition, the speech recognition model on system 102 can be simpler than the speech recognition model on computing device 109. System 102 may have to screen only one phrase from the captured audio: a preset wake-up phrase. Therefore, system 102 may only need an acoustic model for word comparison and selection. Even if system 102 uses both acoustic and speech models, they can be simpler because the amount of work for recognition is smaller. As described below, the wake-up phrase can enable system 102 to obtain speech following the wake-up phrase from the audio queue and send them to computing device 109 so that computing device 109 recognizes the speech.

[0037] Figure 3 An example speech recognized by uninterrupted application wakeup and speech recognition according to various embodiments is shown. Training 300 can be implemented in various environments, including, for example Figure 1 environment 100. Figure 3The audio capture and speech recognition shown in and the various steps described below with reference to each audio queue may be implemented by one or more components of the environment 100 (eg, the processor 104 and / or the memory 106 of the system 102). Figure 3 The description is intended to be illustrative and may be modified in various ways depending on the implementation.

[0038] Figure 3 The audio queues 301-306 (horizontal bars) at various stages of audio capture and speech recognition in a continuous time series in the x-axis direction are shown. Some audio queues are labeled with the corresponding speech. Figure 3 In the example, the preset wake-up phrase is "DDABC". Various timestamps (e.g., A1, C4) can be marked on the corresponding audio queue.

[0039] Referring to the audio queue 301 , in some embodiments, captured audio may be stored in the audio queue 301 , and the audio queue 301 extends in the x-axis direction when the most recent audio is captured.

[0040] Referring to audio queue 302, in some embodiments, when the wake-up phrase "DDABC" is detected, the audio data recorded in the audio queue before the wake-up phrase can be optionally deleted while continuing to capture the upcoming audio data. When the wake-up phrases A1 to A2 of audio queue 303, B1 to B2 of audio queue 304, C1 to C2 of audio queue 305, and D1 to D2 of audio queue 306 are detected respectively, similar deletion operations can be performed on audio queues 303-306. Deletion can create space for the upcoming audio. In some embodiments, deletion may not be performed. By marking the timestamp at the beginning of the wake-up phrase and using it as a reference point in the audio queue, the audio data after the marked timestamp can be obtained from the audio queue as relevant data for speech recognition without being disturbed by the audio data marked before the marked timestamp and the burden of excessive data. By any method, the timestamps of the start and end of the wake-up phrase (e.g., A1, A2, B1, B2, C1, C2, D1, D2) can be obtained and stored.

[0041] In some embodiments, referring to audio queues 303-306, in order to obtain an audio clip from the audio queue in response to detecting the wake-up phrase, (as described above with reference to Figure 2As described above, the audio queue can be monitored for a first lack of voice activity, wherein the first lack of voice activity corresponds to the duration of the first detection in the audio queue after a wake-up phrase with no voice recording exceeding a first preset threshold. For example, the duration of the first detection after the wake-up phrase can be A31 to A32 of the voice queue 303 after the voice "Take me to the subway center", B31 to B32 of the voice queue after "K Town", C2 to C3 of the voice queue 305 after the wake-up phrase "DDABC", or D1 to D2 of the voice queue 306 after the wake-up phrase "DDABC". This step may be called voice activity detection (VAD) to detect the end of the voice or the end of a small part of the voice. VAD can be implemented by including steps of noise reduction, feature extraction, and application of classification rules. Here, the end can be determined by detecting a sufficiently long lack of voice (e.g., for exceeding the first preset threshold shown in the figure). The first preset threshold may be configurable (e.g., 700 milliseconds as shown). Through statistical analysis of audio samples from real life, a duration of approximately 700 milliseconds may be suitable for VAD determination.

[0042] In some embodiments, in response to detecting a first absence of the voice activity exceeding a first preset threshold, the audio queue after the first absence of the voice activity is monitored as the first presence of voice activity, wherein the first presence of the voice activity corresponds to the duration of the first detection of the presence of a voice recording in the audio queue after the first absence of the voice activity. For example, the duration of the first detection after the first absence of the voice activity can be A4 to the audio queue 303 marked as "random conversation", B4 to the audio queue 304 marked as "random", C4 to C5 of the audio queue 305 marked as "take me to the subway center", or D5 to the audio queue 306 marked as "take me to...". The timestamp (e.g., A4, B4, C4, D5) of the beginning of the duration of the first detection after the first absence of the voice activity can be obtained and stored. Similarly, various durations corresponding to the presence of voice activity and the absence of activities described below and comparisons therebetween can be obtained based on their corresponding timestamps. For example, the duration from A2 to A4 can be obtained by subtracting A1 to A2 from A1 to A4.

[0043] In some embodiments, in response to not detecting the first presence of the voice activity within a second preset threshold from the end of the wake-up phrase, obtaining the audio segment, the audio segment including at least a portion of the voice queue from the end of the wake-up phrase to the beginning of the first lack of the voice activity. For example, for audio queue 303, if A2 to A4 is greater than the second preset threshold, the audio segment can be obtained to include at least A2 to A31. The audio segment may alternatively include at least A1 to A31 (from the beginning of the wake-up phrase to the beginning of the first lack of voice activity). Including a wake-up phrase in the audio segment can improve detection accuracy by eliminating inaccurate determination of A2. Determining A2 too early (e.g., within the wake-up phrase) may bring part of the wake-up phrase into the instruction of "take me to the subway center", causing the server to erroneously determine at least the beginning of the instruction. When the server performs speech recognition on an incomplete instruction, determining A2 too late (e.g., missing the first word "take") can also cause an error.

[0044] In some embodiments, as described below with reference to audio queue 305, a second preset threshold may be used to determine whether the user intends to end the voice, or merely pause between the wake-up phrase and other voices (e.g., instructions). For the former case, as shown in reference to audio queue 303 or 304, only one round of capture is required. For the latter case, as shown in reference to audio queue 305, two rounds of capture are required. Two rounds do not mean stopping and resuming audio recording, because, as described above, the recording is continuous and uninterrupted. Since the VAD detection exceeds the first preset threshold, a signal indicating a preliminary stop corresponding to the "first round" of capture may be generated. However, the stop is confirmed based on the second preset threshold corresponding to the "second round" of capture. Therefore, in the process of the user capturing a complete "wake-up phrase + instruction", the machine may interpret the "round" as an internal process label. The second preset threshold may be configurable (e.g., for audio queue 306, audio queues 303-305, 4200 milliseconds = 700 milliseconds + 500 milliseconds + 3000 milliseconds, 1200 milliseconds = 700 milliseconds + 500 milliseconds). For the common case, it usually takes more than 500 milliseconds to say "Take me to the subway center", so no matter how long A32 to A4 is, A2 to A4 can exceed the second preset threshold of 1200 milliseconds. Therefore, only one round of capture or so needs to be performed. The additional 500 milliseconds can be used to cover the case where the phrase is uttered after the wake-up phrase, as discussed below with reference to the audio queue 304.

[0045] Referring to audio queue 304, in some embodiments, the portion of the audio queue from the end of the wake-up phrase to the beginning of the first lack of voice activity (B2 to B31 for "K town") can be 500 milliseconds, and B2 to B4 can exceed the second preset threshold of 1200 milliseconds. A phrase (e.g., a short address such as "K town") may typically take about 500 milliseconds or longer to be uttered. Therefore, B2 to B32 will exceed the second preset threshold of 1200 milliseconds and only one capture needs to be performed. Here, all durations of 500 milliseconds, 700 milliseconds, 1200 milliseconds, and 3000 milliseconds are merely examples and can be adjusted to any length (e.g., 500 milliseconds can be adjusted to 300 milliseconds to accommodate shorter addresses).

[0046] Referring to the audio queue 305, in some embodiments, the audio queue may be monitored for a first absence of voice activity, wherein the first absence of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase with no voice recording exceeding a first preset threshold. In response to detecting the first absence of the voice activity exceeding the first preset threshold (e.g., C2 to C3 exceeding 700 milliseconds), the voice queue may be monitored for a first presence of voice activity after the first absence of the voice activity, wherein the first presence of voice activity corresponds to a duration of a first detection of a presence of voice recording in the audio queue after the first absence of the voice activity. In response to detecting the first presence of the voice activity (C4 to C5 of C4) within a second preset threshold from the end of the wake-up phrase (e.g., C2 to C4 less than 1200 milliseconds), the audio queue may be monitored for a second absence of voice activity, wherein the second absence of voice activity corresponds to a duration of a first detection in the audio queue after the first presence of the voice activity with no voice recording exceeding the first preset threshold (e.g., C5 to C6 exceeding 700 milliseconds). In response to detecting the second absence of the voice activity, the voice segment is obtained. The speech segment includes at least a portion of the voice activity from the beginning of the first presence of the voice activity to the end of the first presence of the voice activity (C4 to C5). The audio segment may alternatively include at least C1 to C5 (from the beginning of the wake-up phrase to the beginning of the second absence of voice activity), and the fusion of the wake-up phrase can increase speech recognition accuracy, as described above.

[0047] Audio queue 306 is similar to audio queue 305, except that a third preset threshold is added (e.g., D4 to D5 is 3000 milliseconds) to accommodate longer pauses. Here, after determining that the second preset threshold is exceeded, system 102 can monitor audio queue 306 for the first presence of voice activity within the third preset threshold, similar to the monitoring of the first presence of voice activity in audio queue 305. If the first presence of voice activity is determined within the third preset threshold, a second round of capture can be performed.

[0048] Comparing audio queues 303, 304, and 305, a first preset threshold can be used to preliminarily determine a pause in speech, and a second preset threshold can be used to determine whether the user intends to end the speech (as in audio queue 303 or 304, where only one capture surround is required) or to pause just before speaking the instruction (as in audio queue 305 or 306, where two capture surrounds are required). Due to habit, the user needs time to recall the address, or various other reasons, the user may pause after speaking the wake-up phrase. Therefore, a first preset threshold may be required to determine the end of speech, and a second preset threshold may be required to improve the accurate capture of speech in the case of a pause after the wake-up phrase. In addition, the application of the second preset threshold covers short addresses. After A4 of audio queue 303, B4 of audio queue 3 / 4, and C6 of audio queue 305, the system 102 can fall back to the original state of monitoring the voice queue for the wake-up phrase.

[0049] In view of the above, the user can talk to the device to input information and submit various instructions. The start and end of the instruction can be automatically determined based on the captured voice without using traditional input methods such as typing, pressing, touching, or otherwise physically contacting the device. That is, the user does not have to touch a part of the device (e.g., touch a certain area of ​​the screen) or press a part of the device (e.g., a button or key) to signal the start and end of the instruction. In addition, the recording can be continuous from at least the beginning of the wake-up phrase to the end of the audio clip, which can be sent together to the server for voice recognition, thereby improving the accuracy of instruction recognition.

[0050] Figure 4A A flow chart of an example method 400 according to various embodiments of the present application is shown. Figure 4B 4 is a flow chart showing an example method 410 according to various embodiments of the present application. Methods 400 and 410 can be implemented in various environments, including for example Figure 1The example methods 400 and 410 may be implemented by one or more components of the system 102 (e.g., the processor 104, the memory 106). The operations of the method 400 presented below are intended for illustration. Depending on the embodiment, the example methods 400 and 410 may include additional, fewer, or alternative steps that may be performed in various orders or in parallel.

[0051] For method 400, at box 402, audio can be recorded in an audio queue. For example, a microphone can record audio, and a processor can obtain the recorded audio. At box 404, the audio queue can be monitored for a wake-up phrase. At box 406, in response to detecting the wake-up phrase, an audio segment can be obtained from the audio queue. Box 406 can also include method 410 described below. At box 408, the obtained audio segment can be sent to a server. The server can be caused to perform speech recognition on the audio segment. The recording of the audio can be continuous and uninterrupted from at least the beginning of the wake-up phrase to the end of the audio segment.

[0052] For method 410, at box 411, the audio queue can be monitored for a first absence of voice activity, wherein the first absence of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase with no voice recording exceeding a first preset threshold. At box 412, in response to detecting the first absence of voice activity exceeding the first preset threshold, the audio queue is monitored for voice activity as a first presence of voice activity after the first absence of voice activity, wherein the first presence of voice activity corresponds to a duration of a first detection of a presence of voice recording in the audio queue after the first absence of voice activity. At step 413, in response to not detecting the first presence of voice activity within a second preset threshold, a voice segment including at least a portion of the voice queue from the end of the wake-up phrase to the beginning of the first absence of voice activity can be obtained. At box 414, in response to detecting the first presence of voice activity within the second preset threshold, the audio queue is monitored for a second absence of voice activity, wherein the second absence of voice activity corresponds to a duration of a first detection in the audio queue after the first presence of voice activity with no voice recording exceeding the first preset threshold. At block 415 , in response to detecting a second absence of the voice activity, a voice segment including at least a portion of the voice activity from a beginning of the first presence of the voice activity to an end of the first presence of the voice activity may be obtained.

[0053] The technology described herein is implemented by one or more special-purpose computing devices. Special-purpose computing devices may include one or more hardware processors that are programmed to perform the technology according to program instructions in firmware, memory, other memory, or a combination thereof. Special-purpose computing devices may be desktop computer systems, server computer systems, portable computer systems, handheld devices, network devices, or any other device or combination of devices that contain hard wiring and / or program logic to implement the technology. Computing devices are typically controlled and coordinated by operating system software. Traditional operating systems control and arrange computer processes for execution, perform memory management, provide file systems, networks, input / output services, and provide user interface functions, such as graphical user interfaces ("GUIs"), etc.

[0054] Figure 5 is a block diagram showing an exemplary computer system 500 that can implement any of the embodiments described herein. System 500 may correspond to system 102 described above. Computer system 500 includes a bus 502 or other communication mechanism for communicating information, and one or more hardware processors 504 coupled to bus 502 for processing information. Hardware processor 504 may be, for example, one or more general-purpose microprocessors. Processor 504 may correspond to processor 104 described above.

[0055] The computer system 500 also includes a main memory 506 coupled to the bus 502 for storing information and instructions executed by the processor 504, such as a random access memory (RAM), a cache, and / or other dynamic storage device. The main memory 506 can also be used to store temporary variables or other intermediate information during the execution of the instructions to be executed by the processor 504. When the above instructions are stored in a storage medium accessible to the processor 504, the computer system 500 can be made into a special-purpose machine that is customized to perform the operations specified in the instructions. The computer system 500 also includes a read-only memory (ROM) 508 or other static storage device coupled to the bus 502 for storing static information and instructions of the processor 504. A storage 510, such as a magnetic disk, an optical disk, or a USB thumb drive (flash drive), etc., is provided and coupled to the bus 502 for storing information and instructions. The main memory 506, the ROM 508, and / or the storage 510 can correspond to the above-mentioned memory 106.

[0056] Computer system 500 may implement the techniques described herein using custom hardwired logic, one or more application specific integrated circuits (ASICs) or field programmable gate arrays (FPGAs), firmware, and / or program logic, which in combination with the computer system enables computer system 500 to become or be programmed as a special purpose machine. According to one embodiment, in response to processor 504 executing one or more sequences of one or more instructions contained in main memory 506, computer system 500 performs the techniques in this application. These instructions may be read into main memory 506 from another storage medium (e.g., memory 510). Executing the sequence of instructions contained in main memory 506 causes processor 504 to perform the processing steps described herein. In alternative embodiments, hardwired circuits may be used in place of or in combination with software instructions.

[0057] Main memory 506, ROM 508 and / or storage 510 may include non-transitory storage media. The term "non-transitory media" and similar terms used herein refer to any medium that stores data and / or instructions that cause the machine to operate in a specific manner. Such non-transitory media may include non-volatile media and / or volatile media. Non-volatile media include, for example, optical or magnetic disks, such as storage 510. Volatile media include dynamic memory, such as main memory 506. Common forms of non-transitory media include, for example, floppy disks, floppy disks, hard disks, solid-state drives, tapes, or any other magnetic data storage media, read-only compact disk drives (CD-ROMs), any other optical data storage media, any physical media with hole patterns, RAM, programmable read-only memory (PROM) and erasable programmable read-only memory (EPROM), flash erase programmable read-only memory (FLASH-EPROM), non-volatile random access memory (NVRAM), any other memory chip or cassette tape, and network versions thereof.

[0058] Computer system 500 also includes microphone 512 or an alternative audio capture device. Microphone 512 may correspond to microphone 103 described above.

[0059] The computer system 500 also includes a communication interface 518 coupled to the bus 502. The communication interface 518 provides two-way data communication coupled to one or more network links connected to one or more local networks. For example, the communication interface 518 can be an integrated services digital network (ISDN) card, a cable modem, a satellite modem, or a modem for providing a data communication connection with a corresponding type of telephone line. For another example, the network interface 518 can be a local area network (LAN) card to provide a data communication connection with a compatible LAN (or a WAN component to communicate with a WAN). The network interface 518 can also implement a wireless link. In any such embodiment, the network interface 518 sends and receives electrical signals, electromagnetic signals, or optical signals carrying digital data streams representing various types of information.

[0060] Computer system 500 can send messages and receive data including program code through the network, network link and network interface 518. Taking the Internet as an example, a server can send request code for an application through the Internet, an Internet Service Provider (ISP), a local network and network interface 518.

[0061] The received code may be executed by processor 504 upon receipt, and / or stored in memory 510 or other non-volatile storage for later execution.

[0062] Each process, method and algorithm described in the previous section can be implemented by a code module, and fully automated or semi-automated by the code module, and the code module is executed by one or more computer systems or computer processors including computer hardware. The above processes and algorithms can be partially or completely implemented by application specific circuits.

[0063] The various features and processes described above can be used independently of each other, or can be combined in various ways. All possible combinations and sub-combinations are intended to fall within the scope of the present application. In addition, certain method or process blocks may be omitted in some implementations. The methods and processes described herein are also not limited to any particular order, and the boxes or states associated therewith may be performed in other suitable orders. For example, the blocks or states described may be performed in an order different from that specifically disclosed, or multiple blocks or states may be combined into a single block or state. Exemplary blocks or states may be performed serially, in parallel, or in other ways. Blocks or states may be added to or removed from the disclosed example embodiments. The example systems and components described herein may be configured differently from those described. For example, compared to the disclosed example embodiments, elements may be added, removed, or rearranged.

[0064] The various operations of the example methods described herein may be performed at least in part by one or more processors, which may be temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or permanently configured, the processor may constitute a processor-implemented engine that operates to perform one or more operations or functions described herein.

[0065] Similarly, the methods described herein may be implemented at least in part by a particular processor or a group of processors (as hardware examples). For example, at least a portion of the operations of the methods may be performed by one or more processors or processor-implemented engines. In addition, one or more processors may also operate to provide support for related operations in a "cloud computing" environment or to implement "software as a service" (SaaS). For example, at least some operations may be performed by a group of computers (as an example of a machine including a processor), which operations may be performed over a network (e.g., the Internet) and through one or more appropriate interfaces (e.g., application program interfaces (APIs)).

[0066] The performance of certain operations can be distributed among processors, not only residing in a single machine, but also deployed on multiple machines. In some example embodiments, the processor or processor-implemented engine can be located in a single geographic location (e.g., in a home environment, an office environment, or a server farm). In other example embodiments, the processor or processor-implemented engine can be distributed in multiple geographic locations.

[0067] Throughout the specification, multiple instances may implement components, operations or structures described as a single instance. Although the individual operations of one or more methods are shown and described as separate operations, one or more of the individual operations may be performed simultaneously, and the operations do not need to be performed in the order shown. The structures and functions presented as separate components in the example configuration may be implemented as combined structures or components. Similarly, the structures and functions presented as single components may be implemented as separate components. These and other changes, modifications, additions and improvements all fall within the scope of the subject matter of this article.

[0068] Although the subject matter herein has been outlined with reference to specific exemplary embodiments, various modifications and changes may be made to these embodiments without departing from the broader scope of the embodiments of the present application. These embodiments of the subject matter herein may be referred to individually or collectively by the term "invention", which is merely for convenience of description and is not intended to actively limit the scope of the present application to any single disclosure or concept when more than one disclosure or concept is actually disclosed.

[0069] The embodiments shown herein have been described in sufficient detail to enable those skilled in the art to practice the disclosed teachings. Other embodiments may also be derived and used from the disclosed teachings, so that structural and logical replacements and changes may be made to the embodiments herein without departing from the scope of the present application. Therefore, the specific embodiments should not be considered to have a limiting meaning, and the scope of the various embodiments is limited only by the appended claims and the full scope of equivalents assigned to these claims.

[0070] Any process description, element or frame in the flowchart described herein and / or depicted in the accompanying drawings should be understood to potentially represent a module, component, or partial code, which includes one or more executable instructions for implementing a specific logical function or process step. It will be understood by those skilled in the art that the scope of the embodiments described herein also includes alternative implementations, in which elements or functions can be deleted, or executed in a sequence other than that shown or discussed, including substantially simultaneously or in reverse order, depending on the functions involved.

[0071] As used herein, the term "or" may be interpreted as an inclusive or exclusive meaning. In addition, multiple instances may be provided for resources, operations, or structures described herein as a single instance. In addition, the boundaries between various resources, operations, engines, and data stores are arbitrary to some extent, and specific operations are shown in the context of a specific illustrative configuration. The allocation of other functions contemplated may fall within the scope of various embodiments of the present application. Typically, the structures and functions presented as separate resources in the example configuration may be implemented in a combined structure or combined resources. Similarly, the structures and functions presented as separate resources may be implemented in a plurality of separated resources. These and other changes, modifications, additions, and improvements all fall within the scope of the embodiments of the present application represented by the appended claims. Accordingly, the specification and the drawings should be regarded as illustrative rather than restrictive.

[0072] Conditional language, such as, among other things, "may" or "might", unless expressly stated otherwise or otherwise understood in the context of use, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements, and / or steps. Thus, such conditional language is generally not intended to imply that one or more embodiments in any way require features, elements, and / or steps, or that one or more embodiments must include logic for determining, with or without user input or prompting, which features, elements, and / or steps are included or to be performed in any particular embodiment.

Claims

1. A computing system for application wake-up and speech recognition, comprising: A microphone, configured to record audio from an audio queue; as well as The processor is configured as: monitoring the audio queue for a wake-up phrase; In response to detecting the wake-up phrase, obtaining an audio clip from the audio queue, wherein in order to obtain the audio clip from the audio queue in response to detecting the wake-up phrase, the processor is further configured to: a timestamp marking the end of the wake-up phrase; monitoring the audio queue for a first lack of voice activity, wherein the first lack of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase is not voice-recorded exceeding a first preset threshold; responsive to detecting a first absence of the voice activity exceeding a first preset threshold, monitoring the audio queue for voice activity for a first presence of voice activity following the first absence of voice activity, wherein the first presence of voice activity corresponds to a duration of a first detection of presence of a voice recording in the audio queue following the first absence of voice activity; as well as In response to not detecting a first presence of the voice activity within a second preset threshold from an end of the wake-up phrase, obtaining an audio segment including at least a portion of the voice queue from a start of the wake-up phrase to a start of a first absence of the voice activity; or responsive to detecting the first presence of the voice activity within the second preset threshold from the end of the wake-up phrase, monitoring the audio queue for a second absence of voice activity, wherein the second absence of voice activity corresponds to a duration of a first detection in the audio queue after no voice is recorded for more than the first preset threshold following the first presence of the voice activity; In response to detecting a second absence of the voice activity, obtaining an audio segment including at least a portion of the voice activity from the start of the wake-up phrase to the start of the second absence of the voice activity; wherein the first preset threshold is used to determine a pause in the voice activity, and the second preset threshold is used to determine whether the user intends to end the voice or pause between the wake-up phrase and other voices; as well as The obtained audio segment is sent to a server, wherein the recording of the audio from the beginning of the wake-up phrase to the end of the audio segment is continuous.

2. The system according to claim 1, characterized in that: The system is implemented on a mobile device including a mobile phone; The server performs speech recognition on the audio clip and returns information based on the speech recognition to the mobile device.

3. The system according to claim 2, further comprising: A display is configured to display the returned information, wherein the returned information includes text corresponding to the machine-recognized speech of the audio segment.

4. The system according to claim 1, characterized in that: The audio queue is time dependent; and To monitor the audio queue for the wake-up phrase, the processor is configured to screen the recorded audio for matches to the wake-up phrase.

5. The system according to claim 4, characterized in that: The recording of the audio in the audio queue is continuous throughout the detection of the wake-up phrase.

6. The system according to claim 4, characterized in that: To retrieve an audio clip from the audio queue in response to detecting the wake-up phrase, the processor is configured to: monitoring the audio queue for a first lack of voice activity, wherein the first lack of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase is not voice-recorded exceeding a first preset threshold; responsive to detecting a first absence of the voice activity exceeding a first preset threshold, monitoring the audio queue for a first presence of voice activity after the first absence of the voice activity, wherein the first presence of voice activity corresponds to a duration of a first detection of a voice recording being present in the audio queue after the first absence of the voice activity; responsive to detecting the first presence of the voice activity within a second preset threshold from the end of the wake-up phrase, monitoring the audio queue for a second absence of voice activity, wherein the second absence of voice activity corresponds to a duration of time after the first detection of the first presence of the voice activity in the audio queue when no voice is recorded for more than the first preset threshold; as well as In response to detecting a second absence of the voice activity, an audio segment including at least a portion of the voice activity from a beginning of the first presence of the voice activity to an end of the first presence of the voice activity is obtained.

7. The system according to claim 6, characterized in that: The first preset threshold is 700 milliseconds; and The second preset threshold is longer than the first preset threshold.

8. A method for application wake-up and voice recognition, comprising: Record the audio in the audio queue; as well as monitoring the audio queue for a wake-up phrase; In response to detecting the wake-up phrase, obtaining an audio clip from the audio queue, the step of obtaining an audio clip from the audio queue in response to detecting the wake-up phrase further comprising: a timestamp marking the end of the wake-up phrase; monitoring the audio queue for a first lack of voice activity, wherein the first lack of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase is not voice-recorded exceeding a first preset threshold; In response to detecting a first absence of the voice activity exceeding a first preset threshold, monitoring the audio queue for voice activity for a first presence of voice activity following the first absence of voice activity, wherein the first presence of voice activity corresponds to a duration of a first detection of presence of a voice recording in the audio queue following the first absence of voice activity; and In response to not detecting a first presence of the voice activity within a second preset threshold from an end of the wake-up phrase, obtaining an audio segment including at least a portion of the voice queue from a start of the wake-up phrase to a start of a first absence of the voice activity; or In response to detecting a first presence of the voice activity within a second preset threshold from the end of the wake-up phrase, monitoring the audio queue for a second absence of voice activity, wherein the second absence of voice activity corresponds to a duration of a first detection in the audio queue after no voice is recorded in the first presence of the voice activity for more than the first preset threshold; in response to detecting the second absence of voice activity, obtaining an audio clip including at least a portion of the voice activity from the beginning of the wake-up phrase to the beginning of the second absence of voice activity; wherein the first preset threshold is used to determine a pause in the voice activity and the second preset threshold is used to determine whether the user intends to end the voice or to pause between the wake-up phrase and other voice; and The obtained audio segment is sent to a server, wherein the recording of the audio is continuous from the beginning of the wake-up phrase to the end of the audio segment.

9. The method according to claim 8, characterized in that: The method is implemented by a mobile device including a mobile phone; The server performs speech recognition on the audio clip and returns information based on the speech recognition to the mobile device.

10. The method according to claim 9, further comprising: The returned information is displayed, wherein the returned information includes text corresponding to the machine-recognized speech of the audio segment.

11. The method according to claim 8, characterized in that: The audio queue is time dependent; and Monitoring the audio queue for the wake-up phrase includes filtering the recorded audio to match the wake-up phrase.

12. The method according to claim 11, characterized in that The recording of the audio in the audio queue is continuous throughout the detection of the wake-up phrase.

13. The method according to claim 11, characterized in that In response to detecting the wake-up phrase, obtaining an audio segment from the audio queue includes: monitoring the audio queue for a first lack of voice activity, wherein the first lack of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase is not voice-recorded exceeding a first preset threshold; responsive to detecting a first absence of the voice activity exceeding a first preset threshold, monitoring the audio queue for a first presence of voice activity after the first absence of the voice activity, wherein the first presence of voice activity corresponds to a duration of a first detection of a voice recording being present in the audio queue after the first absence of the voice activity; In response to detecting the first presence of the voice activity within a second preset threshold from the end of the wake-up phrase, monitoring the audio queue for a second absence of voice activity, wherein the second absence of voice activity corresponds to a duration of time after the first detection of the first presence of the voice activity in the audio queue when no voice is recorded for more than the first preset threshold; and In response to detecting a second absence of the voice activity, an audio segment including at least a portion of the voice activity from a beginning of the first presence of the voice activity to an end of the first presence of the voice activity is obtained.

14. The method according to claim 13, characterized in that: The first preset threshold is 700 milliseconds; and The second preset threshold is longer than the first preset threshold.

15. A non-transitory computer-readable medium for application wake-up and speech recognition, comprising instructions stored therein, wherein the instructions, when executed by one or more processors, cause the one or more processors to perform a method, the method comprising: Get the recorded audio in the audio queue; as well as performing speech recognition on the audio queue in real time to screen and monitor the audio queue for a wake-up phrase; In response to detecting the wake-up phrase, obtaining an audio clip from the audio queue, the obtaining an audio clip from the audio queue in response to detecting the wake-up phrase further comprising: a timestamp marking the end of the wake-up phrase; monitoring the audio queue for a first lack of voice activity, wherein the first lack of voice activity corresponds to a duration of a first detection in the audio queue after a wake-up phrase is not voice-recorded exceeding a first preset threshold; In response to detecting a first absence of the voice activity exceeding a first preset threshold, monitoring the audio queue for voice activity for a first presence of voice activity following the first absence of voice activity, wherein the first presence of voice activity corresponds to a duration of a first detection of presence of a voice recording in the audio queue following the first absence of voice activity; and In response to not detecting a first presence of the voice activity within a second preset threshold from an end of the wake-up phrase, obtaining an audio segment including at least a portion of the voice queue from a start of the wake-up phrase to a start of a first absence of the voice activity; or In response to detecting a first presence of the voice activity within a second preset threshold from the end of the wake-up phrase, monitoring the audio queue for a second absence of voice activity, wherein the second absence of voice activity corresponds to a duration of a first detection in the audio queue after no voice is recorded in the first presence of the voice activity for more than the first preset threshold; in response to detecting the second absence of voice activity, obtaining an audio clip including at least a portion of the voice activity from the beginning of the wake-up phrase to the beginning of the second absence of voice activity; wherein the first preset threshold is used to determine a pause in the voice activity and the second preset threshold is used to determine whether the user intends to end the voice or to pause between the wake-up phrase and other voice; and The obtained audio segment is sent to a server, wherein the recording of the audio from the beginning of the wake-up phrase to the end of the audio segment is continuous.