CN111554291B - Equipment control method, voice input terminal, voice platform and storage medium - Google Patents
Equipment control method, voice input terminal, voice platform and storage medium Download PDFInfo
- Publication number
- CN111554291B CN111554291B CN202010418131.7A CN202010418131A CN111554291B CN 111554291 B CN111554291 B CN 111554291B CN 202010418131 A CN202010418131 A CN 202010418131A CN 111554291 B CN111554291 B CN 111554291B
- Authority
- CN
- China
- Prior art keywords
- voice
- voice input
- input terminal
- command
- input terminals
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000006243 chemical reaction Methods 0.000 claims abstract description 52
- 238000004590 computer program Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 abstract description 3
- 238000003032 molecular docking Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/28—Constructional details of speech recognition systems
- G10L15/30—Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/282—Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Acoustics & Sound (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention relates to the technical field of communication and discloses a device control method, which comprises the following steps: when a voice command is received, the voice command is sent to a voice platform so that the voice platform can convert the voice command into a device control command according to the voice command; and if receiving the information of the conversion errors returned by the voice platform according to the voice command, sending the voice command to other voice input terminals according to the information. The embodiment of the invention also provides a voice input terminal, a voice platform and a storage medium. The device control method, the voice input terminal, the voice platform and the storage medium provided by the embodiment of the invention can improve the flexibility and user experience of voice instruction input.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device control method, a voice input terminal, a voice platform, and a storage medium.
Background
The intelligent home uses the home as a platform, integrates facilities related to home life by utilizing technologies such as comprehensive wiring, network communication, safety precaution, automatic control and the like, constructs an efficient management system of home facilities and family schedule matters, improves the safety, convenience, comfort and artistry of the home, and realizes an environment-friendly and energy-saving living environment.
The conventional control means of the smart home devices are generally controlled by a dedicated terminal (such as a scene panel) or a mobile phone APP. With the increasing perfection of speech recognition technology, methods for controlling intelligent home devices by using intelligent sound boxes are presented: the intelligent sound box receives a voice instruction input by a user and forwards the voice instruction to the voice platform; the voice platform performs semantic recognition on the voice instruction and converts the voice instruction into a control instruction, and the control instruction is sent to a control platform of the intelligent household equipment; and the control platform completes the control of the intelligent household equipment according to the control instruction.
However, the inventors found that the prior art has at least the following problems: smart home devices typically include a variety of different smart devices, with different smart devices having different device control protocols. When controlling different intelligent devices, a user needs to input voice instructions to an intelligent sound box corresponding to the intelligent device to control the intelligent device, the voice instructions are not input flexibly, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention aims to provide a device control method, a voice input terminal, a voice platform and a storage medium, and improves flexibility and user experience of voice instruction input.
In order to solve the above technical problems, an embodiment of the present invention provides an apparatus control method, applied to a voice input terminal, including: when a voice command is received, the voice command is sent to a voice platform so that the voice platform can convert the voice command into a device control command according to the voice command; if the voice platform receives the conversion error information returned according to the voice command, the voice command is sent to other voice input terminals according to the information.
The embodiment of the invention also provides a voice input terminal, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the device control method described above.
The embodiment of the invention also provides a voice platform, which comprises: the conversion module is used for receiving the voice command sent by the voice input terminal and converting the voice command into a device control command; and the feedback module is used for transmitting the information of the conversion error to the voice input terminal when the voice instruction is converted into the equipment control instruction to be in error, so that the voice input terminal can forward the voice instruction to other voice input terminals according to the information.
The embodiment of the invention also provides a computer readable storage medium storing a computer program which when executed by a processor realizes the device control method.
Compared with the prior art, the embodiment of the invention has the advantages that when the voice command is received, the voice command is sent to the voice platform, so that the voice platform can be converted into the equipment control command according to the voice command; if receiving the conversion error information returned by the voice platform according to the voice command, sending the voice command to other voice input terminals according to the conversion error information. Through joint cooperation among the voice input terminals, the voice command can be forwarded to the proper voice input terminal and converted into a device control command by the corresponding voice platform, so that when a user needs to control the device, the purpose of successfully controlling the target device can be achieved by inputting the voice command to any voice input terminal, and the flexibility and user experience of voice command input are improved.
In addition, the information of the conversion error comprises semantic text converted according to the voice instruction, the semantic text comprises a target wake-up word of a target voice input terminal, and the target voice input terminal corresponds to target equipment for controlling the voice instruction; if receiving the conversion error information returned by the voice platform according to the voice instruction, sending the voice instruction to other voice input terminals according to the information, wherein the method comprises the following steps: when receiving the conversion error information returned by the voice platform according to the voice instruction, determining a receiving object of the voice instruction as a target voice input terminal according to a target wake-up word; and sending the semantic text to the target voice input terminal. Through the target wake-up words included in the returned information, the proper receiving object of the voice command can be rapidly determined, the voice command is not required to be forwarded to all other voice input terminals or to other voice input terminals one by one, the efficiency of forwarding the voice command is improved, and meanwhile, the efficiency of controlling equipment according to the voice command is also improved.
In addition, before receiving the information of the conversion error returned by the voice platform according to the voice command, the voice command is sent to other voice input terminals according to the information, the method further comprises the following steps: broadcasting other voice input terminals in the network, and receiving and storing IP addresses fed back by the other voice input terminals according to the broadcasting; according to the information, sending the voice command to other voice input terminals, specifically: and sending the voice command to the other voice input terminals according to the information and the IP addresses of the other voice input terminals. Through broadcasting other voice input terminals in the network, the IP addresses of the other voice input terminals can be obtained, so that the forwarding of voice instructions is realized according to the IP addresses of the other voice input terminals.
In addition, other voice input terminals in the network are broadcasted, specifically: broadcasting the IP address of the voice input terminal to other voice input terminals in the network; the device control method further includes: and receiving and storing IP addresses broadcast by other voice input terminals newly connected to the network, and transmitting the IP addresses of the other voice input terminals to the voice input terminal currently broadcast. Through broadcasting or sending IP addresses between the voice input terminals, each voice input terminal stores the IP addresses of other voice input terminals, so that voice instructions can be forwarded in any voice input terminal, and the flexibility of voice instruction input is improved.
In addition, before receiving the information of the conversion error returned by the voice platform according to the voice command, the voice command is sent to other voice input terminals according to the information, the method further comprises the following steps: broadcasting other voice input terminals in the network, and receiving and storing IP addresses and wake-up words fed back by the other voice input terminals according to the broadcasting; determining a receiving object of the voice instruction as a target voice input terminal according to the target wake-up word, including: matching the target wake-up word with the stored wake-up word, and determining a receiving object of the voice instruction as a target voice input terminal according to a matching result; the semantic text is sent to a target voice input terminal, specifically: and sending the semantic text to the target voice input terminal according to the IP address of the target voice input terminal. The intercommunication between the voice input terminals can be realized by broadcasting or transmitting the IP address and the wake-up word between the voice input terminals; when the wake-up word is acquired, a proper target voice input terminal can be rapidly determined according to the matching of the wake-up word and the voice command is forwarded, so that the efficiency of forwarding the voice command is improved; meanwhile, when the voice command is forwarded, the semantic text with smaller file size is converted, so that the receiving speed of the target voice input terminal is improved, and the occupation of network bandwidth is reduced.
In addition, other voice input terminals in the network are broadcasted, specifically: broadcasting the IP address and the wake-up word to other voice input terminals in the network; the device control method further includes: and receiving and storing the IP addresses and wake-up words broadcast by other voice input terminals newly connected to the network, and transmitting the IP addresses and the wake-up words to the voice input terminals currently broadcast. By broadcasting or transmitting the IP address and the wake-up word between the voice input terminals, each voice input terminal stores the IP address and the wake-up word of other voice input terminals, so that the receiving object of the voice instruction can be determined according to the wake-up word, and any voice input terminal can forward the voice instruction through the stored IP address when receiving the voice instruction.
In addition, the voice command is used for controlling target equipment, and the target equipment corresponds to the target voice input terminal; the conversion module is also used for: converting the voice instruction into a semantic text, and converting the semantic text into a device control instruction, wherein the semantic text comprises wake-up words of a target voice input terminal; the feedback module is also used for: when the semantic text is converted into the equipment control instruction to make errors, the information of the conversion errors and the semantic text are sent to the voice input terminal, so that the voice input terminal forwards the semantic text to the target voice input terminal according to the information and the wake-up word. When the conversion is wrong, the voice platform sends the information of the conversion error and the semantic text containing the wake-up word of the target voice input terminal to the voice input terminal, so that the voice input terminal can determine the proper target voice input terminal according to the wake-up word, and after the voice command is forwarded to the target voice input terminal, the voice command is quickly converted into a device control command through the platform corresponding to the target voice input terminal, and the control of the device is realized.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings.
Fig. 1 is a schematic flow chart of a device control method according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of an apparatus control method according to a first embodiment of the present invention;
fig. 3 is a schematic flow chart of a device control method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a voice input terminal according to a third embodiment of the present invention;
fig. 5 is a schematic block diagram of a voice platform according to a fourth embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art will understand that in various embodiments of the present invention, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
The first embodiment of the invention relates to a device control method, which is characterized in that when a voice command is received, the voice command is sent to a voice platform so that the voice platform can be converted into a device control command according to the voice command; if receiving the conversion error information returned by the voice platform according to the voice command, sending the voice command to other voice input terminals according to the conversion error information. Through joint cooperation among the voice input terminals, the voice command can be forwarded to the proper voice input terminal and converted into a device control command by the corresponding voice platform, so that when a user needs to control the device, the purpose of successfully controlling the target device can be achieved by inputting the voice command to any voice input terminal, and the flexibility and user experience of voice command input are improved.
It should be noted that, the device control method provided in the embodiment of the present invention is applied to a voice input terminal, that is, the execution body is the voice input terminal. The voice input terminal is a terminal device which can be connected to a voice platform and has a voice input function, for example, an intelligent sound box or a mobile phone and the like; in addition, in order to make the voice input terminal forward the voice command to other voice input terminals, the voice input terminal should be connected with other voice input terminals, and the specific connection mode may be selected according to actual needs, which is not limited herein. Optionally, the voice input terminal is an intelligent sound box.
It can be understood that the device control method provided by the embodiment of the invention is realized under the joint cooperation of the voice input terminals, and the content of the device control method is the content executed by a single voice input terminal. Each voice input terminal corresponds to a voice platform. Optionally, the voice platforms corresponding to the voice input terminals may be the same or different. Alternatively, the types of devices controlled by each voice input terminal through the corresponding voice platform may be the same or different.
The device for controlling the device control method provided by the embodiment of the invention can be smart home devices, such as an intelligent air conditioner, an intelligent washing machine or an intelligent television, and can also be other devices, and the device control method is not particularly limited herein.
The specific flow of the device control method provided by the embodiment of the invention is shown in fig. 1, and specifically comprises the following steps:
s101: when the voice command is received, the voice command is sent to the voice platform so that the voice platform can convert the voice command into a device control command according to the voice command.
Wherein the voice command is used to control the device to be controlled (i.e., the target device). Alternatively, the voice command received by the voice input terminal may be a voice command directly input by the user, or may be a voice command forwarded by other voice input terminals.
Optionally, after the voice command is converted into the device control command by the voice platform, the device control command is sent to the device control platform of the device to be controlled, and the device control platform completes the control of the device to be controlled.
S102: if receiving the conversion error information returned by the voice platform according to the voice instruction, sending the voice instruction to other voice input terminals according to the information.
It can be understood that if the voice input terminal does not receive the information of the conversion error returned by the voice platform according to the voice command, the voice command can be smoothly converted into the device control command by the voice platform, and the voice input terminal does not need to forward the voice command to other voice input terminals.
When receiving the conversion error information returned by the voice platform according to the voice command, the voice platform corresponding to the current voice input terminal can not convert the voice command into the equipment control command, namely the equipment type corresponding to the current voice input terminal is different from the equipment type to be controlled, and the current voice input terminal sends the voice command to other voice input terminals.
Optionally, when the current voice input terminal sends the voice command to other voice input terminals, the voice command may be sent to all other connected voice input terminals, and all other voice input terminals respectively send the voice command to respective corresponding voice platforms, and when the voice platforms corresponding to all other voice input terminals include voice platforms capable of converting the voice command, the voice command is converted into a device control command, so as to complete control of the device; or the current voice input terminal sends the voice command to any other voice input terminal, and when the voice platform corresponding to the forwarded voice input terminal cannot complete the conversion of the voice command, the voice command is forwarded to another voice input terminal until the voice platform corresponding to one voice input terminal converts the voice command into the equipment control command. The manner of forwarding the voice command between the voice input terminals can be specifically set according to actual needs, and is not specifically limited herein.
In a specific example, before S102, the method further includes: broadcasting other voice input terminals in the network, and receiving and storing IP addresses fed back by the other voice input terminals according to the broadcasting; according to the information, sending the voice command to other voice input terminals, specifically: and sending the voice command to the other voice input terminals according to the information and the IP addresses of the other voice input terminals.
The network may be the internet or a local area network. Alternatively, in an embodiment of the present invention, the network is a residential local area network. It can be understood that sending voice instructions to other voice input terminals in the local area network can realize control of devices in the residence range; meanwhile, the voice command is forwarded in the residential range, so that the safety of the voice command forwarding can be ensured.
When the voice input terminal broadcasts other voice input terminals in the network, the broadcast content can be set according to actual requirements. Optionally, the voice input terminal broadcasts its own IP address to other voice input terminals in the network. Optionally, the voice input terminal broadcasts other voice input terminals already in the network when accessing to the network, and the specific broadcasting time may be set according to actual needs, which is not limited herein.
Through broadcasting other voice input terminals in the network, the IP addresses of the other voice input terminals can be obtained, so that the forwarding of voice instructions is realized according to the IP addresses of the other voice input terminals.
Optionally, the device control method provided by the embodiment of the invention further includes: and receiving and storing the IP addresses broadcast by other voice input terminals newly connected to the network, and transmitting the IP addresses of the other voice input terminals to the voice input terminal currently broadcast.
Through broadcasting or sending IP addresses between the voice input terminals, each voice input terminal stores the IP addresses of other voice input terminals, so that voice instructions can be forwarded in any voice input terminal, and the flexibility of voice instruction input is improved.
Fig. 2 is a schematic diagram of an apparatus control method according to an embodiment of the invention. The voice input terminal in fig. 2 is a sound box. Specifically, a user inputs a voice command for controlling equipment B to an A sound box, the A sound box sends the voice command to an A voice platform after receiving the voice command, the A voice platform cannot convert the voice command into an equipment control command, and information of conversion errors is returned to the A sound box; after receiving the information of the conversion error, the A sound box sends a voice instruction to the B sound box through a network; after receiving the voice command converted by the A sound box, the B sound box sends the voice command to the B voice platform; after the voice command is converted into the equipment control command by the voice platform B, the equipment control command is sent to the equipment control platform of the equipment B, and the equipment control platform of the equipment B completes the control of the equipment B.
It should be understood that although the same technical effect can be achieved in theory through the manner of docking the voice platform, that is, the voice instruction is forwarded to other voice platforms through the voice platform, and the voice platform completes the conversion of the voice instruction, so as to achieve the purpose of successfully controlling the equipment, because the manner of docking the voice platform involves various works such as preparation of basic equipment, development of docking the platform, operation maintenance after docking, and the like, and the protocol of the voice platform is usually strong in privacy, the development of docking the platform cannot be reused, so that the manner of docking through the voice platform is difficult and high in cost. The device control method provided by the embodiment of the invention achieves the aim of successfully controlling the device by forwarding the voice input terminals, and has the advantages of smaller difficulty and lower cost compared with a mode of docking through the voice platforms because docking between the voice platforms is not needed.
Compared with the prior art, the equipment control method provided by the embodiment of the invention has the advantages that when the voice command is received, the voice command is sent to the voice platform, so that the voice platform can be converted into the equipment control command according to the voice command; if receiving the conversion error information returned by the voice platform according to the voice command, sending the voice command to other voice input terminals according to the conversion error information. Through joint cooperation among the voice input terminals, the voice command can be forwarded to the proper voice input terminal and converted into a device control command by the corresponding voice platform, so that when a user needs to control the device, the purpose of successfully controlling the target device can be achieved by inputting the voice command to any voice input terminal, and the flexibility and user experience of voice command input are improved.
A second embodiment of the present invention relates to an apparatus control method. The second embodiment is substantially the same as the first embodiment, and differs mainly in that: the information of the conversion errors returned by the voice platform comprises semantic text converted according to the voice instruction, the semantic text comprises a target wake-up word of a target voice input terminal, and the target voice input terminal corresponds to target equipment for controlling the voice instruction.
The specific flow of the device control method provided by the embodiment of the invention is shown in fig. 3, and specifically comprises the following steps:
s201: when the voice command is received, the voice command is sent to the voice platform so that the voice platform can convert the voice command into a device control command according to the voice command.
S201 is the same as S101 in the first embodiment, and specific reference may be made to the specific description in the first embodiment, and in order to avoid repetition, a description is omitted here.
S202: when receiving information of conversion errors returned by the voice platform according to the voice instruction, determining a receiving object of the voice instruction as a target voice input terminal according to a target wake-up word, wherein the information of the conversion errors comprises semantic texts converted according to the voice instruction, the semantic texts comprise the target wake-up word of the target voice input terminal, and the target voice input terminal corresponds to target equipment for controlling the voice instruction.
The semantic text refers to a text obtained according to the semantic of a voice instruction, for example, the voice instruction is a voice frequency of 'small degree, please help me open an air conditioner', and the voice platform performs voice recognition on the voice frequency to obtain a text with the semantic of 'small degree, please help me open the air conditioner'.
In the embodiment of the invention, after receiving the voice command, the voice platform converts the voice command into a semantic text and then converts the semantic text into a device control command. Optionally, the conversion error information returned by the voice platform according to the voice instruction refers to the conversion error information of the semantic text into the device control instruction, that is, the voice platform can convert the voice instruction into the semantic text, but only the proper voice platform can convert the semantic text into the device control instruction.
Because the voice platform can convert the voice instruction into the semantic text, the voice platform can return the semantic text to the voice input terminal together with the information of the conversion error. It will be appreciated that in order to wake up the corresponding device and cause it to execute the instruction, the voice instruction will typically need to have a corresponding wake-up word, e.g. the "small" in the above example is the wake-up word. Because the semantic text comprises the wake-up word, the voice input terminal can determine the actual receiving object of the voice instruction according to the wake-up word in the semantic text. Optionally, in the embodiment of the present invention, each voice input terminal corresponds to a wake-up word.
Alternatively, the corresponding relation between the wake-up words of all the voice input terminals and the voice input terminals may be stored in the voice input terminals in advance, so that when the voice input terminals acquire the wake-up words in the semantic text, the voice input terminals corresponding to the wake-up words are determined to be the target voice input terminals.
S203: and sending the semantic text to the target voice input terminal.
It should be appreciated that, because the file of the semantic text is smaller, the manner in which the semantic text is forwarded between voice input terminals may achieve a faster forwarding speed and occupy relatively less bandwidth than forwarding voice instructions (audio files and files are larger).
Alternatively, the voice input terminals may have IP addresses of the respective voice input terminals stored therein in advance. And when the semantic text is sent to the target voice input terminal, the semantic text is sent to the target voice input terminal according to the IP address of the target voice input terminal.
In a specific example, before S203, the device control method provided by the embodiment of the present invention further includes: and broadcasting other voice input terminals in the network, and receiving and storing the IP address and wake-up words fed back by the other voice input terminals according to the broadcasting. In S202, determining, according to the target wake-up word, that the receiving object of the voice command is the target voice input terminal, including: matching the target wake-up word with the stored wake-up word, and determining a receiving object of the voice instruction as a target voice input terminal according to a matching result; in S203, the semantic text is sent to the target voice input terminal, specifically: and sending the semantic text to the target voice input terminal according to the IP address of the target voice input terminal.
The intercommunication between the voice input terminals can be realized by broadcasting or transmitting the IP address and the wake-up word between the voice input terminals; when the wake-up word is acquired, a proper target voice input terminal can be rapidly determined according to the matching of the wake-up word and the voice command is forwarded, so that the efficiency of forwarding the voice command is improved; meanwhile, when the voice command is forwarded, the semantic text with smaller file size is converted, so that the receiving speed of the target voice input terminal is improved, and the occupation of network bandwidth is reduced.
In a specific example, other voice input terminals in the network are broadcasted, specifically: broadcasting the IP address and the wake-up word to other voice input terminals in the network.
Optionally, the device control method provided by the embodiment of the invention further includes: and receiving and storing the IP addresses and wake-up words broadcast by other voice input terminals newly connected to the network, and transmitting the IP addresses and the wake-up words to the voice input terminals currently broadcast.
Through broadcasting or sending the IP address and the wake-up word between the voice input terminals, each voice input terminal stores the IP address and the wake-up word of other voice input terminals, so that a proper receiving object of the voice instruction can be determined according to the wake-up word, and any voice input terminal can forward the voice instruction through the stored IP address when receiving the voice instruction.
Compared with the prior art, the device control method provided by the embodiment of the invention can quickly determine the proper receiving object of the voice command through the target wake-up word included in the returned information, and does not need to forward the voice command to all other voice input terminals or forward the voice command to other voice input terminals one by one, thereby improving the efficiency of forwarding the voice command and improving the efficiency of controlling the device according to the voice command.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they contain the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A third embodiment of the present invention relates to a voice input terminal, as shown in fig. 4, comprising at least one processor 301; and a memory 302 communicatively coupled to the at least one processor 301; the memory 302 stores instructions executable by the at least one processor 301, the instructions being executable by the at least one processor 301 to enable the at least one processor 301 to perform the device control method described above.
Where the memory 302 and the processor 301 are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting the various circuits of the one or more processors 301 and the memory 302 together. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 301 is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor 301.
The processor 301 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 302 may be used to store data used by processor 301 in performing operations.
A fourth embodiment of the present invention relates to a voice platform 400, as shown in fig. 5, comprising: a conversion module 401 and a feedback module 402. The functions of each module are described in detail as follows:
the conversion module 401 is configured to receive a voice command sent by the voice input terminal, and convert the voice command into a device control command;
and the feedback module 402 is configured to, when the conversion of the voice command into the device control command is wrong, send the information of the conversion error to the voice input terminal, so that the voice input terminal forwards the voice command to other voice input terminals according to the information.
Further, the voice command is used for controlling target equipment, and the target equipment corresponds to the target voice input terminal;
the conversion module 401 is further configured to: converting the voice instruction into a semantic text, and converting the semantic text into a device control instruction, wherein the semantic text comprises wake-up words of a target voice input terminal;
the feedback module 402 is further configured to: when the semantic text is converted into the equipment control instruction to make errors, the information of the conversion errors and the semantic text are sent to the voice input terminal, so that the voice input terminal forwards the semantic text to the target voice input terminal according to the information and the wake-up word.
In practical applications, the feedback module 402 may be implemented by a small amount of interface enhancement based on the existing voice platform, so that the voice platform returns the information of the conversion error to the voice input terminal when the voice command is converted into the device control command error.
Compared with the prior art, the voice platform provided by the embodiment of the invention can enable the voice input terminal to forward voice instructions to other voice input terminals according to the information of the conversion errors by returning the information of the conversion errors to the voice input terminal when the conversion errors occur; through the joint cooperation of the voice platforms, when a user needs to control any equipment, the purpose of controlling the equipment can be achieved by inputting voice instructions to any voice input terminal, and the flexibility and the user experience of voice instruction input are improved.
It is to be noted that this embodiment is an example of the voice platform side corresponding to the first embodiment and the second embodiment, and can be implemented in cooperation with the first embodiment and the second embodiment. The related technical details mentioned in the first embodiment and the second embodiment are still valid in this embodiment, and in order to reduce repetition, a detailed description is omitted here. Accordingly, the related technical details mentioned in the present embodiment can also be applied to the first embodiment and the second embodiment.
It should be noted that each module in this embodiment is a logic module, and in practical application, one logic unit may be one physical unit, or may be a part of one physical unit, or may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, units that are not so close to solving the technical problem presented by the present invention are not introduced in the present embodiment, but this does not indicate that other units are not present in the present embodiment.
A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that implementing all or part of the steps in the methods of the embodiments described above may be accomplished by a program stored in a storage medium, including several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments described herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples of carrying out the invention and that various changes in form and details may be made therein without departing from the spirit and scope of the invention.
Claims (10)
1. A device control method, applied to a voice input terminal, comprising:
when a voice command is received, the voice command is sent to a voice platform so that the voice platform can convert the voice command into a device control command according to the voice command;
and if receiving the information of the conversion errors returned by the voice platform according to the voice command, sending the voice command to other voice input terminals according to the information.
2. The apparatus control method according to claim 1, wherein the information of the conversion error includes a semantic text converted according to the voice instruction, the semantic text including a target wake-up word of a target voice input terminal corresponding to a target apparatus for control of the voice instruction;
and if receiving the information of the conversion error returned by the voice platform according to the voice instruction, sending the voice instruction to other voice input terminals according to the information, wherein the method comprises the following steps:
when receiving the conversion error information returned by the voice platform according to the voice instruction, determining that the receiving object of the voice instruction is the target voice input terminal according to the target wake-up word;
and sending the semantic text to the target voice input terminal.
3. The apparatus control method according to claim 1, further comprising, before said sending the voice command to the other voice input terminal according to the information if the information of the conversion error returned by the voice platform according to the voice command is received:
broadcasting other voice input terminals in the network, and receiving and storing IP addresses fed back by the other voice input terminals according to the broadcasting;
the voice command is sent to other voice input terminals according to the information, specifically:
and sending the voice command to other voice input terminals according to the information and the IP addresses of the other voice input terminals.
4. A device control method according to claim 3, wherein the broadcasting of other voice input terminals in the network is performed by:
broadcasting the IP address of the voice input terminal to other voice input terminals in the network;
the device control method further includes:
and receiving and storing the IP addresses broadcast by other voice input terminals newly connected to the network, and transmitting the IP addresses of the other voice input terminals to the voice input terminal currently broadcast.
5. The apparatus control method according to claim 2, further comprising, before said sending the voice command to the other voice input terminal according to the information if the information of the conversion error returned by the voice platform according to the voice command is received:
broadcasting other voice input terminals in the network, and receiving and storing IP addresses and wake-up words fed back by the other voice input terminals according to the broadcasting;
the determining that the receiving object of the voice command is the target voice input terminal according to the target wake-up word comprises:
matching the target wake-up word with the stored wake-up word, and determining that the receiving object of the voice instruction is the target voice input terminal according to the matching result;
the sending the semantic text to the target voice input terminal specifically comprises the following steps:
and sending the semantic text to the target voice input terminal according to the IP address of the target voice input terminal.
6. The device control method according to claim 5, wherein the broadcasting of other voice input terminals in the network is performed by:
broadcasting the IP address and the wake-up word to other voice input terminals in the network;
the device control method further includes:
and receiving and storing the IP addresses and wake-up words broadcast by other voice input terminals newly connected to the network, and transmitting the IP addresses and the wake-up words to the voice input terminals currently broadcast.
7. A voice input terminal, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the device control method of any one of claims 1-6.
8. A voice platform, comprising:
the conversion module is used for receiving a voice command sent by the voice input terminal and converting the voice command into a device control command;
and the feedback module is used for transmitting the information of the conversion error to the voice input terminal when the voice instruction is converted into the equipment control instruction error, so that the voice input terminal can forward the voice instruction to other voice input terminals according to the information.
9. The voice platform of claim 8, wherein the voice command is used to control a target device, the target device corresponding to a target voice input terminal;
the conversion module is further configured to: converting the voice instruction into a semantic text, and converting the semantic text into a device control instruction, wherein the semantic text comprises a wake-up word of the target voice input terminal;
the feedback module is further configured to: when the semantic text is converted into the equipment control instruction to be in error, transmitting the information of the conversion error and the semantic text to the voice input terminal, so that the voice input terminal can forward the semantic text to the target voice input terminal according to the information and the wake-up word.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the device control method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010418131.7A CN111554291B (en) | 2020-05-18 | 2020-05-18 | Equipment control method, voice input terminal, voice platform and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010418131.7A CN111554291B (en) | 2020-05-18 | 2020-05-18 | Equipment control method, voice input terminal, voice platform and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111554291A CN111554291A (en) | 2020-08-18 |
CN111554291B true CN111554291B (en) | 2023-04-28 |
Family
ID=72000896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010418131.7A Active CN111554291B (en) | 2020-05-18 | 2020-05-18 | Equipment control method, voice input terminal, voice platform and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111554291B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112767934A (en) * | 2020-12-22 | 2021-05-07 | 未来穿戴技术有限公司 | Massage equipment control method, related device and computer storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001156852A (en) * | 1999-11-29 | 2001-06-08 | Nec Corp | Network address conversion device |
JP2015172657A (en) * | 2014-03-12 | 2015-10-01 | 株式会社東芝 | Voice synthesis system, voice conversion support device, and voice conversion support method |
CN107369445A (en) * | 2016-05-11 | 2017-11-21 | 上海禹昌信息科技有限公司 | The method for supporting voice wake-up and Voice command intelligent terminal simultaneously |
WO2018224189A1 (en) * | 2017-06-09 | 2018-12-13 | Bang & Olufsen A/S | An instruction forwarding system for a voice assistant |
CN110428836A (en) * | 2019-09-02 | 2019-11-08 | 深圳市丰润达科技有限公司 | Internet of things equipment control method, information forwarding device and Internet of Things server |
CN110556112A (en) * | 2018-05-30 | 2019-12-10 | 夏普株式会社 | operation support device, operation support system, and operation support method |
CN110971968A (en) * | 2019-11-27 | 2020-04-07 | 四川九州电子科技股份有限公司 | Intelligent set top box system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8825020B2 (en) * | 2012-01-12 | 2014-09-02 | Sensory, Incorporated | Information access and device control using mobile phones and audio in the home environment |
-
2020
- 2020-05-18 CN CN202010418131.7A patent/CN111554291B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001156852A (en) * | 1999-11-29 | 2001-06-08 | Nec Corp | Network address conversion device |
JP2015172657A (en) * | 2014-03-12 | 2015-10-01 | 株式会社東芝 | Voice synthesis system, voice conversion support device, and voice conversion support method |
CN107369445A (en) * | 2016-05-11 | 2017-11-21 | 上海禹昌信息科技有限公司 | The method for supporting voice wake-up and Voice command intelligent terminal simultaneously |
WO2018224189A1 (en) * | 2017-06-09 | 2018-12-13 | Bang & Olufsen A/S | An instruction forwarding system for a voice assistant |
CN110556112A (en) * | 2018-05-30 | 2019-12-10 | 夏普株式会社 | operation support device, operation support system, and operation support method |
CN110428836A (en) * | 2019-09-02 | 2019-11-08 | 深圳市丰润达科技有限公司 | Internet of things equipment control method, information forwarding device and Internet of Things server |
CN110971968A (en) * | 2019-11-27 | 2020-04-07 | 四川九州电子科技股份有限公司 | Intelligent set top box system |
Also Published As
Publication number | Publication date |
---|---|
CN111554291A (en) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9009373B2 (en) | Method for implementing audio transmission and mobile terminal | |
KR101706876B1 (en) | Service processing method and device | |
US20230053765A1 (en) | Speech Control Method and Apparatus, Server, Terminal Device, and Storage Medium | |
US20180203850A1 (en) | Method for Multilingual Translation in Network Voice Communications | |
CN110932953A (en) | Intelligent household control method and device, computer equipment and storage medium | |
EP2858326B1 (en) | Service information discovery method and device | |
CN106251873A (en) | Sound control method and speech control system | |
CN113625589A (en) | Equipment control method and device, electronic equipment and storage medium | |
CN105245521A (en) | Protocol format conversion method and device and interface platform | |
CN108601007A (en) | Blueteeth network and its network-building method, main equipment, from equipment | |
CN111554291B (en) | Equipment control method, voice input terminal, voice platform and storage medium | |
CN104301800A (en) | Cloud service achieving method, device and system | |
CN104426816A (en) | Virtual machine communication method and device | |
CN109194552A (en) | Intelligent home furnishing control method, interconnecting device and main control device | |
CN103414613A (en) | Method and system for synchronously opening and closing share application of multiple devices | |
CN109361746A (en) | A kind of document transmission method of Internet of Things, work board and readable storage medium storing program for executing | |
CN112422565A (en) | Message processing method and device, storage medium and electronic device | |
CN117424774A (en) | Communication anti-interference method and device, electronic equipment and storage medium | |
CN106936937B (en) | Method and device for realizing universal interface for internet service interaction | |
CN109995475A (en) | A kind of control method of intelligent terminal, device, storage medium and electronic equipment | |
CN103516775B (en) | A kind of method and system realizing equipment room Fast synchronization | |
JP2024520947A (en) | Signal transmission method, signal reception method, communication node, and storage medium | |
CN113938469A (en) | non-SIP protocol terminal and SIP protocol terminal conversation method, gateway and SIP server | |
CN102946555A (en) | Method and system for controlling directional reception of data broadcasting business | |
CN115766897B (en) | Gateway management method and device, intelligent gateway and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |