Voice wake-up method and electronic device
By acquiring voice information from electronic devices and converting the wake word, the problem of different applications needing to remember different wake words is solved, enabling more convenient application operation.
Patent Information
- Application Number
- CN202111322413.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-09
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2042-02-27
AI Technical Summary
Different applications use different wake words, which forces users to memorize different wake words and reduces the convenience of application operation.
By acquiring the user's voice input, and using a common first wake-up word, the first wake-up word is converted into a target wake-up word based on the target application's running status or preset words in the voice information, thereby activating the target application's voice interaction function.
It enables the use of a common wake word to wake up different applications, improving the convenience of application operation and reducing the need to remember different wake words.
Smart Images

Figure CN113990323B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of electronics, and particularly relates to a voice wake-up method and an electronic device. BACKGROUND
[0002] With the progress of voice recognition technology, more and more applications (referred to as apps) provide voice interaction as a way for the app to receive user instructions. In order to identify when the user initiates a voice instruction, the app uses a wake-up word to facilitate user use. For example, in a smart phone, if the user needs to use a smart voice assistant, the user needs to say Xiao V Xiao V first to start the smart voice assistant.
[0003] Because different applications have their own wake-up words, the wake-up words of different applications are different. Therefore, different wake-up words need to be remembered during the use of different applications, reducing the convenience of application operation. SUMMARY
[0004] The purpose of the embodiments of the present application is to provide a voice wake-up method and an electronic device, which can solve the problem of needing to remember different wake-up words during the use of different applications, reducing the convenience of application operation.
[0005] In a first aspect, the embodiments of the present application provide a voice wake-up method, which comprises:
[0006] obtaining voice information input by a user, the voice information comprising a first wake-up word;
[0007] in a case where a running state of a target application meets a first condition, or the voice information comprises a preset word, converting the first wake-up word into a target wake-up word, wherein the preset word is used to indicate the target application, and the target application supports voice operation;
[0008] starting a voice interaction function of the target application; wherein a wake-up word corresponding to the target application is the target wake-up word, and the first wake-up word is different from the target wake-up word.
[0009] In a second aspect, the embodiments of the present application provide a voice wake-up device, which comprises:
[0010] an obtaining module, configured to obtain voice information input by a user, the voice information comprising a first wake-up word;
[0011] a converting module, configured to, in a case where a running state of a target application meets a first condition, or the voice information comprises a preset word, convert the first wake-up word into a target wake-up word, wherein the preset word is used to indicate the target application, and the target application supports voice operation;
[0012] The starting module is configured to start a voice interaction function of the target application, wherein the target application corresponds to a target wake-up word, and the first wake-up word is different from the target wake-up word.
[0013] In a third aspect, an electronic device is provided, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the voice wake-up method according to the first aspect.
[0014] In a fourth aspect, a readable storage medium is provided, which stores a program or instructions, and the program or instructions, when executed by a processor, implement the steps of the voice wake-up method according to the first aspect.
[0015] In a fifth aspect, a chip is provided, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or instructions to implement the voice wake-up method according to the first aspect.
[0016] In the embodiments of the present application, by obtaining voice information input by a user, the voice information includes a first wake-up word; according to a first condition met by a running state of a target application, or according to a case where the voice information includes a preset word, the first wake-up word is converted into a target wake-up word, so as to start a voice interaction function of the target application. Therefore, the embodiments of the present application wake up different target applications by using a common first wake-up word, compared with the traditional interaction mode of needing to remember different wake-up words in the process of using different applications, the embodiments of the present application improve the convenience of application operation. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 is one of flowcharts of the voice wake-up method provided by the present application;
[0018] Figure 2 is another of flowcharts of the voice wake-up method provided by the present application;
[0019] Figure 3 is a third of flowcharts of the voice wake-up method provided by the present application;
[0020] Figure 4 is a fourth of flowcharts of the voice wake-up method provided by the present application;
[0021] Figure 5 is a fifth of flowcharts of the voice wake-up method provided by the present application;
[0022] Figure 6 is a sixth of flowcharts of the voice wake-up method provided by the present application;
[0023] Figure 7 is a structural schematic diagram of a voice wake-up device provided by the present application;
[0024] Figure 8 is a structural schematic diagram of an electronic device provided by the present application;
[0025] Figure 9 is a second structural schematic diagram of an electronic device provided by the present application. DETAILED DESCRIPTION
[0026] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.
[0027] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually a category and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.
[0028] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application. Figure 1 The voice wake-up method provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios.
[0029] The voice wake-up method of the present application comprises:
[0030] Step 100, obtaining voice information input by a user, the voice information comprising a first wake-up word.
[0031] The voice information input by the user is obtained through an input unit of an electronic device, and the voice information comprises a first wake-up word. The electronic device can be various common terminal devices, such as a smart phone, a tablet computer, a wearable smart device, a personal computer, etc. The input unit can be a microphone. The voice information can be an audio signal emitted by the user or other terminal devices. The first wake-up word in the present embodiment refers to a public wake-up word configured by the electronic device. It can be understood that the first wake-up word can be a system or device wake-up word provided by the electronic device, or a public wake-up word defined by the user.
[0032] For example, in one embodiment, the corresponding smart voice assistant of a certain smart phone corresponds to the wake-up word "Xiao V Xiao V". Of course, in other embodiments, the user can also change "Xiao V Xiao V" to a custom wake-up word such as "Xiao Mei Xiao Mei", and at this time the custom wake-up word can also be used as the first wake-up word.
[0033] Step 200: In the case that the running state of the target application meets the first condition, or the voice information includes a preset word, the first wake-up word is converted into a target wake-up word, wherein the preset word is used to indicate the target application, and the target application supports voice operation.
[0034] Among them, the target application can be determined according to different scenes. Specifically, the electronic device determines the target application through the running state of the target application; or determines the target application through the preset word in the voice information (the preset word points to the target application). The electronic device determines the target application through the above various different scenes, and then determines the target wake-up word through the target application.
[0035] Step 300: Start the voice interaction function of the target application; wherein the wake-up word corresponding to the target application is the target wake-up word, and the first wake-up word is different from the target wake-up word.
[0036] The electronic device converts the first wake-up word into a target wake-up word, and starts the voice interaction function of the target application corresponding to the target wake-up word. The wake-up word corresponding to the target application is the target wake-up word. The first wake-up word is different from the target wake-up word. That is, the first wake-up word can be a system or device wake-up word of the electronic device itself, or a public wake-up word defined by the user. The target wake-up word is the wake-up word of the target application that the user wants to wake up. For example, the corresponding first wake-up word of the corresponding smart voice assistant of a certain smart phone is "Xiao V Xiao V". The target wake-up word of the target application that the user wants to wake up is "Xiao A Xiao A".
[0037] It can be understood that the electronic device pre-stores wake-up word information corresponding to each application. For example, the wake-up word corresponding to application A is "Xiao H Xiao H"; the wake-up word corresponding to application B is "Xiao Z Xiao Z", etc. After determining the target application, the electronic device queries the pre-stored wake-up word information corresponding to each application to find the wake-up word corresponding to the target application as the target wake-up word; thereby converting the first wake-up word into the target wake-up word, and controlling to start the voice interaction function of the target application corresponding to the target wake-up word.
[0038] In this embodiment, by acquiring user-input voice information, including a first wake-up word, and based on whether the target application's running state meets a first condition, or if the voice information includes a preset word, the first wake-up word is converted into a target wake-up word, thereby activating the voice interaction function of the target application. Thus, by using a common first wake-up word to wake up and operate different target applications, compared to the traditional interaction method that requires memorizing different wake-up words when using different applications, this embodiment improves the convenience of application operation.
[0039] Please refer to Figure 2 Specifically, step 200, converting the first wake word into the target wake word when the target application's running state meets the first condition, includes:
[0040] Step 210a: If the target application is running in the foreground, convert the first wake word into the target wake word;
[0041] The electronic device determines whether the application running in the foreground supports voice wake-up. If it receives a first wake-up word input by the user and the application supports voice wake-up, it identifies the application as the target application and converts the first wake-up word into the wake-up word corresponding to that application (i.e., the target wake-up word). Therefore, when the target application is running in the foreground, the first wake-up word is directly converted into the target wake-up word corresponding to the target application, and the voice interaction function of the target application is activated using the target wake-up word. This achieves the use of a common first wake-up word to activate the voice interaction function of the target application running in the foreground.
[0042] For example, suppose the first wake-up word is "Xiao V Xiao V", and the application running in the background is a navigation application, whose wake-up word is "Xiao T Xiao T". When the electronic device receives the first wake-up word "Xiao V Xiao V", it automatically converts "Xiao V Xiao V" into "Xiao T Xiao T" and uses "Xiao T Xiao T" to launch the voice interaction function of the navigation application running in the foreground. Thus, this embodiment achieves the use of a common first wake-up word to launch the voice interaction function of the application running in the foreground, without having to use a wake-up word specific to the application, improving the convenience of application operation.
[0043] Alternatively, please refer to Figure 3 Step 220a: If the target application is not running in the foreground, and within a preset time after receiving the voice information, an operation to start or call the target application to the foreground is received, the first wake word is converted into the target wake word.
[0044] It can be understood that, in addition to the case where the target application is running in the foreground, the electronic device also converts the first wake-up word into a target wake-up word in a preset time after receiving the voice information, in the case of receiving an operation of starting / calling the target application to the foreground.
[0045] For example, in the case where the electronic device receives the first wake-up word "Xiao V Xiao V" of the user within 5 seconds, the user clicks the icon of the target application B to start the target application B, at this time, the electronic device converts the first wake-up word "Xiao V Xiao V" into the target wake-up word "Xiao B Xiao B" of the target application to start the voice interaction function of the target application B, so that the user can directly interact with the target application B through voice, without having to say the wake-up word of the target application B to start the voice interaction function of the target application B, thereby improving the convenience of application operation.
[0046] It should be noted that the above-mentioned preset time of 5 seconds after obtaining the first wake-up word "Xiao V Xiao V" of the user is only for the technical personnel in the art to better understand the technical solutions of the embodiments of the present application, and should not be understood as a specific limitation of the preset time of the present application. The preset time can also be set to other times according to actual needs.
[0047] Please refer to Figure 4 On the other hand, in the case where the voice information includes a preset word, the step 200 of converting the first wake-up word into a target wake-up word comprises:
[0048] The step 210b of determining a target application according to the preset word and converting the first wake-up word into a target wake-up word.
[0049] The electronic device determines a target application according to the preset word in the case of receiving the first wake-up word.
[0050] It can be understood that the preset word can be a keyword indicating a target application. Alternatively, the preset word can include the full name or the abbreviation of the target application, including Chinese full name or abbreviation, or foreign language full name or abbreviation, or the preset word can be a function corresponding to the target application, such as navigation, map, etc.
[0051] In this embodiment, the first wake-up word and the preset word are trigger conditions for determining the target application, and the electronic device determines the application corresponding to the preset word as the target application in the case of receiving the first wake-up word and the preset word, regardless of whether there is an application running in the foreground.
[0052] After the step of determining a target application based on the preset word, the electronic device converts the first wake-up word into a target wake-up word of the target application corresponding to the preset word, and starts the voice interaction function of the target application based on the target wake-up word.
[0053] For example, in the case of running a navigation application in the foreground, the user wants to order through the takeout application C, and the user issues "Xiao V Xiao V, open application C". In the case of receiving the language information "Xiao V Xiao V, open application C", at this time the smart phone will not convert the first wake-up word "Xiao V Xiao V" into the wake-up word "Xiao T Xiao T" of the navigation application. But automatically converts the first wake-up word "Xiao V Xiao V" into the target wake-up word "Xiao Y Xiao Y" for opening the takeout application C, so as to start the voice interaction function of the takeout application C based on the target wake-up word.
[0054] It should be noted that since the target application includes a background running application or an application that has not yet been run. Therefore, the step of starting the voice interaction function of the target application (takeout application C) based on the target wake-up word at this time includes the steps of first starting the target application (takeout application C), and then starting the voice interaction function of the target application through the target wake-up word.
[0055] In this embodiment, in the case of receiving the first wake-up word and the preset word, the target application is determined based on the preset word. The target application includes a background running application or an application that has not yet been run. Therefore, whether there is an application running in the foreground or not, the first wake-up word is converted into the target wake-up word of the target application corresponding to the preset word, and the voice interaction function of the target application corresponding to the preset word is started based on the target wake-up word. Therefore, this embodiment starts the voice interaction function of the target application corresponding to the preset word based on the common first wake-up word issued by the user. Instead of using the wake-up word of the target application corresponding to the preset word to start the target application, the convenience of application operation is improved.
[0056] Please refer to Figure 5 On the other hand, step 200, in the case that the running state of the target application meets the first condition, the first wake-up word is converted into a target wake-up word, comprising:
[0057] Step 210c, in the case that the target application is not running in the foreground, receiving a target operation input by the user;
[0058] Step 220c, in response to the target operation, converting the first wake-up word into a target wake-up word; wherein the target operation is associated with the target application.
[0059] In the case that the target application is not running in the foreground, the electronic device determines the target application based on the target operation in the case that the first wake-up word is received and the target operation of the user is received. The target operation is associated with the target application.
[0060] The target operation can include various interaction manners preset by the user on the electronic device. Taking a smartphone as an example, the target operation can be a touch operation preset by the user on the smartphone. Further, the touch operation can include a touch screen operation of the user on the smartphone, such as long pressing the screen, double tapping the screen, outputting a preset gesture operation to the screen (such as drawing a "C" shape on the screen), and the like. Alternatively, the touch operation can also include an operation of the user touching a physical button on the smartphone, such as the target operation being an operation of the user pressing the volume button on the smartphone.
[0061] It can be understood that the target operation can be other preset interaction manners of the user on the electronic device, such as shaking the smartphone, and the like.
[0062] In this embodiment, the target operation of the user is taken as a basis for determining the target application. Different target operations correspond to different target applications in this embodiment. That is, there is a one-to-one correspondence between the target operation and the target application. Thus, the electronic device directly determines the target application based on the target operation in the case where the first wake-up word is received and the target operation of the user is received.
[0063] In the case where the target application is determined based on the target operation, the electronic device converts the first wake-up word into a target wake-up word, and starts the voice interaction function of the target application corresponding to the target operation of the user based on the target wake-up word.
[0064] For example, in the case where the navigation application is running in the foreground, the user wants to order food through the food ordering application C, the user utters "Xiao V Xiao V" while pressing the screen of the smartphone. At this time, the operation of pressing the screen corresponds to the food ordering application C. In the case where the voice information "Xiao V Xiao V" is received and the operation of the user pressing the screen of the smartphone is received, the smartphone does not convert the first wake-up word "Xiao V Xiao V" into the wake-up word "Xiao T Xiao T" of the navigation application. Instead, the first wake-up word "Xiao V Xiao V" is automatically converted into the target wake-up word "Xiao Y Xiao Y" of the target application (the food ordering application C), so as to start the voice interaction function of the target application (the food ordering application C) based on the target wake-up word.
[0065] It is worth mentioning that the user can set a specific target operation for an application frequently used. For example, the operation of pressing the volume button of the smartphone corresponds to the application C, and the operation of long pressing the screen of the smartphone corresponds to the application E. Thus, when the user wants to wake up a certain frequently used application, the user only needs to utter the common first wake-up word and make the specific target operation corresponding to the application, so as to start the voice interaction function of the application. It can be understood that each target operation uniquely corresponds to an application, and the target operation of each application can be set in advance.
[0066] It should be noted that, since the target application is not running in the foreground, that is, the target application includes an application running in the background or an application that has not yet been run. Therefore, the step of starting the voice interaction function of the target application based on the target wake-up word at this time includes the steps of first starting the target application (take-out application C), and then starting the voice interaction function of the target application (take-out application C) through the target wake-up word.
[0067] In the embodiment, the target application is determined based on the target operation when the first wake-up word is received and the target operation of the user is received. The target application includes an application running in the background or an application that has not yet been run. Therefore, whether an application is running in the foreground or not, the first wake-up word is converted into a target wake-up word of a target application corresponding to the target operation, and the voice interaction function of the target application corresponding to the target operation is started based on the target wake-up word. Therefore, the voice interaction function of the target application corresponding to the target operation issued by the user is started based on the common first wake-up word in the embodiment. It is not necessary to use the wake-up word of the target application to start the target application, and the convenience of application operation is improved.
[0068] Please refer to Figure 6 On the other hand, the voice wake-up method of the application further includes:
[0069] Step 400, in the case that the running state of the target application does not satisfy the first condition, or the voice information does not include the preset word, performing a first operation according to the first wake-up word;
[0070] The running state of the target application not satisfying the first condition includes that the target application is not running in the foreground, and the first operation is not received within a preset time. The first operation includes at least one of the following: the target operation associated with the target application, and the operation of starting / calling the target application to the foreground.
[0071] When the running state of the target application does not satisfy the first condition, the electronic device performs the first operation according to the first wake-up word. Specifically, when the target application is not running in the foreground, and the target operation associated with the target application or the operation of starting / calling the target application to the foreground is not received within a preset time, the target application of the user cannot be determined at this time. Therefore, it is determined that the electronic device performs the first operation according to the first wake-up word.
[0072] Similarly, in the case that the voice information included by the electronic device includes the first wake-up word but does not include the preset word, the target application of the user cannot be determined at this time, and the electronic device performs the first operation according to the first wake-up word.
[0073] The first operation refers to the operation performed by the electronic device based on the first wake-up word. For example, after the electronic device obtains the wake-up word "Xiao V Xiao V", the voice interaction function of the intelligent voice assistant is started.
[0074] In summary, the voice wake-up method provided in the present application obtains voice information input by a user, the voice information comprising a first wake-up word; in the case that a running state of a target application meets a first condition, or in the case that the voice information comprises a preset word, the first wake-up word is converted into a target wake-up word, thereby starting a voice interaction function of the target application. Thus, the embodiments of the present application wake up different target applications by using a common first wake-up word, which improves the convenience of application operation compared with the conventional interaction mode in which different wake-up words need to be memorized in the use of different applications.
[0075] Please refer to Figure 7 It should be noted that the voice wake-up method provided in the embodiments of the present application can be executed by a voice wake-up device or a control module in the voice wake-up device for executing the voice wake-up method. The embodiments of the present application take the voice wake-up device for executing the voice wake-up method as an example to describe the voice wake-up device provided in the embodiments of the present application.
[0076] The voice wake-up device comprises:
[0077] The obtaining module 201 is configured to obtain voice information input by a user, the voice information comprising a first wake-up word.
[0078] The conversion module 202 is configured to, in the case that a running state of a target application meets a first condition, or in the case that the voice information comprises a preset word, convert the first wake-up word into a target wake-up word, the preset word being used to indicate the target application, the target application supporting voice operation.
[0079] The starting module 203 is configured to start a voice interaction function of the target application; wherein the wake-up word corresponding to the target application is the target wake-up word, and the first wake-up word is different from the target wake-up word.
[0080] On the basis of the above embodiments, as an optional embodiment, the conversion module 202 is specifically configured to, in the case that the target application is running in the foreground, convert the first wake-up word into a target wake-up word; or, in the case that the target application is not running in the foreground, and within a preset time after receiving the voice information, an operation of starting / calling the target application to the foreground is received, convert the first wake-up word into a target wake-up word.
[0081] On the basis of the above embodiments, as an optional embodiment, the conversion module 202 is specifically configured to determine a target application according to the preset word, and convert the first wake-up word into a target wake-up word.
[0082] On the basis of the above embodiments, as an optional embodiment, the conversion module 202 comprises:
[0083] a receiving sub-module, configured to receive a target operation input by a user in a case where the target application is not running in the foreground;
[0084] a conversion sub-module, configured to convert the first wake-up word into a target wake-up word in response to the target operation; wherein the target operation is associated with the target application.
[0085] On the basis of the above embodiments, as an optional embodiment, the voice-awakened device comprises:
[0086] an execution module, configured to execute a first operation according to the first wake-up word in a case where a running state of a target application does not satisfy a first condition, or a preset word is not included in the voice information.
[0087] wherein the running state of the target application not satisfying the first condition comprises that the target application is not running in the foreground, and the first operation is not received within a preset time, and the first operation comprises at least one of the following: the target operation associated with the target application, and an operation of starting / calling the target application to the foreground.
[0088] The voice-awakened device of the present application acquires voice information input by a user, the voice information comprising a first wake-up word; converts the first wake-up word into a target wake-up word according to a running state of a target application satisfying a first condition, or according to a case where a preset word is included in the voice information, thereby starting a voice interaction function of the target application. Thus, the embodiments of the present application awaken different target applications by using a common first wake-up word, which improves the convenience of application operation compared with the traditional interaction mode of needing to remember different wake-up words in different application processes.
[0089] The voice-awakened device in the embodiments of the present application ApparatusThe apparatus can be a component in a device or a terminal, an integrated circuit, or a chip. The apparatus can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), and the like, and the non-mobile electronic device can be a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, and the like, which are not limited in the embodiments of the present application.
[0090] The voice wake-up apparatus in the embodiments of the present application can be an apparatus with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not limited in the embodiments of the present application.
[0091] The voice wake-up apparatus provided in the embodiments of the present application can implement Figures 1 to 6 The method embodiments implement various processes, which are not repeated here to avoid repetition.
[0092] Optionally, as shown in Figure 8 The embodiments of the present application further provide an electronic device 800, which includes a processor 801, a memory 802, a program or instruction stored in the memory 802 and executable on the processor 801. The program or instruction is executed by the processor 801 to implement various processes of the above voice wake-up method embodiments and achieve the same technical effects, which are not repeated here to avoid repetition.
[0093] It should be noted that the electronic device in the embodiments of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.
[0094] FIG. 9 is a hardware structure schematic diagram of an electronic device for implementing the embodiments of the present application.
[0095] The electronic device 800 includes, but is not limited to, a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 802, and a processor 801, and the like.
[0096] Those skilled in the art can understand that the electronic device 800 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 801 through a power management system, so that the power management system can realize functions such as management of charging, discharging, and power consumption management. Figure 9 The electronic device structure shown in the figure is not a limitation on the electronic device, and the electronic device can include more or fewer components than the figure, or combine certain components, or different component arrangements, which are not described here.
[0097] The input unit 1004 is configured to obtain voice information input by a user, and the voice information includes a first wake-up word.
[0098] The processor 801 is configured to convert the first wake-up word into a target wake-up word when a running state of a target application meets a first condition, or when the voice information includes a preset word, and the preset word is used to indicate the target application, and the target application supports voice operation; and start a voice interaction function of the target application; wherein the wake-up word corresponding to the target application is the target wake-up word, and the first wake-up word is different from the target wake-up word.
[0099] The electronic device of the present application obtains voice information input by a user, and the voice information includes a first wake-up word; converts the first wake-up word into a target wake-up word according to a first condition that a running state of a target application meets, or according to a condition that the voice information includes a preset word, thereby starting a voice interaction function of the target application. Therefore, the embodiments of the present application use a common first wake-up word to wake up different target applications, which improves the convenience of application operation compared with the traditional interaction mode of remembering different wake-up words in the process of using different applications.
[0100] Optionally, the processor 801 is configured to convert the first wake-up word into a target wake-up word when the target application is running in the foreground; or when the target application is not running in the foreground, and within a preset time after receiving the voice information, an operation of starting / calling the target application to the foreground is received, the first wake-up word is converted into a target wake-up word.
[0101] The electronic device of the present application uses a common first wake-up word to start the voice interaction function of the target application running in the foreground. It is not necessary to use the wake-up word corresponding to the application running in the foreground to start the application running in the foreground, which improves the convenience of application operation.
[0102] Optionally, the processor 801 is configured to determine a target application according to the preset word, and convert the first wake-up word into a target wake-up word.
[0103] The electronic device of the present application receives the first wake-up word and the preset word, and determines the target application based on the preset word. The target application includes an application running in the background or an application not yet running. Thus, whether an application is running in the foreground or not, the first wake-up word is converted into a target wake-up word of the target application corresponding to the preset word, and the voice interaction function of the target application corresponding to the preset word is started based on the target wake-up word. Thus, the electronic device starts the voice interaction function of the target application corresponding to the preset word issued by the user based on the common first wake-up word. Instead of using the wake-up word of the target application to start the target application, the convenience of application operation is improved.
[0104] Optionally, the processor 801 is configured to receive a target operation input by the user in the case that the target application is not running in the foreground, and convert the first wake-up word into a target wake-up word in response to the target operation, wherein the target operation is associated with the target application.
[0105] The electronic device of the present application receives the first wake-up word, and receives the target operation of the user, and determines the target application based on the target operation. The target application includes an application running in the background or an application not yet running. Thus, whether an application is running in the foreground or not, the first wake-up word is converted into a target wake-up word of the target application corresponding to the target operation, and the voice interaction function of the target application corresponding to the preset word is started based on the target wake-up word. Thus, the electronic device starts the voice interaction function of the target application corresponding to the target operation issued by the user based on the common first wake-up word. Instead of using the wake-up word of the target application to start the target application, the convenience of application operation is improved.
[0106] Optionally, the processor 801 is configured to perform a first operation according to the first wake-up word in the case that the running state of the target application does not satisfy a first condition, or the preset word is not included in the voice information.
[0107] The running state of the target application not satisfying the first condition includes that the target application is not running in the foreground, and the first operation is not received within a preset time. The first operation includes at least one of the following: the target operation associated with the target application, and an operation of starting / calling the target application to the foreground.
[0108] It should be understood that in the embodiments of the present application, the input unit 1004 can include a graphics processing unit (GPU) 10041 and a microphone 10042. The graphics processing unit 10041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1006 can include a display panel 10061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 can include two parts of a touch detection device and a touch controller. The other input devices 10072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), trackballs, mice, joysticks, etc., which will not be described here. The memory 802 can be used to store software programs and various data, including but not limited to application programs and operating systems. The processor 801 can integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 801.
[0109] The embodiments of the present application also provide a readable storage medium, which stores programs or instructions, and the programs or instructions are executed by a processor to realize the processes of the above-mentioned voice wake-up method embodiments and achieve the same technical effects. To avoid repetition, details will not be described here.
[0110] The processor is the processor in the electronic device described in the above-mentioned embodiments. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0111] The embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled with the processor. The processor is used to run programs or instructions to realize the processes of the above-mentioned voice wake-up method embodiments and achieve the same technical effects. To avoid repetition, details will not be described here.
[0112] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip, etc.
[0113] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element. Furthermore, it is to be understood that the method and apparatus of the present application can be carried out by more than one process, method, article, or apparatus either simultaneously, concurrently, or with intervening action that are carried out at the same time, either in a simultaneous fashion or in a fashion that is interleaved in time. For example, the described methods can be performed in a different order from that described, and / or various steps can be combined or omitted, and / or additional steps can be added, without departing from the scope of the present application. Also, features described with respect to certain examples can be combined in other examples.
[0114] From the above description of the embodiments, it is apparent that the above-described method of the embodiments can be realized by means of software and general-purpose hardware platforms, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such an understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk), and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present application.
[0115] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-described specific embodiments, and the above-described specific embodiments are merely illustrative, rather than limiting, and those of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims, which all belong to the protection of the present application.
Claims
1. A voice wake-up method, characterized by, The method comprises: obtaining voice information input by a user, the voice information comprising a first wake-up word; in a case where a running state of a target application meets a first condition, converting the first wake-up word into a target wake-up word, wherein the target application supports voice operation, and the first condition comprises at least one of the following: the target application is running in a foreground; or the target application is not running in the foreground, and an operation of starting or calling the target application to the foreground is received within a preset time after the voice information is received; starting a voice interaction function of the target application based on the target wake-up word; wherein a wake-up word corresponding to the target application is the target wake-up word, and the first wake-up word is different from the target wake-up word.
2. The voice wake-up method of claim 1, wherein, The converting the first wake-up word into the target wake-up word in the case where the running state of the target application meets the first condition comprises: in a case where the target application is not running in the foreground, receiving a target operation input by the user, the target operation being a preset operation corresponding to the target application, and the target operation being an operation of starting the target application; in response to the target operation, converting the first wake-up word into the target wake-up word.
3. The voice wake-up method of claim 1, wherein, The voice wake-up method further comprises: in a case where the running state of the target application does not meet the first condition, performing a first operation according to the first wake-up word, the first operation being an operation performed by the electronic device based on the first wake-up word; wherein the running state of the target application not meeting the first condition comprises: the target application not running in the foreground, and no operation of starting or calling the target application to the foreground being received within a preset time.
4. An apparatus for voice wake-up, the apparatus comprising: The method comprises: an obtaining module configured to obtain voice information input by a user, the voice information comprising a first wake-up word; a converting module configured to, in a case where a running state of a target application meets a first condition, convert the first wake-up word into a target wake-up word, wherein the target application supports voice operation, and the first condition comprises at least one of the following: the target application is running in a foreground; or the target application is not running in the foreground, and an operation of starting or calling the target application to the foreground is received within a preset time after the voice information is received; a starting module configured to start a voice interaction function of the target application based on the target wake-up word; wherein a wake-up word corresponding to the target application is the target wake-up word, and the first wake-up word is different from the target wake-up word. The converting module comprises:
5. The voice-awakened apparatus of claim 4, wherein, a receiving submodule configured to, in a case where the target application is not running in the foreground, receive a target operation input by the user, the target operation being a preset operation corresponding to the target application, and the target operation being an operation of starting the target application; a converting submodule configured to, in response to the target operation, convert the first wake-up word into the target wake-up word. The voice wake-up device comprises:
6. The voice-awakened apparatus of claim 4, wherein, an executing module configured to, in a case where a running state of a target application does not meet a first condition, perform a first operation according to the first wake-up word, the first operation being an operation performed by the electronic device based on the first wake-up word. The running state of the target application not satisfying the first condition comprises that the target application is not running in the foreground and no operation of starting / calling the target application to the foreground is received within a preset time.
7. An electronic device, comprising: The device comprises a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is executed by the processor to implement the steps of the voice wake-up method according to any one of claims 1-3.
8. A readable storage medium, characterized by, The program or instruction is stored on the readable storage medium, and the program or instruction is executed by the processor to implement the steps of the voice wake-up method according to any one of claims 1-3.
Citation Information
Patent Citations
Signal processing method and device thereof
CN111261160A
Voice control method and device
CN113129887A