CN110703614B - Voice control method and device, semantic network construction method and device - Google Patents
Voice control method and device, semantic network construction method and device Download PDFInfo
- Publication number
- CN110703614B CN110703614B CN201910860470.8A CN201910860470A CN110703614B CN 110703614 B CN110703614 B CN 110703614B CN 201910860470 A CN201910860470 A CN 201910860470A CN 110703614 B CN110703614 B CN 110703614B
- Authority
- CN
- China
- Prior art keywords
- node
- semantic network
- control
- nodes
- father node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000010276 construction Methods 0.000 title abstract description 10
- 238000004891 communication Methods 0.000 claims description 19
- 230000006870 function Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012216 screening Methods 0.000 claims description 12
- 230000009193 crawling Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000001816 cooling Methods 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Images
Classifications
-
- 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
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- 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
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Selective Calling Equipment (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application relates to a voice control method, a voice control device, a semantic network construction method and a semantic network construction device, wherein the method comprises the following steps: analyzing a first voice instruction of a user to obtain at least one keyword; traversing a semantic network to determine nodes corresponding to the keywords, wherein the semantic network comprises a plurality of instantiated nodes, and the nodes are established based on the functional information of the intelligent household equipment; generating a control instruction according to the node; and controlling the intelligent household equipment to execute corresponding control operation according to the first control instruction. According to the technical scheme, the voice instruction received by the intelligent home equipment can be accurately identified through the constructed semantic network, and in addition, the nodes in the semantic network are instantiated, so that the identification range of the intelligent home equipment for the voice instruction can be improved, and the experience effect of a user can be increased.
Description
Technical Field
The present application relates to the field of data processing, and in particular, to a voice control method and apparatus, and a semantic network construction method and apparatus.
Background
With the application of the voice data recognition technology in the intelligent home devices, more and more intelligent home devices can be controlled through voice data. However, in the current industry, a common practice is to set some control words in the smart home devices in advance, and the method has the advantages of convenience and rapidness, and can enable the smart home devices to reach the target state quickly. However, this method can only be used to manually preset control words, does not support multiple control word operations, and cannot identify some synonymous or near-synonymous words. For example, the preset control words of the air conditioner can be turned on and turned on, but when the voice command sent by the user includes operation, the two control words work, and due to the fact that the voice recognition range of the intelligent household equipment is fixed, the air conditioner cannot correctly understand the meaning of the semantic command, or the voice command is recognized inaccurately, and meanwhile, the experience effect of the user is poor.
Currently, no effective solution has been provided for many technical problems in the related art.
Disclosure of Invention
In order to solve the technical problems that the intelligent home equipment cannot correctly understand the meaning of a semantic instruction or cannot correctly recognize the speech instruction due to the fact that the speech recognition range of the intelligent home equipment is fixed, the application provides a speech control method and device and a semantic network construction method and device.
In a first aspect, the present application provides a method for voice control, including:
analyzing a voice instruction of a user to obtain at least one keyword;
traversing a semantic network to determine nodes corresponding to the keywords, wherein the semantic network comprises a plurality of instantiated nodes, and the nodes are established based on the functional information of the intelligent household equipment;
generating a control instruction according to the node;
and controlling the intelligent household equipment to execute corresponding operation according to the control instruction.
In one possible embodiment, before the traversing the semantic network determines the node corresponding to the keyword, the method further includes:
establishing a node to be instantiated according to the function information of the intelligent household equipment;
acquiring a control word set of the node;
instantiating the node to be instantiated based on the control word set;
and constructing a semantic network of the intelligent household equipment according to the instantiated nodes.
In one possible embodiment, the obtaining the set of governors of the node includes:
crawling the management and control word set according to the functional information corresponding to the node;
or acquiring the management and control word set according to a corresponding relation table of a preset semantic type and a control instruction;
or acquiring a knowledge graph corresponding to the intelligent household equipment, wherein the knowledge graph comprises: and the management and control word set corresponds to each piece of functional information.
In one possible embodiment, the method further comprises:
inquiring a father node set corresponding to the node according to the node corresponding to the keyword;
screening the father node set based on preset conditions to obtain a target father node;
the generating a control instruction according to the node further comprises:
and generating a control instruction according to the target father node.
In a possible implementation manner, the screening the parent node set based on the preset condition to obtain the target parent node at least includes one of the following items:
acquiring a target father node corresponding to the node according to the current state of the intelligent household equipment;
acquiring a target father node corresponding to the node according to a preset execution path;
and acquiring a target father node corresponding to the node according to the history record.
In a second aspect, the present application provides a voice control apparatus, comprising:
the analysis module is used for analyzing a voice instruction of a user to obtain at least one keyword;
the query module is used for traversing a semantic network to determine nodes corresponding to the keywords, wherein the semantic network comprises a plurality of instantiated nodes, and the nodes are established based on the functional information of the intelligent household equipment;
the generating module is used for generating a control instruction according to the node;
and the control module is used for controlling the intelligent household equipment to execute corresponding operation according to the control instruction.
In a third aspect, the present application further provides a method for constructing a semantic network, where the method includes:
establishing a node to be instantiated according to the function information of the intelligent household equipment;
acquiring configuration information of the node, wherein the configuration information comprises a management and control word set;
instantiating the node to be instantiated based on the control word set;
and constructing a semantic network of the intelligent household equipment according to the instantiated nodes.
In a fourth aspect, the present application further provides a semantic network construction apparatus, where the apparatus includes:
the determining module is used for establishing a node to be instantiated according to the function information of the intelligent household equipment;
an obtaining module, configured to obtain configuration information of the node;
the processing module is used for instantiating the node to be instantiated based on the configuration information;
and the construction module is used for constructing the semantic network of the intelligent household equipment according to the instantiated nodes.
In a fifth aspect, the present application provides an electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the above method steps when executing the computer program.
In a sixth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the above-mentioned method steps.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the technical scheme, the voice instruction received by the intelligent home equipment can be accurately identified through the constructed semantic network, and in addition, the nodes in the semantic network are instantiated, so that the identification range of the intelligent home equipment for the voice instruction can be improved, and the experience effect of a user can be increased.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a voice control method according to an embodiment of the present application;
fig. 2 is a flowchart of a voice control method according to another embodiment of the present application;
fig. 3 is a flowchart of a voice control method according to another embodiment of the present application;
fig. 4 is a block diagram of a voice control apparatus according to an embodiment of the present application;
fig. 5 is a flowchart of a semantic network construction method provided in an embodiment of the present application;
fig. 6 is a block diagram of a semantic network constructing apparatus according to another embodiment of the present application;
FIG. 7 is a schematic diagram of a semantic network provided by an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to solve the technical problems that the intelligent home equipment cannot correctly understand the meaning of a semantic instruction or the speech instruction recognition is inaccurate due to the fact that the speech recognition range of the intelligent home equipment is fixed, the application provides a speech control method and device and a semantic network construction method and device. First, a speech control method provided in an embodiment of the present invention is described below.
The method provided by the embodiment of the invention can be applied to any required electronic equipment, for example, the electronic equipment can be electronic equipment such as a server and a terminal, and the method is not particularly limited herein, and is hereinafter simply referred to as electronic equipment for convenience in description.
Fig. 1 is a flowchart of a voice control method according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S11, analyzing the received voice command to obtain at least one keyword;
step S12, traversing a semantic network to determine nodes corresponding to the keywords, wherein the semantic network comprises a plurality of instantiated nodes, and the nodes are established based on the function information of the intelligent household equipment;
step S13, generating a control instruction according to the node;
and step S14, controlling the intelligent household equipment to execute corresponding operation according to the control instruction.
The smart home devices involved in the application may be: air conditioners, refrigerators, washing machines, lighting lamps or sweeping robots, and the like. In this embodiment, the related voice commands may be divided into three categories according to the command category, including: the voice command of the starting device, the voice command of the control device for executing various operations, and the voice command of the closing device, the format of the voice command may be pre-stored in the local smart home device, wherein the voice command of the starting device may be: the first voice instruction may also be regarded as an instruction to wake up or turn on the device, and the first voice instruction may be a voice containing any content, such as a name of the smart home device, a model of the device, or a voice of any form of setting negotiation. In this embodiment, taking a voice air conditioner as an example, when a user controls the air conditioner through voice, a voice instruction needs to be sent to the air conditioner, when the air conditioner receives the semantic instruction, the semantic instruction is analyzed and at least one keyword is obtained, then a corresponding node is searched for by traversing a semantic network, where the semantic network is composed of a plurality of instantiated nodes, and the nodes are established based on the function information of the smart home device, for example: the first voice command is: and opening the air conditioner, wherein the keyword is open, a node corresponding to the keyword 'open' is queried from the semantic network as 'control _ on', the function corresponding to the node is open, a control instruction is generated according to the node, and the air conditioner is controlled to execute the operation of opening according to the control instruction.
The following embodiment describes a method for establishing a semantic network in detail, and fig. 2 is a flowchart of a voice control method according to another embodiment of the present application. As shown in fig. 2, before traversing the semantic network to determine the node corresponding to the keyword, the method further includes the following steps:
step S22, establishing a node to be instantiated according to the function information of the intelligent household equipment;
step S23, acquiring a management and control word set of the node;
step S24, instantiating the node to be instantiated based on the control word set;
and step S25, constructing a semantic network of the intelligent household equipment according to the instantiated nodes.
In this embodiment, when constructing the semantic network, first determine the function information of the smart home devices, for example, the smart home devices of the air conditioner include: the functions of opening, closing, cooling, heating, dehumidifying, wind speed and the like are taken as an example in combination with fig. 7, the opening node includes two nodes of a mode and a wind speed, the node of the mode may include nodes of a cooling mode, a heating mode and the like, and the node of the wind speed may include three nodes of weak, medium and strong. Establishing a node to be instantiated according to each piece of functional information, and then crawling a management and control word set according to the functional information corresponding to the node according to the management and control word set of the node, for example: the synonym corresponding to the node function information is crawled from a specified website, and a control word set is constructed according to the crawled synonym; or acquiring a control word set according to a corresponding relation table of a preset semantic type and a control instruction, determining the semantic type of the function information, and querying the corresponding relation table of the preset semantic type and the control instruction to obtain corresponding control word combination, for example, starting the corresponding control instruction to work or run; or acquiring a knowledge graph corresponding to the intelligent household equipment, wherein the knowledge graph comprises: and managing and controlling word sets corresponding to the functional information. Then, configuring a node to be instantiated through the obtained control word set, for example, after the node "control _ on" is instantiated, the control words under the node include: starting, opening, starting, working, operating and the like, and then constructing the semantic network of the intelligent household equipment according to the instantiated nodes.
Fig. 3 is a flowchart of a voice control method according to another embodiment of the present application. As shown in fig. 3, the method further comprises the steps of:
step S33, inquiring a father node set corresponding to the node according to the node corresponding to the keyword;
step S34, screening the father node set based on preset conditions to obtain a target father node;
in step S35, a control command is generated from the parent node.
In this embodiment, when the smart home device receives the voice command, the voice command is analyzed to obtain a keyword, but the control operation of the smart home device cannot be directly determined according to the keyword, for example: taking an air conditioner as an example, when the current air conditioner is in a standby state, a voice instruction of "timing 3 hours" is received, and it cannot be determined whether to operate for 3 hours according to "timing 3 hours" or to start after 3 hours, at this time, a target father node of the node of "timing" needs to be queried in a semantic network, a control instruction needs to be generated according to the target father node, and the target father node can be specifically obtained through preset conditions, for example: the method includes querying a historical operating record, determining an operating mode corresponding to a node of "timing" in the time period, and specifically querying a parent node set corresponding to the node through a node corresponding to a keyword, where the parent node set of "timing" mentioned above may include "XX mode", "on" or "off", but the parent node set needs to be screened to obtain a target parent node, for example, a mode corresponding to air conditioner timing in the time period is obtained through the historical record.
Or, taking the smart television as an example, when the user needs to adjust the current display scale of the television, according to the voice command "4: 3 ", determining that the node corresponding to the voice instruction is the" display scale ", and then determining the parent node set corresponding to the node corresponding to the" display scale ", which may be: "set", "adjust interface", etc. When the target father node is determined, a control instruction can be directly generated through an adjusting interface according to the current state of the intelligent television, for example, the current state of the intelligent television is an operating state, and the current display proportion is adjusted according to the control instruction; or determining the target parent node for adjusting the display scale as an adjusting interface according to the preset execution path.
Another embodiment of the present application further provides a voice control method: the method comprises the steps of receiving a first voice instruction, analyzing the first voice instruction, extracting at least one first keyword from the first voice instruction, traversing a semantic network to determine a node corresponding to the keyword, receiving a second voice instruction within a preset time threshold, analyzing the second voice instruction to obtain at least one second keyword, determining a first target sub-node corresponding to the second keyword under the node based on the semantic network, and generating a control instruction according to the first target sub-node. Such as: the first voice instruction may be: the intelligent lamp is turned on, the second voice instruction can be used as a supplementary instruction of the first voice instruction, namely, a user thinks that the brightness of the lighting mode corresponding to the first voice instruction is too low, the user can send the second voice instruction to the intelligent lamp within a preset time threshold range, and the sub-node of the brightness can be inquired when the node is turned on, and if the lamp is turned on a little, the control is realized through the sub-node of the brightness; as another example, the first speech signal may be: turning on the air conditioner, the second voice signal may be: the temperature is adjusted to be lower and the wind speed is adjusted to be higher.
In another embodiment of the application, when a user switches a working mode of the smart home device, for example, switches an illumination mode of an illumination lamp or an operation mode of an air conditioner, the user receives a third voice instruction, analyzes the third voice instruction, extracts at least one third keyword from the third voice instruction, determines a second target sub-node corresponding to the third keyword based on a semantic network, generates a control instruction according to the second target sub-node, and controls a current mode of the smart home device to be changed into a mode corresponding to the third voice instruction according to the control instruction.
Fig. 4 is a block diagram of a speech control apparatus provided in an embodiment of the present application, which may be implemented as part or all of an electronic device through software, hardware, or a combination of the two. As shown in fig. 4, the apparatus includes:
the analysis module 401 is configured to analyze the received voice instruction to obtain at least one keyword;
the query module 402 is configured to traverse a semantic network to determine nodes corresponding to the keywords, where the semantic network includes a plurality of instantiated nodes, and the nodes are established based on the function information of the smart home devices;
a generating module 403, configured to generate a control instruction according to a node;
and the control module 404 is configured to control the smart home device to execute corresponding operations according to the control instruction.
Fig. 5 is a method for constructing a semantic network according to an embodiment of the present application, and as shown in fig. 5, the method includes:
s51, establishing a node to be instantiated according to the function information of the intelligent household equipment;
step S52, acquiring configuration information of the node to be instantiated, wherein the configuration information comprises a management and control word set;
step S53, instantiating the node to be instantiated based on the control word set;
and S54, constructing a semantic network of the intelligent household equipment according to the instantiated nodes.
Fig. 6 is a device for constructing a semantic network according to an embodiment of the present application, where the device includes:
the determining module 601 is configured to establish a node to be instantiated according to the function information of the smart home device;
an obtaining module 602, configured to obtain configuration information of a node to be instantiated, where the configuration information includes a management and control word set;
the processing module 603 is configured to instantiate a node to be instantiated based on the set of control words;
the building module 604 is configured to build a semantic network of the smart home device according to the instantiated nodes.
An embodiment of the present application further provides an electronic device, as shown in fig. 8, the electronic device may include: the system comprises a processor 1501, a communication interface 1502, a memory 1503 and a communication bus 1504, wherein the processor 1501, the communication interface 1502 and the memory 1503 complete communication with each other through the communication bus 1504.
A memory 1503 for storing a computer program;
the processor 1501 is configured to implement the steps in the above embodiments when executing the computer program stored in the memory 1503.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (pci) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
analyzing a first voice instruction of a user to obtain at least one keyword;
traversing a semantic network to determine nodes corresponding to the keywords, wherein the semantic network comprises a plurality of instantiated nodes, and the nodes are established based on the functional information of the intelligent household equipment;
generating a control instruction according to the node;
and controlling the intelligent household equipment to execute corresponding control operation according to the first control instruction.
Optionally, the computer program, when executed by the processor, further implements the steps of:
before traversing the semantic network to determine the nodes corresponding to the keywords, the method further comprises:
establishing a node to be instantiated according to the function information of the intelligent household equipment;
acquiring a control word set of a node;
instantiating a node to be instantiated based on a control word set;
and constructing a semantic network of the intelligent household equipment according to the instantiated nodes.
Optionally, the computer program, when executed by the processor, further implements the steps of:
acquiring a management and control word set of a node, comprising:
crawling a management and control word set according to the functional information corresponding to the node;
or acquiring a management and control word set according to a corresponding relation table of a preset semantic type and a control instruction;
or acquiring a knowledge graph corresponding to the intelligent household equipment, wherein the knowledge graph comprises: and managing and controlling word sets corresponding to the functional information.
Optionally, the computer program, when executed by the processor, further implements the steps of:
the method further comprises the following steps:
inquiring a father node set corresponding to the node according to the node corresponding to the keyword;
screening the father node set based on preset conditions to obtain a target father node;
generating a control instruction according to the node, further comprising:
and generating a control instruction according to the target parent node.
Optionally, the computer program, when executed by the processor, further implements the steps of:
screening the father node set based on preset conditions to obtain a target father node, wherein the target father node set at least comprises one of the following items:
acquiring a target father node corresponding to the node according to the current state of the intelligent home equipment;
acquiring a target father node corresponding to the node according to a preset execution path;
and acquiring a target parent node corresponding to the node according to the history.
It should be noted that, for the above-mentioned apparatus, electronic device and computer-readable storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
It is further noted that, herein, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (6)
1. A voice control method, comprising:
analyzing a first voice instruction of a user to obtain at least one keyword;
traversing a semantic network to determine nodes corresponding to the keywords, wherein the semantic network comprises a plurality of instantiated nodes, and the nodes are established based on the functional information of the intelligent household equipment;
generating a control instruction according to the node;
controlling the intelligent household equipment to execute corresponding control operation according to the control instruction;
the method further comprises the following steps:
inquiring a father node set corresponding to the node according to the node corresponding to the keyword;
screening the father node set based on preset conditions to obtain a target father node;
the generating a control instruction according to the node further comprises:
generating a control instruction according to the target father node;
the target father node is obtained by screening the father node set based on preset conditions, and the target father node set at least comprises one of the following items:
acquiring a target father node corresponding to the node according to the current state of the intelligent household equipment;
acquiring a target father node corresponding to the node according to a preset execution path;
and acquiring a target father node corresponding to the node according to the history record.
2. The method of claim 1, wherein before the traversing the semantic network determines the node corresponding to the keyword, the method further comprises:
establishing a node to be instantiated according to the function information of the intelligent household equipment;
acquiring a control word set of the node;
instantiating the node to be instantiated based on the control word set;
and constructing a semantic network of the intelligent household equipment according to the instantiated nodes.
3. The method of claim 2, wherein the obtaining the set of governors for the node comprises:
crawling the management and control word set according to the functional information corresponding to the node;
or acquiring the management and control word set according to a corresponding relation table of a preset semantic type and a control instruction;
or acquiring a knowledge graph corresponding to the intelligent household equipment, wherein the knowledge graph comprises: and the management and control word set corresponds to each piece of functional information.
4. A voice control apparatus, comprising:
the analysis module is used for analyzing a voice instruction of a user to obtain at least one keyword;
the query module is used for traversing a semantic network to determine nodes corresponding to the keywords, wherein the semantic network comprises a plurality of instantiated nodes, and the nodes are established based on the function information of the intelligent household equipment;
the generating module is used for generating a control instruction according to the node;
the control module is used for controlling the intelligent household equipment to execute corresponding operation according to the control instruction;
the apparatus further comprises an acquisition module, the acquisition module comprising:
the query submodule is used for querying a father node set corresponding to the node according to the node corresponding to the keyword;
the screening submodule is used for screening the father node set based on preset conditions to obtain a target father node;
the generating module is used for generating a control instruction according to the target father node;
the screening submodule is used for acquiring a target father node corresponding to the node according to the current state of the intelligent household equipment;
or, the screening submodule is used for acquiring a target father node corresponding to the node according to a preset execution path;
or, the screening submodule is used for acquiring a target father node corresponding to the node according to the history record.
5. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the computer program, implementing the method steps of any of claims 1-3.
6. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910860470.8A CN110703614B (en) | 2019-09-11 | 2019-09-11 | Voice control method and device, semantic network construction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910860470.8A CN110703614B (en) | 2019-09-11 | 2019-09-11 | Voice control method and device, semantic network construction method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110703614A CN110703614A (en) | 2020-01-17 |
CN110703614B true CN110703614B (en) | 2021-01-22 |
Family
ID=69194704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910860470.8A Active CN110703614B (en) | 2019-09-11 | 2019-09-11 | Voice control method and device, semantic network construction method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110703614B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111312249A (en) * | 2020-02-21 | 2020-06-19 | 珠海荣邦电子科技有限公司 | Voice control method and device and electronic equipment |
CN111459037B (en) * | 2020-02-27 | 2021-09-14 | 珠海格力电器股份有限公司 | Intelligent household system control method and device, electronic equipment and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103473217A (en) * | 2012-06-08 | 2013-12-25 | 华为技术有限公司 | Method and device for extracting keywords from text |
CN105488032A (en) * | 2015-12-31 | 2016-04-13 | 杭州智蚁科技有限公司 | Speech recognition input control method and system |
CN106448658A (en) * | 2016-11-17 | 2017-02-22 | 海信集团有限公司 | Voice control method of intelligent home equipment, as well as intelligent home gateway |
CN106571140A (en) * | 2016-11-14 | 2017-04-19 | Tcl集团股份有限公司 | Electrical appliance intelligent control method based on voice meaning and electrical appliance intelligent control system thereof |
CN106713083A (en) * | 2016-11-24 | 2017-05-24 | 海信集团有限公司 | Intelligent home appliance control method and device based on knowledge map, and system |
CN106776564A (en) * | 2016-12-21 | 2017-05-31 | 张永成 | The method for recognizing semantics and system of a kind of knowledge based collection of illustrative plates |
CN108919669A (en) * | 2018-09-11 | 2018-11-30 | 深圳和而泰数据资源与云技术有限公司 | A kind of smart home dynamic decision method, apparatus and service terminal |
CN110033851A (en) * | 2019-04-02 | 2019-07-19 | 腾讯科技(深圳)有限公司 | Information recommendation method, device, storage medium and server |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2862163A4 (en) * | 2012-06-18 | 2015-07-29 | Ericsson Telefon Ab L M | Methods and nodes for enabling and producing input to an application |
WO2015036817A1 (en) * | 2013-09-15 | 2015-03-19 | Yogesh Chunilal Rathod | Structured updated status, requests, user data & programming based presenting & accessing of connections |
US9837075B2 (en) * | 2014-02-10 | 2017-12-05 | Mitsubishi Electric Research Laboratories, Inc. | Statistical voice dialog system and method |
CN105202707B (en) * | 2015-10-22 | 2018-01-19 | 重庆大学 | Air-conditioning control system based on audio signal characteristic identification |
CN106601250A (en) * | 2015-11-10 | 2017-04-26 | 刘芨可 | Speech control method and device and equipment |
US10719059B2 (en) * | 2016-03-30 | 2020-07-21 | Lenovo (Singapore) Pte. Ltd. | Systems and methods for control of output from light output apparatus |
US10671588B2 (en) * | 2016-07-08 | 2020-06-02 | Ebay Inc. | Multiple database updates using paths |
US20180025725A1 (en) * | 2016-07-22 | 2018-01-25 | Lenovo (Singapore) Pte. Ltd. | Systems and methods for activating a voice assistant and providing an indicator that the voice assistant has assistance to give |
CN107656933B (en) * | 2016-07-25 | 2022-02-08 | 中兴通讯股份有限公司 | Voice broadcasting method and device |
CN105978775A (en) * | 2016-07-29 | 2016-09-28 | 镇江惠通电子有限公司 | Speech control system and speech control method |
CN108171944A (en) * | 2016-12-08 | 2018-06-15 | 上海慧流云计算科技有限公司 | Apparatus control method and device |
WO2018111940A1 (en) * | 2016-12-12 | 2018-06-21 | Danny Ziyi Chen | Segmenting ultrasound images |
CN109271621B (en) * | 2017-07-18 | 2023-04-18 | 腾讯科技(北京)有限公司 | Semantic disambiguation processing method, device and equipment |
CN107423398B (en) * | 2017-07-26 | 2023-04-18 | 腾讯科技(上海)有限公司 | Interaction method, interaction device, storage medium and computer equipment |
-
2019
- 2019-09-11 CN CN201910860470.8A patent/CN110703614B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103473217A (en) * | 2012-06-08 | 2013-12-25 | 华为技术有限公司 | Method and device for extracting keywords from text |
CN105488032A (en) * | 2015-12-31 | 2016-04-13 | 杭州智蚁科技有限公司 | Speech recognition input control method and system |
CN106571140A (en) * | 2016-11-14 | 2017-04-19 | Tcl集团股份有限公司 | Electrical appliance intelligent control method based on voice meaning and electrical appliance intelligent control system thereof |
CN106448658A (en) * | 2016-11-17 | 2017-02-22 | 海信集团有限公司 | Voice control method of intelligent home equipment, as well as intelligent home gateway |
CN106713083A (en) * | 2016-11-24 | 2017-05-24 | 海信集团有限公司 | Intelligent home appliance control method and device based on knowledge map, and system |
CN106776564A (en) * | 2016-12-21 | 2017-05-31 | 张永成 | The method for recognizing semantics and system of a kind of knowledge based collection of illustrative plates |
CN108919669A (en) * | 2018-09-11 | 2018-11-30 | 深圳和而泰数据资源与云技术有限公司 | A kind of smart home dynamic decision method, apparatus and service terminal |
CN110033851A (en) * | 2019-04-02 | 2019-07-19 | 腾讯科技(深圳)有限公司 | Information recommendation method, device, storage medium and server |
Also Published As
Publication number | Publication date |
---|---|
CN110703614A (en) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108447480B (en) | Intelligent household equipment control method, intelligent voice terminal and network equipment | |
TWI665584B (en) | A voice controlling system and method | |
EP3557339A1 (en) | Linked control method for internet-of-things gateway and internet-of-things gateway | |
CN110703614B (en) | Voice control method and device, semantic network construction method and device | |
CN113341743B (en) | Smart home equipment control method and device, electronic equipment and storage medium | |
US20220060348A1 (en) | Method for dynamically building environment conditioning rule list in smart home, and device | |
CN109445292B (en) | Automatic execution result collection method, device, system and storage medium | |
US9984563B2 (en) | Method and device for controlling subordinate electronic device or supporting control of subordinate electronic device by learning IR signal | |
CN110529982B (en) | Air conditioner control method and device, air conditioner partner and air conditioner | |
CN110618614A (en) | Control method and device for smart home, storage medium and robot | |
KR102042690B1 (en) | Edge-cloud system for auto controlling of IOT devices | |
CN112230611A (en) | Control method and device of intelligent household equipment, electronic equipment and storage medium | |
WO2020228030A1 (en) | Device recommendation method and apparatus, electronic device, and storage medium | |
CN111399459A (en) | Intelligent household equipment control method, device, equipment and storage medium | |
WO2021047248A1 (en) | Multiple control terminal-based iot device control method, control terminal, and storage medium | |
CN113253625A (en) | Intelligent household control method, device, equipment and storage medium | |
CN114019807A (en) | Data processing method, device, system, equipment and readable storage medium | |
CN108303902A (en) | A kind of apparatus control method, medium, equipment and device | |
CN114724558A (en) | Method and device for voice control of air conditioner, air conditioner and storage medium | |
CN113676382B (en) | IOT voice command control method, system and computer readable storage medium | |
CN114500139A (en) | Instruction group sending method and device, storage medium and electronic device | |
CN114203176A (en) | Control method and device of intelligent equipment, storage medium and electronic device | |
WO2024078191A1 (en) | Load setting method, apparatus and system | |
CN112331190A (en) | Intelligent equipment and method and device for self-establishing voice command thereof | |
CN112448869A (en) | Naming method and system of intelligent household equipment and computer equipment |
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 |