CN107908116B - Voice control method, intelligent home system, storage medium and computer equipment - Google Patents

Voice control method, intelligent home system, storage medium and computer equipment Download PDF

Info

Publication number
CN107908116B
CN107908116B CN201710986363.0A CN201710986363A CN107908116B CN 107908116 B CN107908116 B CN 107908116B CN 201710986363 A CN201710986363 A CN 201710986363A CN 107908116 B CN107908116 B CN 107908116B
Authority
CN
China
Prior art keywords
voice control
control instruction
current
standard
environment descriptor
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
CN201710986363.0A
Other languages
Chinese (zh)
Other versions
CN107908116A (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.)
Shenzhen Atte Smart Life Co ltd
Original Assignee
Shenzhen Atte Smart Life 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 Shenzhen Atte Smart Life Co ltd filed Critical Shenzhen Atte Smart Life Co ltd
Priority to CN201710986363.0A priority Critical patent/CN107908116B/en
Publication of CN107908116A publication Critical patent/CN107908116A/en
Application granted granted Critical
Publication of CN107908116B publication Critical patent/CN107908116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • 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
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Quality & Reliability (AREA)
  • Manufacturing & Machinery (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Selective Calling Equipment (AREA)

Abstract

A voice control method, an intelligent home system, a storage medium and a computer device are provided, the method comprises the following steps: acquiring a current voice control instruction in voice information of a user, and judging whether the voice control instruction is a complete voice control instruction, wherein the complete voice control instruction is an instruction which can be used for directly executing and controlling the intelligent home equipment; if yes, executing the current voice control instruction; if not, extracting at least one environment descriptor in the voice information; and inquiring a current standard voice control instruction matched with the current voice control instruction in a preset semantic association rule according to the environment descriptor and the current voice control instruction, and executing the inquired current standard voice control instruction, wherein the semantic association rule comprises a corresponding relation between the environment descriptor and the standard voice control instruction. The method and the system can more intelligently recognize the fuzzy voice control instruction sent by the user, conveniently control the intelligent household equipment and improve the user experience.

Description

Voice control method, intelligent home system, storage medium and computer equipment
Technical Field
The invention relates to the field of intelligent home furnishing, in particular to a voice control method, an intelligent home furnishing system, a storage medium and computer equipment.
Background
With the development and application of the Internet plus and the progress of the technology, the intelligent home concept is rapidly finished. The intelligent home is connected with various home appliances or devices in the home through the Internet of things technology, not only has the traditional home function, but also can provide all-round information interaction through the Internet of things technology, and the life style of people is changed.
In the process of using the intelligent home equipment, for convenience in operation, the user can control the intelligent home equipment through voice, namely, the user sends a control instruction through a voice mode. However, in an actual scenario, for a fuzzy voice control instruction sent by a user, that is, an incomplete voice control instruction, for example, "turn on an air conditioner," but it is not described which room is the air conditioner, the smart home system cannot turn on the air conditioner, and user experience is poor.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a voice control method, an intelligent home system, a storage medium, and a computer device for solving the problem in the prior art that incomplete voice control commands cannot be recognized.
One aspect of the present invention provides a voice control method, including:
acquiring a current voice control instruction in voice information of a user, and judging whether the voice control instruction is a complete voice control instruction, wherein the complete voice control instruction is an instruction which can be used for directly executing and controlling the intelligent home equipment;
if not, extracting at least one environment descriptor in the voice information;
and inquiring a current standard voice control instruction matched with the current voice control instruction in a preset semantic association rule according to the environment descriptor and the current voice control instruction, and executing the inquired current standard voice control instruction, wherein the semantic association rule comprises a corresponding relation between the environment descriptor and the standard voice control instruction.
And when the voice control instruction is acquired, judging whether the current voice control instruction is complete, and if so, executing the current voice control instruction. If the voice information is not complete, a standard voice control instruction is inquired from the semantic association rule according to the environment descriptor in the user voice information, a current standard voice control instruction matched with the current voice control instruction is inquired from the inquired standard voice control instruction, and the current standard voice control instruction is executed. The intelligent home system is optimized, the fuzzy voice control instruction sent by the user is more intelligently recognized, the intelligent home equipment is conveniently controlled, and the user experience is improved.
The voice control method, wherein the step of querying a current standard voice control instruction matched with the current voice control instruction in a preset semantic association rule according to the environment descriptor and the current voice control instruction comprises:
inquiring a standard voice control instruction corresponding to each environment descriptor in a preset semantic association rule;
and inquiring a current standard voice control instruction matched with the current voice control instruction in the standard voice control instructions corresponding to the environment descriptor according to the current voice control instruction.
In specific implementation, the environment descriptor is used as an index to traverse each corresponding relation in the semantic association rule, and a standard voice control instruction corresponding to the environment descriptor in the voice information is found. And determining the current standard voice control instruction matched with the current voice control instruction from the searched one or more standard voice control instructions. Specifically, the current voice control instruction is compared with one or more queried standard voice control instructions, and when the compared current standard voice control instruction contains the current voice control instruction, the current voice control instruction which is successfully matched is executed. And formulating semantic association rules according to the expression habits of the user so that the intelligent home system can better serve the user.
In the voice control method, the step of judging whether the current voice control command is a complete voice control command includes:
when the current voice control instruction contains identification information, determining that the current voice control instruction is a complete voice control instruction;
when the current voice control instruction does not contain the identification information, judging whether only one intelligent household device corresponding to the current voice control instruction exists;
if so, determining that the current voice control instruction is a complete voice control instruction;
if not, determining that the current voice control instruction is an incomplete voice control instruction.
The identification information is a keyword for determining a specific control object, for example, a voice control command "turn on a light in a room" or "turn on a light in a living room", where "room" or "living room" is the identification information of the control object and can be made clear to a smart home device in a certain position. It is understood that the identification information may be represented by a color, a shape or other information besides the position information, such as a voice control command "turn on a red light" or "turn on a circular light", wherein "red" and "circular" are identification information. When the smart home devices corresponding to the current control instruction include a plurality of smart home devices and the current voice control instruction does not include the identification information, for example, "turn on a light", where there are a plurality of lights, the current voice control instruction is an incomplete voice control instruction.
In another case, the current voice control command does not include identification information, but the control object is the only smart home device. For example, when only one refrigerator is provided in the smart home system, the voice control instruction "open the refrigerator", which is a definite control instruction, i.e., a complete control instruction, and the current control instruction is directly executed.
The integrity of the voice control instruction is judged by analyzing whether the voice information contains identification information or not and whether only one control object exists or not, so that the identification efficiency of the voice control instruction is improved.
The voice control method described above, wherein the step of extracting at least one environment descriptor in the voice information includes:
and extracting at least one environment descriptor in the voice information in a preset time before the current voice control instruction.
According to the scheme, the environment descriptors in a section of voice information in the preset time before the current voice control instruction are inquired, the failure environment descriptors can be effectively eliminated, and the effective environment descriptors are reserved. And querying a standard voice control instruction corresponding to the effective environment descriptor in the semantic association rule.
The voice control method further comprises the following steps:
and when the current standard voice control instruction matched with the current voice control instruction is not inquired, sending a prompt.
In the scheme, when the current standard voice control instruction matched with the current voice control instruction is not inquired, a prompt is sent. To remind the user to issue a complete voice control instruction.
Another aspect of the present invention further provides an intelligent home system, including:
the acquisition unit is used for acquiring a current voice control instruction in the voice information of the user;
the judging unit is used for judging whether the voice control instruction is a complete voice control instruction or not;
an extracting unit, configured to extract at least one environment descriptor in the voice information;
the query unit is used for querying a current standard voice control instruction matched with the current voice control instruction in preset semantic association rules according to the environment descriptor and the current voice control instruction, wherein the semantic association rules comprise the corresponding relation between the environment descriptor and the standard voice control instruction;
and the execution unit is used for executing the inquired current standard voice control instruction.
And judging whether the current voice control instruction is complete or not by acquiring the current voice control instruction in the voice information of the user. If the voice information is incomplete, the corresponding standard voice control instruction is found in the preset semantic association rule through the environment descriptor in the voice information, and the standard voice control instruction is matched with the current voice control instruction so as to determine the standard voice control instruction required by the user. The technical scheme identifies the fuzzy and incomplete voice control instruction sent by the user, reacts, is more intelligent and improves the user experience.
The above-mentioned smart home systems, wherein, the query unit is used for:
inquiring a standard voice control instruction corresponding to each environment descriptor in a preset semantic association rule;
and inquiring a current standard voice control instruction matched with the current voice control instruction in the standard voice control instructions corresponding to the environment descriptor according to the current voice control instruction.
The above smart home system, wherein the determining unit is configured to:
when the current voice control instruction contains identification information, determining that the current voice control instruction is a complete voice control instruction;
when the current voice control instruction does not contain the identification information, judging whether only one intelligent household device corresponding to the current voice control instruction exists;
if so, determining that the current voice control instruction is a complete voice control instruction;
if not, determining that the current voice control instruction is an incomplete voice control instruction.
The invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the above-mentioned method.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the program.
Drawings
FIG. 1 is a flow chart of a voice control method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a voice control method according to a second embodiment of the present invention;
fig. 3 is a structural block of an intelligent home system in a third embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
These and other aspects of embodiments of the invention will be apparent with reference to the following description and attached drawings. In the description and drawings, particular embodiments of the invention have been disclosed in detail as being indicative of some of the ways in which the principles of the embodiments of the invention may be practiced, 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 changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Referring to FIG. 1, a voice control method according to a first embodiment of the present invention includes steps S11-S16.
In step S11, the current voice control command in the voice information of the user is obtained.
The voice information of the user can be collected in real time through voice collecting equipment of the intelligent home system, such as a microphone. And after the voice information is obtained, analyzing the voice information, and extracting keywords to obtain the current voice control instruction. In specific implementation, the keywords may be extracted by analyzing parts of speech of phrases in the voice message or by comparing the voice message with a preset keyword lexicon, and a voice control instruction of the user, such as "turn on a light", "turn on an air conditioner", is obtained according to the extracted keywords.
Step S12, determining whether the voice control command is a complete voice control command, where the complete voice control command is a command that can be used to directly execute a command for controlling the smart home device, and if so, executing step S13, otherwise, executing step S14.
Extracting keywords in the voice information, wherein the keywords generally comprise three types of keywords, namely keywords representing a control object, namely the intelligent household equipment; second, keywords representing control actions, such as "on", "off", and the like; third, identification information, which is a keyword for specifying a control target, such as "living room" and "room". When the voice information including the three types of keywords is extracted, the obtained voice control instruction is a complete voice control instruction, for example, turning on a lamp in a living room.
When the intelligent home equipment corresponding to the current voice control instruction has a plurality of similar equipment, the intelligent home equipment only contains the control object and the key words of the control action as incomplete voice control instructions, namely fuzzy voice control instructions. Such as "turn on air conditioner", "turn on light", etc., but it is not clear which air conditioner and which light, and therefore is a fuzzy control command. When the control command includes a keyword indicating identification information, that is, a keyword identifying a specific control object, the current control command is a complete control command, for example, "turn on a light in a room" and "turn on a light in a living room", where "room" and "living room" are identification information of the control object, and the smart home device in a certain position can be specified. It is to be understood that the identification information may be information of a color or shape, such as "turn on red light" or "turn on circular light", in addition to being represented by the position information, where "red" and "circular" are identification information.
In step S13, the current voice control instruction is executed.
And when the current control instruction is a complete control instruction, namely a specific control object can be determined, executing the current control instruction.
And step S14, extracting at least one environment descriptor in the voice information.
And when the current control instruction is an incomplete control instruction, analyzing the acquired voice information and extracting the environment descriptor in the voice information. The environment descriptor can be an environment descriptor pre-stored in the smart home system, and the voice information is compared with the environment descriptor stored in the system by analyzing the voice information so as to extract the environment descriptor in the voice information of the user. The environment descriptor may be a word, phrase or sentence related to the location, environment, such as "the living room is hot" or "the room is too dark", etc.
And step S15, inquiring a current standard voice control instruction matched with the current voice control instruction in the semantic association rule according to the environment descriptor and the current voice control instruction. The semantic association rule comprises the corresponding relation between the environment descriptor and the standard voice control instruction.
And when the current voice control command can not definitely control the object, determining the current voice control command as an incomplete voice control command. At the moment, the standard voice control instruction matched with the current voice control instruction is determined according to the semantic association rule. The semantic association rule comprises a corresponding relation between the environment descriptor and a standard voice control instruction, for example, the standard voice control instruction corresponding to the 'hot living room' is 'air conditioner in the living room is turned on'. The semantic association rule can be pre-stored in the smart home system, and the user can edit and store the semantic association rule.
It can be understood that the intelligent home system can also obtain the semantic association rule by collecting and analyzing the voice information of the user in real time and recording and analyzing the operation data of each intelligent home device. The intelligent home system records daily conversation, communication and voice control instructions of the user and the operation state of the intelligent home equipment, for example, the daily conversation of the user is that a room is hot, and issues a voice control instruction that air conditioners in the room are turned on, and the air conditioners in the room start to be turned on and operated. After several times of recording and analysis, a semantic association rule is obtained, namely the relationship between the environment descriptor and the standard voice control instruction, for example, a semantic association relationship is formed between 'the room is very hot' and 'the air conditioner of the room is turned on', and a semantic association relationship is formed between 'the room is too dark' and 'the lamp of the room is turned on'.
The voice information of the user comprises one or more environment descriptors, and at least one standard voice control instruction is inquired in the semantic association rule according to the environment descriptors. Therefore, it is necessary to determine whether there is a standard voice control command corresponding to the user requirement in the queried standard voice control commands according to the current voice control command. The step of inquiring the standard voice control instruction matched with the current voice control instruction comprises the following steps:
matching keywords of a control object and keywords of a control action in a current voice control instruction with a standard voice control instruction corresponding to each environment descriptor respectively;
and determining the current standard voice control command which is successfully matched as the voice control command required by the user.
And step S16, executing the inquired current standard voice control instruction.
Furthermore, if no environment descriptor is in the voice information or the standard voice control instruction inquired according to the environment descriptor is not matched with the current voice control instruction, a voice prompt can be sent. To remind the user to issue a complete voice control instruction.
In the embodiment, the standard voice control instruction is obtained by extracting the environment descriptor in the user voice information, when the current voice control sent by the user is an incomplete voice control instruction, the current standard voice control instruction matched with the current voice control instruction is inquired from the standard voice control instructions corresponding to the environment descriptor, and the current standard voice control instruction is executed. The intelligent home system is optimized, fuzzy voice control instructions sent by the user are more intelligently recognized, the intelligent home equipment is conveniently controlled, and user experience is improved.
Referring to FIG. 2, a voice control method according to a second embodiment of the present invention includes steps S21-S27.
In step S21, the current voice control command in the voice information of the user is obtained.
The intelligent home system acquires and stores voice information of a user in real time, and extracts keywords in the voice information by analyzing the voice information, such as extracting keywords of intelligent home equipment names, keywords of control actions, identification information and the like, so as to obtain a voice control instruction of the user.
Step S22, determining whether the voice control command is a complete voice control command, if yes, performing step S23, otherwise, performing step S24.
In specific implementation, the step of judging whether the voice control instruction is a complete voice control instruction comprises the following steps:
step S221, inquiring whether the current voice control instruction contains identification information;
step S222, when the current voice control instruction contains identification information, determining that the current voice control instruction is a complete voice control instruction;
step S223, when the current voice control instruction does not contain the identification information, judging whether only one intelligent household device corresponding to the current voice control instruction exists;
step S224, if yes, determining that the current voice control instruction is a complete voice control instruction;
and step S225, if not, determining that the current voice control instruction is an incomplete voice control instruction.
The identification information is a keyword for determining a specific control object, for example, a voice control command "turn on a light in a room" or "turn on a light in a living room", where "room" or "living room" is the identification information of the control object and can be made clear to a smart home device in a certain position.
When a plurality of intelligent home devices corresponding to the current voice control instruction exist, and the current voice control instruction only comprises the keywords of the names of the intelligent home devices and the keywords of the control actions but does not comprise the identification information, the current control instruction is an incomplete voice control instruction.
In another case, the current voice control command does not include identification information, but the control object is the only smart home device. For example, when only one refrigerator is in the smart home system, the voice control instruction "opens the refrigerator", which is an explicit control instruction, that is, a complete control instruction, so that the smart home system directly executes the current control instruction.
It is understood that the identification information may be represented by color, shape or other information besides the position information, and is not limited herein. For example, the voice control command "turn on red light" or "turn on circular light", where "red" and "circular" are identification information.
In step S23, the current voice control instruction is executed.
And step S24, extracting at least one environment descriptor in the voice information in the preset time before the current voice control instruction.
In the above steps, the environment description words in the target voice information are extracted by analyzing a section of voice information in a preset time before the current voice control instruction, namely the target voice information, and comparing the target voice information with an environment description word library pre-stored in the smart home system.
The intelligent home system acquires and stores the voice information of the user in real time, but some environment descriptors in the voice information of the user are invalid environment descriptors, for example, the environment descriptors in the voice information sent by the user yesterday are not related to the voice control instruction of the user today. So that some failed environmental descriptors are rejected. In the embodiment, by querying the environment descriptor in a segment of voice information within a preset time before the current voice control instruction, the voice information outside the preset time segment can be excluded, the failure environment descriptor can be effectively eliminated, the effective environment descriptor can be reserved, and the standard voice control instruction corresponding to the effective environment descriptor can be queried in the semantic association rule. The preset time is, for example, 1 hour, that is, when the semantic control instruction of the user is acquired, the environment descriptor within 1 hour before the current control instruction is sent by the user is queried.
It can be understood that the smart home system may delete the stored voice information periodically, for example, the voice information before 12h may be automatically deleted, so as to reduce the load of the system.
And step S25, inquiring a standard voice control instruction corresponding to the environment descriptor in a preset semantic association rule.
The semantic association rule is stored in the intelligent home system and comprises a corresponding relation between the environment descriptor and the standard voice control instruction. For example, the standard voice control command corresponding to "the living room is hot" is "turn on the air conditioner in the living room". The semantic association rule can be pre-stored in the smart home system, and the user can edit and store the semantic association rule. Or the intelligent home system obtains the semantic association rule according to the analysis operation data and stores the semantic association rule.
And step S26, inquiring a current standard voice control instruction matched with the current voice control instruction in the standard voice control instruction corresponding to the environment descriptor according to the current voice control instruction.
And step S27, executing the inquired current standard voice control instruction.
In specific implementation, the environment descriptor is used as an index to traverse each corresponding relation in the semantic association rule, and a standard voice control instruction corresponding to the environment descriptor in the voice information is found. And determining the current standard voice control instruction matched with the current voice control instruction from the searched one or more standard voice control instructions. Specifically, the current voice control instruction is compared with one or more queried standard voice control instructions, and when the compared current standard voice control instruction contains the current voice control instruction, the current voice control instruction which is successfully matched is executed.
In the above steps, when the current standard voice control instruction matched with the current voice control instruction is not inquired, a prompt is sent. To remind the user to issue a complete voice control instruction.
In this embodiment, whether the current voice control instruction is an incomplete voice control instruction is determined by analyzing whether the current voice control instruction includes the recognition information. And inquiring a corresponding standard voice control instruction in a preset semantic association rule according to the environment descriptor in the voice information, and inquiring a standard voice control instruction matched with the current voice control instruction in the searched standard voice control instruction, namely the voice control instruction required by the final user.
Referring to fig. 3, an intelligent home system according to a third embodiment of the present invention includes:
an obtaining unit 100, configured to obtain a current voice control instruction in voice information of a user;
a judging unit 200, configured to judge whether the voice control instruction is a complete voice control instruction;
a first execution unit 300, configured to execute a current voice control instruction when the voice control instruction is a complete voice control instruction;
an extracting unit 400, configured to extract at least one environment descriptor in the voice information;
a query unit 500, configured to query, according to the environment descriptor and the current voice control instruction, a current standard voice control instruction that is matched with the current voice control instruction in a preset semantic association rule, where the semantic association rule includes a correspondence between the environment descriptor and the standard voice control instruction;
and a second execution unit 600, configured to execute the queried current standard voice control instruction.
And judging whether the current voice control instruction is complete or not by acquiring the current voice control instruction in the voice information of the user. If the voice information is incomplete, the corresponding standard voice control instruction is found in the preset semantic association rule through the environment descriptor in the voice information, and the standard voice control instruction is matched with the current voice control instruction so as to determine the standard voice control instruction required by the user.
And further, when the current standard voice control instruction matched with the current voice control instruction is not inquired, sending a prompt.
Further, the querying unit 500 is specifically configured to:
inquiring a standard voice control instruction corresponding to each environment descriptor in a preset semantic association rule;
and inquiring a current standard voice control instruction matched with the current voice control instruction in the standard voice control instructions corresponding to the environment descriptor according to the current voice control instruction.
Further, the determining unit 200 is specifically configured to:
when the current voice control instruction contains identification information, determining that the current voice control instruction is a complete voice control instruction;
when the current voice control instruction does not contain the identification information, judging whether only one intelligent household equipment or equipment scene corresponding to the current voice control instruction exists;
if so, determining that the current voice control instruction is a complete voice control instruction;
if not, determining that the current voice control instruction is an incomplete voice control instruction.
Further, the extracting unit is further configured to:
and extracting at least one environment descriptor in the voice information in a preset time before the current voice control instruction.
The smart home system of this embodiment may be configured to execute the technical solution of any one of the method embodiments shown in fig. 1 to fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
The invention also relates to a storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the program.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement 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). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can 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 should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean 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 invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. 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 above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A voice control method, comprising:
acquiring a current voice control instruction in voice information of a user, and judging whether the current voice control instruction is a complete voice control instruction, wherein the complete voice control instruction can be used for directly executing an instruction for controlling the intelligent home equipment;
if not, extracting at least one environment descriptor in the voice information, wherein the environment descriptor is a word, phrase or sentence related to a position and an environment;
and inquiring a current standard voice control instruction matched with the current voice control instruction in a preset semantic association rule according to the environment descriptor and the current voice control instruction, and executing the inquired current standard voice control instruction, wherein the semantic association rule comprises a corresponding relation between the environment descriptor and the standard voice control instruction.
2. The voice control method according to claim 1, wherein the step of querying a current standard voice control command matching the current voice control command in preset semantic association rules according to the environment descriptor and the current voice control command comprises:
inquiring a standard voice control instruction corresponding to each environment descriptor in a preset semantic association rule;
and inquiring a current standard voice control instruction matched with the current voice control instruction in the standard voice control instructions corresponding to the environment descriptor according to the current voice control instruction.
3. The voice control method of claim 1, wherein the step of determining whether the current voice control command is a complete voice control command comprises:
when the current voice control instruction contains identification information, determining that the current voice control instruction is a complete voice control instruction;
when the current voice control instruction does not contain the identification information, judging whether only one intelligent household device or only one intelligent household device scene corresponding to the current voice control instruction exists;
if so, determining that the current voice control instruction is a complete voice control instruction;
if not, determining that the current voice control instruction is an incomplete voice control instruction.
4. The voice control method according to claim 1, wherein the step of extracting at least one environment descriptor in the voice information comprises:
and extracting at least one environment descriptor in the voice information in a preset time before the current voice control instruction.
5. The voice control method of claim 1, further comprising the steps of:
and when the current standard voice control instruction matched with the current voice control instruction is not inquired, sending a prompt.
6. The utility model provides an intelligent home systems which characterized in that includes:
the acquisition unit is used for acquiring a current voice control instruction in the voice information of the user;
the judging unit is used for judging whether the current voice control instruction is a complete voice control instruction or not;
an extracting unit, configured to extract at least one environment descriptor in the voice information, where the environment descriptor is a word, a phrase, or a sentence related to a location and an environment;
the query unit is used for querying a current standard voice control instruction matched with the current voice control instruction in preset semantic association rules according to the environment descriptor and the current voice control instruction, wherein the semantic association rules comprise the corresponding relation between the environment descriptor and the standard voice control instruction;
and the execution unit is used for executing the inquired current standard voice control instruction.
7. The smart home system of claim 6, wherein the query unit is configured to:
inquiring a standard voice control instruction corresponding to each environment descriptor in a preset semantic association rule;
and inquiring a current standard voice control instruction matched with the current voice control instruction in the standard voice control instructions corresponding to the environment descriptor according to the current voice control instruction.
8. The smart home system of claim 6, wherein the determining unit is configured to:
when the current voice control instruction contains identification information, determining that the current voice control instruction is a complete voice control instruction;
when the current voice control instruction does not contain the identification information, judging whether only one intelligent household device corresponding to the current voice control instruction exists;
if so, determining that the current voice control instruction is a complete voice control instruction;
if not, determining that the current voice control instruction is an incomplete voice control instruction.
9. A storage medium on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1-5.
10. A computer device 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 executing the program.
CN201710986363.0A 2017-10-20 2017-10-20 Voice control method, intelligent home system, storage medium and computer equipment Active CN107908116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710986363.0A CN107908116B (en) 2017-10-20 2017-10-20 Voice control method, intelligent home system, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710986363.0A CN107908116B (en) 2017-10-20 2017-10-20 Voice control method, intelligent home system, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN107908116A CN107908116A (en) 2018-04-13
CN107908116B true CN107908116B (en) 2021-05-11

Family

ID=61840633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710986363.0A Active CN107908116B (en) 2017-10-20 2017-10-20 Voice control method, intelligent home system, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN107908116B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710310A (en) * 2018-06-05 2018-10-26 南京邮电大学 A kind of fuzzy command exchange method suitable for smart home
CN110764423A (en) * 2018-07-27 2020-02-07 珠海格力电器股份有限公司 Household appliance control method and device and household appliance
CN110853619B (en) * 2018-08-21 2022-11-25 上海博泰悦臻网络技术服务有限公司 Man-machine interaction method, control device, controlled device and storage medium
CN109859752A (en) * 2019-01-02 2019-06-07 珠海格力电器股份有限公司 A kind of sound control method, device, storage medium and voice joint control system
CN109979449A (en) * 2019-02-15 2019-07-05 江门市汉的电气科技有限公司 A kind of sound control method of Intelligent lamp, device, equipment and storage medium
CN110033764A (en) * 2019-03-08 2019-07-19 中国科学院深圳先进技术研究院 Sound control method, device, system and the readable storage medium storing program for executing of unmanned plane
CN111835602A (en) * 2019-04-17 2020-10-27 百度在线网络技术(北京)有限公司 User instruction processing method, device, equipment and storage medium
CN110942773A (en) * 2019-12-10 2020-03-31 上海雷盎云智能技术有限公司 Method and device for controlling intelligent household equipment through voice
CN111627442A (en) * 2020-05-27 2020-09-04 星络智能科技有限公司 Speech recognition method, processor, system, computer equipment and readable storage medium
CN112188253B (en) * 2020-09-28 2022-10-28 深圳创维-Rgb电子有限公司 Voice control method and device, smart television and readable storage medium
CN113270096A (en) * 2021-05-13 2021-08-17 前海七剑科技(深圳)有限公司 Voice response method and device, electronic equipment and computer readable storage medium
CN113555019A (en) * 2021-07-21 2021-10-26 维沃移动通信(杭州)有限公司 Voice control method and device and electronic equipment
CN114694644A (en) * 2022-02-23 2022-07-01 青岛海尔科技有限公司 Voice intention recognition method and device and electronic equipment
CN114755931A (en) * 2022-03-10 2022-07-15 青岛海尔科技有限公司 Control instruction prediction method and device, storage medium and electronic device
CN115064171A (en) * 2022-08-18 2022-09-16 安徽立诺威智能科技有限公司 Voice awakening method and system for intelligent air disinfection equipment
CN115421396A (en) * 2022-09-29 2022-12-02 深圳康佳电子科技有限公司 Intelligent household equipment control method and device and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105137789A (en) * 2015-08-28 2015-12-09 青岛海尔科技有限公司 Control method and device of intelligent IoT electrical appliances, and related devices
CN106653008B (en) * 2015-10-28 2021-02-02 中兴通讯股份有限公司 Voice control method, device and system
CN105744057B (en) * 2016-01-21 2019-02-22 平安科技(深圳)有限公司 A kind of Intelligent voice dialog exchange method and device
CN106970535B (en) * 2017-03-30 2021-05-18 联想(北京)有限公司 Control method and electronic equipment

Also Published As

Publication number Publication date
CN107908116A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN107908116B (en) Voice control method, intelligent home system, storage medium and computer equipment
CN107919121B (en) Control method and device of intelligent household equipment, storage medium and computer equipment
CN109559742B (en) Voice control method, system, storage medium and computer equipment
CN107808669B (en) Voice control method, intelligent home system, storage medium and computer equipment
WO2020168725A1 (en) Voice control method and apparatus, storage medium and smart home system
CN104123939A (en) Substation inspection robot based voice interaction control method
WO2020253064A1 (en) Speech recognition method and apparatus, and computer device and storage medium
CN110719217A (en) Control method and system based on affair map, readable storage medium and computer
CN112634897B (en) Equipment awakening method and device, storage medium and electronic device
CN108172228B (en) Voice command word replacing method and device, voice control equipment and computer storage medium
CN105679315A (en) Voice-activated and voice-programmed control method and control system
CN109036393A (en) Wake-up word training method, device and the household appliance of household appliance
CN113611305A (en) Voice control method, system, device and medium in autonomous learning home scene
CN111178081B (en) Semantic recognition method, server, electronic device and computer storage medium
CN108897517B (en) Information processing method and electronic equipment
CN113611306A (en) Intelligent household voice control method and system based on user habits and storage medium
CN106251871A (en) A kind of Voice command music this locality playing device
CN111954868A (en) Multi-voice assistant control method, device, system and computer readable storage medium
CN103645690A (en) Method for controlling digital home smart box by using voices
CN112071306A (en) Voice control method, system, readable storage medium and gateway equipment
CN101271318A (en) Interactive family entertainment robot and relevant control method
CN115881126B (en) Switch control method and device based on voice recognition and switch equipment
CN109145124B (en) Information storage method and device, storage medium and electronic device
CN110970019A (en) Control method and device of intelligent home system
CN113962213A (en) Multi-turn dialog generation method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant