CN113658590B - Control method and device of intelligent household equipment, readable storage medium and terminal - Google Patents
Control method and device of intelligent household equipment, readable storage medium and terminal Download PDFInfo
- Publication number
- CN113658590B CN113658590B CN202110739339.3A CN202110739339A CN113658590B CN 113658590 B CN113658590 B CN 113658590B CN 202110739339 A CN202110739339 A CN 202110739339A CN 113658590 B CN113658590 B CN 113658590B
- Authority
- CN
- China
- Prior art keywords
- control instruction
- equipment
- matching
- generating
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000006870 function Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Selective Calling Equipment (AREA)
Abstract
A control method, a device, a readable storage medium and a terminal for intelligent home equipment are provided, and the method comprises the following steps: acquiring first voice information sent by a user, converting the first voice information into a corresponding first control instruction, and performing equipment type name matching and room name matching on the first control instruction and equipment information of an intelligent home system; when the unique intelligent home equipment cannot be matched, generating voice prompt information according to the matching result; acquiring second voice information fed back by a user based on the voice prompt information, converting the second voice information into a corresponding second control instruction, and determining unique intelligent household equipment according to the second control instruction; generating a control instruction according to the first control instruction and the second control instruction; and sending the control instruction to the intelligent household equipment so that the intelligent equipment executes the control instruction. The invention can realize a multi-round session mode, thereby flexibly and accurately controlling the intelligent household equipment and improving the user experience.
Description
Technical Field
The invention relates to the field of intelligent home, in particular to a control method and device of intelligent home equipment, a readable storage medium and a terminal.
Background
Along with the rapid development of smart home, the smart home concept finalization speed is increased. The intelligent home is connected with various home appliances or devices through the Internet of things technology, so that the intelligent home has a traditional home function, and can provide all-round information interaction through the Internet of things technology, so that the life style of people is changed.
The traditional intelligent home products are operated by a panel or a mobile phone, so that the intelligent home products are very difficult to work for a person just touching the intelligent home, the actual use frequency is very low after the intelligent configuration of the whole house, and finally, the intelligent home products are controlled by manual operation or the mobile phone, so that the intention of the intelligent home is seriously separated.
Disclosure of Invention
In view of the above, it is necessary to provide a control method, device, readable storage medium and terminal for an intelligent home device, aiming at the problem of inconvenient control of the intelligent home device in the prior art.
A control method of intelligent home equipment comprises the following steps:
Acquiring first voice information sent by a user, converting the first voice information into a corresponding first control instruction, and performing equipment type name matching and room name matching on the first control instruction and equipment information of an intelligent home system;
when the unique intelligent home equipment cannot be matched, generating voice prompt information according to the matching result;
Acquiring second voice information fed back by a user based on the voice prompt information, converting the second voice information into a corresponding second control instruction, and determining unique intelligent household equipment according to the second control instruction;
Generating a control instruction according to the first control instruction and the second control instruction;
And sending the control instruction to the intelligent household equipment so that the intelligent household equipment executes the control instruction.
Further, in the above control method, before the step of generating the voice prompt information according to the matching result, the method further includes:
Judging whether the matching result meets preset conditions or not, wherein the preset conditions comprise any one of the following:
Matching to a device type name and a plurality of room names;
matching to a plurality of device type names and a room name;
matching to a plurality of device type names and a plurality of room names;
matching a room name with a plurality of device type names;
if yes, executing the step of generating voice prompt information according to the matching result.
Further, in the above control method, when one equipment type name and a plurality of room names are matched, the step of generating voice prompt information according to the matching result includes:
Generating first voice prompt information, wherein the first voice prompt information comprises a plurality of matched room names so as to prompt a user to select one room;
When the device type names and the room names are matched, the step of generating voice prompt information according to the matching result comprises the following steps:
generating second voice prompt information, wherein the second voice prompt information comprises a plurality of matched equipment type names so as to prompt a user to select one equipment type;
when the device type names and the room names are matched, the step of generating voice prompt information according to the matching result comprises the following steps:
generating third voice prompt information, wherein the third voice prompt information comprises a plurality of matched equipment type names and a plurality of room names so as to prompt a user to select one room and one equipment type;
When a room name and a plurality of device type names are matched, the step of generating voice prompt information according to the matching result comprises the following steps:
and generating fourth voice prompt information, wherein the fourth voice prompt information comprises all device type names so as to prompt a user to select one device type.
Further, in the above control method, after the step of sending the control instruction to the smart home device to cause the smart home device to execute the control instruction, the method further includes:
When a third control instruction is acquired within a preset time after the control instruction is transmitted, the third control instruction is transmitted to the intelligent household equipment, so that the intelligent household equipment executes the third control instruction.
Further, in the above control method, before the step of sending the third control instruction to the smart home device, the method further includes:
Comparing the third control instruction with the equipment type name and the room name corresponding to the intelligent household equipment to determine whether the third control instruction conflicts with the intelligent household equipment or not;
if not, the step of sending the third control instruction to the intelligent household equipment is executed;
If yes, changing the third control instruction into a first control instruction, and returning to execute the step of performing equipment type name matching and room name matching on the first control instruction and the equipment information of the intelligent home system.
Further, the control method, wherein the step of generating the control instruction according to the first control instruction and the second control instruction includes:
and respectively carrying out semantic skill matching on the first control instruction and the second control instruction and the equipment information of the intelligent home system, and generating a control instruction according to the matched semantic skill.
Further, the control method, wherein the step of generating the control command according to the matched semantic skills includes:
Extracting semantic skill keywords in the first control instruction and the second control instruction, and matching the extracted semantic skill keywords with equipment information of an intelligent home system;
When the unique semantic skills are matched, generating a control instruction according to the matched semantic skills;
when the semantic skills are matched, generating a control instruction according to one semantic skill with the largest keyword information quantity in the semantic skills.
The invention also discloses a control device of the intelligent household equipment, which comprises:
the acquisition module is used for acquiring first voice information sent by a user and converting the first voice information into a corresponding first control instruction;
The instruction matching module is used for performing equipment type name matching and room name matching on the first control instruction and the equipment information of the intelligent home system;
The prompt module is used for generating voice prompt information according to the matching result when the unique intelligent home equipment cannot be matched;
the determining module is used for acquiring second voice information fed back by the user based on the voice prompt information, converting the second voice information into a corresponding second control instruction, and determining unique intelligent household equipment according to the second control instruction;
the control instruction generation module is used for generating a control instruction according to the first control instruction and the second control instruction;
and the first sending module is used for sending the control instruction to the intelligent household equipment so that the intelligent household equipment executes the control instruction.
Further, the control device further includes:
the judging module is used for judging whether the matching result meets preset conditions or not, wherein the preset conditions comprise any one of the following:
Matching to a device type name and a plurality of room names;
matching to a plurality of device type names and a room name;
matching to a plurality of device type names and a plurality of room names;
one room name and a plurality of device type names are matched.
Further, the control device further includes:
And the second sending module is used for sending the third control instruction to the intelligent household equipment when the third control instruction is acquired within the preset time after the control instruction is sent, so that the intelligent household equipment executes the third control instruction.
Further, the control device further includes:
the comparison module is used for comparing the third control instruction with the equipment type name and the room name corresponding to the intelligent household equipment so as to determine whether the third control instruction conflicts with the intelligent household equipment;
if not, the first sending module executes the step of sending the third control instruction to the intelligent household equipment;
If yes, changing the third control instruction into a first control instruction, and returning to execute the steps of performing equipment type name matching and room name matching on the first control instruction and the equipment information of the intelligent home system by the acquisition module.
The invention also discloses a storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of the above.
The invention also discloses a terminal comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of any one of the methods when executing the program.
According to the method and the device, equipment type name matching and room name matching are carried out on the first control instruction obtained through conversion of the first voice information, so that corresponding intelligent household equipment is determined, when unique intelligent household equipment cannot be matched, voice prompt information is sent out, and specific intelligent household equipment is determined according to second voice information replied by a user. The intelligent home device can support the context semantic association function and realize the multi-round session mode, so that the intelligent home device can be flexibly and accurately controlled, and the user experience is improved.
Drawings
Fig. 1 is a flowchart of a control method of a smart home device according to a first embodiment of the present invention;
fig. 2 is a flowchart of a control method of the smart home device according to a second embodiment of the present invention;
Fig. 3 is a block diagram of a control device of a smart home device according to a third embodiment of the present invention;
fig. 4 is a block diagram showing the structure of a terminal according to a fourth embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
These and other aspects of embodiments of the invention will be apparent from and elucidated with reference to the description and drawings described hereinafter. In the description and drawings, particular implementations of embodiments of the invention are disclosed in detail as being indicative of some of the ways in which the principles of embodiments of the invention may be employed, but it is understood that the scope of the embodiments of the invention is not limited correspondingly. On the contrary, the embodiments of the invention include all alternatives, modifications and equivalents as may be included within the spirit and scope of the appended claims.
Referring to fig. 1, a control method of an intelligent home device according to a first embodiment of the present invention includes steps S11 to S14.
Step S11, first voice information sent by a user is obtained and converted into a corresponding first control instruction, and equipment type name matching and room name matching are carried out on the first control instruction and equipment information of the intelligent home system.
The control method in the embodiment can be applied to a terminal, for example, an intelligent control box of an intelligent home system, and also can be a mobile terminal such as a mobile phone, a tablet personal computer and the like held by a user. The terminal is electrically connected with each intelligent household device in the intelligent household system so as to control each intelligent household device. For one smart home system, a plurality of rooms are generally provided, and a plurality of types of devices are configured. One or more of each type of equipment is provided, distributed in the same room or in different rooms, such as refrigerators, typically only one, and in the kitchen, typically a plurality of lamps and at least one for each room.
The terminal stores equipment information of all intelligent household equipment in the intelligent household system, wherein the equipment information comprises room names and equipment type names, and the equipment information can be positioned to unique intelligent household equipment, such as a living room desk lamp, a bedroom air conditioner and the like, according to the room names and the equipment type names, wherein the living room and the bedroom are the room names, the air conditioner and the desk lamp are the equipment type names.
A voice acquisition device, such as a microphone, is installed in the intelligent home system, and a terminal acquires voice information of a user in real time through the voice acquisition device and acquires a corresponding control instruction. When the terminal acquires first voice information sent by a user, converting the first voice information into a first control instruction, and performing equipment type name matching and room name matching on the first control instruction and equipment information of the intelligent home system. In the implementation, keywords in the first control instruction can be extracted and matched with equipment information of the intelligent home system, so that the matched room name and equipment type name can be determined.
And step S12, when the unique intelligent home equipment cannot be matched, generating voice prompt information according to the matching result.
And step S13, acquiring second voice information fed back by the user based on the voice prompt information, converting the second voice information into a second control instruction, and determining a unique intelligent household device according to the second control instruction.
When the first control instruction is a complete control instruction, the terminal can determine the unique intelligent household equipment according to the matching result. The complete control instructions include device type name and/or room name, as well as semantic skills. The semantic skills include action attributes (e.g., on, off, etc.) and degree attributes (e.g., intensity is maximized, intensity is increased, intensity is decreased, etc.). Generally, the first voice information contains semantic skill information, but the device type name or the room name is usually missing, for example, if the voice information of the user is on, it cannot be determined which room or which type of light is on. Aiming at a control instruction converted from incomplete voice information, the unique intelligent household equipment cannot be determined according to the matching result. Therefore, when the unique intelligent home equipment cannot be determined, voice prompt information is generated according to the matching result. Specifically, the unique smart home device cannot be determined according to the matching result, which generally includes the following situations:
Matching to a device type name and a plurality of room names;
matching to a plurality of device type names and a room name;
matching to a plurality of device type names and a plurality of room names;
one room name and a plurality of device type names are matched.
The user sends out second voice information according to the voice prompt information and converts the second voice information into a corresponding second control instruction, and the terminal can determine the unique intelligent household equipment according to the second control instruction. For example, when the desk lamp is turned on, a configuration type and a plurality of room names (including living room, bedroom, etc.) are matched, and then the current device type name is saved to generate voice prompt information such as "please ask you which room to turn on, have living room, bedroom. And the second voice information sent by the user is, for example, a living room, and the unique intelligent household equipment is determined by matching the equipment type name of the previous round with the current room name, namely, a desk lamp of the living room.
It can be understood that when the terminal obtains the second control instruction, the device type name and the room name are also matched, and specific intelligent home equipment is determined according to the matching result.
And step S14, generating a control instruction according to the first control instruction and the second control instruction.
And step S15, the control instruction is sent to the intelligent household equipment, so that the intelligent equipment executes the control instruction.
Specifically, the step of generating the control instruction according to the first control instruction and the second control instruction includes:
and respectively carrying out semantic skill matching on the first control instruction and the second control instruction and the equipment information of the intelligent home system, and generating a control instruction according to the matched semantic skill.
Semantic skills, such as "on", "off", "light", "dim", "turn up", "turn down", etc., are configured for each smart home device in the smart home system. In specific implementation, extracting semantic skill keywords in the first control instruction and the second control instruction, matching the extracted keywords with equipment information of the intelligent home system, and determining corresponding semantic skills. And generating a control instruction according to the determined semantic skills, and sending the control instruction to the intelligent household equipment so that the intelligent household equipment executes the control instruction.
It can be appreciated that, in other embodiments of the present invention, the step of semantic skill matching may be performed when the first control instruction is obtained and the second control instruction is obtained, that is, when the first control instruction is obtained, the device type name matching and the room name matching are performed simultaneously, and the semantic skill matching is performed simultaneously when the second control instruction is obtained.
In this embodiment, device type name matching and room name matching are performed on a first control instruction converted from first voice information, so as to determine corresponding smart home devices, and when a unique smart home device cannot be matched, voice prompt information is sent, and specific smart home devices are determined according to second voice information replied by a user. The embodiment can support the context semantic association function and realize the multi-round session mode, so that intelligent household equipment can be flexibly and accurately controlled, and the user experience is improved.
Referring to fig. 2, a control method of an intelligent home device according to a first embodiment of the present invention includes steps S21 to S28.
Step S21, first voice information sent by a user is obtained and converted into a corresponding first control instruction, and equipment type name matching and room name matching are carried out on the first control instruction and equipment information of the intelligent home system.
Each smart home device in the smart home system is configured with a device type name, a room name, and semantic skills. The room name is used to identify the location where the device is located, such as "living room," "bedroom," "kitchen," etc. The device type name is used to identify the type of device such as "desk lamp", "pendant lamp", "air conditioner", "refrigerator", etc.
And when the first voice information is acquired, converting the first voice information into a corresponding first control instruction, and carrying out equipment type name matching and room name matching on the content in the first control instruction and the equipment information. The matching results generally comprise a matching result to a unique intelligent home device and a matching result to a plurality of intelligent home devices. Wherein matching to a plurality of smart home devices typically includes the following:
Matching to a device type name and a plurality of room names;
matching to a plurality of device type names and a room name;
matching to a plurality of device type names and a plurality of room names;
one room name and a plurality of device type names are matched.
In step S22, when one device type name and a plurality of room names are matched, a first voice prompt is generated, where the first voice prompt includes the matched plurality of room names, so as to prompt the user to select one room.
For example, when the first voice information of the user is "turn on the desk lamp", a plurality of devices such as a living room desk lamp and a bedroom desk lamp can be determined according to the matching result. At this time, the device type name "desk lamp" is saved, and then a first voice prompt message "ask you which room desk lamp, living room, bedroom" is returned. And the user sends out second voice information, such as 'living room', according to the first voice prompt information, and then the intelligent household equipment determined by the equipment name of the previous round and the current room name is matched.
In step S23, when the device type names and the room name are matched, a second voice prompt is generated, where the second voice prompt includes the matched device type names, so as to prompt the user to select a device type.
For example, when the first voice information of the user is "turn on the living room light", a plurality of devices such as a desk lamp of the living room and a ceiling lamp of the living room can be determined according to the matching result. At this time, the room name "living room" is saved, and then a second voice prompt message "ask you which lamp, desk lamp, ceiling lamp of living room to turn on" is returned. And the user sends out second voice information, such as a pendant lamp, according to the second voice prompt information, and the intelligent household equipment is determined by matching the equipment name of the previous round with the current room name.
Step S24, when the plurality of device type names and the plurality of room names are matched, third voice prompt information is generated, wherein the third voice prompt information comprises the matched plurality of device type names and the matched plurality of room names so as to prompt a user to select one room and one device type.
For example, when the first voice information of the user is "turn on the light", a plurality of devices such as a living room desk lamp, a living room ceiling lamp, and a bedroom desk lamp can be determined according to the matching result. At this time, a third voice prompt message "ask you which equipment to turn on, there are a living room desk lamp, a living room ceiling lamp, and a bedroom desk lamp" is returned. And the user sends out second voice information, such as a 'ceiling lamp in living room', according to the third voice prompt information, and the intelligent household equipment is determined, namely the 'ceiling lamp in living room'.
In step S25, when one room name and a plurality of device type names are matched, a fourth voice prompt is generated, wherein the fourth voice prompt includes all device type names to prompt the user to select one device type.
For example, when the first voice information of the user is "i am in living room", a plurality of devices, such as ceiling lamp in living room, desk lamp in living room, and air conditioner in living room, can be determined according to the matching result. At this time, the current room name is saved, and then a fourth voice prompt message "ask you which equipment in the living room to turn on, there are desk lamp, ceiling lamp, air conditioner". If the second voice information of the second round of users is "turn on the desk lamp", the room name of the previous round and the current equipment name are matched to determine one equipment.
Step S26, second voice information fed back by the user based on the voice prompt information is obtained and converted into a corresponding second control instruction, and unique intelligent household equipment is determined according to the second control instruction.
And step S27, carrying out semantic skill matching on the first control instruction and the second control instruction and the equipment information of the intelligent home system respectively, generating a control instruction according to the matched semantic skill, and sending the control instruction to the intelligent home equipment so as to enable the intelligent equipment to execute the control instruction.
The semantic skills are used to identify the functionality of the device, which includes action attributes, such as on, off, etc., and degree attributes, such as intensity modulated to maximum, intensity modulated to high, intensity modulated to low, etc. Based on the device type name, the room name may be located to a particular device, and based on the semantic skills, the actions to be performed by the device may be determined.
When semantic skill matching is carried out, extracting semantic skill keywords in the first control instruction and the second control instruction, matching the extracted keywords with equipment information of the intelligent home system, and determining corresponding semantic skills.
It will be appreciated that when a unique semantic skill is matched based on the first control command and the second control command, then the control command is generated based on the unique semantic skill. When the semantic skills are matched, a control instruction is generated according to a semantic skill with the maximum keyword information quantity in the semantic skills, namely, one semantic skill is screened according to a screening algorithm with the maximum keyword information quantity in priority, so that the control instruction is generated.
And step S28, when a third control instruction is acquired within a preset time after the control instruction is transmitted, transmitting the third control instruction to the intelligent device so that the intelligent device executes the third control instruction.
The preset time is set according to actual requirements, for example, 1min, that is, when a third control instruction is obtained within 1min after the control instruction is sent, the third control instruction is directly sent to the intelligent home equipment. The third control command is also obtained by converting the acquired voice information of the user, and the third control command can be a simple control command such as "on", "off", "brightness" and the like. When the terminal sends the control command, the current equipment name and the room name are saved, the user directly speaks the control command next time, and the system is intelligently related to the equipment controlled last time. For example, the first control instruction sent by the user is "turn on the living room ceiling lamp", after the terminal performs equipment matching and semantic skill matching, the corresponding control instruction is sent to the living room ceiling lamp, the living room ceiling lamp executes the control instruction and is turned on successfully, and the user only needs to send the control instruction, such as "light turning on" or "turning off" within 1min later, so that the living room ceiling lamp can be controlled directly.
It may be appreciated that the step of sending the third control instruction to the smart device may further include:
Comparing the third control instruction with the equipment type name and the room name corresponding to the intelligent household equipment to determine whether the third control instruction conflicts with the intelligent household equipment or not;
if not, executing the step of sending the third control instruction to the intelligent equipment;
If yes, changing the third control instruction into a first control instruction, and returning to execute the step of performing equipment type name matching and room name matching on the first control instruction and the equipment information of the intelligent home system.
When the third control instruction includes equipment and the equipment is different from the intelligent home equipment, the instruction needs to be parsed again. In a specific implementation, the third control command may be directly sent to the smart device, as follows:
Only to semantic skills;
Only matching semantic skills and room names, wherein the room names are the same as the room names corresponding to the intelligent home;
Only matching semantic skills and device type names, wherein the device type names are the same as the device type names corresponding to the intelligent home;
matching semantic skills, room names and device type names, wherein the room names and the device type names are the same as the names corresponding to the smart home.
Referring to fig. 3, a control device for an intelligent home device according to a third embodiment of the present invention includes:
the obtaining module 31 is configured to obtain first voice information sent by a user and convert the first voice information into a corresponding first control instruction;
An instruction matching module 32, configured to perform device type name matching and room name matching on the first control instruction and device information of the smart home system
The prompt module 33 is configured to generate a voice prompt message according to the matching result when the unique smart home device cannot be matched;
The determining module 34 is configured to obtain second voice information fed back by the user based on the voice prompt information, convert the second voice information into a corresponding second control instruction, and determine a unique smart home device according to the second control instruction;
a control instruction generating module 35, configured to generate a control instruction according to the first control instruction and the second control instruction;
And the first sending module 36 is configured to send the control instruction to the smart home device, so that the smart device executes the control instruction.
Further, the control device of the smart home device further comprises:
the judging module is used for judging whether the matching result meets preset conditions or not, wherein the preset conditions comprise any one of the following:
Matching to a device type name and a plurality of room names;
matching to a plurality of device type names and a room name;
matching to a plurality of device type names and a plurality of room names;
one room name and a plurality of device type names are matched.
Further, the control device of the smart home device further comprises:
And the second sending module is used for sending the third control instruction to the intelligent equipment when the third control instruction is acquired in the preset time after the control instruction is sent, so that the intelligent equipment executes the third control instruction.
Further, the control device of the smart home device further comprises:
the comparison module is used for comparing the third control instruction with the equipment type name and the room name corresponding to the intelligent household equipment so as to determine whether the third control instruction conflicts with the intelligent household equipment;
If not, the first sending module executes the step of sending the third control instruction to the intelligent equipment;
If yes, changing the third control instruction into a first control instruction, and returning to execute the steps of performing equipment type name matching and room name matching on the first control instruction and the equipment information of the intelligent home system by the acquisition module.
The control device of the smart home device of the present embodiment may be used to execute the technical scheme of any one of the method embodiments shown in fig. 1 to 2, and its implementation principle and technical effect are similar, and will not be described herein again.
In another aspect, referring to fig. 4, a terminal according to a fourth embodiment of the present invention includes a processor 10, a memory 20, and a computer program 30 stored in the memory and capable of running on the processor, where the processor 10 implements the control method described above when executing the computer program 30.
The terminal can be, but is not limited to, a computer, a tablet computer, a mobile phone and other devices. The processor 10 may in some embodiments be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chip for executing program code or processing data stored in the memory 20, etc.
The memory 20 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 20 may in some embodiments be an internal storage unit of the terminal, such as a hard disk of the terminal. The memory 20 may also be an external storage device of the terminal in other embodiments, such as a plug-in hard disk provided on the terminal, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), etc. Further, the memory 20 may also include both an internal storage unit and an external storage device of the terminal. The memory 20 may be used not only to store application software installed in a terminal and various types of data, but also to temporarily store data that has been output or is to be output.
Optionally, the terminal may further comprise a user interface, which may comprise a Display (play), an input unit such as a Keyboard (Keyboard), a network interface, a communication bus, etc., and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the terminal and for displaying a visual user interface. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), and is typically used to establish a communication connection between the device and other electronic devices. The communication bus is used to enable connected communication between these components.
It should be noted that the structure shown in fig. 4 does not constitute a limitation of the terminal, and in other embodiments the terminal may comprise fewer or more components than shown, or some components may be combined, or a different arrangement of components.
The invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the control method of the smart home device as described above.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
Claims (8)
1. The control method of the intelligent household equipment is characterized by comprising the following steps of:
Acquiring first voice information sent by a user, converting the first voice information into a corresponding first control instruction, and performing equipment type name matching and room name matching on the first control instruction and equipment information of an intelligent home system;
When the unique intelligent home equipment cannot be matched, generating voice prompt information according to the matching result;
Acquiring second voice information fed back by a user based on the voice prompt information, converting the second voice information into a corresponding second control instruction, and determining unique intelligent household equipment according to the second control instruction;
Generating a control instruction according to the first control instruction and the second control instruction;
sending the control instruction to the intelligent household equipment so that the intelligent household equipment executes the control instruction;
The step of generating a control instruction according to the first control instruction and the second control instruction comprises:
respectively carrying out semantic skill matching on the first control instruction and the second control instruction and equipment information of the intelligent home system, and generating a control instruction according to the matched semantic skill, wherein the semantic skill is used for identifying the functions of equipment and comprises action attributes and degree attributes;
The step of generating control instructions according to the matched semantic skills comprises the following steps:
Extracting semantic skill keywords in the first control instruction and the second control instruction, and matching the extracted semantic skill keywords with equipment information of an intelligent home system;
When the unique semantic skills are matched, generating a control instruction according to the matched semantic skills;
when the semantic skills are matched, generating a control instruction according to one semantic skill with the largest keyword information quantity in the semantic skills.
2. The control method according to claim 1, wherein the step of generating the voice prompt from the matching result further comprises:
Judging whether the matching result meets preset conditions or not, wherein the preset conditions comprise any one of the following:
Matching to a device type name and a plurality of room names;
matching to a plurality of device type names and a room name;
matching to a plurality of device type names and a plurality of room names;
matching a room name with a plurality of device type names;
if yes, executing the step of generating voice prompt information according to the matching result.
3. The control method according to claim 2, wherein,
When matching to a device type name and a plurality of room names, the step of generating voice prompt information according to the matching result comprises the following steps:
Generating first voice prompt information, wherein the first voice prompt information comprises a plurality of matched room names so as to prompt a user to select one room;
when the device type names and the room names are matched, the step of generating voice prompt information according to the matching result comprises the following steps:
generating second voice prompt information, wherein the second voice prompt information comprises a plurality of matched equipment type names so as to prompt a user to select one equipment type;
When the device type names and the room names are matched, the step of generating voice prompt information according to the matching result comprises the following steps:
generating third voice prompt information, wherein the third voice prompt information comprises a plurality of matched equipment type names and a plurality of room names so as to prompt a user to select one room and one equipment type;
when a room name and a plurality of device type names are matched, the step of generating voice prompt information according to the matching result comprises the following steps:
and generating fourth voice prompt information, wherein the fourth voice prompt information comprises all device type names so as to prompt a user to select one device type.
4. The control method according to claim 1, wherein the step of sending the control instruction to the smart home device to cause the smart home device to execute the control instruction further comprises:
When a third control instruction is acquired within a preset time after the control instruction is transmitted, the third control instruction is transmitted to the intelligent household equipment, so that the intelligent household equipment executes the third control instruction.
5. The control method according to claim 4, wherein the step of transmitting the third control instruction to the smart home device further includes:
Comparing the third control instruction with the equipment type name and the room name corresponding to the intelligent household equipment to determine whether the third control instruction conflicts with the intelligent household equipment or not;
if not, the step of sending the third control instruction to the intelligent household equipment is executed;
If yes, changing the third control instruction into a first control instruction, and returning to execute the step of performing equipment type name matching and room name matching on the first control instruction and the equipment information of the intelligent home system.
6. The utility model provides a controlling means of intelligent house equipment which characterized in that includes:
the acquisition module is used for acquiring first voice information sent by a user and converting the first voice information into a corresponding first control instruction;
The instruction matching module is used for performing equipment type name matching and room name matching on the first control instruction and the equipment information of the intelligent home system;
the prompting module is used for generating voice prompting information according to a matching result when the unique intelligent home equipment cannot be matched;
the determining module is used for acquiring second voice information fed back by the user based on the voice prompt information, converting the second voice information into a corresponding second control instruction, and determining unique intelligent household equipment according to the second control instruction;
the control instruction generation module is used for generating a control instruction according to the first control instruction and the second control instruction;
The first sending module is used for sending the control instruction to the intelligent household equipment so that the intelligent household equipment executes the control instruction;
the step of generating a control instruction according to the first control instruction and the second control instruction comprises:
respectively carrying out semantic skill matching on the first control instruction and the second control instruction and equipment information of the intelligent home system, and generating a control instruction according to the matched semantic skill, wherein the semantic skill is used for identifying the functions of equipment and comprises action attributes and degree attributes;
The step of generating control instructions according to the matched semantic skills comprises the following steps:
Extracting semantic skill keywords in the first control instruction and the second control instruction, and matching the extracted semantic skill keywords with equipment information of an intelligent home system;
When the unique semantic skills are matched, generating a control instruction according to the matched semantic skills;
when the semantic skills are matched, generating a control instruction according to one semantic skill with the largest keyword information quantity in the semantic skills.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any of claims 1-5.
8. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-5 when the program is executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110739339.3A CN113658590B (en) | 2021-06-30 | 2021-06-30 | Control method and device of intelligent household equipment, readable storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110739339.3A CN113658590B (en) | 2021-06-30 | 2021-06-30 | Control method and device of intelligent household equipment, readable storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113658590A CN113658590A (en) | 2021-11-16 |
CN113658590B true CN113658590B (en) | 2024-05-28 |
Family
ID=78477832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110739339.3A Active CN113658590B (en) | 2021-06-30 | 2021-06-30 | Control method and device of intelligent household equipment, readable storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113658590B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117014245A (en) * | 2022-04-29 | 2023-11-07 | 青岛海尔科技有限公司 | Method and device for selecting instruction execution equipment, storage medium and electronic device |
CN114859749B (en) * | 2022-06-27 | 2023-03-10 | 忆月启函(盐城)科技有限公司 | Intelligent home management method and system based on Internet of things |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107290974A (en) * | 2017-08-18 | 2017-10-24 | 三星电子(中国)研发中心 | A kind of smart home exchange method and device |
CN107544272A (en) * | 2017-09-18 | 2018-01-05 | 广东美的制冷设备有限公司 | terminal control method, device and storage medium |
CN108320747A (en) * | 2018-02-08 | 2018-07-24 | 广东美的厨房电器制造有限公司 | Appliances equipment control method, equipment, terminal and computer readable storage medium |
CN109507907A (en) * | 2018-12-29 | 2019-03-22 | 上海移汇信息科技有限公司 | Speech-sound intelligent appliance control method, apparatus and system |
CN110147047A (en) * | 2019-06-19 | 2019-08-20 | 深圳聚点互动科技有限公司 | Smart home device screening technique, device, computer equipment and storage medium |
CN111294258A (en) * | 2020-02-10 | 2020-06-16 | 成都捷顺宝信息科技有限公司 | Voice interaction system and method for controlling intelligent household equipment |
-
2021
- 2021-06-30 CN CN202110739339.3A patent/CN113658590B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107290974A (en) * | 2017-08-18 | 2017-10-24 | 三星电子(中国)研发中心 | A kind of smart home exchange method and device |
CN107544272A (en) * | 2017-09-18 | 2018-01-05 | 广东美的制冷设备有限公司 | terminal control method, device and storage medium |
CN108320747A (en) * | 2018-02-08 | 2018-07-24 | 广东美的厨房电器制造有限公司 | Appliances equipment control method, equipment, terminal and computer readable storage medium |
CN109507907A (en) * | 2018-12-29 | 2019-03-22 | 上海移汇信息科技有限公司 | Speech-sound intelligent appliance control method, apparatus and system |
CN110147047A (en) * | 2019-06-19 | 2019-08-20 | 深圳聚点互动科技有限公司 | Smart home device screening technique, device, computer equipment and storage medium |
CN111294258A (en) * | 2020-02-10 | 2020-06-16 | 成都捷顺宝信息科技有限公司 | Voice interaction system and method for controlling intelligent household equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113658590A (en) | 2021-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113658590B (en) | Control method and device of intelligent household equipment, readable storage medium and terminal | |
CN107919121B (en) | Control method and device of intelligent household equipment, storage medium and computer equipment | |
CN105471705B (en) | Intelligent control method, equipment and system based on instant messaging | |
CN106647311B (en) | Intelligent central control system, equipment, server and intelligent equipment control method | |
CN103197571A (en) | Control method, device and system | |
CN109559742B (en) | Voice control method, system, storage medium and computer equipment | |
CN111367188B (en) | Control method and device for intelligent home, electronic equipment and computer storage medium | |
CN105185378A (en) | Voice control method, voice control system and air conditioner capable of realizing voice control | |
CN107477793A (en) | A kind of air purifier, control system of air purifier and method | |
US10874011B1 (en) | Communication interface for front panel and power module | |
CN104601838A (en) | Voice and wireless control intelligent household appliance operation system | |
CN115327932A (en) | Scene creation method and device, electronic equipment and storage medium | |
CN114172757A (en) | Server, intelligent home system and multi-device voice awakening method | |
CN111123875A (en) | Intelligent household control method and system and intelligent tea table | |
WO2020228033A1 (en) | Sdk plug-in loading method and apparatus, and mobile terminal and storage medium | |
CN111754997A (en) | Control device and operation method thereof, and voice interaction device and operation method thereof | |
CN113611306A (en) | Intelligent household voice control method and system based on user habits and storage medium | |
CN108694827B (en) | Household appliance voice control method and device and central control equipment | |
CN112486105B (en) | Equipment control method and device | |
KR102517219B1 (en) | Electronic apparatus and the control method thereof | |
JP7340764B2 (en) | voice control system | |
CN205139694U (en) | Intelligent housing system | |
US11265982B2 (en) | Intelligent lighting control system phase cutting apparatuses, systems, and methods | |
CN110164426B (en) | Voice control method and computer storage medium | |
CN106297783A (en) | A kind of interactive voice identification intelligent terminal |
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 |