Communication method, server, and device

The communication method addresses the issue of multiple devices awakening simultaneously by determining the appropriate device to respond to voice commands based on device type and command meaning, improving user experience and reducing unnecessary activations.

JP7682754B2Active Publication Date: 2025-05-26HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2021157922
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2015-08-19
Filing Date
2021-09-28
Publication Date
2025-05-26
Estimated Expiration
2036-08-01

AI Technical Summary

Technical Problem

Current voice assistant systems in multiple devices of a single user often awaken simultaneously when a voice command is given, leading to unnecessary activation and potential confusion.

Method used

A communication method that involves receiving information from multiple devices, determining which device should respond to a voice command based on device type and semantic meaning of the command, and sending messages to other devices to inhibit their response.

Benefits of technology

This approach allows for intelligent selection of the appropriate device to respond to voice commands, enhancing user convenience and reducing unnecessary activations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007682754000002
    Figure 0007682754000002
  • Figure 0007682754000003
    Figure 0007682754000003
  • Figure 0007682754000004
    Figure 0007682754000004
Patent Text Reader

Abstract

To provide a communication method, a server, and a device that provide users with a simpler and more natural interaction experience between humans and machines. The communication method 200 includes receiving information including a device type sent by each device among a plurality of devices of a user in step 210, determining a device among the plurality of devices that responds to a voice command according to at least the received information in step 220, and sending a message to a device among the plurality of devices that is different from the device that responds to the voice command in step 230. The message is used to instruct the voice assistant of the different device not to respond to the voice command.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and more particularly to communication methods, servers, and devices.

Background Art

[0002] Currently, most mobile phones have voice assistants. In addition, since voice assistants are incorporated into smartwatches, smart bands, and smart devices, voice assistants are a "standard configuration" for future devices.

[0003] After the voice assistant of a device is awakened, the voice assistant of the device performs corresponding operations according to the received voice command. However, since a single user may have multiple smart devices such as a mobile phone, a smartwatch, a tablet computer, and a wearable device, when the user sends a voice command to wake up the voice assistant, the voice assistants of multiple devices are awakened simultaneously.

Summary of the Invention

Means for Solving the Problems

[0004] Embodiments of the present invention provide a communication method, a server, and a device, thereby enabling a device that responds to a voice command to be determined from multiple devices of a single user, thereby intelligently selecting a device that responds to the voice command.

[0005] According to a first aspect, a communication method is provided, including: receiving information transmitted by each device among a plurality of devices of a single user, the information including a device type; determining, at least according to the received information, a device that responds to a voice command among the plurality of devices; and sending a message to a device different from the device that responds to the voice command among the plurality of devices, the message being used to instruct the voice assistant of the different device not to respond to the voice command.

[0006] Referring to the first aspect, in a first possible implementation, the information further includes at least one of the device's scene mode or voice command.

[0007] Referring to the first aspect or the first possible implementation, in a second possible implementation, when the information includes a device type and a voice command, the step of determining, among a plurality of devices, at least according to the received information, a device that responds to the voice command includes the step of recognizing the semantic meaning of the voice command and the step of determining, according to the device type and the semantic meaning of the voice command, a device that responds to the voice command.

[0008] Referring to the first aspect, or the first or second possible implementation, in a fourth possible implementation, when the information includes a device type and a voice command, the method further includes the step of determining an operation corresponding to the voice command and the step of transmitting, to the device that responds to the voice command, instruction information used to instruct the operation.

[0009] According to a second aspect, there is provided another communication method, including the steps of receiving the same voice command transmitted by each device among a plurality of devices of one user, determining an operation corresponding to the voice command, and transmitting, among the plurality of devices, to the device that responds to the voice command, instruction information used to instruct the operation, where the device that responds to the voice command is determined according to the information transmitted by each device among the plurality of devices, and the information includes a device type.

[0010] Referring to the second aspect, in a first possible implementation of the second aspect, the information further includes at least one of the device's scene mode or voice command.

[0011] According to a third aspect, there is provided another communication method including the steps of receiving a first voice command, entering an awake state according to the first voice command, obtaining information, where the information includes a device type, sending the information to a server, receiving a first message sent by the server according to the information, where the first message is used to instruct the voice assistant of the device not to respond to the voice command, or receiving a second message sent by the server according to the information, where the second message is used to instruct the voice assistant of the device to respond to the voice command.

[0012] Referring to the third aspect, in a first possible implementation of the third aspect, the information further includes at least one of the scene mode of the device or the voice command.

[0013] Referring to the third aspect, or the first possible implementation of the third aspect, in a second possible implementation of the third aspect, the method further includes the step of receiving instruction information sent by the server and used to instruct an operation corresponding to the voice command, where the information further includes the voice command.

[0014] Referring to the third aspect, or the first possible implementation of the third aspect, in a third possible implementation of the third aspect, when a first message sent by the server according to the information is received, the method further includes the steps of receiving a second voice command and omitting responding to the second voice command.

[0015] Referring to the third aspect, or the first or second possible implementation of the third aspect, in the third possible implementation of the third aspect, when a second message transmitted by the server according to information is received, the method further includes receiving a third voice command, sending the third voice command to the server, receiving a third message transmitted by the server according to the third voice command, where the third message is used to instruct an operation corresponding to the third voice command, and performing an operation corresponding to the third voice command according to the third message.

[0016] According to a fourth aspect, there is provided another communication method including receiving a first voice command, entering an awake state according to the first voice command, obtaining information including device type, sending the information to the server, receiving a second voice command, sending the second voice command to the server, and receiving instruction information transmitted by the server according to the information and used to instruct an operation corresponding to the second voice command.

[0017] Referring to the fourth aspect, in the first possible implementation of the fourth aspect, the information further includes at least one of the device's scene mode or voice command.

[0018] According to a fifth aspect, there is provided another communication method including receiving a first voice command, entering an awake state according to the first voice command, receiving a second voice command, and determining that the second voice command includes device information and responding to the second voice command.

[0019] According to the sixth aspect, there is provided a server including: a receiving unit configured to receive information transmitted by each of a plurality of devices of a single user, where the information includes a device type; a processing unit configured to determine, at least according to the information received by the receiving unit, a device that responds to a voice command among the plurality of devices; and a transmitting unit configured to transmit a message to a device different from the device that responds to the voice command among the plurality of devices, where the message is used to instruct the voice assistant of the different device not to respond to the voice command.

[0020] Referring to the sixth aspect, in a first possible implementation of the sixth aspect, the information further includes at least one of a scene mode of the device or a voice command.

[0021] Referring to the sixth aspect, or the first possible implementation of the sixth aspect, in a second possible implementation of the sixth aspect, when the information includes a device type and a voice command, the processing unit is specifically configured to recognize the semantic meaning of the voice command and determine the device that responds to the voice command according to the device type and the semantic meaning of the voice command.

[0022] Referring to the sixth aspect, or the first or second possible implementation of the sixth aspect, in a third possible implementation of the sixth aspect, when the information includes a device type and a voice command, the processing unit is further configured to determine an operation corresponding to the voice command, and the transmitting unit is further configured to transmit instruction information used to instruct the operation to the device that responds to the voice command.

[0023] According to a seventh aspect, there is provided another server including a receiving unit configured to receive the same voice command transmitted by each of a plurality of devices of a single user, a processing unit configured to determine an operation corresponding to the voice command received by the receiving unit, and a transmitting unit configured to transmit instruction information used to instruct the operation to a device corresponding to the voice command among the plurality of devices, wherein the device corresponding to the voice command is determined according to information transmitted by each of the plurality of devices, and the information includes a device type.

[0024] Referring to the seventh aspect, in a first possible implementation of the seventh aspect, the information further includes at least one of a scene mode of the device or the voice command.

[0025] According to an eighth aspect, there is provided a device including a receiving unit configured to receive a first voice command, a processing unit configured to enter an awake state according to the first voice command received by the receiving unit, an obtaining unit configured to obtain information including a device type, and a transmitting unit configured to transmit the information to a server, wherein the receiving unit is further configured to receive a first message transmitted by the server according to the information, the first message is used to instruct the voice assistant of the device not to respond to the voice command, or the receiving unit is further configured to receive a second message transmitted by the server according to the information, and the second message is used to instruct the voice assistant of the device to respond to the voice command.

[0026] Referring to the eighth aspect, in a first possible implementation of the eighth aspect, the information further includes at least one of a scene mode of the device or the voice command.

[0027] Referring to the eighth aspect, or the first possible implementation of the eighth aspect, in the second possible implementation of the eighth aspect, the receiving unit is further configured to receive instruction information transmitted by the server and used to instruct an operation corresponding to the voice command, and the information further includes the voice command.

[0028] Referring to the eighth aspect, or the first possible implementation of the eighth aspect, in the third possible implementation of the eighth aspect, when the receiving unit receives a first message, the receiving unit is further configured to receive a second voice command, and the processing unit is further configured to omit responding to the second voice command received by the receiving unit.

[0029] Referring to the eighth aspect, or the first or second possible implementation of the eighth aspect, in the fourth possible implementation of the eighth aspect, when the receiving unit receives a second message, the receiving unit is further configured to receive a third voice command, the transmitting unit is further configured to transmit the third voice command received by the receiving unit to the server, the receiving unit is further configured to receive a third message transmitted by the server according to the third voice command, the third message is used to instruct an operation corresponding to the third voice command, and the processing unit is further configured to perform the operation corresponding to the third voice command according to the third message.

[0030] According to a ninth aspect, there is provided a device including a receiving unit configured to receive a first voice command, a processing unit configured to enter an awake state according to the first voice command, an obtaining unit configured to obtain information including device type, and a transmitting unit configured to transmit the information to a server. The receiving unit is further configured to receive a second voice command, and the transmitting unit is further configured to transmit the second voice command to the server. The receiving unit is further configured to receive instruction information transmitted by the server according to the information and used to instruct an operation corresponding to the second voice command.

[0031] Referring to the ninth aspect, in a first possible implementation of the ninth aspect, the information further includes at least one of a scene mode of the device or a voice command.

[0032] According to a tenth aspect, there is provided a device including a receiving unit configured to receive a first voice command and a processing unit configured to enter an awake state according to the first voice command. The receiving unit is further configured to receive a second voice command. When the processing unit determines that the second voice command includes device information, the processing unit is further configured to respond to the second voice command.

[0033] According to the 11th aspect, there is provided a server including one or more processors, a memory, a bus system, a transceiver, and one or more programs. The processor, the memory, and the transceiver are connected to each other using the bus system. The one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions. The instructions are to receive, using the transceiver, information transmitted by each of a plurality of devices of one user, where the information includes a device type; to determine, at least according to the information received by the transceiver, a device that responds to a voice command among the plurality of devices; and to transmit, using the transceiver, a message to a device different from the device that responds to the voice command among the plurality of devices, where the message is used to instruct the voice assistant of the different device not to respond to the voice command. Another server is provided for the above-mentioned receiving and transmitting.

[0034] Referring to the 11th aspect, in a first possible implementation of the 11th aspect, the information further includes at least one of a scene mode of the device or a voice command.

[0035] Referring to the 11th aspect, or the first possible implementation of the 11th aspect, in a second possible implementation of the 11th aspect, when the information includes a device type and a voice command, the instructions are further used to recognize the voice of the voice command and to determine a device that responds to the voice command according to the device type and the semantic meaning of the voice command.

[0036] Referring to the 11th aspect, or the first or second possible implementation of the 11th aspect, in a third possible implementation of the 11th aspect, when the information includes a device type and a voice command, the instructions are further used to determine an operation corresponding to the voice command and to transmit, using the transceiver, instruction information for instructing the operation to the device that responds to the voice command among the plurality of devices.

[0037] According to the 12th aspect, there is a server including one or more processors, a memory, a bus system, a transceiver, and one or more programs. The processor, the memory, and the transceiver are connected to each other using the bus system. The one or more programs are stored in the memory and configured for execution by the one or more processors. The one or more programs include instructions. The instructions include receiving, using the transceiver, the same voice command transmitted by each of a plurality of devices of one user; determining an operation corresponding to the voice command received by the transceiver; and transmitting, using the transceiver, instruction information used to instruct the operation to a device corresponding to the voice command among the plurality of devices, where the device corresponding to the voice command is determined according to information transmitted by each of the plurality of devices, the information including a device type, and another server is provided for the transmitting.

[0038] Referring to the 12th aspect, in a first possible implementation of the 12th aspect, the information further includes at least one of a scene mode of the device or the voice command.

[0039] According to the 13th aspect, a device includes one or more processors, a memory, a bus system, a transceiver, and one or more programs. The processor, the memory, and the transceiver are connected to each other using the bus system. The one or more programs are stored in the memory and configured for execution by the one or more processors. The one or more programs include instructions. The instructions include receiving a first voice command using the transceiver, entering an awake state according to the first voice command received by the transceiver, obtaining information, where the information includes the device type, the obtaining, sending the information to a server using the transceiver, receiving, using the transceiver, a first message sent by the server according to the information, where the first message is used to instruct the voice assistant of the device not to respond to the voice command, receiving the first message using the transceiver, or receiving, using the transceiver, a second message sent by the server according to the information, where the second message is used to instruct the voice assistant of the device to respond to the voice command, and receiving the second message using the transceiver. Another device is provided.

[0040] Referring to the 13th aspect, in a first possible implementation of the 13th aspect, the information further includes at least one of the scene mode of the device or the voice command.

[0041] Referring to the 13th aspect, or the first possible implementation of the 13th aspect, in a second possible implementation of the 13th aspect, the instructions are further used to receive, using the transceiver, instruction information sent by the server and used to instruct an operation corresponding to the voice command, and the information further includes the voice command.

[0042] Referring to the 13th aspect, or the first possible implementation of the 13th aspect, in the second possible implementation of the 13th aspect, the instructions are further used to receive a second voice command using the transceiver when a first message is received using the transceiver, and to omit responding to the second voice command received by the transceiver.

[0043] Referring to the 13th aspect, or the first possible implementation of the 13th aspect, in the third possible implementation of the 13th aspect, the instructions are to receive a third voice command using the transceiver when a second message is received using the transceiver, to transmit the third voice command to a server using the transceiver, and to receive, using the transceiver, a third message transmitted by the server according to the third voice command, where the third message is used to instruct an operation corresponding to the third voice command, and the instructions are further used to perform the operation corresponding to the third voice command according to the third message.

[0044] According to the 14th aspect, there is provided a device including one or more processors, a memory, a bus system, a transceiver, and one or more programs, where the processor, the memory, and the transceiver are connected to each other using the bus system, the one or more programs are stored in the memory and configured for execution by the one or more processors, the one or more programs include instructions, and the instructions are to receive a first voice command using the transceiver, enter an awake state according to the first voice command, acquire information, where the information includes the device type, transmit the information to a server using the transceiver, receive a second voice command using the transceiver, transmit the second voice command to a server using the transceiver, and receive, using the transceiver, instruction information transmitted by the server according to the information and used to instruct an operation corresponding to the second voice command.

[0045] Referring to the 14th aspect, in a first possible implementation of the 14th aspect, the information further includes at least one of the scene mode or the voice command of the device.

[0046] According to the 15th aspect, there is provided a device including one or more processors, a memory, a bus system, a transceiver, and one or more programs. The processor, the memory, and the transceiver are connected to each other using the bus system. The one or more programs are stored in the memory and configured for execution by the one or more processors. The one or more programs include instructions, and the instructions are used to receive a first voice command using the transceiver, enter a wake state according to the first voice command, receive a second voice command using the transceiver, determine that the second voice command includes device information, and respond to the second voice command.

[0047] Based on these technical solutions, in an embodiment of the present invention, information transmitted by a plurality of devices of one user is received, and a device that responds to a voice command from the plurality of devices is determined according to the information. In the case of a user having a plurality of different devices, a device that responds to a voice command can be intelligently selected, providing a user with a more convenient human-machine communication experience.

[0048] To more clearly explain the technical solutions of the embodiments of the present invention, the following briefly describes the accompanying drawings necessary for explaining the embodiments of the present invention. Of course, the accompanying drawings in the following description show only some embodiments of the present invention, and those skilled in the art of this technology can still derive other drawings from these accompanying drawings without creative efforts.

Brief Description of the Drawings

[0049]

Figure 1A

Figure 1B

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Figure 12

Figure 13

Figure 14

Figure 15

Figure 16

Figure 17

Figure 18

Figure 19

Figure 20

Figure 21

Figure 22

[0050] The following clearly and fully describes the technical solutions of the embodiments of the present invention with reference to the accompanying drawings of the embodiments of the present invention. Of course, the described embodiments are only some of the embodiments of the present invention. All other embodiments obtained by those skilled in the art of this technical field based on the embodiments of the present invention without creative efforts are within the protection scope of the present invention.

[0051] It should be understood that the sequence numbers of the processes in various embodiments of the present invention do not mean the execution order. The execution order of the processes should be determined according to the functions and internal logics of the processes and should not be construed as a limitation in the implementation process of the embodiments of the present invention.

[0052] It should be understood that the device related to this specification refers to a smart device or a mobile device that is closely related to the user's life. For example, the device may include, but is not limited to, smartphones, wearable devices, smart home households, and in-vehicle devices. Wearable devices may include, but are not limited to, smartwatches, bands, and smart glasses. In addition, the server related to this specification may be the voice assistant server in FIG. 1A, or another device capable of recognizing voice commands, or the controller in FIG. 1B capable of recognizing voice commands.

[0053] It should be understood that the "multiple devices of one user" related to this specification indicates that multiple devices have the same user account and remain wirelessly connected using the same user account.

[0054] It should be understood that the "voice command" related to this specification includes voice operation commands and / or voice wake-up commands.

[0055] Figure 1A is a schematic diagram of a scenario to which the communication method according to an embodiment of the present invention can be applied. As shown in Figure 1A, a voice assistant server communicates with multiple devices of one user, and the multiple devices can simultaneously receive the same voice wake-up command or voice operation command transmitted by the user. Figure 1A uses just an example where the voice assistant server communicates with a mobile phone, a wearable device, an in-vehicle device, and a smart home of one user. However, there is no limitation on the devices in this embodiment of the present invention.

[0056] Optionally, the multiple devices in Figure 1A may further form an ad hoc network as shown in Figure 1B. The controller of the ad hoc network may be an independent device, or may be any one of the multiple devices.

[0057] It should be understood that in this embodiment of the present invention, the voice assistant may be an integrated processing module in the device, or a client installed in the device. The client corresponding to the voice assistant may display a corresponding icon or interface on the display screen of the device, or may not display a corresponding icon or interface but only run in the background. The voice assistant may recognize corresponding voice data using pre-stored voice data. The voice assistant in this embodiment of the present invention may also be called an intelligent assistant, a personal organizer, etc. There is no limitation in this embodiment of the present invention.

[0058] The voice assistant server can receive a voice operation analysis request transmitted by a device, analyze the voice operation instruction carried in the voice operation analysis request, thereby determine the operation corresponding to the voice operation instruction, and deliver the instruction information of the operation to the device.

[0059] FIG. 2 is a schematic flowchart of a communication method 200 according to an embodiment of the present invention. The server communicates with multiple devices of one user, and the multiple devices can simultaneously receive the same voice command transmitted by the user. The method 200 can be executed by a server (such as a voice assistant server or a controller in an ad hoc network). As shown in FIG. 2, the method 200 includes the following content.

[0060] 210. Receive information transmitted by each of the multiple devices of one user, and the information includes the device type.

[0061] 220. Determine, at least according to the received information, the device that responds to the voice command among the multiple devices.

[0062] The device that responds to the voice command performs the operation corresponding to the voice command.

[0063] 230. Send a message to a device different from the device that responds to the voice command among the multiple devices, and the message is used to instruct the voice assistant of the different device not to respond to the voice command.

[0064] Optionally, the message may further carry the identifier information of the device that responds to the voice command, thereby informing different devices that the device responds to the voice command.

[0065] The device type of each device may be any one of the following types: mobile phone, band, in-vehicle terminal, stereo, TV, etc. The device that responds to the voice command may also be referred to as a priority response device, a main device, an execution device, a preferred device, etc.

[0066] For example, the server may store in advance response priority information corresponding to a plurality of device types, and the server may determine a device that preferentially responds to a voice command according to the response priority corresponding to the device type. Assume that the server stores in advance, in descending order, the response priorities corresponding to the following device types: in-vehicle device, band, mobile phone, and stereo. If the device type received in step 210 is a band, an in-vehicle device, or a mobile phone, the server may determine that the in-vehicle device is the device that responds to the voice command according to the response priority information stored locally in advance.

[0067] Optionally, in step 230, the message transmitted to a device different from the device that responds to the voice command among the plurality of devices may further carry sleep command information, whereby the device that does not respond to the voice command enters a sleep state according to the sleep command information. The low-power voice wake-up module of the device entering the sleep state remains in a monitoring state but does not respond to the received voice command.

[0068] In this embodiment of the present invention, information transmitted by a plurality of devices of one user is received, and according to the information, a device that preferentially responds to a voice command is determined from the plurality of devices. In the case of a user having a plurality of different devices, the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0069] If the user's device does not receive the message sent in step 230, for example, if the device does not receive the message sent by the server within a predetermined period, the device may be regarded as a device that responds to voice commands by default, that is, it should be understood that the device can respond to the received voice commands. For example, the device may send a voice motion analysis request carrying the voice command to the server, request the server to perform the operation corresponding to the voice command, and perform the operation. However, this embodiment of the present invention is not limited thereto. For example, the server may simultaneously send a message to the device that responds to voice commands in method 200, thereby instructing the device to respond to voice commands. After receiving the message, the device may request the server to perform the operation corresponding to the received voice command and perform the operation.

[0070] Optionally, the information sent by each device may further include at least one of the device's scene mode or voice command.

[0071] For example, the scene mode of each device may include any one of the following types: in driving, in the living room, in the bedroom, in exercise, at work, headset mode, loudspeaker mode, etc.

[0072] When the information transmitted by each device includes the device type and the scene mode, the voice assistant server or the controller may store in advance the priority information of the response devices corresponding to different device information, different scene modes, and different device types of one user. For example, Table 1 below shows the correspondence between the devices responding to voice commands, the device types, and the scene modes. After receiving the device types and scene modes of multiple devices, the server collates the scene modes and device types with the information stored in advance shown in Table 1. For example, if the scene mode is "driving" and the currently received device types include a mobile phone, a band, and an in-vehicle device, the server automatically selects the in-vehicle device as the current device responding to the voice command. In Table 1, the device type is used to indicate the device responding to the voice command, but it should be noted that this embodiment of the present invention is not limited thereto. For example, the server may also store in advance the correspondence between the device identifier and the device type. In the correspondence table shown in Table 1, the device identifier may also be used to indicate the device responding to the voice command.

[0073] It should be further understood that the content shown in Table 1 is only an example and is not intended to limit the scope of this embodiment of the present invention. The server may also store in advance the correspondence between a plurality of devices with set priorities and the device type, the scene mode, and / or the semantic meaning, and may set in advance the device with a relatively high priority among the plurality of devices as the device responding to the voice command. For example, if the device type received by the server does not include the device type stored in advance corresponding to the device with the highest priority, the server determines that the device with the second highest priority among the plurality of devices is the device responding to the voice command, etc.

[0074]

Table 1

[0075] When the information transmitted by each device further includes a device type and a voice command, step 220 correspondingly includes the step of recognizing the semantic meaning of the voice command, and the step of determining, according to the device type and the semantic meaning of the voice command, a device that responds to the voice command from a plurality of devices.

[0076] As shown in Table 1, the server may also pre-store the correspondence between the device responding to the voice command, the device type, and the semantic meaning. The server recognizes the semantic meaning of the voice command. For example, if the semantic meaning is "make a call" and the received device type includes a mobile phone and a headset, the server determines that the device responding to the voice command is a mobile phone.

[0077] When the information transmitted by each device includes a device type, a scene mode, and a voice command, step 220 specifically includes the step of recognizing the semantic meaning of the voice command, and the step of determining, according to the device type, the semantic meaning of the voice command, and the scene mode, a device that responds to the voice command from a plurality of devices.

[0078] As shown in Table 1, the server may also pre-store the correspondence between the device responding to the voice command, the scene mode, the device type, and the semantic meaning. For example, if the semantic meaning is "listen to music" and the obtained device type includes a mobile phone, a stereo, and an in-vehicle device, the server then obtains the scene mode of the device corresponding to the device type. For example, if the scene mode is "in the living room", the server determines that the current device responding to the voice command is a stereo. Of course, the server may also first determine the scene mode and then determine the current device responding to the voice command according to the semantic meaning.

[0079] ​​In this embodiment of the present invention, a device corresponding to a voice command is determined according to the semantic meaning of the voice command, the scene mode, and the device type, so that the device can be selected more accurately.

[0080] Optionally, method 200 may include a step of determining an operation corresponding to the voice command, and a step of transmitting instruction information used to instruct the operation to a device corresponding to the voice command. It may further include.

[0081] After the controller of the ad-hoc network determines the device corresponding to the voice command according to the device type and the scene mode, if the voice command cannot be parsed, the controller needs to send a message to the device corresponding to the voice command, thereby instructing the device corresponding to the voice command to send a voice operation analysis request for carrying the voice command to a server (such as a voice assistant server).

[0082] In conclusion, after the server determines the device corresponding to the voice command from multiple devices, the server may send a message to the device that does not respond to the voice command among the multiple devices, thereby instructing the voice assistant of the device that does not respond to the received voice command not to respond, or instructing the voice assistant of the device that does not respond to enter a sleep state. Optionally, the server may simultaneously send a message to the device corresponding to the voice command, thereby instructing the device to respond to the received voice command. In this case, only the voice assistant of the device corresponding to the voice command sends a voice operation analysis request to the server after receiving the voice operation command.

[0083] In this embodiment of the present invention, information transmitted by multiple devices of one user is received, and according to the information, a device that preferentially responds to a voice command is determined from the multiple devices. In the case of a user having multiple different devices, the device corresponding to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0084] Figure 3 is a schematic flowchart of a communication method 300 according to another embodiment of the present invention. The server communicates with multiple devices of 1 user, and the multiple devices can receive the same voice command sent by the user simultaneously. The communication method 300 may be executed by the server. As shown in Figure 3, the communication method 300 includes the following.

[0085] 310. Receive the same voice command sent by each of the multiple devices of 1 user.

[0086] 320. Determine the operation corresponding to the voice command.

[0087] 330. Send the instruction information used to instruct the operation to the device corresponding to the voice command among the multiple devices. The device corresponding to the voice command is determined according to the information sent by each of the multiple devices, and the information includes the device type.

[0088] In this embodiment of the present invention, the instruction information for the operation is automatically sent to the device corresponding to the voice command. In the case of a user having multiple different devices, the device corresponding to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0089] Optionally, before step 330, the communication method 300 includes a step of receiving the information sent by each of the multiple devices of 1 user, where the information includes the device type, and a step of determining the device corresponding to the voice command among the multiple devices according to the information. and may further include.

[0090] It should be understood that each device may send the information and the voice command separately, or may send the information and the voice command simultaneously. This embodiment of the present invention is not limited thereto.

[0091] For example, after the server determines the response device from multiple devices, it subsequently receives the voice operation analysis requests sent by each of the multiple devices, determines the operations corresponding to the voice commands, and then sends the operation instruction information to the device corresponding to the voice command among the multiple devices.

[0092] Optionally, the communication method 300 may further include the step of sending a message to the device that does not respond to the voice command among the multiple devices, thereby notifying the device that the device corresponding to the voice command performs the corresponding operation, and instructing the device to enter the sleep state.

[0093] Optionally, the information sent by each device may further include at least one of the device's scene mode or the voice command.

[0094] In this embodiment of the present invention, it should be understood that for the method of determining the device corresponding to the voice command according to the information sent by each device, reference may be made to the relevant description of the embodiment shown in FIG. 2. To avoid repetition, the details are not described again here.

[0095] In this embodiment of the present invention, the operation instruction information is automatically sent to the device corresponding to the voice command. In the case of a user having multiple different devices, the device corresponding to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0096] Figure 4 is a schematic flowchart of a communication method 400 according to another embodiment of the present invention. A plurality of devices of one user can simultaneously receive the same voice command transmitted by the user. It should be understood that the connection states between a plurality of devices of one user and the server are classified into the following three cases. 1. The voice assistants of all devices of the user are connected to the server. 2. The voice assistants of some devices of the user are connected to the server, and the voice assistants of some other devices are not connected to the server. 3. None of the voice assistants of a plurality of devices of the user are connected to the server. The voice assistant of a device that is not connected to the server may be connected to the server after receiving a voice wake-up command transmitted by the user. Optionally, a plurality of devices of one user may further form an ad hoc network.

[0097] The communication method 400 may be executed by any one of a plurality of devices of one user. Specifically, the communication method 400 may be executed by a device or by a voice assistant of the device. As shown in FIG. 4, the communication method 400 includes the following content.

[0098] 410. Receive a first voice command.

[0099] 420. Enter the wake-up state according to the first voice command.

[0100] For example, the voice assistant of the device enters the wake-up state according to the first voice command.

[0101] The first voice command may be a voice wake-up command. The user or the device manufacturer may set the content corresponding to the voice wake-up command in a unit, module, or client corresponding to the voice assistant. For example, if the preset voice wake-up command is "hi,Allen", the voice assistant enters the wake-up state when it receives the voice command "hi,Allen".

[0102] 430. Obtain information, where the information includes the device type.

[0103] 440. Send the information to the server.

[0104] The server may be a voice assistant server or a controller within an ad-hoc network. The device sends information to the server, enabling the server to determine whether the device is one that responds to voice commands according to the information.

[0105] Optionally, the information may further include at least one of the device's scene mode or voice command.

[0106] Correspondingly, when the information includes the device type and the voice command, this instructs the device to send the device type and the voice command to the server simultaneously. Correspondingly, communication method 400 may further include the step of receiving instruction information transmitted by the server and used to instruct an operation corresponding to the voice command. The step of obtaining the voice command includes the step of receiving the voice command.

[0107] 450. Receive a first message transmitted by the server according to the information, where the first message is used to instruct the device's voice assistant not to respond to the voice command, or receive a second message transmitted by the server according to the information, where the second message is used to instruct the device's voice assistant to respond to the voice command.

[0108] In this embodiment of the present invention, information is obtained and the information is sent to the server, enabling the server to determine a device that responds to voice commands from multiple devices. In the case of a user having multiple different devices, the device that responds to the voice command can be intelligently selected, providing the user with a more convenient and natural human-machine interaction experience.

[0109] In this embodiment of the present invention, the response period of the device's voice assistant after being awakened can be further set, for example, to 1 minute. That is, after the user awakens the voice assistant using the voice command "hi,Allen", the voice assistant can only respond by directly receiving a voice command within the response period (e.g., 1 minute). For example, after the voice assistant receives a voice command such as "hi,Allen, open the map" and completes the voice operation of opening the map, the user may subsequently input the voice command "Go to Zhongguancun" to the voice assistant. The voice assistant can directly obtain and find the optimal route to Zhongguancun, and the user does not need to input a voice command such as "hi,Allen, Go to Zhongguancun" to the voice assistant, thereby facilitating user operation and improving the user experience. This content can be applied to all embodiments of the present invention without limitation.

[0110] Optionally, the first message received in step 450 may further carry sleep command information. Method 400 further includes the step of entering the sleep state according to the sleep command information.

[0111] In the sleep state, the device is still in a monitoring state, that is, the device can monitor voice commands (such as voice wake-up commands and / or voice operation commands, etc.) sent by the user, but does not respond to the received voice commands.

[0112] In step 450, when the first message sent by the server according to the information is received, communication method 400 includes the step of receiving a second voice command, and the step of omitting to respond to the second voice command, and may further include.

[0113] For example, the second voice command may be a voice operation command.

[0114] When a second message transmitted by the server is received according to the information, the communication method 500 includes receiving a third voice command; sending the third voice command to the server; receiving a third message transmitted by the server according to the third voice command, where the third message is used to instruct an operation corresponding to the third voice command; performing an operation corresponding to the third voice command according to the third message; and may further include.

[0115] For example, the third voice command may be a voice operation command.

[0116] It should be understood that the device may simultaneously send the acquired information and the received third voice command to the server, or may send the information and the third voice command to the server separately. This embodiment of the present invention is not limited thereto.

[0117] Therefore, in this embodiment of the present invention, information is acquired and the information is sent to the server, whereby the server can determine a device that responds to a voice command from a plurality of devices. In the case of a user having a plurality of different devices, the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0118] FIG. 5 is a schematic flowchart of a communication method 500 according to another embodiment of the present invention. A plurality of devices of one user can simultaneously receive the same voice command transmitted by the user. The communication method 500 may be executed by any one of a plurality of devices of one user. Specifically, the communication method 500 may be executed by a device or by a voice assistant of the device. As shown in FIG. 5, the communication method 500 includes the following.

[0119] 510. Receive a first voice command.

[0120] 520. Enter the wake state according to the first voice command.

[0121] 530. Obtain information, where the information includes the device type.

[0122] 540. Send the information to the server.

[0123] 550. Receive the second voice command.

[0124] 560. Send the second voice command to the server.

[0125] 570. Receive the instruction information that is sent by the server according to the information and is used to instruct the operation corresponding to the second voice command.

[0126] The information may further include at least one of the scene mode of the device or the voice command.

[0127] It should be understood that the sequence numbers of the processes do not mean the execution order. The execution order of the processes should be determined by the functions and internal logics of the processes and should not be construed as a limitation in the implementation process of the embodiments of the present invention.

[0128] For example, step 540 and step 560 may be performed separately or simultaneously. That is, the information and the second voice command may be sent to the server separately, or the information and the second voice command may be sent to the server simultaneously.

[0129] In this embodiment of the present invention, the acquired information and the received voice command are sent to the server, whereby the server can determine, according to the information, the device that responds to the voice command from multiple devices of one user, and send the instruction information of the operation corresponding to the voice command to the device that responds to the voice command. In the case of a user having multiple different devices, the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0130] FIG. 6 is a schematic flowchart of a communication method 600 according to another embodiment of the present invention. A plurality of devices of a single user can simultaneously receive the same voice command transmitted by the user. The communication method 600 may be executed by any one of a plurality of devices of a single user. Specifically, the communication method 600 may be executed by a device or by a voice assistant of the device. As shown in FIG. 6, the communication method 600 includes the following.

[0131] 610. Receive a first voice command.

[0132] 620. Enter an awake state according to the first voice command.

[0133] 630. Receive a second voice command.

[0134] 640. Determine that the second voice command includes device information and respond to the second voice command.

[0135] It should be understood that device information is used to distinguish a plurality of devices of a single user. The device information may be a device type such as a mobile phone, a band, an in-vehicle device, or a stereo, or may be a device name, or may be a device number or the like. As long as a plurality of devices of a single user can be recognized, this embodiment of the present invention is not limited.

[0136] For example, a voice operation analysis request is sent to the server, and the voice operation analysis request carries the second voice command.

[0137] Correspondingly, when it is determined that the second voice command does not include device information, the device does not respond to the second voice command.

[0138] If the device recognizes that the second voice command does not contain device information, it should be understood that the device does not send a voice analysis request to the server. For example, the device may discard the second voice command. Instead, the device may stop processing the second voice command.

[0139] The device may store device information in advance. When the voice command received by the device contains device information, the device sends a voice operation analysis request to the server. When the voice command received by the device does not contain device information, the device does not respond to the voice command. Optionally, when the voice command received by the device does not contain device information, the device may send, for example, the device type, to the server, thereby requesting the server to determine the device that responds to the voice command from the user's multiple devices.

[0140] It should be understood that the first voice command may be a voice wake-up command, and the second voice command may be a voice operation command. In this embodiment of the present invention, the voice wake-up command and the voice operation command may be received simultaneously. For example, the voice command "hi, Allen, call Zhang San using the mobile phone" sent by the user is received. Instead, the voice wake-up command and the voice operation command may be received separately. For example, the voice wake-up command "hi, Allen" sent by the user is received first, thereby entering the wake-up state, and the voice operation command "call Zhang San using the mobile phone" sent by the user is received next within the response period. This embodiment of the present invention is not limited.

[0141] Therefore, in this embodiment of the present invention, when it is determined that the received voice command contains device information, the voice command is automatically responded to, whereby the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0142] The following will describe in detail a communication method according to an embodiment of the present invention with reference to specific examples in FIGS. 7 to 11.

[0143] FIG. 7 is a schematic flowchart of a communication method 700 according to another embodiment of the present invention. As shown in FIG. 7, the communication method 700 includes the following.

[0144] Steps 701a, 701b, and 701c: The voice assistants of the first device, the second device, and the third device simultaneously receive the voice command "hi, Allen, open the map", where "hi, Allen" is a voice wake-up command and "open the map" is a voice action command.

[0145] Steps 702a, 702b, and 702c: After entering the wake-up state according to the voice wake-up command "hi, Allen", each voice assistant of the first device, the second device, and the third device stores the voice action command in the buffer and obtains the scene mode and device type of the device to which the voice assistant belongs.

[0146] Steps 703a, 703b, and 703c: Each voice assistant of the first device, the second device, and the third device sends a voice action analysis request to the server, and the voice action analysis request conveys the current scene mode of the device, the device type, and the voice action command "open the map".

[0147] Step 704: The server analyzes the voice action command, determines that the action to be performed is "open the map", and determines that the device that needs to perform the action currently, referring to the scene mode and device type, is, for example, the second device.

[0148] Step 705a: The server returns a response message carrying the sleep command information to the voice assistant of the first device, informing the voice assistant of the first device that the voice assistant of the second device will perform the action "open the map".

[0149] Step 705b: The server returns a response message to the voice assistant of the second device, that is, the server returns the instruction information used to instruct the operation "open the map" that needs to be performed.

[0150] Step 705c: The server returns a response message carrying the sleep command information to the voice assistant of the third device, and notifies the voice assistant of the third device that the voice assistant of the second device will perform the operation "open the map".

[0151] Steps 706a and 706c: Both the voice assistant of the first device and the voice assistant of the third device enter the sleep state. In the sleep state, the low-power voice wake-up modules of the first device and the third device are still in the monitoring state.

[0152] Step 705b: The voice assistant of the second device is in the wake state.

[0153] It should be noted that when the scene mode changes, the voice assistants of the first device and the third device may be switched from the sleep state to the normal state.

[0154] FIG. 8 is a schematic flowchart of a communication method 800 according to another embodiment of the present invention. As shown in FIG. 8, the communication method 800 includes the following content.

[0155] Steps 801a, 801b, and 801c: Each voice assistant of the first device, the second device, and the third device simultaneously receives the voice wake-up command "hi,Allen".

[0156] Steps 802a, 802b, and 802c: After entering the wake state according to the voice wake-up command "hi,Allen", each voice assistant of the first device, the second device, and the third device obtains the device scene mode and device type from the three devices.

[0157] Steps 803a, 803b, and 803c: The voice assistants of each of the first device, the second device, and the third device send a response device acquisition request carrying the scene mode and device type of the device to the server.

[0158] Step 804: The server determines that, according to the scene mode and device type, the device that needs to currently perform the operation corresponding to the voice operation instruction is, for example, the second device.

[0159] Steps 805a, 805b, and 805c: When performing the operation steps, the voice assistants of each of the first device, the second device, and the third device still continue to receive the voice operation instruction.

[0160] Steps 806a, 806b, and 806c: The voice assistants of each of the first device, the second device, and the third device store the voice operation instruction "Open the map" in the buffer.

[0161] Steps 807a, 807b, and 807c: The voice assistants of each of the first device, the second device, and the third device send a voice operation analysis request carrying the voice operation instruction "Open the map" to the server.

[0162] Step 808: The server analyzes the voice operation instruction and obtains through analysis that the operation to be performed is "Open the map".

[0163] Step 809a: The server returns a response message carrying the sleep instruction information to the voice assistant of the first device, and notifies the voice assistant that the voice assistant of the second device will perform the operation "Open the map".

[0164] Step 809b: The server returns response information to the voice assistant of the second device, that is, the server returns the instruction information used to instruct the operation "Open the map" that needs to be performed.

[0165] Step 809c: The server returns a response message carrying the sleep command information to the voice assistant of the third device, and notifies the voice assistant that the voice assistant of the second device performs the operation "Open the map".

[0166] Steps 810a and 810c: Both the voice assistant of the first device and the voice assistant of the third device enter the sleep state. In the sleep state, the low-power voice wake-up modules of the first device and the third device are still in the monitoring state.

[0167] Step 810b: The voice assistant of the second device is in the wake state.

[0168] In addition, when the scene mode changes, the voice assistants of the first device and the third device may be switched from the sleep state to the normal state.

[0169] In this embodiment of the present invention, steps 803 (803a, 803b, and 803c) and step 804 may be performed simultaneously with steps 805 (805a, 805b, and 805c), steps 806 (806a, 806b, and 806c), and step 807 (807a, 807b, and 807c), and it should be noted that there is no time sequence.

[0170] FIG. 9 is a schematic flowchart of a communication method 900 according to another embodiment of the present invention. As shown in FIG. 9, the communication method 900 includes the following content.

[0171] Steps 901a, 901b, and 901c: The voice assistants of the first device, the second device, and the third device simultaneously receive the voice wake-up command "hi, Allen".

[0172] Steps 902a, 902b, and 902c: After entering the wake state according to the voice wake-up command "hi, Allen", each voice assistant of the first device, the second device, and the third device obtains the scene mode and device type of the device to which the voice assistant belongs.

[0173] Steps 903a, 903b, and 903c: Each voice assistant of the first device, the second device, and the third device sends a response device acquisition request carrying the scene mode and device type to the server.

[0174] Step 904: The server determines that, according to the scene mode and device type, the device that needs to perform the operation currently is, for example, the second device.

[0175] Step 905a: The server returns a response message carrying the sleep command information to the voice assistant of the first device, and notifies the voice assistant of the first device that the voice assistant of the second device will perform the operation.

[0176] Step 905b: The server returns response information to the voice assistant of the second device, that is, the server notifies that the device responding to the voice command is the second device.

[0177] Step 905c: The server returns a response message carrying the sleep command information to the voice assistant of the third device, and notifies the voice assistant of the third device that the voice assistant of the second device will perform the operation.

[0178] Steps 906a and 906c: Both the voice assistant of the first device and the voice assistant of the third device enter the sleep state. In the sleep state, the low-power voice wake-up modules of the first device and the third device are still in the monitoring state.

[0179] Step 906b: The voice assistant of the second device is in the awakened state.

[0180] Steps 907a, 907b, and 907c: When performing the operation steps, the voice assistants of the first device, the second device, and the third device each continue to receive voice operation commands.

[0181] Steps 908a, 908b, and 908c: The voice assistants of the first device, the second device, and the third device each store the voice operation command "Open the map" in the buffer.

[0182] Step 909: The voice assistant of the second device sends a voice operation analysis request for carrying the voice operation command "Open the map" to the server.

[0183] Step 910: The server analyzes the voice operation command and obtains through analysis that the operation to be performed is "Open the map".

[0184] Step 911: The server returns response information to the voice assistant of the second device, that is, the server returns the instruction information used to instruct the operation "Open the map" that needs to be performed.

[0185] The voice assistant of the second device that receives the response message performs the operation "Open the map" according to the instruction information.

[0186] Similarly, when the scene mode changes, the voice assistants of the first device and the third device may be switched from the dormant state to the normal state.

[0187] For example, regarding the steps, there is no time sequence between the execution of steps 907 (907a, 907b, and 907c) and steps 908 (908a, 908b, and 908c), and the execution of steps 903 (903a, 903b, and 903c), step 904, steps 905 (905a, 905b, and 905c), and steps 906 (906a, 906b, and 906c).

[0188] FIG. 10 is a schematic flowchart of a communication method 1000 according to another embodiment of the present invention. As shown in FIG. 10, the communication method 1000 includes the following content.

[0189] Steps 1001a, 1001b, and 1001c: Each voice assistant of the first device, the second device, and the third device simultaneously receives the voice command "hi, Allen, open the map", where "hi, Allen" is a voice wake-up command and "open the map" is a voice operation command.

[0190] Steps 1002a, 1002b, and 1002c: Each voice assistant of the first device, the second device, and the third device enters the wake-up state according to the voice wake-up command "hi, Allen". After entering the wake-up state, the voice assistant stores the voice operation command in the buffer and obtains the device type from the device to which the voice assistant belongs.

[0191] Steps 1003a, 1003b, and 1003c: Each voice assistant of the first device, the second device, and the third device sends a voice operation analysis request to the server, and this voice operation analysis request includes the device type and the voice request command "open the map".

[0192] Step 1004: The server analyzes the voice operation instruction "Open the map", obtains the operation that needs to be currently performed and the semantic meaning of "Open the map", determines that the current device includes an in-vehicle device such as a second device according to the device type conveyed in the voice analysis request, and determines that the current device responding to the voice instruction is a second device according to the semantic meaning and the device type.

[0193] Step 1005a: The server returns a response message stating that the voice assistant of the second device performs the operation to the voice assistant of the first device.

[0194] Step 1005b: The server returns a response message to the second voice assistant, and this response message carries instruction information used to instruct an operation.

[0195] Step 1005c: The server returns a response message stating that the voice assistant of the second device performs the operation to the third voice assistant.

[0196] FIG. 11 is a schematic flowchart of a communication method 1100 according to another embodiment of the present invention. As shown in FIG. 11, the communication method 1100 includes the following content.

[0197] Steps 1101a, 1101b, and 1101c: The voice assistants of the first device, the second device, and the third device simultaneously receive the voice instruction "Hi, Allen, call Zhang San using the mobile phone".

[0198] Before this step, the device type, or the device name, or both are defined and stored in the first device, the second device, and the third device of one user. For example, the device type is a mobile phone, an in-vehicle device, or a band.

[0199] In addition, before this step, the voice assistants of the first device and the third device are in a dormant state (in this state, the low-power wake-up module is still operating), and the voice assistant of the second device is in an awakened state.

[0200] In step 1101, the voice command may further be "hi, Allen, start navigation using the in-vehicle device", or "hi, Allen, turn on the TV", or "hi, Allen, send an SMS message saying 'I have arrived' to Li Si using the band", etc.

[0201] Step 1102a: The voice assistant of the first device enters the awakened state from the dormant state according to the voice wake-up command "hi, Allen", and determines that the voice operation command contains information about the first device such as "mobile phone".

[0202] Step 1102b: The voice assistant of the second device remains in the awakened state following the voice wake-up command "hi, Allen", determines that the voice operation command does not contain local information such as "the second device", and does not respond to the voice operation command.

[0203] Step 1102c: The voice assistant of the third device enters the awakened state from the dormant state according to the voice wake-up command "hi, Allen", determines that the voice operation command does not contain information about the third device such as "band", and does not respond to the voice operation command.

[0204] Step 1103: The voice assistant of the first device sends a voice analysis request carrying the voice operation command "call Zhang San" to the server.

[0205] Step 1104: The server analyzes the voice operation command and obtains through analysis that the action to be performed is "make a call" and the person to call is "Zhang San".

[0206] Step 1105: The server returns a response message to the voice assistant of the first device, and this response message carries instruction information used to instruct an operation.

[0207] After receiving the response message, the voice assistant of the first device searches for Zhang San's phone number according to the instruction information and makes a call to Zhang San.

[0208] FIG. 12 is a schematic flowchart of a communication method 1200 according to another embodiment of the present invention. As shown in FIG. 12, the communication method 1200 includes the following.

[0209] Step 1201: The first device, the second device, and the third device implement an ad hoc network.

[0210] Steps 1202a, 1202b, and 1202c: Each voice assistant of the first device, the second device, and the third device receives a voice command "hi, Allen, open the map", where "hi, Allen" is a voice wake-up command and "open the map" is a voice operation command.

[0211] Steps 1203a, 1203b, and 1203c: Each voice assistant of the first device, the second device, and the third device enters an awake state according to the voice wake-up command "hi, Allen", the voice assistant stores the voice operation command in a buffer, and obtains the scene mode and device type of the device to which the voice assistant belongs from the device.

[0212] Step 1204: The controller in the ad hoc network determines a device that responds to the voice command in this scene mode, such as the second device, according to the scene mode and the device type.

[0213] Step 1205a: The voice assistant of the first device receives a response message carrying sleep command information, and the voice assistant is informed that the second device has completed the operation corresponding to the voice operation command.

[0214] Step 1205b: The second device is a device that responds to voice commands, and thus the voice assistant of the second device is in an awakened state.

[0215] Step 1205c: The voice assistant of the third device receives a response message carrying sleep command information, and the voice assistant is informed that the voice assistant of the second device has completed the operation corresponding to the voice operation command.

[0216] Step 1206: The voice assistant of the second device sends a voice operation analysis request carrying the voice operation command "Open the map" to the server.

[0217] Step 1207: The server analyzes the voice operation command "Open the map" and determines that the operation to be performed by the voice assistant of the second device is "Open the map".

[0218] Step 1208: The server returns a response message to the voice assistant of the second device, and this response message carries the instruction information used to instruct the operation "Open the map".

[0219] It should be noted that after any device in the ad hoc network leaves, the remaining devices can continue to perform networking again and update the scene mode of the devices in the ad hoc network.

[0220] The above has described the communication method according to the embodiments of the present invention in detail with reference to FIGS. 1 to 12. The following will describe the server and devices according to the embodiments of the present invention in detail with reference to FIGS. 13 to 18.

[0221] FIG. 13 is a schematic block diagram of a server 1300 according to an embodiment of the present invention. The server communicates with a plurality of devices of one user, and the plurality of devices can simultaneously receive the same voice operation command transmitted by the user. As shown in FIG. 13, the server 1300 includes a receiving unit 1310 configured to receive information transmitted by each of the plurality of devices of one user, the information including a device type, the receiving unit 1310, and a processing unit 1320 configured to determine a device that responds to a voice command from a plurality of devices according to the information received by the receiving unit 1310, and a transmitting unit 1330 configured to transmit a message to a device different from the device that responds to the voice command among the plurality of devices, the message being used to instruct the voice assistant of the different device not to respond to the voice command, the transmitting unit 1330, and including.

[0222] In this embodiment of the present invention, information transmitted by a plurality of devices of one user is received, and a device that responds to a voice command from the plurality of devices is determined according to the information. In the case of a user having a plurality of different devices, a device that responds to a voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0223] Optionally, the information transmitted by each device may further include at least one of a scene mode of the device or a voice command.

[0224] When the information transmitted by each device includes a device type and a voice command, the processing unit 1320 is specifically configured to recognize the semantic meaning of the voice command, and determine a device that responds to the voice command from a plurality of devices according to the device type and the semantic meaning of the voice command. configured as such.

[0225] Optionally, in another embodiment, when the information transmitted by each device includes a device type and a voice command, the processing unit 1320 is further configured to determine an operation corresponding to the voice command. Correspondingly, the transmitting unit 1330 is configured to transmit instruction information used to instruct an operation to a device responsive to the voice command.

[0226] Optionally, messages transmitted to different devices may further carry sleep command information.

[0227] Optionally, the controller may be any one of a plurality of devices.

[0228] It should be understood that the server 1300 may correspond to the server in the communication method 200. In addition, the above-described and other operations and / or functions of all the modules / units of the server 1300 are used individually to implement the corresponding procedures of the communication method 200 in FIG. 2. For the sake of brevity, the details are not described again here.

[0229] In this embodiment of the present invention, information transmitted by a plurality of devices of one user is received, and a device that preferentially responds to a voice command from the plurality of devices is determined according to the information. In the case of a user having a plurality of different devices, a device responsive to a voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0230] FIG. 14 is a schematic block diagram of a server 1400 according to an embodiment of the present invention. The server communicates with a plurality of devices of one user, and the plurality of devices can simultaneously receive the same voice operation command transmitted by the user. As shown in FIG. 14, the server 1400 includes a receiving unit 1410 configured to receive the same voice command transmitted by each of a plurality of devices of one user, a processing unit 1420 configured to determine an operation corresponding to the voice command received by the receiving unit 1410, A transmission unit 1430 configured to transmit instruction information used to instruct an operation to a device responsive to a voice command, wherein the device responsive to the voice command is determined according to information transmitted by each of a plurality of devices, the information including a device type, the transmission unit 1430, and includes.

[0231] Optionally, the information may further include at least one of a scene mode of the device or the voice command.

[0232] In this embodiment of the present invention, it should be understood that for the method by which the server 1400 determines the device responsive to the voice command according to the information transmitted by each of the plurality of devices, reference may be made to the relevant description of the server 1100. To avoid repetition, the details are not described again here.

[0233] It should also be understood that the server 1400 may correspond to the server in the communication method 300. In addition, the above-described and other operations and / or functions of all the modules / units of the server 1400 are used individually to implement the corresponding procedures of the communication method 300 in FIG. 3. For the sake of brevity, the details are not described again here.

[0234] In this embodiment of the present invention, instruction information for an operation is automatically transmitted to the device responsive to the voice command. In the case of a user having a plurality of different devices, the device responsive to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0235] FIG. 15 is a schematic block diagram of a device 1500 according to an embodiment of the present invention. A plurality of devices of one user can simultaneously receive the same voice wake-up command or voice operation command transmitted by the user, and the device 1500 may be any one of the plurality of devices. As shown in FIG. 15, the device 1500 A receiving unit 1510 configured to receive a first voice command, A processing unit 1520 configured to enter an awake state according to the first voice command received by the receiving unit 1510, An acquisition unit 1530 configured to acquire information, where the information includes a device type, the acquisition unit 1530, A transmission unit 1540 configured to transmit the information to a server including.

[0236] The receiving unit 1510 is further configured to receive a first message transmitted by the server according to the information, and the first message is used to command the voice assistant of the device 1500 not to respond to the voice command. Alternatively, the receiving unit 1510 is further configured to receive a second message transmitted by the server according to the information, and the second message is used to command the voice assistant of the device 1500 to respond to the voice command.

[0237] In this embodiment of the present invention, information is acquired and the information is transmitted to the server, whereby the server can determine a device that responds to a voice command from a plurality of devices. In the case of a user having a plurality of different devices, a device that responds to a voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0238] Optionally, the information further includes at least one of the scene mode or the voice command of the device 1500.

[0239] Correspondingly, the receiving unit 1510 may be further configured to receive instruction information transmitted by the server and used to instruct an operation corresponding to the voice command, and the information further includes the voice command.

[0240] Optionally, the first message may further carry sleep command information, and the processing unit 1520 may be further configured to enter a sleep state according to the sleep command information.

[0241] Optionally, when the receiving unit 1510 receives a first message, the receiving unit 1510 is further configured to receive a second voice command. The processing unit 1520 is further configured to omit responding to the second voice command received by the receiving unit 1510.

[0242] Optionally, when the receiving unit 1510 receives a second message, the receiving unit 1510 is further configured to receive a third voice command. The transmitting unit 1520 is further configured to transmit the third voice command received by the receiving unit 1510 to the server. The receiving unit 1510 is further configured to receive a third message transmitted by the server according to the third voice command, and the third message is used to instruct an operation corresponding to the third voice command. The processing unit 1520 is further configured to perform an operation corresponding to the third voice command according to the third message.

[0243] It should be understood that the device 1500 can correspond to the device in the communication method 400. In addition, the above-described and other operations and / or functions of all the modules / units of the device 1500 are used individually to implement the corresponding procedures of the communication method 400 in FIG. 4. For the sake of brevity, the details are not described again here.

[0244] In this embodiment of the present invention, information is acquired and the information is transmitted to the server, whereby the server can determine a device that responds to a voice command from a plurality of devices. In the case of a user having a plurality of different devices, the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0245] FIG. 16 is a schematic block diagram of a device 1600 according to an embodiment of the present invention. A plurality of devices of one user can simultaneously receive the same voice wake-up command or voice operation command transmitted by the user, and the device 1600 can be any one of the plurality of devices. As shown in FIG. 16, the device 1600 includes a receiving unit 1610, a processing unit 1620, an acquisition unit 1630, and a transmission unit 1640.

[0246] The receiving unit 1610 is configured to receive a first voice command.

[0247] The processing unit 1620 is configured to enter an awake state according to the first voice command.

[0248] The acquisition unit 1630 is configured to acquire information, and the information includes a device type.

[0249] The transmission unit 1640 is configured to transmit the information to a server.

[0250] The receiving unit 1610 is further configured to receive a second voice command.

[0251] The transmission unit 1640 is further configured to transmit the second voice command to the server.

[0252] The receiving unit 1610 is further configured to receive instruction information transmitted by the server according to the information and used to instruct an operation corresponding to the second voice command.

[0253] The information may further include at least one of a scene mode of the device or a voice command.

[0254] It should be understood that the device 1600 can correspond to the device in the communication method 500. In addition, the above-described and other operations and / or functions of all modules / units of the device 1600 are used individually to implement the corresponding procedures of the communication method 500 in FIG. 5. For the sake of brevity, the details will not be described again here.

[0255] In this embodiment of the present invention, the acquired information and the received voice command are transmitted to the server. Thereby, the server can determine the device that responds to the voice command from a plurality of devices of one user according to the information, and transmit the instruction information of the operation corresponding to the voice command to the device that responds to the voice command. In the case of a user having a plurality of different devices, the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0256] FIG. 17 is a schematic block diagram of another device 1700 according to an embodiment of the present invention. A plurality of devices of one user can simultaneously receive the same voice command transmitted by the user, and the device 1400 can be any one of the plurality of devices. As shown in FIG. 17, the device 1700 includes a receiving unit 1710 configured to receive a first voice command, a processing unit 1720 configured to enter an awake state according to the first voice command received by the receiving unit 1710 and.

[0257] The receiving unit 1710 is further configured to receive a second voice command.

[0258] The processing unit 1720 determines that the second voice command received by the receiving unit 1710 includes information about the device 1700, and is further configured to respond to the second voice command.

[0259] It should be understood that device 1700 can correspond to the device in communication method 600. In addition, the aforementioned and other operations and / or functions of all modules / units of device 1700 are used individually to implement the corresponding procedures of communication method 600 in FIG. 6. For the sake of brevity, the details will not be described again here.

[0260] In this embodiment of the present invention, when it is determined that the received voice command contains device information, the voice command is automatically responded to, whereby the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0261] FIG. 18 is a schematic block diagram of server 1800 according to an embodiment of the present invention. The server communicates with a plurality of devices of one user, and the plurality of devices can simultaneously receive the same voice command transmitted by the user. As shown in FIG. 18, server 1800 includes one or more processors 1810, a memory 1820, a bus system 1830, a transceiver 1840, and one or more programs. Processor 1810, memory 1820, and transceiver 1840 are connected to each other using bus system 1830. The one or more programs are stored in memory 1820 and configured for execution by one or more processors 1810. The one or more programs include instructions, and the instructions are receiving, using transceiver 1840, information transmitted by each of the plurality of devices, the information including a device type, the receiving, at least, determining, according to the information received by transceiver 1840, a device that responds to a voice command among the plurality of devices, transmitting, using transceiver 1840, a message to a device different from the device that responds to a voice command among the plurality of devices, the message being used to instruct the voice assistant of the different device not to respond to the voice command, the transmitting, are used for.

[0262] In this embodiment of the present invention, information transmitted by a plurality of devices of one user is received, and a device that responds to a voice command from the plurality of devices is determined according to the information. In the case of a user having a plurality of different devices, a device that responds to a voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0263] In this embodiment of the present invention, the processor 1810 may be a central processing unit (CPU for short), or the processor 1810 may be another general-purpose processor, a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or another programmable logic device, a discrete gate, or a transistor logic device, a discrete hardware component, etc. It should be understood that the general-purpose processor may be a microprocessor, or the processor may be any conventional processor or the like.

[0264] The memory 1820 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1810. A part of the memory 1820 may further include a non-volatile random access memory. For example, the memory 1820 may further store information related to the device type.

[0265] The bus system 1830 may include a power bus, a control bus, a status signal bus, etc. in addition to a data bus. However, for clarity of explanation, various buses are denoted as the bus system 1830 in the figure.

[0266] In the implementation process, the steps of the method may be completed using the integrated logic circuit of the hardware within the processor 1810 or instructions in the form of software. The steps of the method disclosed with reference to the embodiments of the present invention may be directly performed by a hardware processor, or may be performed using a combination of hardware and software modules within the processor. The software module may be arranged in a storage medium mature in this technical field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or register. The storage medium is arranged in the memory 1820. The processor 1810 reads the information in the memory 1820 and combines it with the hardware of the processor 1810 to complete the steps of the method. To avoid repetition, the details are not described again here.

[0267] The memory 1820 may further store response priority information corresponding to a plurality of device types, and may further store priority information of response devices corresponding to different device information, different scene modes, and different device types of one user.

[0268] Optionally, the information transmitted by each device may further include at least one of the scene mode of the device or the voice command.

[0269] When the information includes the device type and the voice command, the command is used to recognize the semantic meaning of the voice command, and used to determine the device corresponding to the voice command according to the device type and the semantic meaning of the voice command. and further used for the above.

[0270] Optionally, when the information includes the device type and the voice command, the command is further used to determine the operation corresponding to the voice command and transmit the instruction information for instructing the operation to the device corresponding to the voice command using the transceiver 1840.

[0271] It should be understood that server 1800 can correspond to the server in communication method 200. In addition, the aforementioned and other operations and / or functions of all modules / units of server 1800 are used individually to implement the corresponding procedures of communication method 200 in FIG. 2. For the sake of brevity, the details will not be described again here.

[0272] In addition, when executed, there is further provided a computer-readable medium including computer-readable instructions for performing the following operations, the operations of steps 210 to 230 in communication method 200. Optionally, the operations of optional steps in communication method 200 may be performed.

[0273] In addition, there is further provided a computer program product including a computer-readable medium.

[0274] In this embodiment of the present invention, information transmitted by a plurality of devices of one user is received, and according to the information, a device that responds to a voice command from the plurality of devices is determined. In the case of a user having a plurality of different devices, the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0275] FIG. 19 is a schematic block diagram of a server 1900 according to an embodiment of the present invention. The server communicates with a plurality of devices of one user, and the plurality of devices can simultaneously receive the same voice command transmitted by the user. As shown in FIG. 19, server 1900 includes one or more processors 1910, a memory 1920, a bus system 1930, a transceiver 1940, and one or more programs. Processor 1910, memory 1920, and transceiver 1940 are connected to each other using bus system 1930. The one or more programs are stored in memory 1920 and configured for execution by one or more processors 1910. The one or more programs include instructions, and the instructions are Receiving, using the transceiver 1940, the same voice command transmitted by each of a plurality of devices of a user; Determining an operation corresponding to the voice command received by the transceiver 1940; Transmitting, using the transceiver 1940, instruction information used to instruct the operation to a device corresponding to the voice command among the plurality of devices, wherein the device corresponding to the voice command is determined according to information transmitted by each of the plurality of devices, and the information includes a device type, said transmitting; is used for.

[0276] Optionally, the information may further include at least one of a scene mode of the device or the voice command.

[0277] In this embodiment of the present invention, it should be understood that the processor 1910 may be a CPU, or the processor 1910 may be another general-purpose processor, DSP, ASIC, FPGA, or another programmable logic device, discrete gate, or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor or the like.

[0278] The memory 1920 may include a read-only memory and a random access memory, and provides instructions and data to the processor 1910. A part of the memory 1920 may further include a non-volatile random access memory. For example, the memory 1920 may further store information regarding the device type.

[0279] The bus system 1930 may include a power bus, a control bus, a status signal bus, etc. in addition to a data bus. However, for clarity of explanation, various buses are denoted as the bus system 1930 in the figure.

[0280] In the implementation process, the steps of the method may be completed using the integrated logic circuit of the hardware within the processor 1910, or instructions in the form of software. The steps of the method disclosed with reference to the embodiments of the present invention may be directly performed by a hardware processor, or may be performed using a combination of the hardware and software modules within the processor. The software module may be disposed in a storage medium mature in this technical field, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, or a register. The storage medium is disposed within the memory 1920. The processor 1910 reads the information within the memory 1920 and combines it with the hardware of the processor 1910 to complete the steps of the method. To avoid repetition, the details are not described again here.

[0281] It should be understood that the server 1900 may correspond to the server in the communication method 300. In addition, the above-described and other operations and / or functions of all the modules / units of the server 1900 are individually used to implement the corresponding procedures of the communication method 300 in FIG. 3. For the sake of brevity, the details are not described again here.

[0282] In addition, when executed, there is further provided a computer-readable medium including computer-readable instructions for performing the following operations: the operations of steps 310 to 330 in the communication method 300. Optionally, the operations of optional steps in the communication method 300 may be performed.

[0283] In addition, there is further provided a computer program product including a computer-readable medium.

[0284] In this embodiment of the present invention, the operation instruction information corresponding to the voice command is automatically transmitted to the device. In the case of a user having a plurality of different devices, the device corresponding to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0285] Figure 20 is a schematic block diagram of a device 2000 according to another embodiment of the present invention. Multiple devices of a single user can simultaneously receive the same voice command transmitted by the user, and the device 2000 can be any one of the multiple devices. As shown in FIG. 20, the device 2000 includes one or more processors 2010, a memory 2020, a bus system 2030, a transceiver 2040, and one or more programs. The processor 2010, the memory 2020, and the transceiver 2040 are connected to each other using the bus system 2030. The one or more programs are stored in the memory 2020 and configured for execution by the one or more processors 2010. The one or more programs include instructions, and the instructions are receiving a first voice command using the transceiver 2040, entering an awake state according to the first voice command received by the transceiver 2040, acquiring information, where the information includes the device type, the acquiring, transmitting the information to a server using the transceiver 2040, receiving, using the transceiver 2040, a first message transmitted by the server according to the information, where the first message is used to command the voice assistant of the device 2000 not to respond to the voice command, receiving the first message using the transceiver 2040, or receiving, using the transceiver, a second message transmitted by the server according to the information, where the second message is used to command the voice assistant of the device 2000 to respond to the voice command, receiving the second message using the transceiver, and used for.

[0286] The instructions may be used to obtain information about the device 2000 from the memory 2020.

[0287] In this embodiment of the present invention, information is acquired and the information is transmitted to the server, whereby the server can determine a device that responds to a voice command from a plurality of devices. In the case of a user having a plurality of different devices, the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0288] In this embodiment of the present invention, it should be understood that the processor 2010 may be a CPU, or the processor 2010 may be another general-purpose processor, DSP, ASIC, field programmable gate array FPGA, or another programmable logic device, discrete gate, or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc.

[0289] The memory 2020 may include a read-only memory and a random access memory, and provides instructions and data to the processor 2010. A part of the memory 2020 may further include a non-volatile random access memory. For example, the memory 2020 may further store information regarding the device type.

[0290] The bus system 2030 may include a power bus, a control bus, a status signal bus, etc. in addition to a data bus. However, for clarity of explanation, various buses are denoted as the bus system 2030 in the figure.

[0291] In the implementation process, the steps of the method may be completed using the integrated logic circuit of the hardware within the processor 2010 or instructions in the form of software. The steps of the method disclosed with reference to the embodiments of the present invention may be directly performed by a hardware processor or may be performed using a combination of hardware and software modules within the processor. The software module may be disposed in a storage medium mature in this technical field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or a register. The storage medium is disposed in the memory 2020. The processor 2010 reads the information in the memory 2020 and completes the steps of the method in combination with the hardware of the processor 2010. To avoid repetition, the details are not described again here.

[0292] Optionally, the information about the device 2000 may further include at least one of the scene mode or voice command of the device 2000.

[0293] Correspondingly, the instruction may be further used to receive, using the transceiver 2040, the instruction information transmitted by the server and used to instruct the operation corresponding to the voice command, and the information further includes the voice command.

[0294] Optionally, the first message may further carry sleep instruction information, and the instruction may be further used to command the device 2000 to enter the sleep state according to the sleep instruction information.

[0295] Optionally, in another embodiment, the instruction is when the first message transmitted by the server is received using the transceiver 2040, to receive a second voice command using the transceiver 2040, and to omit responding to the second voice command received by the transceiver 2040, and is further used for.

[0296] Optionally, in another embodiment, the instructions are to receive a third voice command using transceiver 2040 when a second message sent by the server is received using transceiver 2040; to send the third voice command to the server using transceiver 2040; to receive, using transceiver 2040, a third message sent by the server in accordance with the third voice command, the third message being used to instruct an operation corresponding to the third voice command, receiving the third message using transceiver 2040; to perform an operation corresponding to the third voice command in accordance with the third message; and are further used for.

[0297] It should be understood that device 2000 may correspond to a device in communication method 400. Additionally, the aforementioned and other operations and / or functions of all modules / units of device 2000 are used individually to implement the corresponding procedures of communication method 400 in FIG. 4. For the sake of brevity, details are not described again here.

[0298] Additionally, when executed, there is further provided a computer-readable medium including computer-readable instructions for performing the following operations, the operations of steps 410 to 450 in communication method 400. Optionally, the operations of any optional steps in communication method 400 may be performed.

[0299] Additionally, there is further provided a computer program product including a computer-readable medium.

[0300] In this embodiment of the present invention, information is acquired and the information is transmitted to the server, whereby the server can determine the device that responds to the voice command from a plurality of devices. In the case of a user having a plurality of different devices, the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0301] FIG. 21 is a schematic block diagram of a device 2100 according to another embodiment of the present invention. A plurality of devices of one user can simultaneously receive the same voice command transmitted by the user, and the device 2100 can be any one of the plurality of devices. As shown in FIG. 21, the device 2100 includes one or more processors 2110, a memory 2120, a bus system 2130, a transceiver 2140, and one or more programs. The processor 2110, the memory 2120, and the transceiver 2140 are connected to each other using the bus system 2130. The one or more programs are stored in the memory 2120 and configured for execution by the one or more processors 2110. The one or more programs include instructions, and the instructions are receiving a first voice command using the transceiver, entering an awake state according to the first voice command, acquiring information, where the information includes a device type, the acquiring, transmitting the information to the server using the transceiver, receiving a second voice command using the transceiver, transmitting the second voice command to the server using the transceiver, receiving, using the transceiver, instruction information transmitted by the server according to the information and used to instruct an operation corresponding to the second voice command, and used for.

[0302] The information may further include at least one of a scene mode of the device or a voice command.

[0303] In this embodiment of the present invention, it should be understood that the processor 2110 may be a CPU, or the processor 2110 may be another general-purpose processor, DSP, ASIC, field-programmable gate array FPGA, or another programmable logic device, discrete gate, or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc.

[0304] The memory 2120 may include a read-only memory and a random access memory, and provides instructions and data to the processor 2110. A part of the memory 2120 may further include a non-volatile random access memory. For example, the memory 2120 may further store information regarding the device type.

[0305] The bus system 2130 may include a power bus, a control bus, a status signal bus, etc. in addition to a data bus. However, for clarity of explanation, various buses are denoted as the bus system 2130 in the figure.

[0306] In the implementation process, the steps of the method may be completed using the integrated logic circuit of the hardware within the processor 2110, or instructions in the form of software. The steps of the method disclosed with reference to the embodiments of the present invention may be directly performed by a hardware processor, or may be performed using a combination of the hardware and software modules within the processor. The software module may be disposed in a storage medium mature in this technical field, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, or a register. The storage medium is disposed within the memory 2120. The processor 2110 reads the information within the memory 2120 and combines it with the hardware of the processor 2110 to complete the steps of the method. To avoid repetition, the details are not described again here.

[0307] It should be understood that the device 2100 can correspond to the device in the communication method 500. In addition, the above-described and other operations and / or functions of all the modules / units of the device 2100 are used individually to implement the corresponding procedures of the communication method 500 in FIG. 5. For the sake of brevity, the details are not described again here.

[0308] In addition, when executed, a computer-readable medium is further provided that includes computer-readable instructions for performing the following operations, the operations of steps 510 to 570 in the communication method 500. Optionally, the operations of optional steps in the communication method 500 may be performed.

[0309] In addition, a computer program product including a computer-readable medium is further provided.

[0310] In this embodiment of the present invention, the acquired information and the received voice command are transmitted to the server, whereby the server determines, according to the information, the device that responds to the voice command from a plurality of devices of one user, and can transmit the instruction information of the operation corresponding to the voice command to the device that responds to the voice command. In the case of a user having a plurality of different devices, the device that responds to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0311] FIG. 22 is a schematic block diagram of a device 2200 according to another embodiment of the present invention. A plurality of devices of one user can simultaneously receive the same voice command transmitted by the user, and the device 2200 can be any one of the plurality of devices. As shown in FIG. 22, the device 2200 includes one or more processors 2210, a memory 2220, a bus system 2230, a transceiver 2240, and one or more programs. The processor 2210, the memory 2220, and the transceiver 2240 are connected to each other using the bus system 2230. The one or more programs are stored in the memory 2220 and configured for execution by the one or more processors. The one or more programs include instructions, and the instructions are receiving a first voice command using the transceiver 2240, entering an awake state according to the first voice command, receiving a second voice command using the transceiver 2240, determining that the second voice command contains information about the device 2200 and responding to the second voice command, is used for.

[0312] In this embodiment of the present invention, it should be understood that the processor 2210 may be a CPU, or the processor 2210 may be another general-purpose processor, DSP, ASIC, field-programmable gate array FPGA, or another programmable logic device, discrete gate, or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, etc.

[0313] The memory 2220 may include a read-only memory and a random access memory, and provide instructions and data to the processor 2210. A part of the memory 2220 may further include a non-volatile random access memory. For example, the memory 2220 may further store information about the device type.

[0314] In addition to the data bus, the bus system 2230 may include a power bus, a control bus, a status signal bus, and the like. However, for clarity of explanation, various buses are denoted as the bus system 2230 in the figures.

[0315] In the implementation process, the steps of the method may be completed using the integrated logic circuit of the hardware within the processor 2210 or instructions in the form of software. The steps of the method disclosed with reference to the embodiments of the present invention may be directly performed by a hardware processor, or may be performed using a combination of hardware and software modules within the processor. The software module may be disposed in a storage medium mature in this technical field, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, or a register. The storage medium is disposed within the memory 2220. The processor 2210 reads the information within the memory 2220 and completes the steps of the method in combination with the hardware of the processor 2210. To avoid repetition, the details are not described again here.

[0316] It should be understood that the device 2200 may correspond to the device in the communication method 600. In addition, the above-described and other operations and / or functions of all modules / units of the device 2200 are individually used to implement the corresponding procedures of the communication method 600 in FIG. 6. For the sake of brevity, the details are not described again here.

[0317] In addition, when executed, there is further provided a computer-readable medium including computer-readable instructions for performing the following operations: the operations of steps 610 to 640 in the communication method 600. Optionally, the operations of optional steps in the communication method 600 may be performed.

[0318] In addition, there is further provided a computer program product including a computer-readable medium.

[0319] In this embodiment of the present invention, when it is determined that the received voice command includes device information, the voice command is automatically responded to, whereby the device corresponding to the voice command can be intelligently selected, and a more convenient and natural human-machine communication experience is provided to the user.

[0320] It should be understood that the term "and / or" in this embodiment of the present invention describes only the relevant relationship for explaining the relevant objects and expresses that three relationships may exist. For example, A and / or B may represent the following three cases: only A exists, both A and B exist, and only B exists.

[0321] Those skilled in the art of this technology may notice that in the embodiments disclosed in this specification, in combination with the examples described, the units and algorithm steps can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether the function is performed by hardware or by software depends on the specific application and the design constraints of the technical solution. Those skilled in the art of this technology may use different methods to implement the described functions in individual specific applications, but such implementation should not be considered to exceed the scope of the present invention.

[0322] For the purpose of a simple and concise description, regarding the detailed operation processes of the system, device, and unit, reference can be made to the corresponding processes in the method embodiments, and the details will not be described again here, which can be clearly understood by those skilled in the art of this technology.

[0323] In some embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in different manners. For example, the described device embodiments are merely examples. For instance, the division of units is merely a logical functional division, and in actual implementation, it may be a different division. For example, a plurality of units or components may be combined or integrated into another system, or some functions may be ignored or not performed. Additionally, the mutual coupling, direct coupling, or communication connection shown or discussed may be implemented using some interfaces. The indirect coupling or communication connection between devices or units may be implemented in electronic, mechanical, or other forms.

[0324] The units described as separate parts may or may not be physically separate, and the parts shown as units may or may not be physical units. They may be located in one position or distributed among multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

[0325] In addition, the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may physically exist alone, or two or more units may be integrated into one unit.

[0326] When the function is implemented in the form of a software functional unit and sold or used as an independent product, the function may be stored in a computer-readable storage medium. Based on such an understanding, essentially the technical solution of the present invention, or the part contributing to the prior art, or some of the technical solutions may be implemented in the form of a software product. The software product is stored in a storage medium and includes some instructions for instructing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or some of the steps of the method described in the embodiments of the present invention. The storage medium includes any medium capable of storing program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0327] These descriptions are merely specific implementations of the present invention and are not intended to limit the protection scope of the present invention. Any modifications or substitutions easily conceived by those skilled in the art within the technical scope disclosed in the present invention are within the protection scope of the present invention. Therefore, the protection scope of the present invention shall follow the protection scope of the claims.

Description of Reference Numerals

[0328] Server 1300 Receiving Unit 1310 Processing Unit 1320 Transmitting Unit 1330 Server 1400 Receiving Unit 1410 Processing Unit 1420 Transmitting Unit 1430 Device 1500 Receiving Unit 1510 Processing Unit 1520 Acquiring Unit 1530 Transmitting Unit 1540 1600 Device 1610 Receiver Unit 1620 Processing Unit 1630 Acquisition Unit 1640 Transmitter Unit 1700 Device 1710 Receiver Unit 1720 Processing Unit 1800 Server 1810 Processor 1820 Memory 1830 Bus System 1840 Transceiver 1900 Server 1910 Processor 1920 Memory 1930 Bus System 1940 Transceiver 2000 Device 2010 Processor 2020 Memory 2030 Bus System 2040 Transceiver 2100 Device 2110 Processor 2120 Memory 2130 Bus System 2140 Transceiver 2200 Device 2210 Processor 2220 Memory 2230 Bus System 2240 Transceiver

Claims

1. The first device and the second device establish a wireless connection; The first device and the second device receive a voice command; One of the first device and the second device transmits information to the other of the first device and the second device via the wireless connection, the information including the current scene information and device type information of the device transmitting the information; Based on the information, the other device determines that the first device can respond to the voice command and that the second device cannot respond to the voice command; The other device transmits a message instructing a device different from the device that responds to the voice command not to respond to the voice command; The first device responds to the voice command; The second device omits responding to the voice command; A communication method comprising the above.

2. The method according to claim 1, wherein the current scene information includes any one of in-driving, in-living room, in-bedroom, exercising, at-work, headset mode, or loudspeaker mode.

3. A communication system comprising: A first device and a second device connected via a wireless connection, The first device and the second device receive a voice command, One of the first device and the second device transmits information to the other of the first device and the second device via the wireless connection, the information including the current scene information and device type information of the device transmitting the information, Based on the information, the other device determines that the first device can respond to the voice command and that the second device cannot respond to the voice command, The other device transmits a message instructing a device different from the device that responds to the voice command not to respond to the voice command, Is configured as such, The first device is further configured to respond to the voice command, The second device is further configured to omit responding to the voice command. A communication system.

4. The communication system according to claim 3, wherein the current scene information includes any one of during driving, in the living room, in the bedroom, during exercise, during work, headset mode, or loudspeaker mode.

Citation Information

Patent Citations

  • Voice input system, voice input method, and voice input program

    JP2003223188A