Search

CN-121983050-A - Voice control method and system for multiple external devices, electronic device and storage medium

CN121983050ACN 121983050 ACN121983050 ACN 121983050ACN-121983050-A

Abstract

The application provides a voice control method, a voice control system, an electronic device and a storage medium of multiple external devices, which relate to the technical field of voice control and are applied to target devices, wherein the target devices are in communication connection with at least one external device; the method comprises the steps of carrying out voice analysis on original voice data to obtain intention keywords, inquiring a device mapping relation table according to the intention keywords to obtain execution devices corresponding to the intention keywords, controlling the target devices to execute target device operation according to the original voice data if the execution devices are target devices, sending the original voice data to external devices if the execution devices are external devices, and executing external device operation according to the original voice data through the external devices. According to the application, voice control over a plurality of external devices can be realized directly through the target device, and the operation cost and the device cost of a user are reduced.

Inventors

  • LIU JIETANG

Assignees

  • 马栏山音视频实验室

Dates

Publication Date
20260505
Application Date
20260204

Claims (10)

  1. 1. A method for voice control of multiple external devices, the method being applied to a target device, the target device being communicatively connected to at least one external device, the method comprising: acquiring original voice data of a user through the target equipment; Performing voice analysis on the original voice data to obtain an intention keyword; inquiring a device mapping relation table according to the intention keywords to obtain execution devices corresponding to the intention keywords; If the executing equipment is the target equipment, controlling the target equipment to execute target equipment operation according to the original voice data; And if the execution device is the external device, sending the original voice data to the external device, and executing external device operation according to the original voice data through the external device.
  2. 2. The method for voice control of multiple external devices according to claim 1, wherein said voice parsing the original voice data to obtain intent keywords comprises: performing automatic voice recognition processing on the original voice data to obtain an initial text; and carrying out natural language processing on the initial text, and extracting the intention keywords representing the operation intention of the user.
  3. 3. The voice control method of multiple external devices according to claim 2, wherein the intention keywords include a combination of verb-like instruction words and object words, and the object words are matched with the functional domains of the target device and/or the external devices.
  4. 4. The voice control method of multiple external devices according to claim 1, wherein the device mapping relation table is preset by user-defined configuration or when the target device leaves the factory, the device mapping relation table includes a correspondence between at least one intention keyword and one execution device, and the execution device is the target device or the external device.
  5. 5. The voice control method of multiple external devices according to claim 1, wherein the controlling the target device to perform a target device operation according to the original voice data comprises: performing voice recognition and natural language processing according to the original voice data to obtain first operation data; Determining a first target component of the target equipment according to the first operation data, and generating a first operation instruction; and controlling the first target component to execute target equipment operation according to the first operation instruction.
  6. 6. The voice control method of multiple external devices according to claim 1, wherein the sending the original voice data to the external device comprises: and sending the original voice data to the external device through a preset communication interface on the target device.
  7. 7. The voice control method of multiple external devices according to claim 6, wherein said executing, by the external device, the external device operation according to the original voice data includes: Performing voice recognition processing on the original voice data through voice processing logic of the external equipment to obtain second operation data; determining a second target component of the external equipment according to the second operation data, and generating a second operation instruction; And controlling the second target component to execute external equipment operation according to the second operation instruction.
  8. 8. A voice control system for multiple external devices, the system being applied to a target device, the target device being communicatively coupled to at least one external device, the system comprising: The voice acquisition module is used for acquiring original voice data of a user through the target equipment; The voice analysis module is used for carrying out voice analysis on the original voice data to obtain an intention keyword; the intention judging module is used for inquiring the equipment mapping relation table according to the intention keywords and obtaining execution equipment corresponding to the intention keywords; The first execution module is used for controlling the target equipment to execute target equipment operation according to the original voice data if the execution equipment is the target equipment; and the second execution module is used for sending the original voice data to the external equipment if the execution equipment is the external equipment, and executing external equipment operation according to the original voice data through the external equipment.
  9. 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein execution of the computer program by the processor implements the method of speech control of a multi-external device as claimed in any one of claims 1 to 7.
  10. 10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements a speech control method of a multi-external device according to any of claims 1-7.

Description

Voice control method and system for multiple external devices, electronic device and storage medium Technical Field The application relates to the technical field of voice control, in particular to a voice control method and system for multiple external devices, electronic equipment and a storage medium. Background In the fields of smart home and audio-visual entertainment, external devices such as smart speakers, network set-top boxes, game hosts and the like supporting near-field voice interaction are gradually realizing large-scale application. Conventional solutions typically require that each device be equipped with a separate dedicated voice input device and access to a voice processing server dedicated to the device manufacturer to perform command recognition and control functions. At present, the implementation mode not only leads to the need of simultaneously operating a plurality of voice remote controllers for users, obviously increases the equipment acquisition cost and the operation complexity, and is more easy to cause confusion in the use process. Therefore, it is needed to solve the problem of complicated operation of the multiple remote controllers in the voice control of the external device. Disclosure of Invention In view of the above-mentioned shortcomings of the prior art, the application provides a voice control method, a voice control system, an electronic device and a storage medium for multiple external devices, which effectively solve the problem of complicated operation of multiple remote controllers in voice control of the external devices. In a first aspect, the present invention provides a method for controlling voice of multiple external devices, where the method is applied to a target device, and the target device is communicatively connected to at least one external device, and the method includes: acquiring original voice data of a user through the target equipment; Performing voice analysis on the original voice data to obtain an intention keyword; inquiring a device mapping relation table according to the intention keywords to obtain execution devices corresponding to the intention keywords; If the executing equipment is the target equipment, controlling the target equipment to execute target equipment operation according to the original voice data; And if the execution device is the external device, sending the original voice data to the external device, and executing external device operation according to the original voice data through the external device. In an optional embodiment, the performing voice parsing on the original voice data to obtain the intent keyword includes: performing automatic voice recognition processing on the original voice data to obtain an initial text; and carrying out natural language processing on the initial text, and extracting the intention keywords representing the operation intention of the user. In an alternative embodiment, the intent key word includes a combination of verb-like instruction words and object words, and the object words match the functional domains of the target device and/or the external device. In an optional embodiment, the device mapping relationship table is preset through user-defined configuration or when the target device leaves the factory, and the device mapping relationship table includes a correspondence between at least one intent keyword and one execution device, where the execution device is the target device or the external device. In an alternative embodiment, the controlling the target device to perform a target device operation according to the original voice data includes: performing voice recognition and natural language processing according to the original voice data to obtain first operation data; Determining a first target component of the target equipment according to the first operation data, and generating a first operation instruction; and controlling the first target component to execute target equipment operation according to the first operation instruction. In an optional implementation manner, the sending the original voice data to the external device includes: and sending the original voice data to the external device through a preset communication interface on the target device. In an optional implementation manner, the executing, by the external device, the external device operation according to the original voice data includes: Performing voice recognition processing on the original voice data through voice processing logic of the external equipment to obtain second operation data; determining a second target component of the external equipment according to the second operation data, and generating a second operation instruction; And controlling the second target component to execute external equipment operation according to the second operation instruction. In a second aspect, the present invention provides a voice control system for multiple external devices, the system being applie