This non-provisional application claims priority under 35 U.S.C. § 119(a) on Patent Application No(s). 201910457867.2 filed in China on May 29, 2019, the entire contents of which are hereby incorporated by reference.
The present disclosure provides a method of activating voice assistant and an electronic device with a voice assistant, and more particularly to the electronic device capable of activating the voice assistant when the electronic device in a sleep mode and a method thereof.
With the maturity of speech recognition technology, users can use digital voice assistant (DVA) installed on their smartphones or interact with digital voice assistants on their personal computers. On the other hand, because of the portability of the laptop, users would like to use the laptops with the voice assistant installed inside for a long time. In order to save battery power consumption, users may put the laptop into the sleep mode by closing the top cover.
However, regarding the current laptop on the market, users can use the digital voice assistant only when the laptop is in an operating state, and users cannot use the digital voice assistant when the top cover is closed or after the user presses the power button to put the laptop into a sleep state. The conditions described above bring a lot of inconvenience to the user.
According to one or more embodiment of this disclosure, a method of activating a voice assistant adapted to an electronic device comprising: providing electric power to a wake-up assembly of the electronic device, wherein the electronic device is in a sleep state; obtaining a wake-up signal by the wake-up assembly and performing a wake-up procedure; providing the power to a processor of the electronic device and a communication module of the electronic device to wake up the electronic device from the sleep state after the wake-up signal passes the wake-up procedure; and performing a voice assistant procedure by the processor and the communicatively connecting to a voice assistant server by the communication module.
According to one or more embodiment of this disclosure, an electronic device with a voice assistant comprising: a power supply supplies electric power; a wake-up assembly electrically connecting to the power supply to receive the power, wherein the wake-up assembly is configured to obtain a wake-up signal, and the wake-up assembly performs a wake-up procedure and generates a wake-up result according to the wake-up signal; a processor electrically connecting to the power supply and the wake-up assembly, wherein the processor operating is in a sleep state or in an operating state, the processor selectively switches from the sleep state to the operating state according to the wake-up result, and the processor performs a voice assistant procedure during the operating state; and a communication module electrically connected to the processor, wherein the communication module communicably connects to a voice assistant server when the processor performs the voice assistant procedure; wherein the processor enters the operating state when the power supply inputs the power to the processor and the processor enters the sleep state when the power supply stops the power to the processor.
The present disclosure will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only and thus are not limitative of the present disclosure and wherein:
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawings.
Please refer to
The wake-up assembly 1 electrically connects to the power supply 7 for receiving the power provided by the power supply 7. The wake-up assembly 1 is configured to obtain a wake-up signal, perform a wake-up procedure to generate a wake-up result.
In an embodiment, the wake-up signal is a voice signal, for example, “Hi Cortana”, and the wake-up assembly 1 is a voice recognition circuit. The wake-up procedure comprises the following steps: the voice recognition circuit compares a voice signal and a stored wake-up signal once the voice recognition circuit detects the voice signal, and if they match, that is, the similarity degree between the voice signal and the stored wake-up signal is greater than or equal to a default value, the voice recognition circuit generates a wake-up result indicating that a wake-up operation is allowable, which means that the wake-up signal passes the wake-up procedure. Otherwise, the voice recognition circuit generates another wake-up result representing that the wake-up operation is prohibited, which means that the wake-up signal does not pass the wake-up procedure.
In another embodiment, the wake-up assembly 1 is, for example, an identification assembly, the wake-up signal is an identity verification signal, and the wake-up procedure is an identity verification procedure. In this embodiment, the wake-up result is used to indicate whether a user whose identity is verified by the identification assembly is legal or not. Further, the embodiment of the identification assembly is adopted in the following paragraphs.
Please refer to
Please refer to
In comparison with the first example of said another embodiment, in the second example thereof, the voice recognition circuit 16 of the wake-up assembly 1 further comprises a voiceprint recognition module with a stored second voiceprint. After the wake-up assembly 1 determines that the loudness of the received wake-up voice exceeds the default value, in addition to converting the analog signal of the wake-up voice into the digital signal and determining whether the first keyword contained in the digital signal conforms to the second keyword contained in the stored digital signal in the system, the wake-up assembly further determines whether a first voiceprint (such as the waveform signal) contained in the digital signal matches the second voiceprint recorded by the legal user. If both of the first keyword and the first voiceprint respectively conform to the second keyword and the second voiceprint recorded by the legal user, the wake-up assembly 1 may ensure that this wake-up voice is indeed made by the legal user, and then continues the flow of activating the voice assistant. In the second example, since the voice recognition circuit 16 of the wake-up assembly 1 further comprises the voiceprint recognition module, it is exclusive that only a legal user can activate the voice assistant, and this avoids the possibility that someone who eavesdrops the keyword beforehand easily activates the voice assistant of the electronic device 10 and thus invades the personal privacy of the legal user.
The processor 3 has a sleep state and an operating state. The sleep state is, for example, the S3 state defined in ACPI (Advanced Configuration and Power Interface). The power supply 7 does not provide the power to the processor 3 when the processor 3 is in the sleep state. The operating state is, for example, the S0 state defined in ACPI. The power supply 7 provides the power to the processor 3 for its operations when the processor is in the operating state. The processor 3 is configured to selectively switch from the sleep state to the operating state according to the wake-up result. In other words, after the user provides a legal wake-up signal to pass the general wake-up procedure or the specific wake-up procedure with an identification, the processor 3 in the sleep state may be waked up and the power supply 7 provides the power to the processor 3 so that the processor 3 may enter into the operating state. After switching to the operating state, the processor 3 may perform a voice assistant procedure. The communication module 5 is configured to communicatively connect to a voice assistant server 30 when the processor 3 performs the voice assistant procedure, so the voice operating instruction generated on the electronic device 10 and the response message from the voice assistant server 30 can be transmitted.
The power supply 7 is configured to provide power to every component of the electronic device 10 for their operations, wherein said components comprise the wake-up assembly 1, the processor 3, and the communication module 5.
Please refer to
Please refer to step S31, “Provide electric power to a wake-up assembly 1”. Specifically, regarding an electronic device 10 in a sleep state, the power supply 7 provides the power to the wake-up assembly 1 of the electronic device 10. In an embodiment, the wake-up assembly 1 is an identification assembly. The following paragraphs take the identification assembly as an example.
Practically, before the electronic device 10 enters the sleep state, the user may determine whether to enable a function that the voice assistant can be activated during the sleep state. This function may be implemented by hardware such as a specific hardware switch disposed on the outer surface of the electronic device 10. This function may also be implemented by software. For example, using a dialogue window to ask the user whether he/she permits login to perform an identification by fingerprint verification for activating the voice assistant when the electronic device 10 is in the sleep state. If the user determines to use the fingerprint verification to log in for activating the voice assistant, the user's fingerprint may need to be collected in advance for the verification afterward. When the user enables the function that “activating a voice assistant in the sleep state”, the user may close the top cover or press the power button for the electronic device 10 to enter the S3 state (sleep state) defined by ACPI, while the power supply 7 still provides power to the identification assembly 1.
Please refer to step S33, “A wake-up assembly obtains a wake-up signal and performs a wake-up procedure”. Specifically, when the wake-up assembly adopts an identification assembly, this step is equivalent to “The identification assembly obtains an identity verification signal and performs an identity verification procedure”.
In an embodiment, said identification assembly is a fingerprint recognition assembly, and the identification signal is a fingerprint image. The identity verification is, for example, using the recognition circuit of the fingerprint recognition assembly to compare whether the received fingerprint image conforms to a stored fingerprint image, thereby determining whether the user who attempts to activate the voice assistant is a legal user or not. The identification assembly may also adopt biometric recognition techniques such as palm print, iris, retina, or vein. The present disclosure does not limit the type of the biometric recognition technique serving as identity verification.
Please refer to
Please refer to
Please refer to step S35, “determining whether the wake-up signal passes the wake-up procedure”. In the embodiment which the identity recognition procedure is serving as the wake-up procedure, if the identity recognition fails, the remaining steps will not be performed, the voice assistant will not be activated, and the method of the present disclosure returns to step S33 to wait for another wake-up signal. If the identity recognition is passed, the method of the present disclosure continues to perform step S7.
Please refer to step S37. After the wake-up signal passes the wake-up procedure, the power is provided to the processor 3 of the electronic device 10 and the communication module 7 of the electronic device 10 to wake up the processor 3 and the communication module 7 that are in a sleep state.
Please refer to step S39, “The processor 3 performs a voice assistant procedure and connects to a voice assistant server 30 by the communication module 7”. When the voice assistant procedure is ready, the voice assistant procedure may output a greeting voice notification such as “Hi Tom, may I help you?” to inform the user that he or she may start to interact with the voice assistant.
In an embodiment, a voice receiver of the electronic device 10 may be activated at when the step S39 is performed or when the step S37 is performed, and a vocal collection gain function and a non-human noise reduction function of the voice receiver can be also enabled. Therefore, the user voice received by the voice assistant may be more clear, and the accuracy of the semantic determination by the voice assistant may be improved.
In view of the above, the embodiments of the present disclosure propose an electronic device that is capable of activating a voice assistant in a sleep state and a method of activating a voice assistant. The disclosed operational flow and the wake-up mechanism (such as user identification mechanism) enables the laptop to activate the digital voice assistant when its top cover is folded, so the operating scenario using the digital voice assistant is expanded. The user interacts with the digital voice assistant on the laptop as if it were a smart speaker. The user can use the spoken dialogue to complete the task without the participation of the screen. In addition, the user identification is confirmed by the identification assembly before the voice assistant is enabled, so the privacy of users and the data security may be confirmed. The present disclosure may avoid others to steal the user's private schedule or address book and other information through the voice assistant.
Number | Date | Country | Kind |
---|---|---|---|
201910457867.2 | May 2019 | CN | national |