CN111429900B - Method and system for realizing voice programming of user-defined control of central control equipment - Google Patents
Method and system for realizing voice programming of user-defined control of central control equipment Download PDFInfo
- Publication number
- CN111429900B CN111429900B CN202010171471.4A CN202010171471A CN111429900B CN 111429900 B CN111429900 B CN 111429900B CN 202010171471 A CN202010171471 A CN 202010171471A CN 111429900 B CN111429900 B CN 111429900B
- Authority
- CN
- China
- Prior art keywords
- voice
- trigger
- prompt
- response
- programming
- 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
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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 OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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]
Abstract
The invention provides a method and a system for realizing voice programming of user-defined control of central control equipment, wherein the method comprises the following steps: step S1: acquiring a first trigger voice for triggering programming, entering a programming mode, and programming; step S2: playing a first prompt voice prompting to input a first control instruction; and step S3: receiving a first response voice of a user to the first prompt voice, and inputting a first control instruction from a control instruction library to a program according to the first response voice; and step S4: and playing a second prompt voice for prompting whether to continue. The method for realizing the voice programming of the user-defined control of the central control equipment can finish a series of control actions by adopting one trigger voice through a voice programming program, the central control equipment can realize the binding and the control with other equipment, and the cooperative control of the user-defined series of equipment of the central control equipment can be realized through the mode; the central control equipment is more intelligent and personalized.
Description
Technical Field
The invention relates to the technical field of awakening, in particular to a voice programming method and system for realizing user-defined control of central control equipment.
Background
At present, the central control equipment can be bound and controlled with a plurality of pieces of equipment, and the voice control of the existing central control equipment can only simply control one piece of equipment at each time, such as turning on an air conditioner, turning off light and the like.
If a plurality of central control devices need to be controlled simultaneously, the triggering voice needs to be spoken one by one, which is troublesome, not intelligent enough and personalized.
Disclosure of Invention
The invention provides a method for realizing the voice programming of the user-defined control of central control equipment, which classifies an awakening system, adopts a step-by-step awakening mechanism and a step-by-step power-on mechanism, reduces the false awakening rate of the whole chip and greatly reduces the whole power consumption of the chip.
The embodiment of the invention provides a method for realizing voice programming of user-defined control of central control equipment, which comprises the following steps:
step S1: acquiring a first trigger voice for triggering programming, entering a programming mode, and programming;
step S2: playing a first prompt voice prompting to input a first control instruction;
and step S3: receiving a first response voice of a user to the first prompt voice, and inputting a first control instruction from a control instruction library to a program according to the first response voice;
and step S4: playing a second prompt voice prompting whether to continue;
step S5: receiving a second response voice of the user to the second prompt voice, and inputting a next control instruction from the control instruction library to the program according to the second response voice;
step S6: repeating the step S4 to the step S5 until the programming mode exits when the second response voice is not received or the third response voice representing the exit of the programming mode is received within the preset time;
step S7: playing a third prompt voice prompting the input trigger voice after exiting the programming mode,
step S8: receiving a fourth response voice of the user to the third prompt voice, and determining a second trigger voice of the program based on the fourth response voice;
step S9: and correspondingly storing the program and the second trigger voice into the command word trigger table.
Preferably, step S8: receiving a fourth response voice of the user to the third prompt voice, and determining a second trigger voice based on the fourth response voice; the method comprises the following steps:
step S11: receiving a fourth response voice of the user to the third prompt voice;
step S12: matching the fourth response voice with each third trigger voice in the command word trigger list in a one-to-one correspondence manner;
step S13: when the matching does not exist, taking the fourth response voice as a second trigger voice of the program;
step S14: when matching is consistent, outputting a fourth prompt voice; the fourth prompt voice includes: repeating the trigger voice, replacing the existing program or inputting the trigger voice again;
step S15: when receiving a fifth response voice of the user to the fourth prompt voice, executing step S16; when receiving the fourth response voice re-input by the user, executing step S17; the fifth response voice includes: replacing the existing program;
step S16: replacing the existing program in the command word triggering table by the program;
step S17: (ii) a Repeatedly executing the step 12 to the step 14 until the fourth response voice does not accord with each third trigger voice in the command word trigger table, and taking the fourth response voice as a second trigger voice of the program; or; receiving the fifth response voice, step S16 is performed.
Preferably, the control instructions include: any one of turning on light, turning on air conditioner, turning off light, turning off air conditioner and playing song.
Preferably, the control instruction library includes: a plurality of fourth trigger voices and a plurality of control instructions are in one-to-one correspondence to form a comparison table; and step S3: receiving a first response voice of a user to the first prompt voice, and inputting a first control instruction from a control instruction library to a program according to the first response voice, wherein the method specifically comprises the following steps:
step S31: receiving a first response voice of a user to the first prompt voice;
step S32: matching the first answering voice with the fourth triggering voice one by one to obtain a control instruction corresponding to the fourth triggering voice matched with the first answering voice;
step S33: the acquired control instruction is input into the program as a first control instruction.
Preferably, between step S4 and step S5, further comprising:
step S4A: and after the second prompt voice prompting whether to continue is played, executing the step S7 when a third response voice is received.
The invention also provides a system for realizing the voice programming of the user-defined control of the central control equipment, which comprises the following steps:
the trigger module is used for acquiring a first trigger voice for triggering programming, entering a programming mode and programming;
the prompting module is used for playing a first prompting voice for prompting the input of a first control instruction;
the program compiling module is used for receiving a first response voice of the user to the first prompt voice and inputting a first control instruction from the control instruction library to the program according to the first response voice;
the prompting module is also used for playing a second prompting voice for prompting whether to continue or not after the first control instruction is input into the program;
the program compiling module is also used for receiving a second response voice of the user to the second prompt voice after the prompt module plays the second prompt voice, and inputting a next control instruction from the control instruction library to the program according to the second response voice;
the circulation module is used for repeatedly starting the prompt module and the programming module until a second response voice is not received or a third response voice representing exiting the programming mode is received within the preset time, and exiting the programming mode;
the prompt module is also used for playing a third prompt voice for prompting the input trigger voice after exiting the programming mode,
the trigger voice determining module is used for receiving a fourth response voice of the user to the third prompt voice and determining a second trigger voice of the program based on the fourth response voice;
and the storage module is used for correspondingly storing the program and the second trigger voice into the command word trigger table.
Preferably, the triggering voice determination module executes the following steps:
step S11: receiving a fourth response voice of the user to the third prompt voice;
step S12: matching the fourth response voice with each third trigger voice in the command word trigger list in a one-to-one correspondence manner;
step S13: when the matching does not exist, taking the fourth response voice as a second trigger voice of the program;
step S14: when matching is consistent, outputting a fourth prompt voice; the fourth prompt voice includes: repeating the trigger voice, replacing the existing program or inputting the trigger voice again;
step S15: when receiving a fifth response voice of the user to the fourth prompt voice, executing step S16; when receiving the fourth response voice re-input by the user, executing step S17; the fifth response voice includes: replacing the existing program;
step S16: replacing the existing program in the command word triggering table by the program;
step S17: (ii) a Repeating the step 12 to the step 14 until the fourth response voice does not accord with each third trigger voice in the command word trigger table, and taking the fourth response voice as a second trigger voice of the program; or; receiving the fifth response voice, step S16 is performed.
Preferably, the control instructions include: any one of turning on light, turning on air conditioner, turning off light, turning off air conditioner and playing song.
Preferably, the control instruction library includes: a plurality of fourth trigger voices and a plurality of control instructions are in one-to-one correspondence to form a comparison table; the program compiling module is used for receiving a first response voice of a user to the first prompt voice and inputting a first control instruction from the control instruction library to a program according to the first response voice, and specifically comprises the following steps:
step S31: receiving a first response voice of a user to the first prompt voice;
step S32: matching the first answering voice with the fourth triggering voice one by one to obtain a control instruction corresponding to the fourth triggering voice matched with the first answering voice;
step S33: the acquired control instruction is input into the program as a first control instruction.
Preferably, after the prompting module plays the second prompt voice indicating whether the prompt continues for the first time, the loop module directly receives the third response voice, and exits the programming mode.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic diagram of a method for implementing voice programming for user-defined control of a central control device according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The embodiment of the invention provides a method for realizing voice programming of user-defined control of central control equipment, which comprises the following steps of:
step S1: acquiring a first trigger voice for triggering programming, entering a programming mode, and programming;
step S2: playing a first prompt voice prompting to input a first control instruction;
and step S3: receiving a first response voice of a user to the first prompt voice, and inputting a first control instruction from a control instruction library to a program according to the first response voice;
and step S4: playing a second prompt voice for prompting whether to continue;
step S5: receiving a second response voice of the user to the second prompt voice, and inputting a next control instruction from the control instruction library to the program according to the second response voice;
step S6: repeating the steps S4 to S5 until the programming mode exits when the second response voice is not received or a third response voice representing exiting of the programming mode is received within the preset time;
step S7: playing a third prompt voice prompting the input trigger voice after exiting the programming mode,
step S8: receiving a fourth response voice of the user to the third prompt voice, and determining a second trigger voice of the program based on the fourth response voice;
step S9: and correspondingly storing the program and the second trigger voice into the command word trigger table.
The working principle and the beneficial effects of the technical scheme are as follows:
firstly, when a first trigger voice (for example, programming is started) is acquired, the central control equipment enters a programming mode and starts programming; prompting a user to input a first control instruction through first prompting voice [ for example, please input a first control action ]; then receiving a first response voice (such as turning on light) of a user, calling a control instruction (namely turning on light) corresponding to the first response voice from a control instruction library, inputting the control instruction into a program, and then sequentially inputting a next control instruction (such as turning on an air conditioner); and exiting the programming mode after all the control commands are input. There are two methods for exiting the programming mode, the first method is to input no response voice or a third response voice for exiting the programming mode within a preset time [ e.g., exiting the programming ]. When the programming is quitted, the programmed program needs to be associated to trigger voice, a third prompting voice (such as input triggering voice) is played to prompt the user to input, and a fourth responding voice (such as my returning home) is input by the user; a second trigger voice corresponding to the programming is determined based on the fourth response voice [ e.g., i come home ]. And correspondingly storing the program and the second trigger voice into the command word trigger table. Thereby completing the voice programming of the custom control of the central control equipment. In the later calling, the program can be called only by speaking a second trigger voice (i come home), a first control instruction (turning on light) is executed firstly, then a next control instruction (turning on an air conditioner) is executed, and all the control instructions are executed in sequence.
The method for realizing the voice programming of the self-defined control of the central control equipment can finish a series of control actions by adopting one trigger voice through a voice programming program, the central control equipment can realize the binding and the control with other equipment, and the cooperative control of the self-defined series of equipment of the central control equipment can be realized through the mode; the central control equipment is more intelligent and personalized.
In one embodiment, step S8: receiving a fourth response voice of the user to the third prompt voice, and determining a second trigger voice based on the fourth response voice; the method comprises the following steps:
step S11: receiving a fourth response voice of the user to the third prompt voice;
step S12: matching the fourth response voice with each third trigger voice in the command word trigger list in a one-to-one correspondence manner;
step S13: when the matching does not exist, taking the fourth response voice as a second trigger voice of the program;
step S14: when matching is consistent, outputting a fourth prompt voice; the fourth prompt voice includes: repeating the trigger voice, replacing the existing program or inputting the trigger voice again;
step S15: when receiving a fifth response voice of the user to the fourth prompt voice, executing step S16; when receiving the fourth response voice re-input by the user, executing step S17; the fifth response voice includes: replacing the existing program;
step S16: replacing the existing program in the command word triggering table by the program;
step S17: (ii) a Repeatedly executing the step 12 to the step 14 until the fourth response voice does not accord with each third trigger voice in the command word trigger table, and taking the fourth response voice as a second trigger voice of the program; or; receiving the fifth response voice, step S16 is performed.
The working principle and the beneficial effects of the technical scheme are as follows:
by determining whether the trigger voice of the program input after the programming is finished is in the command word trigger list of the central control device or not, the input trigger voice is prevented from being used originally, and the overlapping of the trigger voices is avoided, so that the logic error of the central control device is caused.
In one embodiment, the control instructions include: any one of turning on light, turning on air conditioner, turning off light, turning off air conditioner and playing song.
The working principle and the beneficial effects of the technical scheme are as follows:
the central control equipment used in the family is mainly used for controlling the light, the air conditioner, the television or the music player in the family, so the control instructions are to turn on the light, turn on the air conditioner, turn off the light, turn off the air conditioner, play songs and the like.
In one embodiment, the library of control instructions includes: a comparison table in which a plurality of fourth trigger voices correspond to a plurality of control instructions one by one; and step S3: receiving a first response voice of a user to the first prompt voice, and inputting a first control instruction from a control instruction library to a program according to the first response voice, wherein the method specifically comprises the following steps:
step S31: receiving a first response voice of a user to the first prompt voice;
step S32: matching the first answering voice with the fourth triggering voice one by one to obtain a control instruction corresponding to the fourth triggering voice matched with the first answering voice;
step S33: the acquired control instruction is input into the program as a first control instruction.
The working principle and the beneficial effects of the technical scheme are as follows:
through the steps, the central control equipment can directly complete programming according to the voice of the user, other tools are not needed, and the intellectualization of the central control equipment is improved.
In one embodiment, between step S4 and step S5, further comprising:
step S4A: and after the second prompt voice prompting whether to continue is played, and when a third response voice is received, executing step S7.
The working principle and the beneficial effects of the technical scheme are as follows:
when the first control instruction is input, the programming of the program can be ended, and the user-defined programming control instruction of the central control equipment is realized.
The invention also provides a system for realizing the voice programming of the user-defined control of the central control equipment, which comprises the following steps:
the trigger module is used for acquiring a first trigger voice for triggering programming, entering a programming mode and programming;
the prompting module is used for playing a first prompting voice for prompting the input of a first control instruction;
the program compiling module is used for receiving a first response voice of the user to the first prompt voice and inputting a first control instruction from the control instruction library to the program according to the first response voice;
the prompting module is also used for playing a second prompting voice for prompting whether to continue or not after the first control instruction is input into the program;
the program compiling module is also used for receiving a second response voice of the user to the second prompt voice after the prompt module plays the second prompt voice, and inputting a next control instruction from the control instruction library to the program according to the second response voice;
the circulation module is used for repeatedly starting the prompt module and the programming module until a second response voice is not received or a third response voice representing exiting the programming mode is received within the preset time, and exiting the programming mode;
the prompt module is also used for playing a third prompt voice for prompting the input trigger voice after exiting the programming mode,
the trigger voice determining module is used for receiving a fourth response voice of the user to the third prompt voice and determining a second trigger voice of the program based on the fourth response voice;
and the storage module is used for correspondingly storing the program and the second trigger voice into the command word trigger table.
The working principle and the beneficial effects of the technical scheme are as follows:
firstly, when a first trigger voice (for example, programming is started) is acquired through a trigger module, a central control device enters a programming mode and starts programming; playing a first prompt voice (for example, please input a first control action) through a prompt module to prompt a user to input a first control instruction; then, receiving a first response voice (such as turning on light) of a user through a programming module, calling a control instruction (such as turning on light) corresponding to the first response voice from a control instruction library and inputting the control instruction into a program, and sequentially inputting a next control instruction (such as turning on an air conditioner) through a circulation module by adopting a prompt module and the programming module in turn; and when all the control commands are input, exiting the programming mode. There are two systems for exiting the programming mode, the first system is that no response voice is inputted within a preset time or a third response voice exiting the programming mode is inputted [ for example, exiting the programming ]. When the programming quits, the voice determining module is triggered to carry out associated triggering voice, the prompting module plays a third prompting voice (such as input triggering voice) to prompt the user to input, and the triggering voice determining module receives a fourth response voice (such as I returns home) input by the user; a second trigger voice corresponding to the programming is determined based on the fourth response voice [ e.g., i come home ]. And finally, the program and the second trigger voice are correspondingly stored in the command word triggering table by the data storage module. Thereby completing the voice programming of the custom control of the central control equipment. In the later calling, the program can be called only by speaking a second trigger voice (i come home), a first control instruction (turning on light) is executed firstly, then a next control instruction (turning on an air conditioner) is executed, and all the control instructions are executed in sequence.
The system for realizing the voice programming of the user-defined control of the central control equipment can complete a series of control actions by adopting one trigger voice through a voice programming program, the central control equipment can realize the binding and the control with other equipment, and the cooperative control of the user-defined series of equipment of the central control equipment can be realized through the mode; the central control equipment is more intelligent and personalized.
In one embodiment, triggering the speech determination module to perform includes the steps of:
step S11: receiving a fourth response voice of the user to the third prompt voice;
step S12: matching the fourth response voice with each third trigger voice in the command word trigger list in a one-to-one correspondence manner;
step S13: when the matching does not exist, taking the fourth response voice as a second trigger voice of the program;
step S14: when matching is consistent, outputting a fourth prompt voice; the fourth prompt voice includes: repeating the trigger voice, replacing the existing program or inputting the trigger voice again;
step S15: when receiving a fifth response voice of the user to the fourth prompt voice, executing step S16; when receiving the fourth response voice re-input by the user, executing step S17; the fifth response voice includes: replacing the existing program;
step S16: replacing the existing program in the command word triggering table by the program;
step S17: (ii) a Repeatedly executing the step 12 to the step 14 until the fourth response voice does not accord with each third trigger voice in the command word trigger table, and taking the fourth response voice as a second trigger voice of the program; or; receiving the fifth response voice, step S16 is performed.
The working principle and the beneficial effects of the technical scheme are as follows:
by determining whether the trigger voice of the program input after the programming is finished is in the command word trigger list of the central control device or not, the input trigger voice is prevented from being used originally, and the overlapping of the trigger voices is avoided, so that the logic error of the central control device is caused.
In one embodiment, the control instructions include: any one of turning on light, turning on air conditioner, turning off light, turning off air conditioner and playing song.
The working principle and the beneficial effects of the technical scheme are as follows:
the central control equipment used in the household is mainly used for controlling household light, an air conditioner, a television or a music player, so that the control commands are to turn on the light, turn on the air conditioner, turn off the light, turn off the air conditioner, play songs and the like.
In one embodiment, the library of control instructions includes: a comparison table in which a plurality of fourth trigger voices correspond to a plurality of control instructions one by one; the program compiling module is used for receiving a first response voice of a user to the first prompt voice and inputting a first control instruction from the control instruction library to a program according to the first response voice, and specifically comprises the following steps:
step S31: receiving a first response voice of a user to the first prompt voice;
step S32: matching the first answering voice with the fourth triggering voice one by one to obtain a control instruction corresponding to the fourth triggering voice matched with the first answering voice;
step S33: the acquired control instruction is input into the program as a first control instruction.
The working principle and the beneficial effects of the technical scheme are as follows:
through the steps, the central control equipment can directly complete programming according to the voice of the user without other tools, and the intellectualization of the central control equipment is improved.
In one embodiment, the loop module exits the programming mode when the loop module directly receives a third response voice after the prompt module plays a second prompt voice indicating whether the prompt continues for the first time. The working principle and the beneficial effects of the technical scheme are as follows:
when the first control instruction is input, the programming of the program can be ended, and the user-defined programming control instruction of the central control equipment is realized.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. A method for realizing voice programming of user-defined control of central control equipment is characterized by comprising the following steps:
step S1: acquiring a first trigger voice for triggering programming, entering a programming mode, and programming;
step S2: playing a first prompt voice prompting to input a first control instruction;
and step S3: receiving a first response voice of a user to the first prompt voice, and inputting the first control instruction from a control instruction library to the program according to the first response voice;
and step S4: playing a second prompt voice prompting whether to continue;
step S5: receiving a second response voice of the user to the second prompt voice, and inputting a next control instruction from a control instruction library to the program according to the second response voice;
step S6: repeating the step S4 to the step S5 until the second response voice is not received or a third response voice representing the exit of the programming mode is received within a preset time, and exiting the programming mode;
step S7: when the programming mode is exited, a third prompt voice prompting the input trigger voice is played,
step S8: receiving a fourth response voice of the user to the third prompt voice, and determining a second trigger voice of the program based on the fourth response voice;
step S9: and correspondingly storing the program and the second trigger voice into a command word trigger table.
2. The method for implementing speech programming of the central control device custom control according to claim 1, wherein the step S8: receiving a fourth response voice of the user to the third prompt voice, and determining the second trigger voice based on the fourth response voice; the method comprises the following steps:
step S11: receiving a fourth response voice of the user to the third prompt voice;
step S12: matching the fourth response voice with each third trigger voice in the command word trigger list in a one-to-one correspondence manner;
step S13: when no match is matched, taking the fourth response voice as the second trigger voice of the program;
step S14: when matching is consistent, outputting a fourth prompt voice; the fourth prompt voice includes: repeating the trigger voice, replacing the existing program or inputting the trigger voice again;
step S15: when receiving a fifth response voice of the user to the fourth prompt voice, executing step S16; when receiving the fourth response voice re-input by the user, executing step S17; the fifth response voice includes: replacing the existing program;
step S16: replacing the existing program in the command word triggering table by the program;
step S17: (ii) a Repeatedly executing the steps 12 to 14 until the fourth response voice does not accord with each third trigger voice in the command word trigger table, and taking the fourth response voice as the second trigger voice of the program; or; and step S16 is executed after the fifth response voice is received.
3. The method for implementing voice programming of a central control device custom control as set forth in claim 1, wherein said control instructions comprise: any one of turning on light, turning on air conditioner, turning off light, turning off air conditioner and playing song.
4. The method for implementing voice programming of a central control device custom control as set forth in claim 1, wherein said control instruction library comprises: a comparison table in which a plurality of fourth trigger voices correspond to a plurality of control instructions one by one; and step S3: receiving a first response voice of a user to the first prompt voice, and inputting a first control instruction from a control instruction library to the program according to the first response voice, wherein the method specifically comprises the following steps:
step S31: receiving a first response voice of a user to the first prompt voice;
step S32: matching the first answering voice with the fourth triggering voice one by one to obtain the control instruction corresponding to the fourth triggering voice matched with the first answering voice;
step S33: and inputting the acquired control instruction into the program as a first control instruction.
5. The method for implementing speech programming of a central control device custom control according to claim 1, further comprising between the step S4 and the step S5:
step S4A: and after the second prompt voice prompting whether to continue is played, executing the step S7 when the third response voice is received.
6. A system for realizing voice programming of user-defined control of a central control device is characterized by comprising:
the trigger module is used for acquiring a first trigger voice for triggering programming, entering a programming mode and programming;
the prompt module is used for playing a first prompt voice for prompting the input of a first control instruction;
the program compiling module is used for receiving a first response voice of a user to the first prompt voice and inputting the first control instruction from a control instruction library to the program according to the first response voice;
the prompting module is also used for playing a second prompting voice for prompting whether to continue or not after the first control instruction is input into the program;
the program programming module is also used for receiving a second response voice of the user to the second prompt voice after the prompt module plays the second prompt voice, and inputting a next control instruction from a control instruction library to the program according to the second response voice;
the circulation module is used for repeatedly starting the prompt module and the programming module until the second response voice is not received or a third response voice representing exiting the programming mode is received within a preset time, and exiting the programming mode;
the prompt module is also used for playing a third prompt voice prompting the input trigger voice after the programming mode is exited,
the trigger voice determining module is used for receiving a fourth response voice of the user to the third prompt voice and determining a second trigger voice of the program based on the fourth response voice;
and the storage module is used for correspondingly storing the program and the second trigger voice into a command word trigger table.
7. The system for implementing voice programming of a central control device custom control as set forth in claim 6, wherein said trigger voice determination module execution comprises the steps of:
step S11: receiving a fourth response voice of the user to the third prompt voice;
step S12: matching the fourth response voice with each third trigger voice in the command word trigger list in a one-to-one correspondence manner;
step S13: when no matching is consistent, taking the fourth response voice as the second trigger voice of the program;
step S14: when matching is consistent, outputting a fourth prompt voice; the fourth prompt voice includes: repeating the trigger voice, replacing the existing program or inputting the trigger voice again;
step S15: when receiving a fifth response voice of the user to the fourth prompt voice, executing step S16; when receiving a fourth response voice re-input by the user, executing step S17; the fifth response voice includes: replacing the existing program;
step S16: replacing the existing program in the command word triggering table by the program;
step S17: (ii) a Repeatedly executing the steps 12 to 14 until the fourth response voice does not accord with each third trigger voice in the command word trigger table, and taking the fourth response voice as the second trigger voice of the program; or; and step S16 is executed after the fifth response voice is received.
8. The system for implementing voice programming of a central control device custom control of claim 6, wherein the control instructions comprise: any one of turning on light, turning on air conditioner, turning off light, turning off air conditioner and playing song.
9. The system for implementing voice programming of a central control device custom control of claim 6, wherein said control instructions library comprises: a plurality of fourth trigger voices correspond to the control commands one by one; the program programming module is used for receiving a first response voice of a user to the first prompt voice and inputting a first control instruction from a control instruction library to the program according to the first response voice, and specifically comprises the following steps:
step S31: receiving a first response voice of the user to the first prompt voice;
step S32: matching the first answering voice with the fourth triggering voice one by one to obtain the control instruction corresponding to the fourth triggering voice matched with the first answering voice;
step S33: and inputting the acquired control instruction into the program as a first control instruction.
10. The system as claimed in claim 6, wherein the loop module directly receives the third response voice after the prompt module plays the second prompt voice indicating whether the prompt is continued for the first time, and the loop module exits the programming mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010171471.4A CN111429900B (en) | 2020-03-12 | 2020-03-12 | Method and system for realizing voice programming of user-defined control of central control equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010171471.4A CN111429900B (en) | 2020-03-12 | 2020-03-12 | Method and system for realizing voice programming of user-defined control of central control equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111429900A CN111429900A (en) | 2020-07-17 |
CN111429900B true CN111429900B (en) | 2023-04-18 |
Family
ID=71546518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010171471.4A Active CN111429900B (en) | 2020-03-12 | 2020-03-12 | Method and system for realizing voice programming of user-defined control of central control equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111429900B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105931639A (en) * | 2016-05-31 | 2016-09-07 | 杨若冲 | Speech interaction method capable of supporting multi-hierarchy command words |
WO2016161750A1 (en) * | 2015-04-07 | 2016-10-13 | 中兴通讯股份有限公司 | Terminal call control method and device, and computer storage medium |
CN109671434A (en) * | 2019-02-18 | 2019-04-23 | 成都启英泰伦科技有限公司 | A kind of speech ciphering equipment and self study audio recognition method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9361885B2 (en) * | 2013-03-12 | 2016-06-07 | Nuance Communications, Inc. | Methods and apparatus for detecting a voice command |
-
2020
- 2020-03-12 CN CN202010171471.4A patent/CN111429900B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016161750A1 (en) * | 2015-04-07 | 2016-10-13 | 中兴通讯股份有限公司 | Terminal call control method and device, and computer storage medium |
CN105931639A (en) * | 2016-05-31 | 2016-09-07 | 杨若冲 | Speech interaction method capable of supporting multi-hierarchy command words |
CN109671434A (en) * | 2019-02-18 | 2019-04-23 | 成都启英泰伦科技有限公司 | A kind of speech ciphering equipment and self study audio recognition method |
Non-Patent Citations (1)
Title |
---|
俞一彪,赵鹤鸣,周旭东.基于PSTN的远程控制系统通信模块设计与实现.计算机工程.2001,(11),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN111429900A (en) | 2020-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6839668B2 (en) | Store speech, select vocabulary to recognize word | |
JP6562814B2 (en) | Game machine | |
JP6268138B2 (en) | Game machine | |
JP5026357B2 (en) | Game machine | |
US20070192109A1 (en) | Voice command interface device | |
JP6462553B2 (en) | Game machine | |
JP6109907B1 (en) | Game machine | |
JP6125575B2 (en) | Game machine | |
JP6297020B2 (en) | Game machine | |
JP2018102942A (en) | Game machine | |
CN108731183A (en) | A kind of intelligent air-conditioning system and air-conditioning | |
CN111429900B (en) | Method and system for realizing voice programming of user-defined control of central control equipment | |
CN106601242A (en) | Executing method and device of operation event and terminal | |
JP2017093851A (en) | Game machine | |
JP2017124327A (en) | Game machine | |
JP2001312297A (en) | Voice recognition device | |
JP6199359B2 (en) | Game machine | |
JP6358997B2 (en) | Game machine | |
JP6851491B2 (en) | Voice dialogue control device and voice dialogue control method | |
JP2019171217A (en) | Game machine | |
JP6268139B2 (en) | Game machine | |
JP2018196779A (en) | Game machine | |
JP6297019B2 (en) | Game machine | |
JP6567730B2 (en) | Game machine | |
CN115497472A (en) | Target object control method and device, electronic equipment 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 |