CN113676382B - IOT voice command control method, system and computer readable storage medium - Google Patents

IOT voice command control method, system and computer readable storage medium Download PDF

Info

Publication number
CN113676382B
CN113676382B CN202010403947.2A CN202010403947A CN113676382B CN 113676382 B CN113676382 B CN 113676382B CN 202010403947 A CN202010403947 A CN 202010403947A CN 113676382 B CN113676382 B CN 113676382B
Authority
CN
China
Prior art keywords
parameter
voice
converter
iot
information
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
Application number
CN202010403947.2A
Other languages
Chinese (zh)
Other versions
CN113676382A (en
Inventor
陈小平
徐荣华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunmi Internet Technology Guangdong Co Ltd
Original Assignee
Yunmi Internet Technology Guangdong Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yunmi Internet Technology Guangdong Co Ltd filed Critical Yunmi Internet Technology Guangdong Co Ltd
Priority to CN202010403947.2A priority Critical patent/CN113676382B/en
Publication of CN113676382A publication Critical patent/CN113676382A/en
Application granted granted Critical
Publication of CN113676382B publication Critical patent/CN113676382B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application relates to the field of smart home, and discloses a control method and a system of an IOT voice command and a computer readable storage medium, wherein the control method comprises the following steps: analyzing the received voice information to obtain a voice intention and an IOT equipment model; obtaining dynamic parameters, equipment control instructions, result messages and precondition configuration corresponding to the voice intention based on the voice intention and the IOT equipment model; configuring a corresponding converter based on the dynamic parameters, and updating the dynamic parameters and result messages; and outputting the precondition configuration, the equipment control instruction, the updated dynamic parameters and the result message. The voice intention of the user can be accurately achieved, the dynamic parameters can be effectively processed, and more accurate equipment control instructions can be obtained so as to accurately control the corresponding household appliances.

Description

IOT voice command control method, system and computer readable storage medium
Technical Field
The present application relates to the field of smart homes, and in particular, to a method and a system for controlling an IOT voice command, and a computer-readable storage medium.
Background
The intelligent home connects various devices (such as audio and video devices, lighting systems, curtain control, air conditioner control, security systems, digital cinema systems, audio and video servers, video cabinet systems, network home appliances and the like) in the home together through the Internet of things technology, and provides multiple functions and means such as home appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environment monitoring, heating and ventilation control, infrared forwarding, programmable timing control and the like.
In the prior art, a voice control mode is adopted to control corresponding household appliances, but some simple voice control instructions, such as switching instructions, can only be processed, and complex control instructions cannot be processed accurately and are not intelligent enough.
Disclosure of Invention
The application provides a control method and a control system of an IOT voice command and a computer readable storage medium, which can be used for accurately processing the voice intention of a user, effectively feeding back dynamic parameters and obtaining more accurate equipment control instructions so as to accurately control corresponding household appliances.
In a first aspect, the present application provides a control method of an IOT voice command, where the control method includes:
analyzing the received voice information to obtain a voice intention and an IOT equipment model;
obtaining dynamic parameters, equipment control instructions, result messages and precondition configuration corresponding to the voice intention based on the voice intention and the IOT equipment model;
configuring a corresponding converter based on the dynamic parameters, and updating the dynamic parameters and result messages;
and outputting the precondition configuration, the equipment control instruction, the updated dynamic parameters and the result message.
In a second aspect, the present application further provides a control system of an IOT voice command, including:
a memory for storing a computer program;
a processor for executing the computer program and implementing the control method of IOT voice commands described in any of the above when the computer program is executed.
In a third aspect, the present application also provides a computer-readable storage medium storing a computer program, which when executed by a processor causes the processor to implement the method for controlling an IOT voice command according to any one of the above-mentioned embodiments.
The application discloses a control method and a system of an IOT voice command and a computer readable storage medium, which are used for analyzing and processing received voice information to obtain a voice intention and an IOT equipment model; and after obtaining a dynamic parameter, a device control instruction, a result message and a precondition configuration corresponding to the voice intention based on the voice intention and the IOT device model, configuring a corresponding converter based on the dynamic parameter, and updating the dynamic parameter and the result message. The dynamic parameters and the result messages are updated through the converter, and the precondition configuration, the equipment control instruction, the updated dynamic parameters and the updated result messages are output so that the household appliances corresponding to the IOT equipment models can be executed according to the equipment control instruction.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a block diagram of a control system for IOT voice commands in one embodiment;
FIG. 2 is a flow diagram illustrating a method for controlling IOT voice commands in one embodiment;
FIG. 3 is a data structure diagram involved in the control system of IOT voice commands;
FIG. 4 is a flow diagram illustrating sub-steps of a control method for IOT voice commands;
FIG. 5 is a block diagram schematically illustrating the structure of the IOT voice command control system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a control method and system of an IOT voice command and a computer readable storage medium, which can be used for accurately aiming at the voice of a user, effectively feeding back after effectively processing dynamic parameters and controlling household appliances to be more intelligent.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a control system 100 for IOT voice commands according to an embodiment of the present disclosure, where the control system 100 may include a voice information recognition module 101, a voice command parsing module 102, a converter 103, a home device 104, and an output module 105; the voice information recognition module 101, the voice command analysis module 102, the converter 103 and the home appliance 104 are connected in a communication manner.
And the voice information identification module 101 is configured to analyze the received voice information to obtain a voice control instruction.
The voice command analysis module 102 is configured to split the voice control instruction into voice intention information and IOT device information, and query a relational mapping table based on the voice intention information and the IOT device information to obtain the voice intention and the IOT device model; and obtaining dynamic parameters, equipment control instructions, result messages and precondition configurations corresponding to the voice intention based on the voice intention and the IOT equipment model.
A converter 103 configured to update the dynamic parameter and the result message based on the dynamic parameter.
Specifically, based on the dynamic parameters, querying a parameter ID and a converter ID in a voice command parameter configuration table; associating the parameter table and the converter table based on the parameter ID and the converter ID to acquire parameter information and converter information; executing the parameter information in a converter corresponding to the converter information to update the dynamic parameter; and obtaining a processing result after the updated dynamic parameters are executed so as to update the result message.
And the output module 105 is used for outputting the precondition configuration, the equipment control instruction, the updated dynamic parameter and the result message.
And the household appliance 104 corresponds to the IOT device model and is configured to execute the precondition configuration, the device control instruction, the updated dynamic parameter, and the result message output by the output module 105.
It should be noted that the control method of the IOT voice command can also be applied to the control system 100 of the IOT voice command, for example, parsing the received voice information to obtain the voice intention and the model of the IOT device; obtaining dynamic parameters, equipment control instructions, result messages and precondition configuration corresponding to the voice intention based on the voice intention and the IOT equipment model; configuring a corresponding converter based on the dynamic parameters, and updating the dynamic parameters and result messages; and outputting the precondition configuration, the equipment control instruction, the updated dynamic parameters and the result message.
The following explanation will be given taking an example in which the IOT voice command control method is applied to a control system.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 2, fig. 2 is a flowchart illustrating a control method of an IOT voice command according to an embodiment of the present application. The method for controlling the IOT voice command may include steps S10 to S40, which may specifically be as follows:
and S10, analyzing the received voice information to obtain the voice intention and the IOT equipment model.
Specifically, as shown in fig. 3, fig. 3 is a data structure diagram related to a control system of an IOT voice command, which includes a relational mapping table, a device model table, a device voice command table, a voice command parameter configuration table, a parameter table, a converter table, and an enumeration mapping table; the relation mapping table is a mapping relation of the equipment model voice command. In the device type table, fields include ID, device type, device name, device class, communication protocol, etc., in the remapping table, fields include ID, device type ID, device voice command ID, etc., and in the device voice command table, fields include ID, voice intention name, device class, preconditions, device instructions, result messages, etc. Moreover, a one-to-many mapping relation exists between the device model table and the relational mapping table, and a many-to-one mapping relation exists between the relational mapping table and the device voice command table. In the embodiments of the present application, data is read and written based on each table in the data structure diagram.
In some embodiments, when the user speaks into the speech recognition module, the speech recognition module receives the speech information, and parsing and recognizing the speech information to obtain the speech intention name and the IOT device model number may include: analyzing the received voice information to obtain a voice control instruction; splitting the voice control instruction into voice intention information and IOT equipment information; and inquiring a relational mapping table based on the voice intention information and the IOT equipment information to obtain a standard voice intention name and an equipment model, and obtaining an equipment voice command ID corresponding to the IOT equipment information according to the standard voice intention name and the equipment model. The voice command ID refers to an ID field in the voice command table.
In some embodiments, the received voice information is analyzed to obtain a voice control instruction; and splitting the voice control instruction into voice intention information and IOT equipment information. Splitting the voice control instruction into voice intention information and IOT device information may be: inquiring equipment classification fields according to the voice intention name fields in the equipment voice command list; the user device list is then queried from the device system on the home page of the system, including information such as device ID, device class, and device model.
With the user speaking to the system: taking "the air conditioner is turned off after two hours" as an example, the voice recognition module recognizes voice intention information "make an appointment for the air conditioner to be turned off at regular time" and extracts time parameters "2" and "hours"; then, the system can inquire the equipment classification corresponding to the voice intention information 'reserving the timing shutdown of the air conditioner'. If the user has a plurality of devices of the same type, namely a plurality of air conditioners, the device list is displayed for the user to watch, the user can be asked to select the second device, and if only one device which meets the voice intention is available, the device is controlled by default directly.
The system extracts a standard voice intention name of 'timing air-conditioning off', the type of equipment, extracted time parameters of '2' and 'hour' after obtaining voice intention information, wherein the standard voice intention name may appear for a plurality of times in the voice intention name of a voice command table, if two types of air conditioners have the standard voice intention name of timing air-conditioning off, but the instructions and the parameters of the two types of air conditioners are different, so that the standard type of equipment is required.
The voice command ID can be determined by querying the ID field (i.e., device model ID) in the device model table based on the standard voice intention name and device model.
And step S20, obtaining dynamic parameters, equipment control instructions, result messages and precondition configuration corresponding to the voice intention based on the voice intention and the IOT equipment model.
After the voice intention name and the IOT equipment model are obtained, based on the voice intention name and the IOT equipment model, dynamic parameters, equipment control instructions, result messages and precondition configuration corresponding to the voice intention name are obtained.
In some embodiments, the voice command parsing module may query a voice command parameter configuration table based on the IOT device model and the voice intention name to obtain a voice command ID; based on the voice command ID and the IOT device model, dynamic parameters corresponding to the voice intention name are obtained in the voice command parameter configuration table, and the dynamic parameters may include a time parameter.
As shown in fig. 3, the voice command parameter configuration table includes fields such as ID, device model, voice command ID, parameter ID, converter ID list, etc., and there is a many-to-one correspondence between the voice command parameter configuration table and the device voice command table.
In some embodiments, after obtaining the IOT device model and the voice intention name, the voice command parameter configuration table is queried according to the IOT device model and the voice intention name to obtain a voice command ID, for example, the voice information is "air conditioner shutdown after two hours", after obtaining the specific selection instruction of the air conditioner selected by the user, and extracting the time parameters "2" and "hour", all "device voice command IDs" of the device model are queried according to the device model ID field in the map; and the device voice command ID corresponds to the ID field in the device voice command table, so that the unique voice command ID corresponding to the voice intention name 'preset air conditioner timing shutdown' can be determined according to the multiple IDs and the voice intention name field, and the precondition field, the device instruction field and the result message field can be obtained. And then, based on the voice command ID and the IOT equipment model, acquiring dynamic parameters corresponding to the voice intention from the voice command parameter configuration table.
According to the IOT equipment model and the voice intention information, a unique equipment voice command is inquired by 'reserving air conditioner for timing shutdown', so that the specific IOT equipment model and the user intention are effective and accurate, and then the accurate dynamic parameters can be obtained.
And step S30, configuring a corresponding converter based on the dynamic parameters, and updating the dynamic parameters and the result message.
Specifically, as shown in fig. 4, fig. 4 is a flowchart illustrating the sub-steps of step S30. Step S30 may include:
and S31, inquiring the parameter ID and the converter ID in the voice command parameter configuration table based on the dynamic parameters.
In some embodiments, the dynamic parameter is a unique device voice command obtained from the voice command parameter configuration table according to the voice command ID and the IOT device model, and then the parameter ID and the corresponding list of transducer IDs are looked up from the voice command parameter configuration table according to the device model and the voice command ID.
Step S32, based on the parameter ID and the converter ID, associating the parameter table and the converter table to obtain parameter information and converter information.
As shown in fig. 3, the data structure diagram further includes a converter table and a parameter table, wherein the converter table includes fields such as ID, chinese name, category, java object instance name, description, input parameter list, output parameter data type, and the like; the fields included in the parameter table include parameter ID, english name, chinese name, category, equipment model, data type, value range, etc. The converter table and the parameter table are in a many-to-many relationship with the voice command parameter configuration table respectively.
In some embodiments, associating the parameter table and the converter table to obtain the parameter information and the converter information based on the parameter ID and the converter ID may include: acquiring a parameter field from the parameter table according to the parameter ID; inquiring a Java object instance name field, an input parameter list field and an output parameter data type field from the converter table according to the converter ID; looking up a category field from the converter table according to a converter ID; if the category field corresponds to an enumeration mapping category, mapping the parameter corresponding to the parameter field to a parameter value required by a device instruction in the device voice command list; if the class field corresponds to a Java object type, calling an object instance corresponding to a Java object instance name field in the converter table, and processing parameters in the input parameter list field to obtain parameter values corresponding to the Java object instance name field.
Specifically, fields such as an english name are acquired from the parameter table according to the parameter ID, a category field, a Java object instance name, an input parameter list and an output parameter data type field are queried from the converter table according to the converter ID, if the category of the converter is an enumerated mapping category, parameters corresponding to the parameter field are directly mapped to parameter values required by a device command in the device voice command table, for example, the refrigeration mapping is 1, and if the converter type is a Java object type, a method for calling the Java object corresponding to the Java object instance name in the converter table is called, and the parameters in the input parameter list are processed, for example: and calculating the time parameter value '2' and the time unit 'hour' transmitted by the system, and converting the time parameter value and the time unit 'hour' into minutes so as to obtain the time unit corresponding to the parameter table.
Step S33, executing the parameter information in the converter corresponding to the converter information to update the dynamic parameter;
step S34, after executing the updated dynamic parameter, obtaining a processing result to update the result message.
In some embodiments, the dynamic parameter content corresponding to the result message in the device voice command table is replaced with the result value of the parameter value processed by the converter corresponding to the converter ID.
In some embodiments, a result message field is provided in the device voice command table, the result message includes dynamic parameter content, and after a result value processed by the converter corresponding to the converter ID is obtained, the result value is directly used to replace the dynamic parameter content of the result message field, that is, the dynamic parameter content in the result message of the device voice command table is replaced with a result value processed by the converter corresponding to the parameter in the english name field of the parameter table. For example, the result message is: preferably, the temperature of the air conditioner is adjusted to { value } degree, and "{ value } is replaced.
And returning the precondition of the device voice command table corresponding to the voice intention of the user, the device instruction, the result message and the parameter value required by the device instruction, wherein the corresponding IOT device can execute the device instruction according to the parameter value.
And step S40, outputting the precondition configuration, the equipment control instruction, the updated dynamic parameters and the result message.
Specifically, the result message after the parameter value is executed can be displayed, or the result message after the parameter value is executed can be broadcasted through voice, so that the execution of the dynamic parameter content is realized, and the method is more intelligent.
The application discloses a control method and a system of an IOT voice command, which are used for analyzing and processing received voice information to obtain a voice intention and an IOT equipment model; and after obtaining a dynamic parameter, a device control instruction, a result message and a precondition configuration corresponding to the voice intention based on the voice intention and the IOT device model, configuring a corresponding converter based on the dynamic parameter, and updating the dynamic parameter and the result message. The dynamic parameters and the result messages are updated through the converter, and the precondition configuration, the equipment control instruction, the updated dynamic parameters and the updated result messages are output so that the household appliances corresponding to the IOT equipment models can be executed according to the equipment control instruction.
For example, when obtaining the parameter value corresponding to the Java object instance name field, the number of the parameter value may be multiple, that is, the dynamic parameter is multiple, all the dynamic parameters of the voice command ID may be processed in a loop, each parameter may execute a corresponding converter to obtain a result, one complex dynamic parameter may configure a converter chain, execute multiple converters according to a preset sequence, and assemble an analysis result of the returned voice command.
Specifically, the number of dynamic parameters is plural, and correspondingly, the number of converter IDs is plural, and a corresponding converter chain is generated, and when the parameter information is executed, the plural parameter values are converted into the plural corresponding result values in a preset order, and the plural result values may be used as the execution result.
For example, after step S20, the control method may further include:
determining whether the state mode of the household appliance corresponding to the IOT equipment model meets the corresponding precondition configuration in the equipment voice command table; when the state mode of the household appliance corresponding to the IOT equipment model meets the preset condition configuration, updating the dynamic parameters and result messages based on a converter corresponding to the dynamic parameter configuration; and if the state mode of the household appliance corresponding to the IOT equipment model does not meet the preset condition configuration, adjusting the state mode of the household appliance to meet the preset condition configuration, or outputting a prompt message corresponding to the preset condition configuration.
Specifically, the state mode of the home appliance device corresponding to the IOT device model may be determined first, and whether the state mode satisfies the precondition configuration corresponding to the device voice command table. For example, the voice information is "the air conditioner is turned off after two hours", the precondition configuration may be whether the state of the air conditioner is the on state at the moment, and the operation of turning off the air conditioner after two hours may be executed only in the on state, so that it is necessary to determine the current state mode of the air conditioner, and when the precondition configuration is satisfied, the dynamic parameter, the device control instruction, the result message, and the precondition configuration corresponding to the voice intention may be obtained based on the voice intention and the IOT device model.
And when the preset condition configuration is not met, adjusting the state mode of the household appliance to meet the preset condition configuration, or outputting a prompt message corresponding to the preset condition configuration which is not met. For example, the air conditioner is turned on, or a prompt message that the air conditioner is in the off state at the moment is fed back to the user.
It should be noted that the precondition configuration is not limited to the foregoing, and may also be a more complex status mode, and different judgments are made according to different status modes, so that the voice control instruction is executed more intelligently.
As shown in fig. 5, fig. 5 is a block diagram schematically illustrating a structure of a control system of an IOT voice command provided in one embodiment. The control system 10 of the IOT voice command includes a processor 11 and a memory 12, the processor 11 and the memory 12 are connected by a system bus 13, wherein the memory 12 may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store a computer program. The computer program includes program instructions that, when executed, cause a processor to implement any of the methods of controlling an IOT voice command when executing the computer program.
The processor 11 is used to provide computational and control capabilities, supporting the operation of the entire IOT voice command control system.
The internal memory provides an environment for running a computer program in the non-volatile storage medium, and when the computer program is executed by the processor, the computer program can enable the processor to realize any control method of the IOT voice command when the processor executes the computer program.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the IOT voice command control system to which the present application relates, and that a particular IOT voice command control system may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
It should be understood that the Processor 11 may be a Central Processing Unit (CPU), and the Processor 11 may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. The general purpose processor 11 may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in an embodiment, the memory has stored therein a computer program, which when executed by the processor 11, causes the processor to carry out the following steps when executing the computer program:
analyzing the received voice information to obtain a voice intention and an IOT equipment model;
obtaining dynamic parameters, equipment control instructions, result messages and precondition configuration corresponding to the voice intention based on the voice intention and the IOT equipment model;
configuring a corresponding converter based on the dynamic parameters, and updating the dynamic parameters and result messages;
and outputting the precondition configuration, the equipment control instruction, the updated dynamic parameters and the result message.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
based on the dynamic parameters, inquiring a parameter ID and a converter ID in a voice command parameter configuration table;
associating the parameter table and the converter table based on the parameter ID and the converter ID to acquire parameter information and converter information;
executing the parameter information in a converter corresponding to the converter information to update the dynamic parameter;
and obtaining a processing result after the updated dynamic parameters are executed so as to update the result message.
Further, the processor, when executing the computer program, further implements the steps of:
acquiring a parameter field from the parameter table according to the parameter ID;
looking up a category field from the converter table according to a converter ID;
if the category field corresponds to an enumeration mapping category, mapping the parameter corresponding to the parameter field to a parameter value required by a device instruction in the device voice command list.
In one embodiment, the processor when executing the computer program further performs the steps of:
inquiring Java object instance name fields, input parameter list fields and output parameter data type fields from the converter table according to the converter ID;
if the class field is corresponding to a Java object type, calling an object instance corresponding to a Java object instance name field in the converter table, and processing parameters in the input parameter list field to obtain parameter values corresponding to the Java object instance name field.
In one embodiment, the processor when executing the computer program further performs the steps of:
and replacing the dynamic parameter content corresponding to the result message in the equipment voice command table with the result value of the parameter value processed by the converter corresponding to the converter ID.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the number of the parameter values is multiple, generating a converter chain based on multiple converter IDs;
executing the parameter information in a converter corresponding to the converter information to update the dynamic parameter, including:
and converting the parameter values into corresponding result values according to a preset sequence.
In one embodiment, the processor when executing the computer program further performs the steps of:
inquiring a voice command parameter configuration table based on the IOT equipment model and the voice intention to obtain a voice command ID;
and acquiring dynamic parameters corresponding to the voice intention in the voice command parameter configuration table based on the voice command ID and the IOT equipment model.
In one embodiment, the processor when executing the computer program further performs the steps of:
analyzing the received voice information to obtain a voice control instruction;
splitting the voice control instruction into voice intention information and IOT equipment information;
and inquiring a relation mapping table based on the voice intention information and the IOT equipment information to obtain an equipment voice command ID corresponding to the IOT equipment information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining the state mode of the household appliance corresponding to the IOT equipment model, and whether the state mode meets the corresponding precondition configuration in the equipment voice command table;
and when the state mode of the household appliance corresponding to the IOT equipment model meets the preset condition configuration, updating the dynamic parameters and the result message based on the converter corresponding to the dynamic parameter configuration.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the smart home device described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
In an embodiment of the present application, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, where the computer program includes program instructions, and the processor executes the program instructions to implement the method for controlling an IOT voice command provided in the embodiment of the present application.
The computer readable storage medium may be an internal storage unit of the IOT voice command control system described in the foregoing embodiment, for example, a hard disk or a memory of the IOT voice command control system. The computer readable storage medium may also be an external storage device of the control system of the IOT voice command, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the control system of the IOT voice command.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A control method of an IOT voice command, the control method comprising:
analyzing the received voice information to obtain a voice intention and an IOT equipment model;
obtaining dynamic parameters, equipment control instructions, result messages and precondition configuration corresponding to the voice intention based on the voice intention and the IOT equipment model;
based on the dynamic parameters, inquiring a parameter ID and a converter ID in a voice command parameter configuration table;
associating the parameter table and the converter table based on the parameter ID and the converter ID to acquire parameter information and converter information;
executing the parameter information in a converter corresponding to the converter information to update the dynamic parameter;
after the updated dynamic parameters are executed, processing results are obtained so as to update the result messages;
and outputting the precondition configuration, the equipment control instruction, the updated dynamic parameters and the result message.
2. The method of claim 1, wherein associating the parameter table and the converter table based on the parameter ID and the converter ID to obtain the parameter information and the converter information comprises:
acquiring a parameter field from the parameter table according to the parameter ID;
looking up a category field from the converter table according to a converter ID;
if the category field corresponds to an enumeration mapping category, mapping parameters corresponding to the parameter field into parameter values required by a device instruction in a device voice command list.
3. The control method according to claim 2, wherein after the querying the class field from the converter table according to the converter ID, the control method further comprises:
inquiring a Java object instance name field, an input parameter list field and an output parameter data type field from the converter table according to the converter ID;
if the class field is corresponding to a Java object type, calling an object instance corresponding to a Java object instance name field in the converter table, and processing parameters in the input parameter list field to obtain parameter values corresponding to the Java object instance name field.
4. The control method according to claim 3, wherein the executing the parameter information in the converter corresponding to the converter information to update the dynamic parameter comprises:
and replacing the dynamic parameter content corresponding to the result message in the equipment voice command table with the result value of the parameter value processed by the converter corresponding to the converter ID.
5. The control method according to claim 4, characterized by further comprising:
if the number of the parameter values is multiple, generating a converter chain based on multiple converter IDs;
executing the parameter information in a converter corresponding to the converter information to update the dynamic parameter, including:
and converting the parameter values into corresponding result values according to a preset sequence.
6. The control method according to claim 1, wherein the obtaining of the dynamic parameters, the device control instructions, the result messages, and the precondition configuration corresponding to the voice intention based on the voice intention and the IOT device model comprises:
inquiring a voice command parameter configuration table based on the IOT equipment model and the voice intention to obtain a voice command ID;
and acquiring dynamic parameters corresponding to the voice intention in the voice command parameter configuration table based on the voice command ID and the IOT equipment model.
7. The control method according to claim 1, wherein the parsing the received voice message to obtain the voice intention and the IOT device model includes:
analyzing the received voice information to obtain a voice control instruction;
splitting the voice control instruction into voice intention information and IOT equipment information;
and inquiring a relation mapping table based on the voice intention information and the IOT equipment information to obtain an equipment voice command ID corresponding to the IOT equipment information.
8. The control method according to any one of claims 1 to 7, wherein after obtaining the dynamic parameters, the device control instructions, the result messages, and the precondition configurations corresponding to the voice intention based on the voice intention and the IOT device model, the control method comprises:
determining whether the state mode of the household appliance corresponding to the IOT equipment model meets the corresponding precondition configuration in an equipment voice command list or not;
when the state mode of the household appliance corresponding to the IOT equipment model meets the preset condition configuration, a converter corresponding to the dynamic parameter configuration is configured on the basis of the dynamic parameters, and the dynamic parameters and the result message are updated;
and if the state mode of the household appliance corresponding to the IOT equipment model does not meet the preset condition configuration, adjusting the state mode of the household appliance to meet the preset condition configuration, or outputting a prompt message corresponding to the state mode which does not meet the preset condition configuration.
9. A control system for an IOT voice command, the control system comprising:
a memory for storing a computer program;
a processor for executing the computer program and implementing the control method of IOT voice commands in accordance with any of claims 1-8 when the computer program is executed.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the control method of IOT voice commands recited in any of claims 1-8.
CN202010403947.2A 2020-05-13 2020-05-13 IOT voice command control method, system and computer readable storage medium Active CN113676382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010403947.2A CN113676382B (en) 2020-05-13 2020-05-13 IOT voice command control method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010403947.2A CN113676382B (en) 2020-05-13 2020-05-13 IOT voice command control method, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113676382A CN113676382A (en) 2021-11-19
CN113676382B true CN113676382B (en) 2023-04-07

Family

ID=78537123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010403947.2A Active CN113676382B (en) 2020-05-13 2020-05-13 IOT voice command control method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113676382B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913851A (en) * 2022-04-19 2022-08-16 青岛海尔空调器有限总公司 Method and device for controlling voice equipment, voice equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092181A (en) * 2012-12-28 2013-05-08 吴玉胜 Household appliance control method and system thereof based on intelligent television equipment
CN103138962A (en) * 2011-11-25 2013-06-05 ***通信集团广西有限公司 Remote control method, system and device
CN108196941A (en) * 2017-12-29 2018-06-22 美的集团股份有限公司 The method, apparatus and computer readable storage medium of terminal control
CN109391841A (en) * 2018-10-16 2019-02-26 四川长虹电器股份有限公司 The timing voice system for prompting and method of smart television
CN109618202A (en) * 2018-12-24 2019-04-12 深圳创维-Rgb电子有限公司 Control method, TV and the readable storage medium storing program for executing of peripheral hardware

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602008000303D1 (en) * 2008-09-03 2009-12-31 Svox Ag Speech synthesis with dynamic restrictions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103138962A (en) * 2011-11-25 2013-06-05 ***通信集团广西有限公司 Remote control method, system and device
CN103092181A (en) * 2012-12-28 2013-05-08 吴玉胜 Household appliance control method and system thereof based on intelligent television equipment
CN108196941A (en) * 2017-12-29 2018-06-22 美的集团股份有限公司 The method, apparatus and computer readable storage medium of terminal control
CN109391841A (en) * 2018-10-16 2019-02-26 四川长虹电器股份有限公司 The timing voice system for prompting and method of smart television
CN109618202A (en) * 2018-12-24 2019-04-12 深圳创维-Rgb电子有限公司 Control method, TV and the readable storage medium storing program for executing of peripheral hardware

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Codebook-based speech enhancement with Bayesian LP parameters estimation;Qing Wang,Chang-chun Bao;《2015 Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA)》;20160225;全文 *
语音识别技术在智能家居中的研究与应用;刘文强;《中国优秀硕士学位论文全文数据库》;20130915;全文 *

Also Published As

Publication number Publication date
CN113676382A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
WO2021000791A1 (en) Method and apparatus for controlling smart home appliance, control device and storage medium
CN108447480B (en) Intelligent household equipment control method, intelligent voice terminal and network equipment
TWI665584B (en) A voice controlling system and method
CN109240111B (en) Intelligent home control method, device and system and intelligent gateway
CN110597075B (en) Method and device for detecting control conflict, electronic equipment and storage medium
CN104852975B (en) Household equipment calling method and device
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
WO2020199673A1 (en) Method and device for controlling household appliance, and household appliance
CN110875041A (en) Voice control method, device and system
CN110286599B (en) Intelligent household appliance remote control method and system based on voice recognition
WO2021047248A1 (en) Multiple control terminal-based iot device control method, control terminal, and storage medium
CN110618614A (en) Control method and device for smart home, storage medium and robot
US20230289198A1 (en) Configuring application scene
CN111367188B (en) Control method and device for intelligent home, electronic equipment and computer storage medium
WO2020224346A1 (en) Control device and operation method therefor, and speech interaction device and operation method therefor
CN115327932A (en) Scene creation method and device, electronic equipment and storage medium
CN113676382B (en) IOT voice command control method, system and computer readable storage medium
CN115793481A (en) Device control method, device, electronic device and storage medium
CN111399459A (en) Intelligent household equipment control method, device, equipment and storage medium
CN114067798A (en) Server, intelligent equipment and intelligent voice control method
CN114120996A (en) Voice interaction method and device
CN113611306A (en) Intelligent household voice control method and system based on user habits and storage medium
CN112908321A (en) Device control method, device, storage medium, and electronic apparatus
CN110794773A (en) Click-type scene creating method and device
CN117555810B (en) Virtual debugging method, device, equipment and storage medium of Internet of things application

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