Method, system, storage medium and electronic device for processing user voice commands
By determining whether the voice commands in the wired controller of a multi-split air conditioner are clear and combining it with local communication network monitoring, the control confusion problem caused by the wired controller receiving commands simultaneously is solved, thereby improving control accuracy and user experience.
Patent Information
- Application Number
- CN202210931820.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-04
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2042-08-04
AI Technical Summary
In the prior art, the wired controller of a multi-split air conditioner will execute the user's voice command immediately after receiving it, resulting in inaccurate execution of the voice command. Especially when the user is close, multiple wired controllers may receive the command at the same time, causing control confusion.
After receiving the user's voice command, the wire controller first determines whether the command includes a specific control object. If it is not clear, it monitors the commands of other wire controllers through the local multi-line communication network and decides whether to execute it based on the judgment result, thereby realizing the execution of the voice signal.
It improves the user experience, avoids the inaccuracy of the wired controller in executing voice commands, ensures the accuracy and consistency of control, does not increase product costs, utilizes the existing communication network for arbitration, and protects user privacy.
Smart Images

Figure CN115410568B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of device control, and in particular to a method, system, storage medium and electronic device for processing user voice commands. Background Art
[0002] The indoor units of a multi-split air conditioner in each room / area are controlled by a wired remote control. When the wired remote control has a voice control function, it will receive the user's voice commands and then execute them, such as turning on the air conditioner, raising the temperature, and other operations.
[0003] It should be noted that in the existing technology, when the wired remote control receives the user's voice command, it is often executed directly. However, when the user's two rooms are close to each other, the wired remote controls in the two rooms may receive the user's voice command at the same time. For example, the user is in the living room and the user says, "Please turn on the air conditioner." At this time, the wired remote control in the living room and the wired remote control in the dining room both receive the command, and then the wired remote control in the living room and the wired remote control in the dining room will simultaneously execute the operation of turning on the air conditioner.
[0004] Therefore, in the prior art, the wired controller will immediately execute the voice command after receiving it, which causes the wired controller to execute the voice command inaccurately, thereby reducing the user experience.
[0005] In view of this, the present invention is proposed. Summary of the Invention
[0006] The present invention provides a method, system, storage medium and electronic device for processing user voice commands to solve the technical problem in the prior art that a wire controller immediately executes a user's voice command after receiving it, resulting in inaccurate execution of the voice command by the wire controller.
[0007] According to a first aspect of the present invention, a method for processing a user voice command is provided, which is applied to a first wire controller and includes: receiving a first voice control command from the user; determining whether the first voice control command includes a specific control object; and deciding whether to immediately execute the first voice control command based on the determination result.
[0008] Furthermore, the first wire controller is any one of a plurality of wire controllers connected to a local multi-connection communication network, wherein whether to immediately execute the first voice control instruction is determined based on a judgment result, including: when the first voice control instruction includes a specific control object and the specific control object is associated with the first wire controller, immediately executing the first voice control instruction; when the first voice control instruction does not include a specific control object, monitoring whether there are voice control instructions received and uploaded by other wire controllers from the local multi-connection communication network, and determining whether to execute the first voice control instruction based on the monitoring result.
[0009] Furthermore, whether to execute the first voice control instruction is determined based on the monitoring results, including: executing the first voice control instruction when there is no voice control instruction sent by other wire controllers within the preset time; determining whether the voice control instruction sent by the other wire controllers is the same as the first voice control instruction when there is a voice control instruction sent by the other wire controllers within the preset time, and deciding whether to execute the first voice control instruction based on the determination result.
[0010] Furthermore, whether to execute the first voice control instruction is determined based on the judgment result, including: when the voice control instruction sent by the other wire controller is different from the first voice control instruction, the first wire controller executes the first voice control instruction, wherein the other wire controllers respectively execute the voice control instructions they receive; when the voice control instruction sent by the other wire controller is the same as the first voice control instruction, the first wire controller or the other wire controller broadcasts a voice signal, wherein the voice signal is used to request the user to indicate a specific control object.
[0011] Furthermore, the method further includes: the first wired controller uploading a first voice control instruction and a serial number of the first wired controller to the local multi-connection communication network.
[0012] Furthermore, the local multi-connection communication network determines whether the first wired controller or other wired controllers broadcast the voice signal.
[0013] According to a second aspect of the present invention, a system for processing user voice commands is provided, the system comprising: a plurality of wire controllers, each of which is connected to a local multi-connection communication network, wherein, when the voice control command received by each wire controller does not include a specific control object, the wire controller uploads the voice control command received by the wire controller to the local multi-connection communication network; the local multi-connection communication network is used to specify a target wire controller from the plurality of wire controllers when the voice control commands sent by the plurality of wire controllers are the same, wherein the target wire controller broadcasts a voice signal, and the voice signal is used to request the user to indicate a specific control object.
[0014] Furthermore, when the voice control instruction received by the first wire controller among the multiple wire controllers includes a specific control object and the specific control object is associated with the first wire controller, the first wire controller directly executes the received voice control instruction.
[0015] According to a third aspect of the present invention, there is provided a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes any one of the above methods to be performed.
[0016] According to a fourth aspect of the present invention, an electronic device is provided, comprising a memory and a processor, wherein the memory stores computer instructions, and when the computer instructions are executed by the processor, any one of the above methods is executed.
[0017] The present invention provides a method, system, storage medium, and electronic device for processing user voice commands. The method comprises: receiving a first voice control command from the user; determining whether the first voice control command includes a specific control object; and determining whether to immediately execute the first voice control command based on the determination result. This solves the technical problem in the prior art where wired controllers immediately execute voice commands upon receiving them, resulting in inaccurate execution of voice commands. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flowchart of a method for processing user voice commands provided by an embodiment of the present invention;
[0019] Figure 2 is a flowchart of an optional method for processing user voice commands provided by an embodiment of the present invention;
[0020] Figure 3 2 is a schematic diagram of a system for processing user voice commands provided by an embodiment of the invention. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0022] Example 1
[0023] According to an embodiment of the present invention, a method for processing a user voice command is provided, wherein the method is applied to a first wire controller, Figure 1 , the method comprising:
[0024] Step S11: receiving a first voice control instruction from a user.
[0025] Specifically, the first voice control instruction may be an instruction issued by a user to control an indoor unit of an air conditioner, such as an instruction to turn on the air conditioner, and the first wired controller may be any wired controller of a multi-split air conditioner.
[0026] Step S13: determine whether the first voice control instruction includes a specific control object.
[0027] Specifically, after receiving the first voice command, the first wire controller does not immediately execute the command, but first determines whether the voice control command includes a specific control object.
[0028] Let's take an example of voice control commands. If the user says "Turn on the air conditioner," the command is unclear to the wired controller because it doesn't specify the control object. That is, the user hasn't specified which air conditioner to turn on. If the user says "Turn on the air conditioner in the living room," the command is clear to the wired controller.
[0029] Step S15: Determine whether to immediately execute the first voice control instruction based on the judgment result.
[0030] Specifically, if the voice command issued by the user is clear and includes a clear control object, then the wire controller will directly execute the voice command. If the voice command received by the wire controller is unclear, then this solution will not immediately execute the above command.
[0031] From this, it can be seen that this solution is different from the existing technology in which the wire controller will execute immediately after receiving the user's voice command. This solution will parse the user's voice command and determine whether there is a clear control object in the voice command. It will decide whether to execute the voice command immediately based on whether the voice command includes a clear control object. Therefore, this solution solves the technical problem in the existing technology that the wire controller will execute immediately after receiving the user's voice command, resulting in inaccurate execution of the voice command by the wire controller, thereby greatly improving the user experience.
[0032] Optionally, the first wired controller is any one of a plurality of wired controllers connected to a local multi-link communication network, wherein step S15 determines whether to immediately execute the first voice control instruction based on the judgment result, including:
[0033] Step S151: if the first voice control instruction includes a specific control object and the specific control object is associated with a first wire controller, immediately execute the first voice control instruction.
[0034] Specifically, the association between a specific control object and the first wire controller means that the first wire controller is responsible for controlling the specific control object.
[0035] The following is an example to illustrate the above steps:
[0036] If the first voice control command issued by the user is "Please turn on the air conditioner in the living room", the first wire controller determines that the voice command is clear, and the specific control object "the air conditioner in the living room" in the first voice command is associated with the first wire controller (that is, the first wire controller is in the living room and is used to control the air conditioner), the first wire controller immediately executes the voice command, thereby turning on the air conditioner in the living room.
[0037] Step S152: If the first voice control instruction does not include a specific control object, monitor the local multi-connection communication network to see whether there is a voice control instruction received and uploaded by other wired controllers, and decide whether to execute the first voice control instruction based on the monitoring result.
[0038] Specifically, the above-mentioned local multi-link communication network includes multiple wire controllers including the first wire controller, that is, the multiple wire controllers are communicatively connected through the local multi-link communication network. If the first wire controller determines that the first voice control instruction does not include a specific control object, then at this time, in order to avoid miscontrol of the device, this solution does not immediately execute the first voice control instruction, but instead monitors the multi-link communication network to see whether other wire controllers have uploaded voice instructions.
[0039] Optionally, step S152 determines whether to execute the first voice control instruction according to the monitoring result, including:
[0040] Step S1521: Execute the first voice control instruction when there is no voice control instruction sent by other wired controllers within a preset time.
[0041] Specifically, if other wired controllers do not send voice commands to the local multi-connection communication network within a preset time, it means that the user intends to send a voice control command to the first wired controller, and the first wired controller immediately executes the first voice control command.
[0042] Step S1522: If there is a voice control instruction sent by another wired controller within a preset time, determine whether the voice control instruction sent by the other wired controller is the same as the first voice control instruction, and decide whether to execute the first voice control instruction based on the determination result.
[0043] Specifically, if there are voice control instructions sent by other wired controllers within the preset time, the solution continues to determine whether the voice instructions received by multiple wired controllers are the same, and decides whether to execute the first voice control instruction based on the determination result.
[0044] Optionally, step S1522 determines whether to execute the first voice control instruction according to the determination result, including:
[0045] Step S15221: When the voice control instruction sent by the other wire controllers is different from the first voice control instruction, the first wire controller executes the first voice control instruction, wherein the other wire controllers respectively execute the voice control instructions they receive.
[0046] The following is an example to illustrate the above steps:
[0047] The first wire controller receives the user's command to "turn on the air conditioner". The first wire controller finds that within the preset time, the second wire controller sends a voice command to the local multi-connected communication network. The voice command is "Please turn off the air conditioner". Since the two wire controllers receive different commands, this means that the same voice command is not received by the two wire controllers at the same time, but the two wire controllers each receive a control command. There is no problem of control confusion, so the two wire controllers can execute the voice commands they each receive.
[0048] Step S15222: When the voice control instruction sent by the other wire controller is the same as the first voice control instruction, the first wire controller or the other wire controller broadcasts a voice signal, wherein the voice signal is used to request the user to indicate a specific control object.
[0049] The following is an example to illustrate the above steps:
[0050] The first wire controller receives the user's command to "turn on the air conditioner". The first wire controller finds that within the preset time, the second wire controller sends a voice command to the local multi-connection communication network. The voice command is "Please turn on the air conditioner". Since the two wire controllers receive the same command, this means that the same voice command is received by the two wire controllers at the same time. At this time, it is impossible to determine which specific control object is. Therefore, in this embodiment, the first wire controller or other wire controllers broadcast a voice signal, which can be: "Excuse me, which room's air conditioner do you want to turn on?" The user continues to say "Turn on the air conditioner in the living room". At this time, this solution clarifies the specific control object of the user's voice command, and then controls the corresponding wire controller to execute the command to turn on the air conditioner in the living room.
[0051] Optionally, when multiple wired controllers receive the same voice command at the same time, arbitration is performed through the multi-connection communication network. The wired controller with the smallest number can ask the user which indoor unit he wants to control, and finally control the corresponding indoor unit according to the voice command with the control object replied by the user.
[0052] Optionally, the method further includes: the first wired controller uploading a first voice control instruction and the serial number of the first wired controller to the local multi-connection communication network.
[0053] It should be noted here that after the first wire controller determines that the first voice control instruction does not include a specific control object, the first wire controller uploads the received first voice control instruction and its own number to the local multi-connection communication network, so that other wire controllers can obtain the first voice control instruction from the local multi-connection communication network for further operation.
[0054] Optionally, the local multi-connection communication network determines whether the first wired controller or other wired controllers broadcast the voice signal.
[0055] The specific local multi-connection communication network can arbitrate which wire controller will perform voice broadcasting based on the number of each wire controller.
[0056] The following combination Figure 2 , introduces an optional embodiment of this solution:
[0057] First, the technical basis of this solution is introduced: each indoor unit of the multi-connected system of the present invention communicates via a communication line (which can also be wireless), and each indoor unit is connected to a wired controller, so each wired controller can quickly exchange data locally through the multi-connected communication network. The wired controller has a touch screen for inputting text, and a voice recognition module for recognizing voice control commands. After installing the multi-connected system, the user can enter text on the wired controller and set the name of the room to which it belongs. For example, the name of the room to which the wired controller of the living room belongs is set to "living room", and the name of the room to which the wired controller of the dining room belongs is set to "dining room".
[0058] Then introduce the core invention of this solution:
[0059] The wired controller monitors the user's voice control commands in real time. When it receives a voice command that specifies the control object (for example, the user says "turn on the air conditioner in the living room"), the wired controller corresponding to the control object (such as the wired controller in the living room) immediately executes the voice command, while other wired controllers do not execute the voice command.
[0060] When a wired controller (assuming it is wired controller A) receives a voice command with no clear control object (for example, the user says "turn on the air conditioner"), the wired controller sends its "voice command received" message (including the recognized voice command) and its own number (the wired controller number is automatically assigned by the multi-connector after power-on or set by the user, and each wired controller has a different number) to the multi-connector communication network, and simultaneously monitors whether there are "voice command received" messages sent by other wired controllers on the multi-connector communication network. If no "voice command received" message is received from other wired controllers within T1 (typical value 500ms), wired controller A directly executes the user's voice command.
[0061] If wire controller A receives a "voice command received" message from another wire controller (assuming it is wire controller B in the restaurant) (wire controller B will also receive the message from wire controller A at the same time), wire controllers A and B will respectively compare each other's voice commands to see if they are consistent with the commands they recognize. If they are inconsistent, it means that two people are controlling different air conditioners with voice at the same time, and each will execute the corresponding voice command; if they are consistent, it means that the same voice command is recognized. At this time, it is determined whether its own number is smaller than the other party's number. If so, the wire controller with the smallest number (assuming it is wire controller A) will broadcast the voice "Do you want to turn on the air conditioner in the living room or the dining room?", asking the user which air conditioner he wants to control. After the user answers the specific control object, the wire controller corresponding to the control object will finally execute the control command.
[0062] In summary, this solution achieves the following technical effects: when controlling a multi-split indoor unit via voice commands, if multiple wired controllers receive voice commands simultaneously, only one will ultimately execute the command, avoiding control confusion. Furthermore, this invention does not increase product costs and utilizes only the multi-split's own communication network for arbitration, eliminating the need for internet or server connections. This effectively protects user privacy and broadens its application scope.
[0063] Example 2
[0064] Combine Figure 3 This solution also provides a system for processing user voice commands, which can be used to execute the method of the above embodiment. The system includes:
[0065] Multiple wired controllers 30 are respectively connected to a local multi-connection communication network. Each wired controller, if a received voice control command does not include a specific control object, uploads the received voice control command to the local multi-connection communication network. The local multi-connection communication network 32 is used to specify a target wired controller from among the multiple wired controllers if the voice control commands sent by the multiple wired controllers are all the same. The target wired controller broadcasts a voice signal requesting a user to specify a specific control object.
[0066] Optionally, when the voice control instruction received by the first wire controller among the multiple wire controllers includes a specific control object and the specific control object is associated with the first wire controller, the first wire controller directly executes the received voice control instruction.
[0067] It should be understood that the specific features, operations and details described herein above with respect to the method of the present invention may also be similarly applied to the apparatus and system of the present invention, or vice versa. In addition, each step of the method of the present invention described above may be performed by the corresponding components or units of the apparatus or system of the present invention.
[0068] It should be understood that the various modules / units of the apparatus of the present invention may be implemented in whole or in part by software, hardware, firmware, or a combination thereof. Each of the modules / units may be embedded in a processor of a computer device in the form of hardware or firmware or independent of the processor, or may be stored in a memory of a computer device in the form of software for the processor to call to execute the operations of the modules / units. Each of the modules / units may be implemented as an independent component or module, or two or more modules / units may be implemented as a single component or module.
[0069] In one embodiment, a computer device is provided, comprising a memory and a processor, wherein the memory stores computer instructions executable by the processor, and when executed by the processor, the computer instructions instruct the processor to perform the steps of the method according to an embodiment of the present invention. The computer device can be broadly defined as a server, a terminal, or any other electronic device with the necessary computing and / or processing capabilities. In one embodiment, the computer device can include a processor, memory, a network interface, a communication interface, etc. connected via a system bus. The processor of the computer device can be used to provide the necessary computing, processing, and / or control capabilities. The memory of the computer device can include a non-volatile storage medium and an internal memory. An operating system, a computer program, etc. can be stored in or on the non-volatile storage medium. The internal memory can provide an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface and communication interface of the computer device can be used to connect to and communicate with external devices via a network. When the computer program is executed by the processor, the steps of the method according to the present invention are performed.
[0070] The present invention can be implemented as a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the steps of the method of an embodiment of the present invention to be performed. In one embodiment, the computer program is distributed on a plurality of computer devices or processors coupled to a network so that the computer program is stored, accessed, and executed in a distributed manner by one or more computer devices or processors. A single method step / operation, or two or more method steps / operations, can be performed by a single computer device or processor or by two or more computer devices or processors. One or more method steps / operations can be performed by one or more computer devices or processors, and one or more other method steps / operations can be performed by one or more other computer devices or processors. One or more computer devices or processors can perform a single method step / operation, or perform two or more method steps / operations.
[0071] It will be understood by those skilled in the art that the method steps of the present invention can be performed by instructing relevant hardware such as a computer device or a processor through a computer program, and the computer program can be stored in a non-transitory computer-readable storage medium, which causes the steps of the present invention to be performed when the computer program is executed. Depending on the circumstances, any reference to memory, storage, database or other media herein may include non-volatile and / or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state disk, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.
[0072] The various technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification as long as such combination does not conflict.
[0073] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for processing user voice commands, characterized in that: The method is applied to a first wire controller, wherein the method includes: receiving a first voice control instruction from a user; Determining whether the first voice control instruction includes a specific control object; Determining whether to immediately execute the first voice control instruction based on a judgment result; wherein the first wire controller is any one of a plurality of wire controllers connected to a local multi-link communication network, wherein determining whether to immediately execute the first voice control instruction based on the judgment result includes: if the first voice control instruction includes a specific control object and the specific control object is associated with the first wire controller, immediately executing the first voice control instruction; if the first voice control instruction does not include a specific control object, monitoring the local multi-link communication network for voice control instructions received and uploaded by other wire controllers, and determining whether to execute the first voice control instruction based on the monitoring result; Determining whether to execute the first voice control instruction according to the monitoring result includes: If there is no voice control command sent by other wired controllers within a preset time, executing the first voice control command; If there is a voice control instruction sent by another wired controller within a preset time, it is determined whether the voice control instruction sent by the other wired controller is the same as the first voice control instruction, and whether to execute the first voice control instruction is determined according to the determination result.
2. The method according to claim 1, characterized in that Determining whether to execute the first voice control instruction according to the determination result includes: When the voice control instruction sent by the other wire controllers is different from the first voice control instruction, the first wire controller executes the first voice control instruction, wherein the other wire controllers respectively execute the voice control instructions they receive; In the case that the voice control instruction sent by the other wire controller is the same as the first voice control instruction, the first wire controller or the other wire controller broadcasts a voice signal, wherein the voice signal is used to request the user to indicate a specific control object.
3. The method according to claim 1, characterized in that The method further includes: the first wired controller uploading a first voice control instruction and the serial number of the first wired controller to the local multi-connection communication network.
4. The method according to claim 2, characterized in that The local multi-connection communication network determines whether the first wired controller or other wired controllers broadcast the voice signal.
5. A system for processing user voice commands, characterized in that: The method for processing user voice commands according to any one of claims 1 to 4 is adopted, wherein the system comprises: A plurality of wire controllers are respectively connected to a local multi-link communication network, wherein each wire controller uploads the received voice control instruction to the local multi-link communication network when the received voice control instruction does not include a specific control object; wherein the plurality of wire controllers include a first wire controller, which is any one of the plurality of wire controllers connected to the local multi-link communication network, and the first wire controller is used to perform the following steps: receiving a first voice control instruction from a user; determining whether the first voice control instruction includes a specific control object; and determining whether to immediately execute the first voice control instruction based on the determination result; wherein the step of determining whether to immediately execute the first voice control instruction based on the determination result comprises: immediately executing the first voice control instruction when the first voice control instruction includes a specific control object and the specific control object is associated with the first wire controller; and when the first voice control instruction does not include a specific control object, monitoring the local multi-link communication network to determine whether there is a voice control instruction received and uploaded by another wire controller, and determining whether to execute the first voice control instruction based on the monitoring result; The local multi-connection communication network is used to specify a target wired controller from the multiple wired controllers when the voice control instructions sent by the multiple wired controllers are the same, wherein the target wired controller broadcasts a voice signal, and the voice signal is used to request the user to indicate a clear control object.
6. The system according to claim 5, characterized in that When the voice control instruction received by the first wire controller among the multiple wire controllers includes a specific control object and the specific control object is associated with the first wire controller, the first wire controller directly executes the received voice control instruction.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program, when executed by a processor, causes the method of any one of claims 1 to 4 to be performed.
8. An electronic device comprising a memory and a processor, wherein the memory stores computer instructions, wherein: The computer instructions, when executed by the processor, cause the method of any one of claims 1 to 4 to be performed.
Citation Information
Patent Citations
Voice control method, smart home system, storage medium and computer device
CN107908116A
Voice control method and device, voice control node and system, and storage medium
CN110632854A