Voice control method, device selection method, and electronic device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-03-12
- Publication Date
- 2026-05-29
AI Technical Summary
In the prior art, when the distance between the user and the target device is far away or the environmental noise is high, it is difficult for the electronic device to accurately recognize voice commands, resulting in a response error or no response, affecting the user's user experience.
By introducing a temporary hub (first electronic device) into the voice sharing system, the device receives the user's voice commands, parses out the identification and action commands of the target device, and sends the action commands to the target device to realize remote interaction between the electronic devices.
It improves the accuracy and response efficiency of electronic devices to identify voice commands, reduces response errors caused by inter-device distance or environmental noise, and improves user interaction experience and system reliability.
Smart Images

Figure CN122122660A_ABST
Abstract
Description
Voice control method, device selection method and electronic device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on August 24, 2023, with application number 202311076247.7 and invention name “A Voice Control Method, Device Selection Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of voice control technology, and in particular to a voice control method, a device selection method, and an electronic device. Background Art
[0003] With the continuous development of voice recognition technology, electronic devices (such as mobile phones, etc.) can perform corresponding actions according to the voice commands issued by users. For example, if a user issues a voice command "Youyou, call mom", the mobile phone can dial mom's mobile phone number according to the voice command to realize the interaction between the user and the electronic device.
[0004] However, due to certain reasons (such as the electronic device is far away from the user), the electronic device cannot accurately recognize the voice command, resulting in the electronic device having no response or an incorrect response, which in turn affects the user experience.
[0005] Summary of the Invention
[0006] Embodiments of the present application provide a voice control method, a device selection method, and an electronic device for realizing timely and accurate recognition of voice commands, thereby enabling the electronic device to respond in a timely and accurate manner.
[0007] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0008] In a first aspect, a voice control method is provided, which is applied to a first electronic device in a voice sharing system. The voice sharing system includes multiple electronic devices, each of which corresponds to a different wake-up word. A communication connection is established between the multiple electronic devices. In this method, the first electronic device first receives a voice command issued by a user. Thereafter, if the voice command includes the wake-up word corresponding to a target device and action information, the first electronic device sends an action command to a target device corresponding to an identifier of the target device. The target device then executes the action command.
[0009] In the present application, since the first electronic device is an electronic device in the voice sharing system, and the first electronic device is used to send an action instruction to the target device so that the target device executes the action instruction, that is, as long as any electronic device in the voice sharing system receives the voice instruction, it can control the target device to perform the corresponding action, and the target device does not need to receive the voice instruction to perform the corresponding action. In this way, remote interaction between electronic devices can be achieved, which can not only reduce the occurrence of errors in the target device's action execution or the inability to execute the action due to the long distance between the user and the target device, and improve the accuracy of the target device's action execution, but also reduce the occurrence of the target device's inability to receive voice instructions due to damage to the target device's microphone, thereby improving the reliability of the voice sharing system and thereby improving the user's interactive experience.
[0010] In a possible implementation of the first aspect, the first electronic device is determined based on the electronic device information selected by the user on the first interface displayed by the second electronic device, or the first electronic device is determined based on the electronic device information corresponding to the control control selected by the user on the second interface displayed by the second electronic device; wherein the second electronic device is one of multiple electronic devices, and the second electronic device and the first electronic device may be the same or different.
[0011] In the present application, since the first electronic device is determined based on the user's selection operation on any electronic device information on the first interface, or the first electronic device is determined based on the user's control operation on any control control on the second interface, that is, the first electronic device is a device specified by the user, therefore, the first electronic device can directly analyze according to the received voice instructions to obtain the identification and action instructions of the target device, and the voice sharing system does not need to first determine the first electronic device before performing voice instruction analysis. In this way, the calculation process of determining the first electronic device can be reduced, thereby improving the efficiency of the target device in executing actions.
[0012] In a possible implementation manner of the first aspect, the first electronic device is an electronic device corresponding to a voice instruction received, the signal strength value of which meets a preset signal condition, among the multiple electronic devices.
[0013] In the present application, since the first electronic device is determined based on the signal strength value, and the signal strength value is a signal strength value that meets the preset signal conditions, after the user issues a voice command, the target device and action command obtained by the first electronic device through analysis are accurate. In other words, the first electronic device can accurately identify the voice command issued by the user, thereby ensuring that the target device can accurately execute the action command issued by the user, reducing the occurrence of action execution errors due to unclear voice commands received by the target device, and improving the user's interactive experience.
[0014] In a possible implementation of the first aspect, when the action instruction includes an outgoing call instruction, the process of the first electronic device sending the action instruction may specifically include: the first electronic device sending the outgoing call instruction to a target device corresponding to the target device identifier. The target device may then place an outgoing call based on the called number or contact information in the outgoing call instruction and display an outgoing call interface, where the contact information may include a contact name or a contact phone number.
[0015] In the present application, if the action instruction includes an outgoing call instruction, the target device can execute the outgoing call instruction and display the outgoing call interface on the target device. In this way, as long as the first electronic device can determine the target device and the action instruction, the target device can perform the corresponding action. In other words, regardless of whether the target device can accurately receive the voice instruction issued by the user, the target device can accurately perform the corresponding action, thereby improving the user experience.
[0016] In a possible implementation of the first aspect, the method further includes: the first electronic device receiving the called number information sent by the target device. Thereafter, the first electronic device displays an outgoing call interface, wherein the outgoing call interface includes the called number information.
[0017] In the present application, after the target device executes the outgoing call action, the first electronic device can receive the called number information sent by the target device, so as to display the outgoing call interface according to the called number information. That is to say, the first electronic device will also synchronously display the corresponding outgoing call interface. In this way, even if the user is far away from the target device, the user can still talk to the contact through the interface displayed on the first electronic device, so that the user can clearly understand the call status and can communicate with the contact in time when the call is connected, thereby improving the user experience.
[0018] In one possible implementation of the first aspect, when the action instruction includes a vehicle control instruction, the process of the first electronic device sending the action instruction may specifically include: the first electronic device sending the vehicle control instruction to a target vehicle. Thereafter, in response to the vehicle control instruction, an onboard system in the target vehicle controls a target device in the vehicle to perform a corresponding action.
[0019] In this application, if the action instruction includes a vehicle control instruction, the target device can control the target device to perform the corresponding action. In this way, as long as the first electronic device can determine the target device and the action instruction, the target device can perform the corresponding action. In other words, regardless of whether the target device can accurately receive the voice instruction issued by the user, the target device can accurately perform the corresponding action, thereby improving the user experience. In addition, by determining the target device and the action instruction by the first electronic device, not only can the remote control of the car be achieved, but also the situation where the car cannot receive the voice instruction issued by the user due to a failure of the hardware in the car (such as a microphone) can be reduced, thereby improving the reliability of the intelligent voice sharing system.
[0020] In a possible implementation of the first aspect, the method further includes: receiving, by the first electronic device, an execution result of an action instruction sent by a target device; wherein the execution result of the action instruction includes completion status information or failure status information, the completion status information indicating that the target device has completed the action corresponding to the action instruction, and the failure status information indicating that the target device has failed to respond to the action instruction. Thereafter, the first electronic device outputs the execution result of the action instruction.
[0021] The first electronic device may output the execution result of the action instruction in the form of voice or text.
[0022] In this application, when the first electronic device receives the execution result of the action instruction sent by the target device, the first electronic device can output the execution result of the action instruction through voice or text. In this way, the user can be informed of the execution result of the action instruction in a timely manner, avoiding the user's doubts about whether the voice instruction has been executed, thereby improving the user's user experience. In addition, if the execution result of the action instruction is a failure status information, the user can manually control the target device to execute the action instruction or issue the voice instruction again, reducing the user's waiting time.
[0023] In a second aspect, a device selection method is provided, which is applied to a first device among multiple electronic devices in a voice sharing system, wherein the wake-up words corresponding to the multiple electronic devices are all different, and a communication connection is established between the multiple electronic devices. In this method, the first device receives voice instructions received by other electronic devices in the voice sharing system except the first device. Afterwards, for the voice instructions received by each electronic device in the multiple electronic devices, the first device recognizes the voice instructions according to a voice recognition algorithm, and obtains a signal strength value corresponding to the voice instruction, wherein the voice recognition algorithm refers to an algorithm that calculates the signal strength of the voice instruction according to the voice loudness and / or voice quality. Afterwards, the first device uses the electronic device corresponding to the voice instruction whose received signal strength value meets the preset signal condition as the first electronic device; wherein the first device is the same as or different from the first electronic device.
[0024] In the present application, the first device can recognize the voice instruction through a voice recognition algorithm to obtain the signal strength value corresponding to the voice instruction, and the voice recognition algorithm refers to an algorithm that calculates the signal strength of the voice instruction based on the voice loudness and / or voice quality. Therefore, the voice instruction whose signal strength value meets the preset signal condition is a voice instruction that is less affected by noise and is clearer. In other words, the electronic device corresponding to the voice instruction is the electronic device that receives the voice instruction most clearly, which not only provides a basis for the subsequent first electronic device to accurately recognize the voice instruction. It can also improve the intelligent coordination ability of all electronic devices in the intelligent voice sharing system. In other words, as long as one electronic device in the intelligent voice sharing system can receive the voice instruction with the strongest signal strength, the target device can complete the corresponding action without the target device receiving the voice instruction issued by the user, thereby increasing the use scenarios of the intelligent voice sharing system and improving the user experience.
[0025] In addition, since the voice command only includes the wake-up word corresponding to any electronic device among multiple electronic devices, the first device can determine the corresponding signal strength value at the same time as the user sends the action information, without having to wait until the user outputs the action information to calculate the signal strength, which provides a basis for the subsequent timely determination of the first electronic device, thereby improving the efficiency of the determination of the first electronic device.
[0026] In a possible implementation manner of the second aspect, the method further includes: when the signal strength value is the highest or the signal strength value is greater than a preset strength value, the first device determines that the signal strength value meets a preset signal condition.
[0027] In a possible implementation of the second aspect, the determination process of the above-mentioned first electronic device may specifically include: the first device determines the number of received voice instructions whose signal strength values meet the preset signal conditions. When the number is 1, the first device can directly use the electronic device corresponding to the voice instructions whose signal strength values meet the preset signal conditions as the first electronic device.
[0028] In the present application, if the number of voice instructions whose signal strength values meet the preset signal conditions is 1, the first device can directly use the electronic device corresponding to the voice instruction whose signal strength value meets the preset signal condition as the first electronic device. In this way, the accuracy of the determination of the first electronic device can be improved, providing a basis for subsequent accurate recognition of voice instructions.
[0029] In a possible implementation of the second aspect, the above-described method further includes: if there are multiple voice instructions whose signal strength values meet a preset signal condition, the first device may select the electronic device corresponding to the voice instruction whose signal strength values meet the preset signal condition as a candidate first electronic device. The first device may then obtain status information for each candidate first electronic device; the status information includes at least one of battery life status information, operating status information, and the number of background programs running. The first device may then select the electronic device corresponding to the voice instruction that meets the preset condition corresponding to the status information as the first electronic device.
[0030] In the present application, if there are multiple voice instructions whose signal strength values meet the preset signal conditions, the first device can, based on the status information of the candidate first electronic device, select the electronic device corresponding to the voice instruction that meets the preset conditions corresponding to the status information as the first electronic device. In this way, the first electronic device can be the device with the best status among the candidate first electronic devices, providing a basis for subsequent accurate recognition of voice instructions.
[0031] In a possible implementation manner of the second aspect, when the status information includes battery life status information, the preset condition corresponding to the battery life status information includes that the electronic device is in a charging mode or that the remaining power of the electronic device is the highest.
[0032] In this application, the first electronic device is an electronic device that is in charging mode or has the highest remaining power. In this way, it can ensure that the first electronic device has sufficient power, avoiding the situation where the power is too low due to the device recognizing voice commands and affecting the user's subsequent use.
[0033] In a possible implementation of the second aspect, when the status information includes operating status information, the preset condition corresponding to the operating status information includes that the electronic device is in an idle state, wherein the idle state refers to a state corresponding to the electronic device that is not used by the user.
[0034] In the present application, the first electronic device is an electronic device in an idle state. In this way, the operating speed of the first electronic device can be guaranteed, the occurrence of low operating speed caused by a large number of programs or algorithms running on the electronic device can be reduced, and the user experience can be improved.
[0035] In a possible implementation of the second aspect, when the status information includes the number of background running programs, the preset conditions corresponding to the number of background running programs include the least number of background running programs in the electronic device or the number of background running programs in the electronic device is less than a preset number, wherein the number of background running programs represents the number of applications running in the background in the electronic device.
[0036] In this application, the first electronic device is an electronic device with the least number of background running programs or the number of background running programs is less than a preset number. In this way, the running speed of the first electronic device can be guaranteed, and the occurrence of low running speed due to a large number of programs or algorithms running on the electronic device can be reduced, thereby improving the user experience.
[0037] In a possible implementation of the second aspect, when the status information includes multiple types of information, the process of determining the first electronic device may specifically include: the first device screening multiple temporary first electronic devices in descending order of priority, based on the status information corresponding to the priorities, to obtain candidate first electronic devices that meet the preset conditions corresponding to the status information corresponding to the priorities. Thereafter, when a candidate first electronic device that meets the preset conditions corresponding to the status information corresponding to the lowest priority is obtained, the first device selects the candidate first electronic device that meets the preset conditions corresponding to the status information corresponding to the lowest priority as the first electronic device.
[0038] In this application, the first device compares the status information of the electronic devices in sequence according to a preset priority until the first electronic device is determined from the candidate first electronic devices. In this way, it can be ensured that the first electronic device is the device with the best overall status among the candidate first electronic devices, providing a basis for subsequent accurate recognition of voice commands.
[0039] In a possible implementation of the second aspect, after the first device determines the first electronic device, the method further includes: the first device can upload the determination result of the first electronic device to other devices in the intelligent voice sharing system.
[0040] In this application, after determining the first electronic device, the first device will upload the determination result of the first electronic device. In this way, all electronic devices in the voice sharing system can clearly understand the determination result of the first electronic device, which can not only reduce the waste of resources caused by the device that is not a temporary hub performing instruction analysis, but also reduce the situation where the target device repeatedly executes multiple action instructions due to sending action instructions to the target device multiple times.
[0041] According to a third aspect, a voice control method is provided, which is applied to multiple electronic devices in a voice sharing system, wherein the wake-up words corresponding to the various electronic devices in the voice sharing system are different, and a communication connection is established between the electronic devices in the multiple electronic devices. In this method, at least one electronic device in the voice sharing system receives the voice instructions input by the user respectively. Afterwards, when the voice instruction includes the wake-up word and action information corresponding to any electronic device in the multiple electronic devices, the first electronic device in the at least one electronic device determines the identification and action instruction of the target device based on the voice instruction, wherein the target device refers to the electronic device corresponding to the wake-up word. Afterwards, the first electronic device sends an action instruction to the target device corresponding to the identification of the target device. Afterwards, the target device performs a corresponding action in response to the action instruction.
[0042] In this application, as long as any electronic device in the voice sharing system receives a voice command, it can control the target device to perform the corresponding action. The target device does not need to receive the voice command issued by the user before it can perform the corresponding action. This provides a basis for the subsequent target device to accurately respond to the user's action command, reduces the occurrence of action execution errors due to unclear voice commands received by the target device, improves the accuracy of the target device's execution of actions, and thus improves the user's interactive experience. At the same time, it can also avoid the situation where the target device cannot successfully receive the voice command issued by the user.
[0043] In one possible implementation of the third aspect, if the electronic devices in the voice sharing system are from the same manufacturer, each electronic device in the voice sharing system can install a voice sharing app. Each electronic device in the voice sharing system can then log in to the same user's account information to establish an intelligent voice sharing system.
[0044] In one possible implementation of the third aspect, if the electronic devices in the voice sharing system are from different manufacturers, a specific app can be installed on the electronic devices in the voice sharing system. The specific app is a smart voice sharing app specified by each manufacturer. The electronic devices in the voice sharing system can then log in to the specific app using their account number and password.
[0045] In this application, electronic devices can establish a voice sharing system for electronic devices from different manufacturers by installing and logging in to a specific APP to integrate all resources of the electronic devices in the voice sharing system. In other words, whether the electronic devices in the intelligent voice sharing system are from the same manufacturer or from different manufacturers, resources can be shared. This not only improves the interactivity of electronic devices from different manufacturers, but also increases the interconnection paths between different electronic devices from the same manufacturer, thereby improving the user experience.
[0046] In a possible implementation of the third aspect, the first electronic device is determined based on a selection operation of a user on electronic device information input on a first interface displayed by a second electronic device, or the first electronic device is determined based on a control operation of a user on electronic device information input on a first interface displayed by the second electronic device; wherein the second electronic device and the first electronic device may be the same or different.
[0047] In a possible implementation manner of the third aspect, the first electronic device is an electronic device corresponding to a voice instruction received, the signal strength value of which meets a preset signal condition, among the multiple electronic devices.
[0048] In a fourth aspect, the present application provides an electronic device, comprising a microphone, a memory, and one or more processors; the microphone, the memory, and the processor are coupled; the microphone is used to collect voice data, the memory is used to store computer program code, and the computer program code includes computer instructions; when the processor executes the computer instructions, the electronic device executes the method described above.
[0049] In a fifth aspect, the present application provides a computer-readable storage medium comprising computer instructions, which, when executed on an electronic device, enables the electronic device to execute the method described above.
[0050] In a sixth aspect, the present application provides a computer program product, which, when executed on an electronic device, enables the electronic device to execute the method described above.
[0051] In the seventh aspect, a chip is provided, comprising: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method as described above.
[0052] It can be understood that the beneficial effects that can be achieved by the device selection method described in the second aspect, the voice control method described in the third aspect, the electronic device described in the fourth aspect, the computer-readable storage medium described in the fifth aspect, the computer program product described in the sixth aspect, and the chip described in the seventh aspect can refer to the beneficial effects in the first aspect and any possible design method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] FIG1 is a schematic diagram of a scenario showing the distance between a user and a mobile phone provided by an embodiment of the present application;
[0054] FIG2 is a schematic diagram of a scene showing the distance between a user and a car provided by an embodiment of the present application;
[0055] FIG3 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0056] FIG4 is a flow chart of a voice control method provided in an embodiment of the present application;
[0057] FIG5 is a schematic diagram of an interface for logging into an intelligent voice sharing APP provided in an embodiment of the present application;
[0058] FIG6 is a schematic diagram of an interface for displaying authorization information provided in an embodiment of the present application;
[0059] FIG7 is a schematic diagram of an interface for selecting a temporary hub provided in an embodiment of the present application;
[0060] FIG8 is a schematic diagram of an interface for selecting a smart scene provided in an embodiment of the present application;
[0061] FIG9 is a schematic diagram of a scenario for a smart home provided by an embodiment of the present application;
[0062] FIG10 is a flow chart of another voice control method provided in an embodiment of the present application;
[0063] FIG11 is a schematic diagram of an interface for making a call provided in an embodiment of the present application;
[0064] FIG12 is a schematic diagram of a scenario in which a user issues a voice command according to an embodiment of the present application;
[0065] FIG13 is a schematic diagram of a voice control process provided in an embodiment of the present application;
[0066] FIG14 is a schematic diagram of another voice control process provided in an embodiment of the present application. DETAILED DESCRIPTION
[0067] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. Wherein, in the description of the present application, unless otherwise specified, the "and / or" in the present application is merely a kind of association relationship describing the associated objects, indicating that there can be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone, wherein A and B can be singular or plural. Moreover, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or its similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, wherein a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions in the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences. At the same time, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0068] With the continuous development of electronic devices such as mobile phones and smart homes, voice recognition technology has been widely used in various usage scenarios of electronic devices. Specifically, electronic devices can perform corresponding actions by recognizing the voice commands (or voice signals) issued by users. For example, in a phone call scenario, if the user issues a voice command "Youyou, call mom", indicating that the user wants to talk to mom, the mobile phone can dial mom's mobile phone number according to the voice command to realize the call between the user and mom, that is, to realize the interaction between the user and the electronic device.
[0069] In some embodiments, if the distance between the user and the electronic device is far, or the ambient noise between the electronic device and the user is large, the voice signal received by the electronic device may be weak, which may cause the electronic device to be unable to accurately recognize the voice commands issued by the user, and may cause the electronic device to have an action execution error (i.e., a response error) or no response, affecting the user's experience.
[0070] In one example, for the above-mentioned situation where the distance between the user and the electronic device is far, see Figure 1, taking the usage scenario as a smart home scenario and the electronic device as an example of a mobile phone, since the user is currently watching TV in the living room and the mobile phone is in the bedroom, the distance between the mobile phone and the user is far. Therefore, if the user needs to interact with the mobile phone by voice, the user needs to walk to the bedroom, or the user needs to speak louder in order to control the mobile phone to perform the corresponding action by voice. In other words, the mobile phone needs to accurately and clearly recognize the voice commands issued by the user before it can complete the corresponding interactive function.
[0071] In another example, in response to the situation where the environmental noise between the above-mentioned electronic device and the user's environment is large, take the electronic device as a car (such as an on-board terminal in a car) as an example. During the driving of the car, if the user issues a voice command (for example: close the window) when the car is driving on a construction section, that is, the environmental noise between the electronic device and the user's environment is large, the electronic device may not be able to accurately recognize the voice command issued by the user. Therefore, the user needs to manually control the car to perform the corresponding action (for example: the user operates the window closing device on the car), or, the user needs to issue the corresponding voice command after the car passes the construction section to control the car to perform the corresponding window closing action.
[0072] In some embodiments, if the distance between the user and the electronic device is large, not only may the voice signal received by the electronic device be weak, but the electronic device may also be unable to receive the user's voice signal, resulting in the electronic device being unable to perform the corresponding action in a timely manner. Alternatively, if the microphone of the electronic device is damaged, the electronic device may not be able to receive the user's voice signal. This may result in the electronic device being unable to recognize the user's voice command in a timely manner and, therefore, unable to perform the corresponding action in a timely manner, resulting in a poor user experience.
[0073] In one example, for the situation where the distance between the user and the electronic device is far and the electronic device cannot receive the voice signal output by the user, see Figure 2. Taking the usage scenario as a smart car scenario and the electronic device as car A as an example, when the user leaves car A (as shown in Figure 2, car A is located in a parking lot near the company and the user is at work in the company), that is, when the user is far away from car A, car A cannot receive the voice command issued by the user. Therefore, if the user needs to interact with car A by voice, the distance between the user and car A needs to be shortened. For example, if the user needs to return to car A, he can control car A to perform the corresponding action by voice. In other words, car A needs to accurately and clearly recognize the voice command issued by the user before it can complete the corresponding interactive function.
[0074] In another example, in the case where the microphone of the above-mentioned electronic device is damaged and the electronic device cannot receive the voice signal output by the user, taking the electronic device as an example of a car, when the user issues a voice command, if the microphone in car A is damaged, then car A may not be able to receive the voice command issued by the user, and thus cannot perform the corresponding action according to the voice command. Therefore, in order to enable car A to perform the corresponding action, the user may need to manually control car A to perform the corresponding action, resulting in a lower user experience.
[0075] Therefore, in response to the above problems, an embodiment of the present application provides a voice control method. In this method, when at least one electronic device receives a voice command issued by a user, a temporary hub (or a first electronic device) can parse the received voice command to obtain the identification and action instructions of the target device, wherein the at least one electronic device is an electronic device with an intelligent voice system and establishes the same intelligent voice sharing system, and the temporary hub is the electronic device that receives the clearest voice command. Afterwards, the temporary hub can send the action instruction to the target device. Afterwards, the target device can execute the action instruction and send the execution status of the action instruction to the temporary hub.
[0076] In the embodiment of the present application, since the temporary hub is the electronic device that receives the voice commands most clearly, after the user issues a voice command, the target device and action commands obtained by the temporary hub through analysis are accurate. In other words, the temporary hub can accurately identify the voice commands issued by the user, thereby ensuring that the target device can accurately execute the action commands issued by the user, reducing the occurrence of action execution errors due to unclear voice commands received by the target device, and improving the user's interactive experience.
[0077] Exemplarily, the above-mentioned electronic device can be any device with an intelligent voice system, such as a mobile phone, tablet computer, laptop computer, desktop computer, television, speaker, car, etc. The embodiments of the present application do not impose any restrictions on the specific type of electronic device.
[0078] FIG3 is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application. As shown in FIG3 , the electronic device 100 may include a processor 110, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, sensor module 180, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, button 190, motor 191, indicator 192, cameras 1-N 193, display 194, and subscriber identification module (SIM) card interfaces 1-N 195. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
[0079] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0080] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0081] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0082] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0083] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, etc.
[0084] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.
[0085] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0086] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0087] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0088] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0089] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0090] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as WIFI (wireless fidelity) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. In some embodiments, at least some functional modules of the wireless communication module 160 can be set in the processor 110.
[0091] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0092] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0093] The charging management module 140 is configured to receive charging input from a charger. While charging the battery 142 , the charging management module 140 can also provide power to the electronic device 100 through the power management module 141 .
[0094] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0095] The display screen 194 is used to display images, videos, etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
[0096] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0097] The ISP is used to process data fed back by the camera 193. The camera 193 is used to capture still images or videos. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0098] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0099] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack, and the application processor.
[0100] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0101] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker.
[0102] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0103] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the source of sound, realize directional recording function, etc.
[0104] The headphone jack is used to connect a wired headphone and can be a USB port 130 or a 3.5mm open mobile terminal platform (OMTP) standard port or a cellular telecommunications industry association of the USA (CTIA) standard port.
[0105] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
[0106] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0107] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0108] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts or touch vibration feedback. Indicator 192 can be an indicator light.
[0109] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by inserting it into or removing it from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0110] The embodiment of the present application provides a voice control method, which can be applied to any electronic device in an intelligent voice sharing system. Specifically, as shown in FIG4 , the voice control method may include S401 - S406 .
[0111] S401, at least one electronic device in the intelligent voice sharing system receives a voice command issued by a user.
[0112] The voice command (or voice signal) includes wake-up information (or wake-up word) and / or action information (or action command).
[0113] The above-mentioned wake-up information is used to indicate the target device that the user wants to control, that is, to indicate the target device in the intelligent voice sharing system (or called voice sharing system) that ultimately needs to respond to the voice instruction and perform the corresponding action. The corresponding wake-up words between the electronic devices in the intelligent voice sharing system are different, so that the target device can be determined based on the wake-up word. The intelligent voice sharing system is a system for sharing voice instructions received by all electronic devices, that is, as long as one electronic device in the intelligent voice sharing system can receive the voice instruction issued by the user, the electronic device in the intelligent voice sharing system can control the target device to perform the corresponding action according to the voice instruction.
[0114] The above-mentioned action information is used to indicate the action that the target device needs to perform. For example, the action information can be an outgoing call instruction, which is used to trigger the target device to make an outgoing call according to the called number or contact information in the outgoing call instruction and display the corresponding outgoing call interface, wherein the contact information can include the contact name (such as mother) or the contact number. For example, the action information can also be a vehicle control instruction, which is used to trigger the target device to control according to the device information in the vehicle control instruction, wherein the device information can include the device name (such as air conditioning, car window, etc.).
[0115] In some embodiments, electronic devices can establish an intelligent voice sharing system through an APP. In one example, for an electronic device, if the electronic device is a device with a display screen (such as a mobile phone, computer, etc.), the user can download an intelligent voice sharing application (application, APP) in the electronic device (such as an application market in the electronic device). Afterwards, the user can log in to the same account in the intelligent voice sharing APP to establish the intelligent voice sharing system.
[0116] In another example, if the electronic device does not have a display screen (such as a speaker, router, etc.), that is, the electronic device cannot install the above-mentioned smart voice sharing APP, the user can select an electronic device with a smart voice sharing APP from the smart voice sharing system. Afterwards, the user can manually add the electronic device without a display screen to the corresponding smart voice sharing APP in the electronic device with the smart voice sharing APP to establish the smart voice sharing system.
[0117] In addition, it should be understood that electronic devices in the intelligent voice sharing system can communicate with each other through a preset wireless communication method. Wherein, the preset wireless communication method may include one or more of Bluetooth, WIFI, NFC, and mobile networks (such as 2G, 3G, 4G, 5G, etc.).
[0118] In some embodiments, after the user outputs a voice command, each electronic device in the intelligent voice sharing system has the ability to receive the voice command. For example, if the user wants to control the smart speaker in the intelligent voice sharing system to play music, the user can output the corresponding voice command, such as the voice command can be "speaker yoyo, play music". Afterwards, the electronic device in the intelligent voice sharing system can receive the voice command. The electronic device refers to an electronic device with a microphone turned on and capable of receiving the voice signal output by the user. The electronic device is not limited to a smart speaker, but can include other electronic devices (such as mobile phones, computers, etc.). In other words, the target device (such as a smart speaker) does not need to receive the voice command issued by the user before it can perform the corresponding action. In this way, it can provide a basis for the subsequent target device to accurately respond to the user's action instructions, reduce the occurrence of action execution errors due to unclear voice instructions received by the target device, improve the accuracy of the target device's execution of actions, and thus improve the user's interactive experience. At the same time, it can also avoid the target device being unable to successfully receive the voice command issued by the user.
[0119] For another example, if a user wants to remotely control the vehicle to turn on the air conditioner, the user can trigger the voice function of the nearest device, where the nearest device refers to the electronic device closest to the user, such as a mobile phone carried by the user. Exemplarily, the way to trigger the voice function of the nearest device can be to manually click the target button (power button) to turn on the corresponding voice function, or to turn on the corresponding voice function through voice output (such as the user outputs the wake-up word of the nearest device). Afterwards, the user can directly output the corresponding voice command to the nearest device, such as the voice command can be "Car YoYo, turn on the air conditioner". Afterwards, the nearest device can receive the voice command to control Car YoYo to perform the action of turning on the air conditioner. In this way, remote control of electronic devices can be achieved, which provides convenience for users to remotely control devices.
[0120] For another example, the user wants to control the mobile phone to call the contact mom, and the mobile phone is the device closest to the user. That is to say, the user can only input voice commands to the mobile phone. Then the user can directly click the power button to turn on the voice function of the mobile phone and input the corresponding action command, such as the action command can be "Call contact mom". Alternatively, the user can input the wake-up word of the mobile phone (such as mobile phone yoyo) to turn on the voice function of the mobile phone. Afterwards, when the mobile phone receives the wake-up word input by the user, the mobile phone can output a reply message (such as where are you) by voice. Afterwards, the user can input the corresponding action command (such as call contact mom).
[0121] It is understandable that the wake-up words corresponding to each electronic device in the above-mentioned intelligent voice sharing system can be pre-set by the user according to his or her own habits, or can be the default of each electronic device. As long as each electronic device can be distinguished by the wake-up word, there is no specific limitation. In other words, the wake-up words corresponding to different electronic devices are different. For example, the wake-up word corresponding to a smart speaker can be "speaker yoyo" or "fangfang". For another example, the wake-up word corresponding to a tablet can be "tablet yoyo" or "miaomiao".
[0122] Specifically, for each electronic device in the intelligent voice sharing system, the electronic device (such as the system manager in the electronic device) can obtain the wake-up words corresponding to other electronic devices, so that the electronic device can know the wake-up words corresponding to any electronic device in the intelligent voice sharing system (including the electronic device itself), thereby enabling the electronic device to have the ability to determine the target device based on the wake-up words.
[0123] In some embodiments, in order to prevent users from mistakenly waking up electronic devices, the present application can be combined with the sound wave recognition technology in voice recognition technology to determine whether the electronic device is executing the voice command issued by the user himself. In this way, the user's identity can be determined, the occurrence of mistaken awakening of electronic devices due to non-owner identities can be reduced, and the safety of using electronic devices can be improved.
[0124] It should be noted that the various electronic devices in the above-mentioned intelligent voice sharing system can be electronic devices from the same manufacturer or from different manufacturers, without specific limitation. Among them, the same manufacturer means that all electronic devices in the intelligent voice sharing system correspond to the same manufacturer. Different manufacturers means that at least two electronic devices in the intelligent voice sharing system correspond to different manufacturers. For example, the intelligent voice sharing system includes device A, device B, and device C. Device A and device B correspond to the same manufacturer, and device B and device C correspond to different manufacturers, then it can be considered that the electronic devices in the intelligent voice sharing system correspond to different manufacturers.
[0125] In one example, if the at least one electronic device is an electronic device from the same manufacturer, each of the at least one electronic device can install the above-mentioned intelligent voice sharing APP. Afterwards, each of the at least one electronic device can log in to the account information of the same user to establish an intelligent voice sharing system. For example, taking an electronic device in the intelligent voice sharing system as a mobile phone as an example, after the mobile phone has installed the intelligent voice sharing APP, if the application icon 11 corresponding to the intelligent voice sharing APP is clicked, the mobile phone can display the account login interface (as shown in Figure 5), and the user can enter the corresponding mobile phone number and account password in the account login interface, for example, the mobile phone number is 132****8888. Afterwards, if the "Login" control is clicked, the mobile phone can display the information of the electronic devices that have agreed to intelligent voice sharing (as shown in Figure 5), such as information about TVs, speakers, etc. Among them, the electronic devices that have agreed to intelligent voice sharing represent electronic devices belonging to the intelligent voice sharing system. Afterwards, if the "Add" control A is clicked, the mobile phone can add electronic devices that establish a voice sharing function, that is, add electronic devices to the intelligent voice system.
[0126] In another example, if the at least one electronic device is an electronic device from a different manufacturer, the at least one electronic device can use a specific APP as the connection software, that is, the at least one electronic device can install the specific APP, wherein the specific APP is an intelligent voice sharing APP specified by the electronic devices of each manufacturer, that is, the specific APP is an APP that can be installed in the electronic devices of each manufacturer and can run in the electronic devices. Afterwards, the electronic device can log in according to the account and password. After the login is successful, the electronic device can obtain the information of other electronic devices that have logged in to the account, so as to establish an intelligent voice sharing system with other electronic device information.
[0127] It can be understood that the intelligent voice sharing system in this embodiment can integrate all resources in electronic devices. That is to say, whether the electronic devices in the intelligent voice sharing system are from the same manufacturer or different manufacturers, resources can be shared. In this way, not only can the interactivity between electronic devices from different manufacturers be improved, but also the interconnection paths between different electronic devices from the same manufacturer are increased, thereby improving the user experience.
[0128] It should be noted that before establishing the intelligent voice sharing function, each electronic device needs to determine whether the user has authorized functions such as Wi-Fi, Bluetooth, microphone, and speaker. Only when the access permission is enabled, that is, when the electronic device (such as the intelligent voice sharing app or a specific app in the electronic device) receives the user's authorization operation for Wi-Fi, Bluetooth, microphone, speaker, etc., can the electronic device use Wi-Fi, Bluetooth, microphone, and speaker.
[0129] For example, as shown in Figure 6, taking a mobile phone as an example, the mobile phone can display a prompt message indicating access rights, an approval control, and a rejection control on the device display interface of the smart voice sharing app. The prompt message is used to ask the user whether the mobile phone can use functions such as WIFI, Bluetooth, microphone, and speaker. For example, the prompt message can be "Do you allow the current app to use functions such as WIFI, Bluetooth, microphone, and speaker?"
[0130] In one example, if the above-mentioned consent control is triggered by the user, it means that the user agrees that the smart voice sharing APP can use WIFI, Bluetooth, microphone, speaker and other functions. Therefore, the smart voice sharing APP can use WIFI, Bluetooth, microphone, speaker and other functions to provide a basis for the subsequent execution of the voice control method. In another example, if the above-mentioned rejection control is triggered by the user, it means that the user rejects the smart voice sharing APP to use WIFI, Bluetooth, microphone, speaker and other functions. Therefore, the smart voice sharing APP will not use WIFI, Bluetooth, microphone, speaker and other functions, such as receiving voice commands issued by the user.
[0131] In some embodiments, the interface shown in FIG6 above asking the user whether to enable access rights is only an example, and the user may also determine whether to enable access rights in other ways. For example, the mobile phone may display function options (such as WIFI function, Bluetooth function, etc.) so that the user can turn off or on the corresponding function by turning off or on the function options. For example, if the WIFI control is triggered by the user, it indicates that the user has turned on the WIFI function, that is, the mobile phone (such as the smart voice sharing APP in the mobile phone) can send and / or receive voice commands issued by the user via WIFI.
[0132] S402: The temporary hub in the intelligent voice sharing system analyzes the voice command to obtain an analysis result, wherein the analysis result includes the identification of the target device and the action instruction.
[0133] Among them, the above-mentioned temporary hub (or called the first electronic device) is an electronic device in the intelligent voice sharing system.
[0134] Specifically, when the voice command includes wake-up information and action information, the temporary hub can analyze the voice command to obtain the target device identifier and the action instruction, wherein the target device identifier is used to indicate the target device.
[0135] Several possible methods for determining the above-mentioned temporary hub are introduced below.
[0136] In one implementation, the temporary hub can be an electronic device in the intelligent voice sharing system specified by the user. In one example, the user can directly use the intelligent voice sharing APP to select any electronic device as a temporary hub, that is, the temporary hub is determined based on the electronic device information selected by the user on the first interface displayed on the second electronic device, wherein the second electronic device and the first electronic device can be the same or different, and there is no specific limitation. For example, as shown in Figure 7, the second electronic device is a mobile phone, and the first interface is a smart scene interface. For example, a smart scene interface is displayed on the mobile phone, and the smart scene interface includes information of each electronic device in the intelligent voice sharing system. Among them, the information of the electronic device (or referred to as electronic device information) may include an identifier (such as a name) of the electronic device. In addition, the information of the electronic device may also include an icon and / or location of the electronic device.
[0137] Specifically, the intelligent voice sharing system includes the mobile phone, the TV in the living room, the TV in the master bedroom, the speakers in the living room, the speakers in the master bedroom, and the smart projector. The mobile phone receives the trigger operation 1 (or selection operation) input by the user for the information of any device in the smart scene interface (such as the TV icon in the living room). For example, the trigger operation 1 can be a double-click operation, a long press operation, etc. Afterwards, the mobile phone responds to the trigger operation 1 and displays an authorization interface, wherein the authorization interface includes a prompt message for the temporary hub determination, a confirmation control, and a cancel control. The prompt message is used to ask the user whether the electronic device clicked can be used as a temporary hub. For example, the prompt message can be "Do you want to use this electronic device as a temporary hub?" If the user clicks the confirmation control, it means that the user agrees to use the electronic device as a temporary hub. Therefore, the intelligent voice sharing system can directly determine the electronic device triggered by the user as a temporary hub; if the user clicks the cancel control, it means that the user does not agree to use the electronic device as a temporary hub. Therefore, the intelligent voice sharing system will not determine the electronic device clicked by the user as a temporary hub.
[0138] In another example, the intelligent voice sharing system can directly use the electronic device that receives the user's manual input operation as a temporary hub. That is, the temporary hub is determined based on the control operation input by the user on the electronic device information corresponding to the control control selected on the second interface displayed by the second electronic device, wherein the second electronic device can be the same as or different from the first electronic device mentioned above, and the specific details are not limited. For example, as shown in Figure 8, the second electronic device is a mobile phone, and the second interface is a smart scene interface. For example, the mobile phone receives the user's click operation on the information of any device in the smart scene interface (such as the TV information in the living room). For example, the click operation can be a single click operation. Afterwards, the mobile phone responds to the click operation and displays at least one control control, such as adjusting the volume, "switch control", etc. Afterwards, in response to the user's control operation on a control control in the current interface, the mobile phone can control the device to perform the action corresponding to the control control. For example, in response to the user dragging the button 12A on the progress bar 12 to the right, the mobile phone sends a volume increase command to the TV. In response to the volume increase command, the TV increases the volume value of the TV. Since the user inputs operations on the mobile phone, it indicates that the mobile phone and the user are in the same location. Therefore, the mobile phone can accurately receive the voice commands issued by the user, ensure the quality of the received voice commands, and thus accurately recognize the voice commands.
[0139] In another implementation, the temporary hub can be determined by the intelligent voice sharing system (such as any electronic device or designated electronic device in the intelligent voice sharing system) based on the distance between the user and each electronic device. The closer the distance between the user and the electronic device, the higher the clarity of the voice command output by the user received by the electronic device, that is, the higher the accuracy, and thus the higher the accuracy of recognizing the voice command. Specifically, the electronic device can use the electronic devices in the intelligent voice sharing system whose distance from the user is less than a preset distance (such as 3 meters) as temporary hubs. Exemplarily, the distance between the user and the electronic device can be measured by an ultrasonic sensor.
[0140] Among them, optionally, in the case where the number of electronic devices whose distances to the user are less than the preset distance is multiple, any of the multiple electronic devices whose distances to the user are less than the preset distance can be used as a temporary hub, or the electronic device closest to the user can be used as a temporary hub. For example, as shown in Figure 9, user R is sitting on the sofa in the living room, that is, all electronic devices in the home are in the same space as user R, so the intelligent voice sharing system can determine the corresponding temporary hub based on the user's actual location. If there is only one electronic device whose distance to the user is less than the preset distance, the intelligent voice sharing system can directly use the electronic device as a temporary hub. For example, as shown in Figure 2, user Y parks car A in the parking lot and enters the company to go to work, that is, the distance between user Y and car A is far. Since user Y is holding mobile phone F in his hand, that is, the distance between user Y and mobile phone F is close, the system manager can use mobile phone F as a temporary hub.
[0141] In another implementation, the temporary hub may be an electronic device with the best signal strength of the voice command received in the intelligent voice sharing system. Exemplarily, the process of determining the temporary hub based on the signal strength of the voice command may include steps S10-S30 as shown in FIG10 .
[0142] S10, a first device in the intelligent voice sharing system obtains voice commands received by other devices in the intelligent voice sharing system.
[0143] Specifically, after an electronic device in the intelligent voice sharing system receives a voice command issued by a user, other devices in the intelligent voice sharing system except the first device can send the voice commands they received to the first device respectively. That is, the first device can obtain the voice commands received by all electronic devices in the intelligent voice sharing system, providing a basis for the subsequent determination of the temporary hub.
[0144] Optionally, in this embodiment, since the algorithm in the mobile phone is relatively accurate and the algorithm capability of the mobile phone is relatively strong, the mobile phone (such as the system manager in the mobile phone) can directly determine the mobile phone as the first device. In other embodiments, the system manager of the mobile phone can also select any electronic device in the intelligent voice sharing as the first device, without specific limitation.
[0145] Optionally, the first device may be pre-set, and all electronic devices in the smart sharing system may obtain information about the first device (such as an identifier of the first device).
[0146] It can be understood that after the intelligent voice sharing system is established, all electronic devices in the intelligent voice sharing system can be in a voice pickup state, that is, all electronic devices can pick up the corresponding voice signal. For example, when the user sends a voice signal, all electronic devices can receive the voice signal sent by the user. Afterwards, each electronic device in the intelligent voice sharing system can parse the received voice signal to obtain a digital signal. Afterwards, other devices in the intelligent voice sharing system can send the digital signal to the first device separately through wireless communication such as WIFI or Bluetooth.
[0147] S20: For each voice instruction received by the other device, the first device determines, based on a voice recognition algorithm, a signal strength value corresponding to the voice instruction received by the other device.
[0148] Among them, the above-mentioned speech recognition algorithm refers to an algorithm that calculates the signal strength of the voice instruction based on two evaluation indicators: voice loudness and voice quality. The voice loudness is used to indicate the volume of the sound corresponding to the voice instruction. In other words, the voice loudness can represent the distance between the electronic device that receives the voice instruction (that is, the electronic device corresponding to the voice instruction) and the user. The larger the voice loudness value, the closer the distance between the electronic device corresponding to the voice instruction and the user. The voice quality is used to indicate the clarity of the voice instruction. In other words, the voice quality can be used to determine whether the received voice instruction is affected by noise. That is, the larger the voice quality value, the less the voice instruction is affected by noise, and the higher the accuracy of the electronic device's recognition. In addition, the above-mentioned speech recognition algorithm can also use voice loudness or voice quality to evaluate the signal strength of voice quality.
[0149] In some embodiments, when a first device receives a digital signal sent by another device in the intelligent voice sharing system, the first device can parse each received voice signal to obtain a digital signal. This means that the first device receives the digital signal from all electronic devices in the intelligent voice sharing system. The intelligent voice sharing app in the first device can then calculate each digital signal using the voice recognition algorithm described above to obtain a signal strength value corresponding to the digital signal.
[0150] In other embodiments, when the first device receives a voice command sent by another device in the intelligent voice sharing system, the first device can parse each received voice command to obtain a digital signal. Afterwards, the intelligent voice sharing app in the first device can calculate the digital signal based on the voice recognition algorithm to obtain the signal strength value corresponding to the voice command. It is understood that the process of the electronic device parsing the voice signal can be performed before or after the signal is sent, and there is no specific limitation.
[0151] It should be noted that when the electronic device receives a wake-up message from the user, the first device can calculate the wake-up message according to the above-mentioned voice recognition algorithm to obtain the signal strength value corresponding to the wake-up message. In this way, the intelligent voice sharing system can determine the corresponding signal strength value at the same time as the user sends the action information, without having to wait until the user outputs the action information before calculating the signal strength. This provides a basis for the subsequent timely determination of the temporary hub, thereby improving the efficiency of the temporary hub determination.
[0152] S30: The first device uses the electronic device corresponding to the voice command with the highest signal strength value as a temporary hub.
[0153] In an embodiment of the present application, after calculating the signal strength value corresponding to the voice command received by each other device (briefly described as the signal strength value corresponding to each voice command), the first device can determine the signal strength value with the highest value from the signal strength values corresponding to each voice command, and use the electronic device corresponding to the voice command with the highest signal strength value and the electronic device that receives the voice command with the highest signal strength value as the optimal device (i.e., a temporary hub), wherein the optimal device is the electronic device that receives the strongest voice signal at this time in the above-mentioned intelligent voice sharing system, and it can receive the voice command output by the user in a timely and accurate manner.
[0154] In some embodiments, the first device can determine the signal strength value with the highest numerical value by sorting the signal strength values corresponding to each voice command according to a preset order. The preset order can be an arrangement order from large to small, or an arrangement order from small to large, and is not specifically limited. For example, if the preset order is an arrangement order from large to small, it means that the signal strength value at the first position is the highest, so the first device can use the signal strength value at the first position as the signal strength value with the highest numerical value; if the preset order is an arrangement order from small to large, it means that the signal strength value at the final position is the highest, so the first device can use the signal strength value at the final position as the signal strength value with the highest numerical value.
[0155] In some embodiments, the first device may also use other methods to determine the temporary hub based on the signal strength value. For example, the first device may use the electronic device corresponding to the voice instruction with a signal strength value greater than a preset strength value as the temporary hub.
[0156] In some embodiments, before determining the temporary hub, the first device needs to determine the number of voice commands whose signal strength values meet a preset condition. For example, the signal strength value meeting the preset condition may be the highest signal strength value, or the signal strength value being greater than a preset strength value (e.g., 40dBA), or the signal strength value being within a preset strength range (e.g., 35-45dBA), etc., without limitation.
[0157] Afterwards, when the number is 1, the first device can directly use the electronic device corresponding to the voice instruction whose signal strength value meets the preset conditions as a temporary hub. When the number is greater than 1, such as the number of voice instructions with the highest signal strength values being multiple, indicating that there are multiple voice instructions that meet the preset conditions, the first device can use the electronic device corresponding to the voice instruction whose signal strength value meets the preset conditions as a candidate temporary hub. Afterwards, the first device can select the best device from the candidate temporary hubs as a temporary hub based on the status information of the candidate temporary hubs.
[0158] Exemplarily, the aforementioned status information may include at least one of the following: battery life status information of the electronic device, operating status information of the electronic device, and the number of background programs running on the electronic device. It is understood that users and electronic device manufacturers may define new status information based on actual circumstances. For example, the status information may also include communication signal strength (such as Wi-Fi signal strength, Bluetooth signal strength, etc.), device response speed, etc., without limitation herein.
[0159] In some embodiments, the above-mentioned status information includes a type of information, and the first device can directly determine the best device from multiple electronic devices corresponding to voice instructions whose signal strength values meet the preset conditions corresponding to the status information based on the status information.
[0160] In one example, the above-mentioned status information includes the battery life status information of the electronic device, and the battery life status information indicates the remaining usage time of the battery. Accordingly, the preset conditions corresponding to the battery life status information may include that the electronic device is in charging mode or that the remaining power of the electronic device is the highest. Accordingly, the above-mentioned first device can use the electronic device in charging mode or the electronic device with the highest remaining power value among multiple candidate temporary hubs as the best device. For example, the candidate temporary hubs include device A, device B and device C. If the power corresponding to device A is 76%, the power corresponding to device B is 45%, and the power corresponding to device C is 90%, then the first device can use device C as the best device, that is, device C is a temporary hub.
[0161] In one example, the above-mentioned status information includes the operating status information of the electronic device, and the operating status information indicates whether the electronic device is being used by the user. Accordingly, the preset condition corresponding to the operating status information may include that the electronic device is in an idle state, wherein the idle state refers to the state corresponding to the electronic device that is not used by the user. Accordingly, the above-mentioned first device can use the electronic device in an idle state among multiple candidate temporary hubs as the best device. For example, the candidate temporary hubs include device A, device B, and device C. If device A and device B are both in a busy state, that is, device A and device B are both used by the user, and device C is in an idle state, then the first device can use device C as the best device, that is, device C is a temporary hub.
[0162] In another example, the above-mentioned status information includes the number of background running programs of the electronic device, and the number of background running programs indicates the number of applications running in the background of the electronic device. Accordingly, the preset condition corresponding to the number of background running programs may include that the number of background running programs in the electronic device is the least, or the number of background running programs in the electronic device is less than a preset number (such as 2). Accordingly, the above-mentioned first device can use the electronic device with the least number of background running programs among multiple candidate temporary hubs as the best device. For example, the candidate temporary hubs include device A, device B and device C. If the number of background running programs of device A is 3, the number of background running programs of device B is 5, and the number of background running programs of device C is 1, then the first device can use device C as the best device, that is, device C is a temporary hub.
[0163] In other embodiments, the status information includes multiple types of information, and the first device may sort the status information of the electronic devices according to a preset priority based on the status information, and sequentially compare the status information of the electronic devices until the optimal device is determined from the candidate temporary hubs. The preset priority means that when the status information includes multiple types of information, a corresponding level is set for each type of status information, and the first device preferentially selects the candidate temporary hub corresponding to the status information with the highest priority as the optimal device.
[0164] In another example, if the status information includes the battery life status information of the electronic device and the operating status information of the electronic device, the above-mentioned first device can determine the best device from multiple candidate temporary hubs based on the priority corresponding to the battery life status information and the priority corresponding to the operating status information. Exemplarily, the first device can screen the multiple temporary candidate hubs in order of priority from high to low, according to the status information corresponding to the priority, to obtain a candidate temporary hub that meets the preset conditions corresponding to the status information corresponding to the priority. After obtaining a candidate temporary hub that meets the preset conditions corresponding to the status information corresponding to the lowest priority, the first device can use the candidate temporary hub that meets the preset conditions corresponding to the status information corresponding to the lowest priority as a temporary hub.
[0165] For example, the remaining power of device A is 94% and it is in a busy state, the remaining power of device B is 40% and it is in an idle state, and the remaining power of device C is 86% and it is in an idle state. The priority corresponding to the battery life status information is lower than the priority corresponding to the operating status information. Therefore, the first device can first screen the candidate temporary hubs that meet the preset conditions corresponding to the operating status information. The preset conditions corresponding to the operating status information are that the electronic device is in an idle state. The first device determines that both device B and device C are in an idle state, while device A is in a busy state. Therefore, device A does not meet the preset conditions corresponding to the operating status information. In other words, the candidate temporary hubs that meet the preset conditions corresponding to the operating status information include device B and device C. Afterwards, the first device can continue to compare based on the battery life status information to determine the candidate temporary hubs that meet the preset conditions corresponding to the battery life status information. The preset conditions corresponding to the battery life status information include that the remaining power of the electronic device is the highest. Since the remaining power of device C is higher than the remaining power of device B, the candidate temporary hubs that meet the preset conditions corresponding to the battery life status information include device C. The priority corresponding to the battery life status information is the lowest. Therefore, device C is a candidate temporary hub that meets the preset conditions corresponding to the status information corresponding to the lowest priority. The first device can use device C as a temporary hub.
[0166] It should be noted that, if there are electronic devices with the same priority conditions among the electronic devices corresponding to the multiple voice commands with the highest signal strength values, the first device may select any electronic device that meets the priority conditions as the optimal device.
[0167] In some embodiments, after the first device determines the temporary hub, the first device can upload the determination result of the temporary hub to other devices in the intelligent voice sharing system, so that all devices in the intelligent voice sharing system are clear about the determination result of the temporary hub. This can not only reduce the waste of resources caused by devices that are not temporary hubs performing instruction analysis, but also reduce the situation where the target device repeatedly executes multiple action instructions due to sending action instructions to the target device multiple times.
[0168] In one implementation, the intelligent voice sharing system can determine a temporary hub based on the target working mode, wherein the target working mode can be a designated mode or an intelligent mode. Specifically, if the target working mode is the designated mode, it means that the user specifies an electronic device in the intelligent voice sharing system as a temporary hub, and the temporary hub can directly analyze the voice command; if the target working mode is the intelligent mode, it means that the user has not specified any electronic device in the intelligent voice sharing system as a temporary hub, and the first device can determine the temporary hub by the above-mentioned method of determining the signal strength value. In other words, the target working mode is determined after multiple electronic devices establish an intelligent voice sharing system. Afterwards, when an electronic device in the intelligent voice sharing system receives a voice command issued by a user, the intelligent voice sharing system can directly determine the temporary hub based on the target working mode, which provides a basis for the subsequent temporary hub to analyze the voice command.
[0169] Optionally, if the above-mentioned target working mode is a designated mode, indicating that the user designates an electronic device in the intelligent voice sharing system as a temporary hub, then other devices in the intelligent voice sharing system except the temporary hub may not be in a voice pickup state. That is to say, even if other devices can receive the voice commands issued by the user, other devices will not pick up the voice commands. In this way, unnecessary waste of resources caused by picking up voice commands can be reduced.
[0170] It can be understood that by determining the temporary hub through the target working mode, the intelligent collaborative capabilities of all electronic devices in the intelligent voice sharing system can be improved. That is to say, as long as one electronic device in the intelligent voice sharing system can receive the voice command with the strongest signal strength, the target device can complete the corresponding action without the target device receiving the voice command issued by the user, thereby increasing the usage scenarios of the intelligent voice sharing system and improving the user experience.
[0171] S403: The temporary hub sends the above action instruction to the target device.
[0172] Specifically, after the temporary hub determines the identification of the target device and the action instruction, the temporary hub can send the action instruction to the target device via WIFI, Bluetooth or mobile communication network (such as 4G, 5G, etc.).
[0173] In some embodiments, the actions performed by the temporary hub may be performed by the intelligent voice system in the temporary hub.
[0174] S404: The target device executes the above action instruction.
[0175] In some embodiments, when the target device receives an action instruction from the temporary hub, the target device can respond to the action instruction and perform a corresponding action. For example, if the voice instruction is a speaker control instruction, and the speaker control instruction is "Speaker Youyou, play music", then after receiving the action instruction of "play music", Speaker Youyou can perform the action of playing music. For another example, if the action instruction is a vehicle control instruction, and the vehicle control instruction is "Vehicle Youyou, turn on the air conditioner and turn off the ventilation", then after receiving the action instruction of "turn on the air conditioner and turn off the ventilation", Vehicle Youyou can control the "air conditioner" device to turn on.
[0176] S405, the target device uploads the execution result of the above action instruction to the temporary center.
[0177] The execution result of the action instruction may include completion status information and failure status information. The completion status information is used to indicate that the target device has completed the action corresponding to the action instruction. The failure status information is used to indicate that the target device has failed to respond to the action instruction.
[0178] Specifically, if the target device has completed the action instruction, the target device can upload the completion status information to the temporary hub. If the target device fails to execute the action instruction, the target device can upload the failure status information to the temporary hub.
[0179] In some embodiments, the execution result of the above-mentioned action instruction may also include unfinished state information, and the unfinished state information is used to indicate that the target device is executing the action corresponding to the action instruction. Exemplarily, when the user issues an action instruction, the action instruction is in an unfinished state until the target device completes the action instruction, and the target device converts the execution result of the action instruction from unfinished state information to completed state information, or until the target device determines that the action instruction cannot be completed, and the target device converts the execution result of the action instruction from unfinished state information to failed state information. That is to say, only when it is determined that the target device has completed the action instruction or that the target device cannot execute the action instruction, the target device uploads the execution result of the action instruction to the temporary hub.
[0180] S406: The temporary center outputs the execution result of the above action instruction.
[0181] Specifically, when the temporary center receives the execution result of the action instruction issued by the target device, the temporary center can output the execution result of the action instruction through voice or text, so that the user can know the execution result in time and avoid the user having doubts about whether the voice instruction is executed.
[0182] In one example, let's assume the action command is a vehicle control command, and the command is "turn on the air conditioning, turn off the ventilation." If the target device is executing the action command, the temporary hub can output "The air conditioning is turning on and the ventilation is turning off" via voice. If the target device has completed the action command, the temporary hub can output "The air conditioning has been turned on and the ventilation has been turned off" via voice. If the target device cannot complete the action command, the temporary hub can output "Sorry, we were unable to turn on and off the air conditioning, the ventilation has been turned off" via voice. In this way, the execution results of the action command can be notified in a timely manner, improving the user experience.
[0183] In another example, if the action command is an outgoing call command, and the outgoing call command is "Call Mom from Contacts," for example, if the target device has already dialed Mom's phone number, the temporary hub can display a text message on the temporary hub's current interface that reads "Calling Mom for your contact." If the target device cannot complete the action command, the temporary hub can display a text message on the temporary hub's current interface that reads "Sorry, we couldn't call Mom for your contact," allowing the user to manually call Mom or issue a voice command again, thereby reducing waiting time.
[0184] Among them, optionally, the target device can also send the telephone information (such as telephone number, contact name) of the called user (such as mother) to the temporary hub. The temporary hub responds to the telephone information (or called number information) and can display an outgoing call interface (as shown in Figure 11), wherein the called number information is displayed on the outgoing call interface, that is, the outgoing call interface includes the called number information (such as the called number, the region to which the called number belongs, etc.).
[0185] Optionally, after the call is connected, the user can also use the temporary hub to continue talking to the called party. The call process is as follows: First, as shown in Figure 12, the user sends a wake-up message "Hello, mobile phone Youyou" in the living room. Afterwards, the electronic devices in the intelligent voice sharing system (such as the mobile phone, smart speaker, tablet computer, smart TV and laptop computer in Figure 12) receive the wake-up message sent by the user respectively. Afterwards, for each electronic device in the intelligent voice sharing system, the electronic device can parse the received wake-up message to obtain a digital signal. Afterwards, the smart speaker, tablet computer, smart TV and laptop computer can send the corresponding digital signal to the mobile phone via WIFI or Bluetooth. Afterwards, when the mobile phone receives the above-mentioned multiple digital signals, the mobile phone's intelligent voice sharing APP can calculate all digital signals separately according to the voice recognition algorithm to obtain multiple signal strength values. Afterwards, as shown in Figure 13, the mobile phone can use the multiple signal strength values to select the electronic device corresponding to the voice command with the highest signal strength value as the best device, that is, determine the tablet computer in Figure 12 as the best device, and determine the tablet computer as the temporary hub.
[0186] If the user then issues an action command, the tablet can analyze the action command based on the wake-up information. Specifically, it can analyze the user's voice command, "Hello, phone Youyou, contact list call Mom," and obtain an analysis result, indicating that the target device for the user command is the phone and the action command is "Contact list call Mom." The tablet can then send the "Contact list call Mom" action command to the phone. The phone can then execute the "Contact list call Mom" action command, effectively dialing Mom's phone number. If the call is connected, the phone can transfer the call to the tablet, displaying Mom's call interface on the tablet, and the user can then talk to Mom through the tablet.
[0187] Optionally, the tablet computer and the called party (i.e., the called device corresponding to "Mom") are actually communicating with the called party through the mobile phone. After receiving the audio data sent by the called party, the mobile phone sends the audio data to the tablet computer. The tablet computer can then play the audio data so that the tablet user can hear the content of the called party's speech. Similarly, the tablet computer will send the audio data to the mobile phone, and after receiving the audio data sent by the tablet computer, the mobile phone will send the audio data to the called party. The called party can then play the audio data so that the called party user can hear the content of the calling party's speech, thus realizing communication between the calling and called users.
[0188] In other embodiments, taking the example of a user designating a mobile phone as a temporary hub, as shown in FIG14 , the process is as follows: First, the user issues a voice command, "Car, turn on the air conditioning, turn off the ventilation." The mobile phone can then directly analyze the user's voice command, "Car, turn on the air conditioning, turn off the ventilation," to obtain an analysis result, where the analysis result indicates that the target device for the user's command is the car, and the action command is to turn on the air conditioning, turn off the ventilation. The mobile phone can then send the action command, "Turn on the air conditioning, turn off the ventilation," to the car via Wi-Fi, Bluetooth, or a mobile network. The car can then execute the action command, "Turn on the air conditioning, turn off the ventilation." Upon completing the action command, the car sends the completion status of the action command to the mobile phone. The mobile phone can then output, via voice, "The air conditioning has been turned on and the ventilation has been turned off for you." This not only enables remote control of the car, but also reduces the likelihood of the car being unable to receive the user's voice command due to hardware failures (such as the microphone), thereby improving the reliability of the intelligent voice sharing system.
[0189] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step in the above-mentioned method embodiment.
[0190] An embodiment of the present application further provides a computer program product, including a computer program. When the computer program runs on an electronic device, the electronic device executes each function or step in the above method embodiment.
[0191] The present application provides a chip for executing instructions. When the chip is running, the technical solution of the above embodiment is executed. The implementation principle and technical effect are similar and will not be described here.
[0192] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0193] It should be understood that the “embodiment” mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0194] It should also be understood that in this application, "when", "if" and "if" all mean that the UE or base station will take corresponding measures under certain objective circumstances. It does not limit the time, and does not require the UE or base station to take judgment actions when implementing it, nor does it mean that there are other limitations.
[0195] Those skilled in the art will understand that the various numerical numbers such as first and second involved in this application are only for the convenience of description and are not used to limit the scope of the embodiments of this application, and also indicate the order of precedence.
[0196] In this application, elements expressed in the singular are intended to mean "one or more" rather than "one and only one" unless otherwise specified. In this application, unless otherwise specified, "at least one" is intended to mean "one or more" and "a plurality" is intended to mean "two or more."
[0197] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. A can be singular or plural, and B can be singular or plural.
[0198] In this document, the term "at least one of..." or "at least one of..." means all or any combination of the listed items. For example, "at least one of A, B and C" may mean: A exists alone, B exists alone, C exists alone, A and B exist at the same time, B and C exist at the same time, and A, B and C exist at the same time. A may be singular or plural, B may be singular or plural, and C may be singular or plural.
[0199] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0200] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0201] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0202] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0203] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0204] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0205] The same or similar parts between the various embodiments in this application can refer to each other. In the various embodiments in this application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The above-described implementation methods of this application do not constitute a limitation on the scope of protection of this application.
[0206] The above is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application, which should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims. In short, the above is only a preferred embodiment of the technical solution of the present application, and is not used to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A voice control method, characterized in that: A first electronic device among multiple electronic devices used in a voice sharing system, the multiple electronic devices corresponding to different wake-up words, and a communication connection is established between the multiple electronic devices; The method comprises: The first electronic device receives a voice command input by a user; In the case where the voice instruction includes a wake-up word corresponding to the target device, the first electronic device sends an action instruction to the target device according to the voice instruction; wherein the action instruction is used to represent the action that the user in the voice instruction wants the target device to perform.
2. The method according to claim 1, characterized in that The method further comprises: The first electronic device receives an analysis instruction issued by the first device, wherein the analysis instruction is used to instruct the first electronic device to analyze the voice instruction.
3. The method according to claim 1, characterized in that The first electronic device is an electronic device selected by the user from a plurality of electronic devices.
4. The method according to claim 3, characterized in that The first electronic device is determined based on the electronic device information selected by the user on the first interface displayed by the second electronic device, or the first electronic device is determined based on the electronic device information corresponding to the control control selected by the user on the second interface displayed by the second electronic device; The second electronic device is one of the multiple electronic devices, and the second electronic device is the same as or different from the first electronic device.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The first electronic device receives the execution result of the action instruction sent by the target device; wherein the execution result of the action instruction is used to indicate whether the target device completes the action corresponding to the action instruction; The first electronic device outputs an execution result of the action instruction.
6. The method according to any one of claims 1 to 5, characterized in that The action instruction includes an outgoing call instruction, and the outgoing call instruction is used to trigger the target device to make an outgoing call based on the called number or contact information in the outgoing call instruction.
7. The method according to claim 6, characterized in that The method further comprises: The first electronic device receives the called number information sent by the target device; The first electronic device displays an outgoing call interface, where the outgoing call interface includes the called number information.
8. The method according to any one of claims 1 to 5, characterized in that The action instruction includes a vehicle control instruction, and the vehicle control instruction is used to trigger the target device to perform control based on device information in the vehicle control instruction.
9. A device selection method, characterized in that: A first device among a plurality of electronic devices applied to a voice sharing system, the plurality of electronic devices corresponding to different wake-up words, and a communication connection established between the plurality of electronic devices; The method comprises: The first device receives voice instructions received by other electronic devices in the voice sharing system except the first device; For each of the plurality of electronic devices receiving a voice instruction, the first device recognizes the voice instruction according to a voice recognition algorithm to obtain a signal strength value corresponding to the voice instruction; wherein the voice recognition algorithm refers to an algorithm for calculating the signal strength of the voice instruction according to voice loudness and / or voice quality; The first device uses the electronic device corresponding to the voice instruction whose received signal strength value meets the preset signal condition as the first electronic device; wherein the first device is the same as or different from the first electronic device.
10. The method according to claim 9, characterized in that When the signal strength value is the highest or the signal strength value is greater than a preset strength value, the first device determines that the signal strength value satisfies the preset signal condition.
11. The method according to claim 9 or 10, characterized in that: The first device uses the electronic device corresponding to the voice instruction whose received signal strength value meets the preset signal condition as the first electronic device, including: In the case where there are multiple voice instructions whose signal strength values meet the preset signal condition, the first device obtains status information of the electronic device corresponding to each voice instruction whose signal strength value meets the preset signal condition; wherein the status information includes at least one of battery life status information, running status information, and the number of background running programs; The first device uses the electronic device corresponding to the voice instruction that meets the preset condition corresponding to the status information as the first electronic device.
12. The method according to claim 11, characterized in that In the case where the status information includes the battery life status information, the preset condition corresponding to the battery life status information includes that the electronic device is in a charging mode or the remaining power of the electronic device is the highest; or, In the case where the state information includes the running state information, the preset condition corresponding to the running state information includes that the electronic device is in an idle state; or, In the case where the status information includes the number of background running programs, the preset condition corresponding to the number of background running programs includes that the number of background running programs in the electronic device is the least or the number of background running programs in the electronic device is less than a preset number.
13. The method according to claim 11, characterized in that In the case where the state information includes multiple types of information, the first device uses the electronic device corresponding to the voice instruction that meets the preset condition corresponding to the state information as the first electronic device, including: The first device screens the plurality of temporary first electronic devices in descending order of priority corresponding to the status information and in turn according to the status information corresponding to the priority, to obtain a candidate first electronic device that satisfies a preset condition corresponding to the status information corresponding to the priority; When a candidate first electronic device that satisfies the preset condition corresponding to the status information corresponding to the lowest priority is obtained, the first device uses the candidate first electronic device that satisfies the preset condition corresponding to the status information corresponding to the lowest priority as the first electronic device.
14. A voice control method, characterized in that: Multiple electronic devices applied to a voice sharing system, the multiple electronic devices corresponding to different wake-up words, and the multiple electronic devices establishing communication connections; The method comprises: At least one electronic device in the voice sharing system receives a voice command input by a user respectively; In the case where the voice instruction includes a wake-up word corresponding to the target device, the at least one electronic device The first electronic device sends an action instruction to the target device according to the voice instruction; The target device executes a corresponding action in response to the action instruction.
15. An electronic device, characterized in that: The electronic device includes a microphone, a memory and one or more processors; the microphone, the memory and the processor are coupled; the microphone is used to collect voice data, the memory is used to store computer program code, and the computer program code includes computer instructions; when the processor executes the computer instructions, the electronic device executes the method described in any one of claims 1-14.
16. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 14.