CN109545208A - Voice control method and device, storage medium and electronic device - Google Patents

Voice control method and device, storage medium and electronic device Download PDF

Info

Publication number
CN109545208A
CN109545208A CN201811377141.XA CN201811377141A CN109545208A CN 109545208 A CN109545208 A CN 109545208A CN 201811377141 A CN201811377141 A CN 201811377141A CN 109545208 A CN109545208 A CN 109545208A
Authority
CN
China
Prior art keywords
equipment
control
request
voice
sent
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.)
Pending
Application number
CN201811377141.XA
Other languages
Chinese (zh)
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811377141.XA priority Critical patent/CN109545208A/en
Publication of CN109545208A publication Critical patent/CN109545208A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • G10L15/18Speech classification or search using natural language modelling
    • G10L15/1822Parsing for meaning understanding
    • 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/28Constructional details of speech recognition systems
    • G10L15/30Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
    • 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/28Constructional details of speech recognition systems
    • G10L15/34Adaptation of a single recogniser for parallel processing, e.g. by use of multiple processors or cloud computing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a voice control method and device, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring a voice request sent by first equipment; analyzing the control type of the voice request; and sending a semantic parsing result of the voice request to the first equipment based on the control category, wherein the first equipment is contained in a plurality of equipment to be controlled, and all the equipment in the plurality of equipment to be controlled are connected with each other. Therefore, the problems that mutual interaction between household appliances cannot be achieved and user experience is affected in the related technology can be solved, interaction between the household appliances can be achieved, and the effect of user experience is improved.

Description

The control method and device of voice, storage medium, electronic device
Technical field
The present invention relates to the communications fields, in particular to a kind of control method and device of voice, storage medium, electricity Sub-device.
Background technique
The existing household appliance with voice control can only realize the control of single household appliance mostly, not form unification Control system, the household appliance in the same family lack interaction.
In view of the above technical problems, it not yet puts forward effective solutions in the related technology.
Summary of the invention
The embodiment of the invention provides a kind of control method and device of voice, storage medium, electronic devices, at least to solve The problem of certainly lacking interaction between household appliance in the related technology, influencing user experience.
According to one embodiment of present invention, a kind of sound control method is provided, comprising: obtain what the first equipment was sent Voice request;Parse the control category of voice request;Based on the control category by the semantic parsing result of the voice request It is sent to first equipment, wherein first equipment is included in multiple apparatus to be controlled, in the multiple apparatus to be controlled It is connected with each other between each equipment.
According to another embodiment of the invention, a kind of sound control method is also provided, comprising: by the identification of the first equipment Voice request is sent to cloud server, to indicate the control category of cloud server parsing voice request;Receive the cloud The semantic parsing result that server is sent, wherein the semanteme parsing result is that the cloud server is based on the control class It does not generate, first equipment is included in multiple apparatus to be controlled, phase between each equipment in the multiple apparatus to be controlled It connects;Broadcast semantic parsing result.
According to another embodiment of the invention, a kind of phonetic controller is also provided, comprising: first obtains module, uses In the voice request for obtaining the transmission of the first equipment;First parsing module, for parsing the control category of voice request;First sends Module, for the semantic parsing result of the voice request to be sent to first equipment based on the control category, wherein First equipment is included in multiple apparatus to be controlled, is connected with each other between each equipment in the multiple apparatus to be controlled.
According to another embodiment of the invention, a kind of phonetic controller is also provided, comprising: the second sending module is used It is sent to cloud server in the voice request for identifying the first equipment, to indicate the control of cloud server parsing voice request Classification;First receiving module, the semantic parsing result sent for receiving the cloud server, wherein the semantic parsing The result is that the cloud server was generated based on the control category, first equipment is included in multiple apparatus to be controlled, It is connected with each other between each equipment in the multiple apparatus to be controlled;First broadcasting module, for broadcasting semantic parsing result.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, is stored with computer in storage medium Program, wherein computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described Step in embodiment of the method.
Through the invention, due to the voice request of the available first equipment transmission of cloud server;And it parses voice and asks The control category asked;The semantic parsing result of voice request is sent to the first equipment based on control category, wherein the first equipment Included in multiple apparatus to be controlled, it is connected with each other between each equipment in multiple apparatus to be controlled.So that multiple apparatus to be controlled it Between can interact.Therefore, can solve cannot interact between household appliance in the related technology, influence user experience Problem, reaching can interact between household appliance, improve the effect of user experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the mobile terminal of the control method of voice of the embodiment of the present invention;
Fig. 2 is the flow chart (one) of the control method of voice according to an embodiment of the present invention;
Fig. 3 is the flow chart (two) of the control method of voice according to an embodiment of the present invention;
Fig. 4 is the schematic diagram interacted between equipment in the present embodiment;
Fig. 5 is the specific flow chart in the present embodiment;
Fig. 6 is the structural block diagram (one) of phonetic controller according to an embodiment of the present invention;
Fig. 7 is the structural block diagram (two) of phonetic controller according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment of the method provided by the embodiment of the present application can be in mobile terminal, terminal or similar operation It is executed in device.For running on mobile terminals, Fig. 1 is a kind of movement of the control method of voice of the embodiment of the present invention The hardware block diagram of terminal.As shown in Figure 1, mobile terminal 10 may include at one or more (only showing one in Fig. 1) It manages device 102 (processing unit that processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.) Memory 104 for storing data, optionally, above-mentioned mobile terminal can also include the transmission device for communication function 106 and input-output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, simultaneously The structure of above-mentioned mobile terminal is not caused to limit.For example, mobile terminal 10 may also include it is more than shown in Fig. 1 or less Component, or with the configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair The corresponding computer program of the control method of voice in bright embodiment, processor 102 are stored in memory 104 by operation Computer program realize above-mentioned method thereby executing various function application and data processing.Memory 104 can wrap Include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories.In some instances, memory 104 can further comprise long-range relative to processor 102 The memory of setting, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network include but It is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation Device (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments to It can be communicated with internet.In an example, transmitting device 106 can for radio frequency (Radio Frequency, referred to as RF) module is used to wirelessly be communicated with internet.
A kind of control method of voice is provided in the present embodiment, and Fig. 2 is the control of voice according to an embodiment of the present invention The flow chart (one) of method processed, as shown in Fig. 2, the process includes the following steps:
Step S202 obtains the voice request that the first equipment is sent;
Step S204 parses the control category of voice request;
The semantic parsing result of voice request is sent to the first equipment based on control category, wherein first by step S206 Equipment is included in multiple apparatus to be controlled, is connected with each other between each equipment in multiple apparatus to be controlled.
Through the above steps, due to the voice request of the available first equipment transmission of cloud server;And parse voice The control category of request;The semantic parsing result of voice request is sent to the first equipment based on control category, wherein first sets It is standby to be included in multiple apparatus to be controlled, it is connected with each other between each equipment in multiple apparatus to be controlled.So that multiple apparatus to be controlled Between can interact.Therefore, can solve cannot interact between household appliance in the related technology, influence user experience The problem of, reaching can interact between household appliance, improve the effect of user experience.
Optionally, the executing subject of above-mentioned steps can be cloud server, but not limited to this.
In the present embodiment, voice request can be household appliance sending, such as air-conditioning.
Optionally, the control category in the present embodiment includes that resources-type request and control class are requested, but not limited to this.Resource Class request can be the configuration information for obtaining household appliance, or obtain the request of the existing resources such as music.Control class is asked It asks including the control instruction to household appliance, such as " opening air-conditioning ", " closing lamp " etc..
In an alternative embodiment, the semantic parsing result of voice request is sent to by cloud equipment based on control category Including following one:
It 1), will semantic parsing result relevant to resources-type request in the case where determining control category is resources-type request It is sent to the first equipment, semantic parsing result is fed back to by the first equipment with Indicated Cloud equipment;Such as: " equipment A " sends voice " speech cloud " is requested, " speech cloud ", which feeds back to resource results after carrying out speech recognition, semantic understanding, resource acquisition, " to be set Standby A ", by " equipment A " playing resource.
2) determine control category be control class request and control class request be local control in the case where, will be with short range It controls relevant semantic parsing result and feeds back to the first equipment;Such as: " equipment A " sends voice request to " speech cloud ", " voice Cloud " is after progress speech recognition, semantic understanding, equipment matching meet local control condition by semantic parsing result/control command " equipment A " is fed back to, control command is executed by " equipment A ";Instruction execution result is fed back to " speech cloud " by " equipment A ";" voice Cloud " synthesizes casting voice according to implementing result, and gives casting voice feedback to " equipment A ", is broadcasted by " equipment A ".
3) determine control category be the request of control class and the request of control class for long-range control in the case where, will with it is long-range It controls relevant semantic parsing result and is sent to cloud equipment, semantic parsing result is fed back to by other equipment with Indicated Cloud equipment. Such as: " equipment A " sends voice request to " speech cloud ";" speech cloud " is carrying out speech recognition, semantic understanding, equipment matching symbol It closes and semantic parsing result/control command is sent to " equipment cloud " after long-range control condition;" equipment cloud " issues semantic parsing knot Fruit/control command is to remote controlled " equipment X ";" equipment X ", which is executed, to be ordered and implementing result is fed back to " equipment cloud ";" equipment Cloud " forwards the result to " speech cloud ";" speech cloud " synthesizes casting voice according to result, and gives casting voice feedback to " equipment A " is broadcasted by " equipment A ".
Equipment A among the above corresponds to the first equipment among the above, and equipment X among the above corresponds to be set with first among the above Standby associated other equipment.Speech cloud among the above is equivalent to cloud server among the above, and equipment cloud among the above is equivalent to Cloud equipment among the above.Cloud equipment is connect with cloud server, and cloud equipment is also connect with other equipment.
In an alternative embodiment, it in the case where determining control category is resources-type request, will be asked with resources-type It asks relevant semantic parsing result to be sent to after the first equipment, it is relevant to resources-type request also to control the casting of the first equipment Semantic parsing result.I.e. by the first equipment voice broadcast semanteme parsing result.
In an alternative embodiment, control category is being determined to control class request, and controlling class request is short range control In the case where system, semantic parsing result relevant to local control is sent to after the first equipment, cloud server can also connect Receive the first execution state of the first equipment feedback, wherein the first execution state is that the execution of the first equipment is relevant to local control What semantic parsing result obtained;After executing state synthesis the first casting voice for first, it is sent to the first equipment, to indicate first Equipment casting the first casting voice.For example, the first equipment can will open the execution state of air-conditioning after having executed opening air-conditioning It is sent to cloud device, execution state can be synthesized voice messaging and be sent to the first equipment by cloud device, and the first equipment voice is broadcast Report has opened air-conditioning.
In an alternative embodiment, control category is being determined to control class request, and control class request as remotely control In the case where system, semantic parsing result relevant to remotely controlling is sent to after cloud equipment, cloud server can also receive The second execution state that cloud equipment is sent, wherein the second execution state is that other equipment execute semanteme relevant to remotely controlling What parsing result obtained;After executing state synthesis the second casting voice for second, it is sent to the first equipment, to indicate the first equipment Casting the second casting voice.Air-conditioning is opened for example, remotely controlling using cell phone application, cloud equipment control other equipment play air-conditioning After opening, cloud server is sent by the state of execution.
In an alternative embodiment, before obtaining the voice request that the first equipment is sent, cloud server can also Activation is in the first equipment of silent status, to indicate that the first equipment obtains voice request.
A kind of control method of voice is provided in the present embodiment, and Fig. 3 is the control of voice according to an embodiment of the present invention The flow chart (two) of method processed, as shown in figure 3, the process includes the following steps:
The voice request that first equipment identifies is sent to cloud server, to indicate cloud server solution by step S302 Analyse the control category of voice request;
Step S304 receives the semantic parsing result that cloud server is sent, wherein semantic parsing result is cloud service Device is generated based on control category, and the first equipment is included in multiple apparatus to be controlled, each equipment in multiple control equipments to be controlled Between be connected with each other;
Step S306 broadcasts semantic parsing result.
Through the above steps, the voice request that the first equipment identifies is sent to by cloud server due to the first equipment, with Indicate the control category of cloud server parsing voice request;The semantic parsing result that cloud server equipment is sent is received, In, semantic parsing result is that cloud server is generated based on control category, and the first equipment is included in multiple apparatus to be controlled, more It is connected with each other between each equipment in a apparatus to be controlled;Broadcast semantic parsing result.So that can be between multiple apparatus to be controlled It interacts.Therefore, it can solve the problem of cannot interacting between household appliance in the related technology, influence user experience, Reaching can interact between household appliance, improve the effect of user experience.
Optionally, the executing subject of above-mentioned steps can be the first equipment (for example, air-conditioning, TV etc.), but not limited to this.
In the present embodiment, voice request can be household appliance sending, such as air-conditioning.
It should be noted that the first equipment needs before the voice request that the first equipment identifies is sent to cloud server The voice request for sending is obtained, is then identified.
In an alternative embodiment, control category includes following one: resources-type request;Control class request, wherein Controlling class request includes local control or long-range control.Resources-type request can be the configuration information for obtaining household appliance, or Person is the request for obtaining the existing resources such as music.Control class request includes the control instruction to household appliance, such as " is opened empty Adjust ", " closing lamp " etc..
In an alternative embodiment, broadcasting semantic parsing result includes following one:
1) when control category is resources-type request, semantic parsing result relevant to resources-type request is broadcasted.For example, " I will listen song ", " what model air-conditioning is " result.
2) when control category is local control, semantic parsing result relevant to local control is executed, first is obtained and holds Row state;First execution state is sent to cloud server, to indicate that the first execution state is synthesized first by cloud server Broadcast voice;Receive the first casting voice that cloud server is sent;Casting the first casting voice.For example, the first equipment is being held It has gone after opening air-conditioning, the execution state for opening air-conditioning can have been sent to cloud device, cloud device can close the state of execution It is sent to the first equipment at voice messaging, the first equipment voice broadcast has opened air-conditioning.
3) when control category is remotely to control, the second casting voice that cloud server is sent is received;Wherein, it second broadcasts Reporting voice is that cloud server is synthesized based on the second execution state, and the second execution state is that the second equipment executes and long-range control What relevant semanteme parsing result obtained, the second equipment is connect with remote server.It is beaten for example, remotely being controlled using cell phone application It turns on the aircondition, after cloud equipment control other equipment open air-conditioning, sends cloud server for the state of execution.
Below according to specific embodiment, the present invention is described in detail:
The control that can only realize single household appliance mostly for the existing household appliance with voice control, does not form system One control system, the household appliance in the same family lack the problem of interaction, the present embodiment provides a kind of household appliance it Between the method that interacts, it is specific as follows:
By speech recognition technology by household appliance connection all in family, using unified control strategy, and realize The mutual control of different household appliances.
Fig. 4 is the schematic diagram interacted between equipment in the present embodiment, as shown in figure 4,
Equipment A is connect with speech cloud, and speech cloud is connect with equipment cloud, and equipment cloud is connect with equipment X.
Speech recognition in the present embodiment is to identify to audio signal, and understand intention.Before voice wake-up is wake-up Equipment is in silent status, can not identify that user speech instructs;Equipment is active after recognizing wake-up word, Ke Yishi Other user speech instruction.
All household appliances with speech identifying function form one family voice system in family, pass through speech recognition Technology, semantic understanding technology and equipment control technology, which are realized, utilizes families whole in voice control family control and voice resource It plays, voice broadcast function.
Fig. 5 is the specific flow chart in the present embodiment, comprising the following steps:
S501: start;
S502: voice initiating equipment A sends voice request;
S503: speech cloud carries out speech recognition;
S504: speech cloud carries out speech analysis;
S505: judging the classification of voice request, in the case where being resources-type voice request, goes to S506;
S506: semantic parsing result, resource are fed back to equipment A by speech cloud;
S507: equipment A carries out voice resource casting;
S508: if voice request is control class request, S509 is gone to;
S509: the classification of speech cloud judgement control request goes to S511, is controlling when control request is remotely to control When request is local control, S510 is gone to;
S510: local control;
S512: semantic parsing result/control command is fed back to equipment A by speech cloud;
S513: execution state is fed back to speech cloud by equipment A, and goes to S501
S511: long-range control;
S514: semantic parsing result is sent to equipment cloud by speech cloud;
S515: semantic parsing result is sent controlled plant by equipment cloud;
S516: execution state is fed back to equipment cloud by equipment X;
S517: execution state is fed back to speech cloud by equipment cloud;
S518: speech cloud feeds back to initiating equipment A after broadcasting voice according to the status information synthesis received;
S519: equipment A carries out voice broadcast;
S520: terminate.
It can be seen from the above, the speech control household electrical appliances in the present embodiment are more convenient.
Fig. 6 is the structural block diagram (one) of phonetic controller according to an embodiment of the present invention, as shown in fig. 6, the device packet Include: first obtains module 62, the first parsing module 64 and the first sending module 66, and the device is described in detail below:
First obtains module 62, for obtaining the voice request of the first equipment transmission;
First parsing module 64, for parsing the control category of voice request;
First sending module 66, for being sent to the semantic parsing result of the voice request based on the control category First equipment, wherein first equipment is included in multiple apparatus to be controlled, and each in the multiple apparatus to be controlled sets It is connected with each other between standby.
Through the above steps, due to the voice request of the available first equipment transmission of cloud server;And parse voice The control category of request;The semantic parsing result of voice request is sent to the first equipment based on control category, wherein first sets It is standby to be included in multiple apparatus to be controlled, it is connected with each other between each equipment in multiple apparatus to be controlled.So that multiple apparatus to be controlled Between can interact.Therefore, can solve cannot interact between household appliance in the related technology, influence user experience The problem of, reaching can interact between household appliance, improve the effect of user experience.
Optionally, the executing subject of above-mentioned steps can be cloud server, but not limited to this.
In the present embodiment, voice request can be household appliance sending, such as air-conditioning.
Optionally, the control category in the present embodiment includes that resources-type request and control class are requested, but not limited to this.Resource Class request can be the configuration information for obtaining household appliance, or obtain the request of the existing resources such as music.Control class is asked It asks including the control instruction to household appliance, such as " opening air-conditioning ", " closing lamp " etc..
In an alternative embodiment, the semantic parsing result of voice request is sent to by cloud equipment based on control category Including following one:
It 1), will semantic parsing result relevant to resources-type request in the case where determining control category is resources-type request It is sent to the first equipment;Such as: " equipment A " sends voice request to " speech cloud ", and " speech cloud " is carrying out speech recognition, semanteme Resource results are fed back into " equipment A " after understanding, resource acquisition, by " equipment A " playing resource.
2) determine control category be control class request and control class request be local control in the case where, will be with short range It controls relevant semantic parsing result and feeds back to cloud equipment, semantic parsing result is fed back to by the first equipment with Indicated Cloud equipment; Such as: " equipment A " sends voice request to " speech cloud ", and " speech cloud " is carrying out speech recognition, semantic understanding, equipment matching symbol Semantic parsing result/control command is fed back into " equipment A " after conjunction local control condition, control command is executed by " equipment A "; Instruction execution result is fed back to " speech cloud " by " equipment A ";" speech cloud " synthesizes casting voice according to implementing result, and will casting Voice feedback gives " equipment A ", is broadcasted by " equipment A ".
3) determine control category be the request of control class and the request of control class for long-range control in the case where, will with it is long-range It controls relevant semantic parsing result and is sent to cloud equipment, semantic parsing result is fed back to by other equipment with Indicated Cloud equipment. Such as: " equipment A " sends voice request to " speech cloud ";" speech cloud " is carrying out speech recognition, semantic understanding, equipment matching symbol It closes and semantic parsing result/control command is sent to " equipment cloud " after long-range control condition;" equipment cloud " issues semantic parsing knot Fruit/control command is to remote controlled " equipment X ";" equipment X ", which is executed, to be ordered and implementing result is fed back to " equipment cloud ";" equipment Cloud " forwards the result to " speech cloud ";" speech cloud " synthesizes casting voice according to result, and gives casting voice feedback to " equipment A " is broadcasted by " equipment A ".
Equipment A among the above corresponds to the first equipment among the above, and equipment X among the above corresponds to be set with first among the above Standby associated other equipment.Speech cloud among the above is equivalent to cloud server among the above, and equipment cloud among the above is equivalent to Cloud equipment among the above.Cloud equipment is connect with cloud server, and cloud equipment is also connect with other equipment.
In an alternative embodiment, it in the case where determining control category is resources-type request, will be asked with resources-type It asks relevant semantic parsing result to be sent to after the first equipment, it is relevant to resources-type request also to control the casting of the first equipment Semantic parsing result.I.e. by the first equipment voice broadcast semanteme parsing result.
In an alternative embodiment, control category is being determined to control class request, and controlling class request is short range control In the case where system, semantic parsing result relevant to local control is sent to after the first equipment, cloud server can also connect Receive the first execution state of the first equipment feedback, wherein the first execution state is that the execution of the first equipment is relevant to local control What semantic parsing result obtained;After executing state synthesis the first casting voice for first, it is sent to the first equipment, to indicate first Equipment casting the first casting voice.For example, the first equipment can will open the execution state of air-conditioning after having executed opening air-conditioning It is sent to cloud device, execution state can be synthesized voice messaging and be sent to the first equipment by cloud device, and the first equipment voice is broadcast Report has opened air-conditioning.
In an alternative embodiment, control category is being determined to control class request, and control class request as remotely control In the case where system, semantic parsing result relevant to remotely controlling is sent to after cloud equipment, cloud server can also receive The second execution state that cloud equipment is sent, wherein the second execution state is that other equipment execute semanteme relevant to remotely controlling What parsing result obtained;After executing state synthesis the second casting voice for second, it is sent to the first equipment, to indicate the first equipment Casting the second casting voice.Air-conditioning is opened for example, remotely controlling using cell phone application, cloud equipment control other equipment play air-conditioning After opening, cloud server is sent by the state of execution.
In an alternative embodiment, before obtaining the voice request that the first equipment is sent, cloud server can also Activation is in the first equipment of silent status, to indicate that the first equipment obtains voice request.
Fig. 7 is the structural block diagram (two) of phonetic controller according to an embodiment of the present invention, as shown in fig. 7, the device packet Include: the second sending module 72, the first receiving module 74 and the first broadcasting module 76 are below described in detail the device:
Second sending module 72, the voice request for identifying the first equipment is sent to cloud server, with Indicated Cloud Hold the control category of server parsing voice request;
First receiving module 74, the first receiving module, the semantic parsing result sent for receiving the cloud server, Wherein, the semantic parsing result is that the cloud server is generated based on the control category, and first equipment includes In multiple apparatus to be controlled, it is connected with each other between each equipment in the multiple apparatus to be controlled;
First broadcasting module 76, for broadcasting semantic parsing result.
Through the above steps, the voice request that the first equipment identifies is sent to by cloud server due to the first equipment, with Indicate the control category of cloud server parsing voice request;Receive the semantic parsing result that cloud server is sent, wherein language Adopted parsing result is cloud server to be generated based on control category, and the first equipment is included in multiple apparatus to be controlled, it is multiple to It is connected with each other between each equipment in control equipment;Broadcast semantic parsing result.So that can be carried out between multiple apparatus to be controlled Interaction.Therefore, it can solve the problem of cannot interacting between household appliance in the related technology, influence user experience, reach It can be interacted between household appliance, improve the effect of user experience.
Optionally, the executing subject of above-mentioned steps can be the first equipment (for example, air-conditioning, TV etc.), but not limited to this.
In the present embodiment, voice request can be household appliance sending, such as air-conditioning.
In an alternative embodiment, control category includes following one: resources-type request;Control class request, wherein Controlling class request includes local control or long-range control.Resources-type request can be the configuration information for obtaining household appliance, or Person is the request for obtaining the existing resources such as music.Control class request includes the control instruction to household appliance, such as " is opened empty Adjust ", " closing lamp " etc..
In an alternative embodiment, broadcasting semantic parsing result includes following one:
1) when control category is resources-type request, semantic parsing result relevant to resources-type request is broadcasted.For example, empty Tune is the result of what model.
2) when control category is local control, semantic parsing result relevant to local control is executed, first is obtained and holds Row state;First execution state is sent to cloud server, to indicate that the first execution state is synthesized first by cloud server Broadcast voice;Receive the first casting voice that cloud server is sent;Casting the first casting voice.For example, the first equipment is being held It has gone after opening air-conditioning, the execution state for opening air-conditioning can have been sent to cloud device, cloud device can close the state of execution It is sent to the first equipment at voice messaging, the first equipment voice broadcast has opened air-conditioning.
3) when control category is remotely to control, the second casting voice that cloud server is sent is received;Wherein, it second broadcasts Reporting voice is that cloud server is synthesized based on the second execution state, and the second execution state is that the second equipment executes and long-range control What relevant semanteme parsing result obtained, the second equipment is connect with remote server.It is beaten for example, remotely being controlled using cell phone application It turns on the aircondition, after cloud equipment control other equipment open air-conditioning, sends cloud server for the state of execution.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store for executing above each step Computer program.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (15)

1. a kind of sound control method characterized by comprising
Obtain the voice request of the first equipment transmission;
Parse the control category of the voice request;
The semantic parsing result of the voice request is sent to first equipment based on the control category, wherein described First equipment is included in multiple apparatus to be controlled, is connected with each other between each equipment in the multiple apparatus to be controlled.
2. the method according to claim 1, wherein based on the control category by the semanteme of the voice request It includes following one that parsing result, which is sent to first equipment:
In the case where determining the control category is resources-type request, semantic parsing relevant to the resources-type request is tied Fruit is sent to first equipment;
Determine the control category be control class request and the control class request be local control in the case where, will be with institute It states the relevant semantic parsing result of local control and feeds back to first equipment;
Determine the control category be control class request and the control class request for remotely control in the case where, will be with institute It states and remotely controls relevant semantic parsing result and be sent to cloud equipment, to indicate that the cloud equipment is anti-by the semantic parsing result It is fed to other equipment, wherein the cloud equipment is connect with the multiple apparatus to be controlled.
3. according to the method described in claim 2, it is characterized in that, determining that the control category is the resources-type request In the case of, it will be after semantic parsing result relevant to the resources-type request be sent to first equipment, the method is also Include:
Control the first equipment casting semantic parsing result relevant to the resources-type request.
4. according to the method described in claim 2, it is characterized in that, determine the control category for the control class request, And in the case that the control class request is the local control, semantic parsing result relevant to the local control is sent After to first equipment, the method also includes:
Receive the first execution state of the first equipment feedback, wherein the first execution state is that first equipment is held Row semantic parsing result relevant to the local control obtains;
After executing state synthesis the first casting voice for described first, it is sent to first equipment, to indicate that described first sets It is standby to broadcast the first casting voice.
5. according to the method described in claim 2, it is characterized in that, determining the control category for control class request, and institute In the case where the request of control class is stated as long-range control, it will remotely control relevant semantic parsing result to described and be sent to the cloud After equipment, the method also includes:
Receive the second execution state that the cloud equipment is sent, wherein the second execution state is that the other equipment execute Remotely control what relevant semantic parsing result obtained to described;
After executing state synthesis the second casting voice for described second, it is sent to first equipment, to indicate that described first sets It is standby to broadcast the second casting voice.
6. the method according to claim 1, wherein in the voice request for obtaining the first equipment transmission Before, the method also includes:
Activation is in first equipment of silent status, to indicate that first equipment obtains the voice request.
7. a kind of sound control method characterized by comprising
The voice request that first equipment identifies is sent to cloud server, to indicate that the cloud server parses the voice The control category of request;
Receive the semantic parsing result that the cloud server is sent, wherein the semanteme parsing result is the cloud service Device is generated based on the control category, and first equipment is included in multiple apparatus to be controlled, in the multiple apparatus to be controlled Each equipment between be connected with each other;
Broadcast the semantic parsing result.
8. the method according to the description of claim 7 is characterized in that the control category includes following one:
Resources-type request;
Control class request, wherein the control class request includes local control or long-range control.
9. according to the method described in claim 8, it is characterized in that, the casting semantic parsing result includes:
When the control category is resources-type request, casting semantic parsing result relevant to the resources-type request.
10. according to the method described in claim 8, it is characterized in that, the casting semantic parsing result includes:
When the control category is local control, semantic parsing result relevant to the local control is executed, obtains first Execution state;
The first execution state is sent to the cloud server, to indicate that the cloud server is executed described first State synthesis the first casting voice;
Receive the first casting voice that the cloud server is sent;
Broadcast the first casting voice.
11. according to the method described in claim 8, it is characterized in that, the casting semantic parsing result includes:
When the control category is remotely to control, the second casting voice that the cloud server is sent is received;
Wherein, the second casting voice is that the cloud server is synthesized based on the second execution state, and described second executes State is that the second equipment executes and remotely controls relevant semantic parsing result with described and obtain, second equipment and distal end clothes Business device connection.
12. a kind of phonetic controller characterized by comprising
First obtains module, for obtaining the voice request of the first equipment transmission;
First parsing module, for parsing the control category of the voice request;
First sending module, for the semantic parsing result of the voice request to be sent to described based on the control category One equipment, wherein first equipment is included in multiple apparatus to be controlled, between each equipment in the multiple apparatus to be controlled It is connected with each other.
13. a kind of phonetic controller characterized by comprising
Second sending module, the voice request for identifying the first equipment are sent to cloud server, to indicate the cloud Server parses the control category of the voice request;
First receiving module, the semantic parsing result sent for receiving the cloud server, wherein the semantic parsing knot Fruit is that the cloud server is generated based on the control category, and first equipment is included in multiple apparatus to be controlled, institute It states and is connected with each other between each equipment in multiple apparatus to be controlled;
First broadcasting module, for broadcasting the semantic parsing result.
14. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to perform claim when operation and requires method described in 1 to 6 any one, alternatively, perform claim requires 7 to 11 Method described in one.
15. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to run the computer program and require method described in 1 to 6 any one with perform claim, Alternatively, perform claim requires method described in 7 to 11 any one.
CN201811377141.XA 2018-11-19 2018-11-19 Voice control method and device, storage medium and electronic device Pending CN109545208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811377141.XA CN109545208A (en) 2018-11-19 2018-11-19 Voice control method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811377141.XA CN109545208A (en) 2018-11-19 2018-11-19 Voice control method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN109545208A true CN109545208A (en) 2019-03-29

Family

ID=65848369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811377141.XA Pending CN109545208A (en) 2018-11-19 2018-11-19 Voice control method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109545208A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113555015A (en) * 2020-04-23 2021-10-26 百度在线网络技术(北京)有限公司 Voice interaction method, voice interaction device, electronic device and storage medium
WO2023011441A1 (en) * 2021-08-02 2023-02-09 青岛海尔洗衣机有限公司 Voice broadcast control method and apparatus, device, and storage medium
WO2023142558A1 (en) * 2022-01-25 2023-08-03 青岛海尔空调器有限总公司 Methods and apparatus used for controlling household appliance, household appliance and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051734A (en) * 2013-01-23 2013-04-17 广东志高空调有限公司 Remote voice control method and system for household electrical appliance and communication terminal
CN106292321A (en) * 2016-08-30 2017-01-04 无锡小天鹅股份有限公司 Washing machine and control method thereof and control system
EP3217394A1 (en) * 2012-12-10 2017-09-13 Samsung Electronics Co., Ltd Method and user device for providing context awareness service using speech recognition
CN107622652A (en) * 2016-07-15 2018-01-23 青岛海尔智能技术研发有限公司 The sound control method and appliance control system of appliance system
CN207117679U (en) * 2017-08-15 2018-03-16 苏州科技大学 A kind of remote speech control device based on Cloud Server
CN207441234U (en) * 2017-05-10 2018-06-01 义乌控客科技有限公司 A kind of speech recognition system based on ZigBee gateways

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3217394A1 (en) * 2012-12-10 2017-09-13 Samsung Electronics Co., Ltd Method and user device for providing context awareness service using speech recognition
CN103051734A (en) * 2013-01-23 2013-04-17 广东志高空调有限公司 Remote voice control method and system for household electrical appliance and communication terminal
CN107622652A (en) * 2016-07-15 2018-01-23 青岛海尔智能技术研发有限公司 The sound control method and appliance control system of appliance system
CN106292321A (en) * 2016-08-30 2017-01-04 无锡小天鹅股份有限公司 Washing machine and control method thereof and control system
CN207441234U (en) * 2017-05-10 2018-06-01 义乌控客科技有限公司 A kind of speech recognition system based on ZigBee gateways
CN207117679U (en) * 2017-08-15 2018-03-16 苏州科技大学 A kind of remote speech control device based on Cloud Server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113555015A (en) * 2020-04-23 2021-10-26 百度在线网络技术(北京)有限公司 Voice interaction method, voice interaction device, electronic device and storage medium
WO2023011441A1 (en) * 2021-08-02 2023-02-09 青岛海尔洗衣机有限公司 Voice broadcast control method and apparatus, device, and storage medium
WO2023142558A1 (en) * 2022-01-25 2023-08-03 青岛海尔空调器有限总公司 Methods and apparatus used for controlling household appliance, household appliance and storage medium

Similar Documents

Publication Publication Date Title
CN109545208A (en) Voice control method and device, storage medium and electronic device
CN106911831B (en) A kind of data processing method of the microphone of terminal and terminal with microphone
CN107274902A (en) Phonetic controller and method for household electrical appliances
CN106886166A (en) Method, device and the audio amplifier of household electrical appliance are controlled by audio amplifier
CN105472430B (en) Method, equipment and the system of mobile terminal jingle bell are controlled by smart television
CN109065035A (en) information interaction method and device
CN109003609A (en) Voice equipment, intelligent voice system, equipment control method and device
CN109360564A (en) Method and device for selecting language identification mode and household appliance
CN109473092A (en) Voice endpoint detection method and device
CN108933946B (en) Voice-control-based live broadcasting attention method, storage medium, electronic equipment and system
CN107545892B (en) Equipment control method, device and system
CN108271096A (en) A kind of task executing method, device, intelligent sound box and storage medium
CN107622771A (en) Home appliance and its control method, system and computer-readable recording medium
CN112837686A (en) Wake-up response operation execution method and device, storage medium and electronic device
CN113921004A (en) Intelligent device control method and device, storage medium and electronic device
CN104320435B (en) A kind of Cloud Server control method and system
CN108965081A (en) Method and device for controlling equipment through voice
CN108986810A (en) A kind of method and device for realizing interactive voice by earphone
CN109087638A (en) Information transmission method and device, household appliance, storage medium and electronic device
CN109065050A (en) A kind of sound control method, device, equipment and storage medium
CN113330424A (en) Instruction processing method, instruction processing device, electronic device and storage medium
CN104427641A (en) Cloud sound box
CN109448710A (en) Voice processing method and device, household appliance and storage medium electronic device
CN106294707A (en) A kind of countdown information output intent and device
CN113053369A (en) Voice control method and device of intelligent household appliance and intelligent household appliance

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