CN108121528A - Sound control method, device, server and computer readable storage medium - Google Patents
Sound control method, device, server and computer readable storage medium Download PDFInfo
- Publication number
- CN108121528A CN108121528A CN201711278623.5A CN201711278623A CN108121528A CN 108121528 A CN108121528 A CN 108121528A CN 201711278623 A CN201711278623 A CN 201711278623A CN 108121528 A CN108121528 A CN 108121528A
- Authority
- CN
- China
- Prior art keywords
- control command
- control
- instruction
- homonym
- original
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L13/00—Speech synthesis; Text to speech systems
- G10L13/08—Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
Abstract
The invention discloses a kind of sound control method, device, server and computer readable storage mediums, the described method comprises the following steps:Obtain the corresponding text message of voice control command;Original control command is parsed according to text message;When original control command inaccuracy, correction process is carried out to original control command, determines accurate control command;When determining accurate control command success, corresponding controlled plant is controlled according to accurate control command.So as to greatly strengthen the speech recognition capabilities of system and semantic understanding ability, improve discrimination of the system to voice control command, even if user's accent is ambiguous or does not say the voice control command of standard, system can accurately also understand the true intention of user, and then the accuracy rate and efficiency of voice control are improved, improve user experience.
Description
Technical field
The present invention relates to Smart Home technical field, more particularly, to a kind of sound control method, device, server and meter
Calculation machine readable storage medium storing program for executing.
Background technology
With the development of speech analysis techniques, voice control is applied in more and more fields, including intelligent family
Occupy field.At present, it is mainly unidirectional in the voice control scheme of the smart machines such as TV, air-conditioning in smart home field
The speech control of feedback-less, idiographic flow are:The voice control that standard is inputted by intelligent terminals such as mobile phone, tablets by user is ordered
Voice control command is sent to third party and carries out speech recognition by order, intelligent terminal, and voice control command is identified as by third party
Intelligent terminal is returned to after text message, text message is sent to server by intelligent terminal, and server is according to text message solution
Control command is precipitated, and smart machine is controlled according to control command.
Since the speech recognition of voice control command is provided by third party, usually it is present with when voice input by user
When control command is nonstandard or smudgy, server can not parse standard by text message that third party's speech recognition goes out
True control command can not confirm the true intention of user, cause system that cannot accurately and rapidly respond user, affect
The accuracy rate and efficiency of voice control, user experience are bad.
The content of the invention
The main purpose of the embodiment of the present invention is to provide a kind of sound control method, device, server and computer can
Read storage medium, it is intended to improve the accuracy rate and efficiency of voice control, promote user experience.
To achieve these objectives, on the one hand propose a kind of sound control method, the described method comprises the following steps:
Obtain the corresponding text message of voice control command;
Original control command is parsed according to the text message;
When the original control command inaccuracy, correction process is carried out to the original control command, determines standard
True control command;
When determining accurate control command success, corresponding controlled plant is controlled according to the accurate control command.
Optionally, the control command includes control main body, described to carry out correction process to the original control command,
The step of determining accurate control command includes:
Homonym error correction is carried out to the control main body of the original control command, institute is searched in preset facility information
State the homonym of control main body;
When finding the homonym, determine the homonym for accurately control main body.
Optionally, the facility information includes device type and/or device name.
Optionally, the control command includes control instruction, described to carry out correction process to the original control command,
The step of determining accurate control command includes:
Homonym error correction is carried out to the control instruction of the original control command, is searched in preset instruction vocabulary
The homonym of the control instruction;
When the homonym found is normally instructs, it is accurate control instruction to determine the homonym.
Optionally, it is described the control instruction is searched in preset instruction vocabulary homonym the step of after also wrap
It includes:
When the homonym for not finding the homonym or finding is improper instruction, to the control
Instruction carries out synonym error correction, and the synonym of the original control instruction is searched in preset synonym dictionary;
When the synonym found is normally instructs, it is accurate control instruction to determine the synonym.
Optionally, also wrapped after described the step of searching the synonym of the control instruction in preset synonym dictionary
It includes:
When the synonym for not finding the synonym or finding is improper instruction, to the control
Instruction carries out fuzzy phoneme error correction, and the nearly sound similar to the pronunciation of the control instruction is searched in preset fuzzy phoneme error correction dictionary
Word;
When the nearly sound word found is normally instructs, it is accurate control instruction to determine the nearly sound word.
Optionally, described the step of is carried out by correction process, determines accurate control command for the original control command
It further includes afterwards:When determining accurate control command failure, error message is prompted.
On the other hand a kind of phonetic controller is proposed, described device includes:
Acquisition module, for obtaining the corresponding text message of voice control command;
Parsing module, for parsing original control command according to the text message;
Correction module, for when the original control command inaccuracy, being entangled to the original control command
Fault is managed, and determines accurate control command;
Control module, for when determining accurate control command success, phase to be controlled according to the accurate control command
The controlled plant answered.
Another aspect proposes a kind of server, and the server includes memory, processor and at least one is stored in
In the memory and the application program performed by the processor is configured as, the application program is configurable for performing
Aforementioned voice control method.
A kind of computer readable storage medium is proposed on the one hand, and voice is stored on the computer readable storage medium
Control program, when the voice control procedure is executed by processor, realize aforementioned voice control method the step of.
A kind of sound control method that the embodiment of the present invention is provided, by original control command inaccuracy to it
Correction process is carried out, accurate control command is determined, and corresponding controlled plant is controlled according to accurate control command.So as to big
The speech recognition capabilities of system and semantic understanding ability are enhanced greatly, improves discrimination of the system to voice control command, i.e.,
Ambiguous or do not say the voice control command of standard using registered permanent residence sound, system can accurately also understand the true meaning of user
Figure, and then the accuracy rate and efficiency of voice control are improved, improve user experience.
Description of the drawings
Fig. 1 is the flow chart of one embodiment of sound control method of the present invention;
Fig. 2 is the module diagram of one embodiment of phonetic controller of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is clearly and completely described,
Obviously, described embodiment is only the part of the embodiment of the present invention, instead of all the embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art's all other embodiments obtained without creative efforts,
Belong to the scope of protection of the invention.
It is to be appreciated that the directional instruction (such as up, down, left, right, before and after ...) of institute is only used in the embodiment of the present invention
In explaining relative position relation, motion conditions under a certain particular pose (as shown in drawings) between each component etc., if should
When particular pose changes, then directionality instruction also correspondingly changes correspondingly.
In addition, the description for being related to " first ", " second " etc. in the present invention is only used for description purpose, and it is not intended that referring to
Show or imply its relative importance or imply the quantity of the technical characteristic indicated by indicating." first ", " are defined as a result,
At least one this feature can be expressed or be implicitly included to two " feature.In addition, the technical solution between each embodiment can
To be combined with each other, but must can be implemented as basis with those of ordinary skill in the art, when the combination of technical solution occurs
Conflicting or can not realize when, will be understood that the combination of this technical solution is not present, also not the present invention claims protection model
Within enclosing.
The sound control method and device of the embodiment of the present invention, are mainly used in server, naturally it is also possible to applied to intelligence
Energy terminal (such as mobile phone, tablet mobile terminal), this is not limited by the present invention.It is carried out below exemplified by being applied to server detailed
It describes in detail bright.
Referring to Fig. 1, propose one embodiment of sound control method of the present invention, the described method comprises the following steps:
S11, the corresponding text message of voice control command is obtained.
In the embodiment of the present invention, intelligent terminal gathers the voice control command of user, and carries out language to voice control command
Sound identifies, converts sound into word, obtains the corresponding text message of the voice control command, and text information is sent to
Server, server receive text information.
Intelligent terminal can locally carry out speech recognition, can also carry out speech recognition by third-party server, i.e.,:
Voice control command is sent to third-party server by intelligent terminal, and third-party server carries out voice knowledge to voice control command
Not, the corresponding text message of the voice control command is obtained, and text message is returned into intelligent terminal.
In certain embodiments, voice control command directly can also be sent to server by intelligent terminal, by server
Speech recognition is carried out to the voice control command, obtains the corresponding text message of the voice control command.
S12, original control command is parsed according to text message.
In this step S12, server carries out text message semantic parsing, and text message is split main body and control in order to control
System instruction, so as to which Direct Recognition goes out original control command, which is made of control main body and control instruction.
After original control command is identified, server judges whether original control command is accurate immediately.Specifically,
Whois lookup preset facility information and instruction vocabulary judge the control of original control command whether is included in facility information
Whether main body processed includes the control instruction of original control command in instruction vocabulary;When in facility information and instruction vocabulary
When containing the control main body and control instruction of original control command respectively, then judge original control command for accurately control
System order;It is former when not including in the control main body and/or instruction vocabulary for not including original control command in facility information
During the control instruction of the control command of beginning, then judge that original control command is inaccurate.
Facility information includes device type and/or device name.Device type such as TV, air-conditioning, set-top box, switch, lamp
Light etc., these belong to control main body.Device name is the title of different device definitions, and air-conditioning such as is named as " temperature
Adjust small assistant ", these fall within control main body.User is when on intelligent terminal by account number cipher login service device, service
Device then automatically saves the device name of associated all devices under the account, and server can put device name and device type
It is stored inside a vocabulary.
Substantially the control term of controlled plants all at present is enumerated in instruction vocabulary, for example blows, play open and close
Close, reduce, increasing, heating, cooling, air-supply, mute, pause, songfeng, dakai, guanbi etc., these belong to control
System instruction.
When original control command is accurate, server is then directly set according to original control command control is controlled accordingly
It is standby.For example, the control instruction of control command is sent to the controlled plant corresponding to the control main body of control command by server, by
Control equipment then performs the control instruction after receiving control instruction.Server, can be directly to control when sending control instruction
The corresponding controlled plant of main body sends control instruction, can also send control instruction by intelligent terminal, i.e., send out control instruction
Intelligent terminal is given, which is transmitted to the controlled plant corresponding to control main body by intelligent terminal again.It is described controlled to set
Standby such as TV, air-conditioning, set-top box smart machine.
S13, when original control command inaccuracy, correction process is carried out to original control command, is determined accurate
Control command.
In the embodiment of the present invention, when original control command inaccuracy, server then carries out original control command
Correction process, to determine accurate control command.Wherein, correction process mode includes homonym error correction, synonym error correction, obscures
Sound error correction etc. for example, when homonym error correction fails, can continue synonym error correction, when synonym error correction still fails
When, it can also continue to carry out fuzzy phoneme error correction.
Optionally, when the control main body inaccuracy of original control command, server is then to original control command
Main body is controlled to carry out homonym error correction, the homonym of the control main body is searched in preset facility information;It is controlled when finding
During the homonym of main body, it is determined that the homonym is accurately control main body, so that it is determined that accurately control command success;When not having
When having the homonym for finding control main body, it is determined that accurate control command failure.
When searching homonym, server parses the phonetic corresponding to the control main body of original control command first,
Then searched whether in facility information and the corresponding vocabulary of the phonetic;When finding and the corresponding vocabulary of the phonetic
When, then extract homonym of the vocabulary as the control main body;When not finding vocabulary corresponding with the phonetic, then say
There is no the homonym of the control main body in bright facility information.
Optionally, when the control instruction inaccuracy of original control command, server is then to original control command
Control instruction carries out homonym error correction, and the homonym of the control instruction is searched in preset instruction vocabulary;When what is found
When the homonym of the control instruction is normally instructs, it is determined that homonym is accurate control instruction.
When searching homonym, server parses the phonetic corresponding to the control instruction of original control command first,
Then searched whether in instruction vocabulary and the corresponding vocabulary of the phonetic;When finding and the corresponding vocabulary of the phonetic
When, then extract homonym of the vocabulary as the control instruction;When not finding vocabulary corresponding with the phonetic, then say
There is no the homonym of the control instruction in bright instruction vocabulary.
For example, for the voice control command of " air-conditioning ", " air-conditioning may be identified as when carrying out speech recognition to it
Song Feng ".At this point, server parses " Song Feng " corresponding phonetic as " songfeng " first, then looked into instruction vocabulary
It finds and the corresponding vocabulary of the phonetic " air-supply ", synonym of the extraction " air-supply " as " Song Feng ", so as to accurately identify
The true intention of user is desirable to " air-conditioning ".
When whether judge the homonym of control instruction is normally to instruct, server is needed homonym and control main body
Combine comprehensive descision.It is alternatively possible to be combined to form control command using homonym as control instruction with control main body,
Judge whether the control command meets logic.For example, find the homonym of control instruction as " pause ", if controlling the main body to be
" air-conditioning ", then the control command of " air-conditioning pause " be not just inconsistent logical, homonym " pause " is exactly improper instruction at this time;Such as
Fruit controls main body, and for " TV ", then the control command of " TV pause " just meets logic, and homonym " pause " is exactly normal at this time
Instruction.
In certain embodiments, when the homonym for not finding the homonym of control instruction or finding is improper
During instruction, server then judges to determine accurate control command failure.
In further embodiments, when the homonym for not finding the homonym of control instruction or finding is improper
Instruction when, server further to control instruction carry out synonym error correction, search original control in preset synonym dictionary
The synonym of instruction is made, when the synonym found is normally instructs, it is determined that synonym is accurate control instruction.
For synonym error correction, control instruction vocabulary can be in advance based on and generate a set of synonym dictionary.For example, it " beats
Open ", "ON", " unlatching ", " startup " be all synonym, it is many-to-one right to form these synonyms in synonym dictionary
It should be related to, " opening ", " unlatching ", " startup " is all corresponding with "ON".When the control instruction of original control command is " to open
It is dynamic " when, then its synonym can be found in synonym dictionary as "ON", so as to which user is without argumentation " turning on the aircondition ", still " is beaten
Turn on the aircondition ", " unlatching air-conditioning ", " startup air-conditioning ", successfully air-conditioning can be opened.
When whether judge the synonym of control instruction is normally to instruct, server is needed synonym and control main body
Combine comprehensive descision.It is alternatively possible to be combined to form control command using synonym as control instruction with control main body,
Judge whether the control command meets logic.For example, find the synonym of control instruction as " heating ", if controlling the main body to be
" TV ", then the control command of " TV heating " be not just inconsistent logical, synonym " heating " is exactly improper instruction at this time;Such as
Fruit controls main body, and for " air-conditioning ", then the control command of " air-conditioning heating " just meets logic, and synonym " heating " is exactly normal at this time
Instruction.
In certain embodiments, when the synonym for not finding the synonym of control instruction or finding is improper
During instruction, server then judges to determine accurate control command failure.
In further embodiments, when the synonym for not finding the synonym of control instruction or finding is improper
Instruction when, server further to control instruction carry out fuzzy phoneme error correction, in preset fuzzy phoneme error correction dictionary search with
The similar nearly sound word that pronounces of control instruction;When the nearly sound word found is normally instructs, it is determined that nearly sound word is accurate
Control instruction.
For synonym error correction, dialect (or accent) generation of control instruction vocabulary and different places can be in advance based on
A set of fuzzy phoneme error correction dictionary.For example, the accent in some places sounds like " light " when saying "Off", when speech recognition, may
" pass air-conditioning " is identified as " light air-conditioning ", therefore the correspondence of " light " and "Off" can be established in fuzzy phoneme error correction dictionary.When
When the control instruction of original control command is " light ", then its nearly sound word can be found in fuzzy phoneme error correction dictionary is
"Off", even if so as to which the sound that user says sounds like " light air-conditioning ", server is also it will be appreciated that the true intention of user is
" pass air-conditioning ", so as to which successfully air-conditioning is closed.
When whether judge the nearly sound word of control instruction is normally to instruct, server needs nearly sound word and control main body
Combine comprehensive descision.It is alternatively possible to nearly sound word is combined to form control command as control instruction with control main body,
Judge whether the control command meets logic.For example, find the nearly sound word of control instruction as " air-supply ", if controlling the main body to be
" air-supply ", then the control command of " TV air-supply " be not just inconsistent logical, nearly sound word " air-supply " is exactly improper instruction at this time;Such as
Fruit controls main body, and for " air-conditioning ", then the control command of " air-conditioning " just meets logic, and nearly sound word " air-supply " is exactly normal at this time
Instruction.
When the nearly sound word for not finding the nearly sound word of control instruction or finding is improper instruction, server is then
Judge to determine accurate control command failure.
Optionally, when the control main body and control instruction of original control command are inaccurate, server then needs point
It is other that correction process is carried out to control main body and control instruction.For controlling the error correction of main body, consideration needs to be precisely controlled, therefore this hair
Bright embodiment only selects homonym error correction, is also an option that synonym error correction, fuzzy phoneme error correction in other embodiments certainly, this
Invention is not construed as limiting this.Error correction for control instruction can carry out homonym error correction first, when error correction fails, then into
Row synonym error correction when error correction still fails, then carries out fuzzy phoneme error correction, certainly in other embodiments, can also only select
It selects homonym error correction or only selects homonym, synonym error correction, this is not limited by the present invention.
S14, when determining the success of accurate control command, corresponding controlled plant is controlled according to accurate control command.
In the embodiment of the present invention, when determining accurate control command success, server is then according to definite accurate control
System order controls corresponding controlled plant.For example, the control instruction of control command is sent to the control of control command by server
Controlled plant corresponding to main body, controlled plant then perform the control instruction after receiving control instruction.Server is sending control
During system instruction, can control instruction directly be sent to the corresponding controlled plant of control main body, can also be sent by intelligent terminal
Control instruction is sent to intelligent terminal by control instruction, it is right which is transmitted to control main body institute by intelligent terminal again
The controlled plant answered.
Further, when determining accurate control command failure, server then prompts error message.For example, server
The prompt message of " voice mistake please be re-entered " is sent to intelligent terminal, intelligent terminal passes through after receiving the prompt message
Display screen shows the prompt message and/or exports the prompt message by sound-producing device.So as to which user then knows problem institute in time
Issuing voice control command again immediately.
In certain embodiments, when determining accurate control command failure, server can also be responded not.
The sound control method of the embodiment of the present invention, by being carried out in original control command inaccuracy to it at error correction
Reason determines accurate control command, and controls corresponding controlled plant according to accurate control command.It is so as to greatly strengthen
The speech recognition capabilities of system and semantic understanding ability improve discrimination of the system to voice control command, even if user's accent
Voice control command that is ambiguous or not saying standard, system can accurately also understand the true intention of user, Jin Erti
The high accuracy rate and efficiency of voice control, improves user experience.
With reference to Fig. 2, one embodiment of phonetic controller of the invention is proposed, described device includes acquisition module 10, parsing
Module 20, correction module 30 and control module 40, wherein:Acquisition module 10, for obtaining the corresponding text of voice control command
Information;Parsing module 20, for parsing original control command according to text message;Correction module 30 is original for working as
During control command inaccuracy, correction process is carried out to original control command, determines accurate control command;Control module 40,
For when determining accurate control command success, corresponding controlled plant to be controlled according to accurate control command.
Optionally, acquisition module 10 receives the corresponding text message of voice control command of the transmission of intelligent terminal.
Optionally, acquisition module 10 receives the voice control command that intelligent terminal is sent, which is carried out
Speech recognition converts sound into word, obtains the corresponding text message of the voice control command.
After the text message of voice control command is obtained, parsing module 20 carries out text message semantic parsing, by text
This information splits main body and control instruction in order to control, and so as to which Direct Recognition goes out original control command, the control command is i.e. by controlling
Main body and control instruction composition processed.
After original control command is identified, parsing module 20 judges whether original control command is accurate immediately.Tool
Body, whether parsing module 20 searches preset facility information and instruction vocabulary, judge in facility information comprising original control
The control main body of order is made, the control instruction of original control command whether is included in instruction vocabulary;When facility information and refer to
When making the control main body and control instruction for containing original control command in vocabulary respectively, then original control command is judged
For accurate control command;When the control main body and/or instruction vocabulary that do not include original control command in facility information
In when not including the control instruction of original control command, then judge that original control command is inaccurate.
Facility information includes device type and/or device name.Device type such as TV, air-conditioning, set-top box, switch, lamp
Light etc., these belong to control main body.Device name is the title of different device definitions, and air-conditioning such as is named as " temperature
Adjust small assistant ", these fall within control main body.User is when on intelligent terminal by account number cipher login service device, service
Device then automatically saves the device name of associated all devices under the account, and server can put device name and device type
It is stored inside a vocabulary.
Substantially the control term of controlled plants all at present is enumerated in instruction vocabulary, for example blows, play open and close
Close, reduce, increasing, heating, cooling, air-supply, mute, pause, songfeng, dakai, guanbi etc., these belong to control
System instruction.
When original control command inaccuracy, correction module 30 then carries out correction process to original control command, with
Determine accurate control command.Wherein, correction process mode includes homonym error correction, synonym error correction, fuzzy phoneme error correction etc., example
Such as, when homonym error correction fails, synonym error correction can be continued, it, can also be after when synonym error correction still fails
It is continuous to carry out fuzzy phoneme error correction.
Optionally, when the control main body inaccuracy of original control command, correction module 30 then orders original control
The control main body of order carries out homonym error correction, and the homonym of the control main body is searched in preset facility information;When finding
When controlling the homonym of main body, it is determined that the homonym is accurately control main body, so that it is determined that accurately control command success;
When not finding the homonym of control main body, it is determined that accurate control command failure.
When searching homonym, correction module 30 parses the spelling corresponding to the control main body of original control command first
Then sound has searched whether and the corresponding vocabulary of the phonetic in facility information;When finding and the corresponding word of the phonetic
During remittance, then homonym of the vocabulary as the control main body is extracted;When not finding vocabulary corresponding with the phonetic, then
Illustrate there is no the homonym of the control main body in facility information.
Optionally, when the control instruction inaccuracy of original control command, correction module 30 then orders original control
The control instruction of order carries out homonym error correction, and the homonym of the control instruction is searched in preset instruction vocabulary;Work as lookup
When the homonym of the control instruction arrived is normally instructs, it is determined that homonym is accurate control instruction.
When searching homonym, correction module 30 parses the spelling corresponding to the control instruction of original control command first
Then sound has searched whether and the corresponding vocabulary of the phonetic in instruction vocabulary;It is corresponding with the phonetic when finding
During vocabulary, then homonym of the vocabulary as the control instruction is extracted;When not finding vocabulary corresponding with the phonetic,
Then illustrate there is no the homonym of the control instruction in instruction vocabulary.
For example, for the voice control command of " air-conditioning ", " air-conditioning may be identified as when carrying out speech recognition to it
Song Feng ".At this point, correction module 30 parses " Song Feng " corresponding phonetic as " songfeng " first, then in instruction vocabulary
In find and the corresponding vocabulary of the phonetic " air-supply ", the synonym of extraction " air-supply " as " Song Feng ", so as to accurately know
The true intention for not going out user is desirable to " air-conditioning ".
When whether judge the homonym of control instruction is normally to instruct, correction module 30 is needed homonym and control
Main body combines comprehensive descision.It is alternatively possible to it is combined to form control using homonym as control instruction with control main body
Order, judges whether the control command meets logic.For example, the homonym of control instruction is found as " pause ", if control
Main body is " air-conditioning ", then the control command of " air-conditioning pause " is not just inconsistent logical, and homonym " pause " is exactly improper at this time
Instruction;If controlling main body as " TV ", the control command of " TV pause " just meets logic, and homonym " pause " is just at this time
It is normally to instruct.
In certain embodiments, when the homonym for not finding the homonym of control instruction or finding is improper
During instruction, correction module 30 then judges to determine accurate control command failure.
In further embodiments, when the homonym for not finding the homonym of control instruction or finding is improper
Instruction when, correction module 30 further carries out synonym error correction to control instruction, is searched in preset synonym dictionary former
The synonym of beginning control instruction, when the synonym found is normally instructs, it is determined that synonym refers to for accurately control
Order.
For synonym error correction, control instruction vocabulary can be in advance based on and generate a set of synonym dictionary.For example, it " beats
Open ", "ON", " unlatching ", " startup " be all synonym, it is many-to-one right to form these synonyms in synonym dictionary
It should be related to, " opening ", " unlatching ", " startup " is all corresponding with "ON".When the control instruction of original control command is " to open
It is dynamic " when, then its synonym can be found in synonym dictionary as "ON", so as to which user is without argumentation " turning on the aircondition ", still " is beaten
Turn on the aircondition ", " unlatching air-conditioning ", " startup air-conditioning ", successfully air-conditioning can be opened.
When whether judge the synonym of control instruction is normally to instruct, correction module 30 is needed synonym and control
Main body combines comprehensive descision.It is alternatively possible to it is combined to form control using synonym as control instruction with control main body
Order, judges whether the control command meets logic.For example, the synonym of control instruction is found as " heating ", if control
Main body is " TV ", then the control command of " TV heating " is not just inconsistent logical, and synonym " heating " is exactly improper at this time
Instruction;If controlling main body as " air-conditioning ", the control command of " air-conditioning heating " just meets logic, and synonym " heating " is just at this time
It is normally to instruct.
In certain embodiments, when the synonym for not finding the synonym of control instruction or finding is improper
During instruction, correction module 30 then judges to determine accurate control command failure.
In further embodiments, when the synonym for not finding the synonym of control instruction or finding is improper
Instruction when, correction module 30 further to control instruction carry out fuzzy phoneme error correction, looked into preset fuzzy phoneme error correction dictionary
Look for the nearly sound word that the pronunciation to control instruction is similar;When the nearly sound word found for normal instruction when, it is determined that nearly sound word is
Accurate control instruction.
For synonym error correction, dialect (or accent) generation of control instruction vocabulary and different places can be in advance based on
A set of fuzzy phoneme error correction dictionary.For example, the accent in some places sounds like " light " when saying "Off", when speech recognition, may
" pass air-conditioning " is identified as " light air-conditioning ", therefore the correspondence of " light " and "Off" can be established in fuzzy phoneme error correction dictionary.When
When the control instruction of original control command is " light ", then its nearly sound word can be found in fuzzy phoneme error correction dictionary is
"Off", even if so as to which the sound that user says sounds like " light air-conditioning ", server is also it will be appreciated that the true intention of user is
" pass air-conditioning ", so as to which successfully air-conditioning is closed.
When whether judge the nearly sound word of control instruction is normally to instruct, correction module 30 needs nearly sound word and control
Main body combines comprehensive descision.It is alternatively possible to nearly sound word is combined to form control as control instruction with control main body
Order, judges whether the control command meets logic.For example, the nearly sound word of control instruction is found as " air-supply ", if control
Main body is " air-supply ", then the control command of " TV air-supply " is not just inconsistent logical, and nearly sound word " air-supply " is exactly improper at this time
Instruction;If controlling main body as " air-conditioning ", the control command of " air-conditioning " just meets logic, and nearly sound word " air-supply " is just at this time
It is normally to instruct.
When the nearly sound word for not finding the nearly sound word of control instruction or finding is improper instruction, correction module
30 judge to determine accurate control command failure.
Optionally, when the control main body and control instruction of original control command are inaccurate, correction module 30 then needs
Correction process is carried out to control main body and control instruction respectively.For controlling the error correction of main body, consideration needs to be precisely controlled, therefore
The embodiment of the present invention only selects homonym error correction, certainly in other embodiments it is also an option that synonym error correction, fuzzy phoneme are entangled
Mistake, this is not limited by the present invention.Error correction for control instruction can carry out homonym error correction first, when error correction fails,
Synonym error correction is carried out again, when error correction still fails, then carries out fuzzy phoneme error correction, it certainly in other embodiments, can also
Only selection homonym error correction or selection homonym, synonym error correction, this is not limited by the present invention.
When determining accurate control command success, control module 40 is then according to definite accurate control command control phase
The controlled plant answered.For example, the control main body institute that the control instruction of control command is sent to control command by control module 40 is right
The controlled plant answered, controlled plant then perform the control instruction after receiving control instruction.Control module 40 refers in transmission control
When making, can control instruction directly be sent to the corresponding controlled plant of control main body, can also be sent and controlled by intelligent terminal
Instruction, i.e., be sent to intelligent terminal by control instruction, which is transmitted to corresponding to control main body by intelligent terminal again
Controlled plant.The controlled plant such as smart machines such as TV, air-conditioning, set-top box.
Further, phonetic controller can also include reminding module, and reminding module is used for when definite accurately control
During order failure, error message is prompted.For example, reminding module sends carrying for " voice mistake please being re-entered " to intelligent terminal
Show information, intelligent terminal receives and shows the prompt message and/or defeated by sound-producing device by display screen after the prompt message
Go out the prompt message.Where then knowing problem in time so as to user, voice control command is issued again immediately.
In certain embodiments, when determining accurate control command failure, can also not respond.
When original control command is accurate, control module 40 then directly according to original control command control accordingly by
Control equipment.For example, control module 40 by the control instruction of control command be sent to corresponding to the control main body of control command by
Equipment is controlled, controlled plant then performs the control instruction after receiving control instruction.Control module 40, can when sending control instruction
Directly to send control instruction to the corresponding controlled plant of control main body, can also control instruction be sent by intelligent terminal, i.e.,
Control instruction is sent to intelligent terminal, intelligent terminal controlled is set again by what the control instruction was transmitted to corresponding to control main body
It is standby.
The phonetic controller of the embodiment of the present invention, by being carried out in original control command inaccuracy to it at error correction
Reason determines accurate control command, and controls corresponding controlled plant according to accurate control command.It is so as to greatly strengthen
The speech recognition capabilities of system and semantic understanding ability improve discrimination of the system to voice control command, even if user's accent
Voice control command that is ambiguous or not saying standard, system can accurately also understand the true intention of user, Jin Erti
The high accuracy rate and efficiency of voice control, improves user experience.
Previous embodiment is described in detail with being applied to server, it will be understood by those skilled in the art that of the invention
The sound control method and device of embodiment can also be applied to intelligent terminal.I.e. by intelligent terminal according to voice control command pair
The text message answered parses original control command, when original control command inaccuracy, then to original control command
Correction process is carried out, determines accurate control command, controlled plant is controlled finally by accurate control command.Idiographic flow with
Above-described embodiment is similar, and details are not described herein.
The present invention proposes a kind of server simultaneously, including memory, processor and at least one is stored in memory
In and be configured as by processor perform application program, the application program be configurable for perform sound control method.
The sound control method comprises the following steps:Obtain the corresponding text message of voice control command;It is parsed according to text message
Go out original control command;When original control command inaccuracy, correction process is carried out to original control command, determines standard
True control command;When determining accurate control command success, corresponding controlled plant is controlled according to accurate control command.
Sound control method described in the present embodiment is the sound control method involved by above-described embodiment in the present invention, herein not
It repeats again.
The present invention proposes a kind of computer readable storage medium simultaneously, and language is stored on the computer readable storage medium
Sound control processing procedure sequence, when the voice control procedure is executed by processor, the step of realizing a kind of sound control method.The voice
Control method comprises the following steps:Obtain the corresponding text message of voice control command;It is parsed according to text message original
Control command;When original control command inaccuracy, correction process is carried out to original control command, determines accurately control
Order;When determining accurate control command success, corresponding controlled plant is controlled according to accurate control command.The present embodiment
Described in sound control method be the sound control method in the present invention involved by above-described embodiment, details are not described herein.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, computer takes
It is engaged in device or the network equipment etc.) perform method described in each embodiment of the present invention.
It should be appreciated that it these are only the preferred embodiment of the present invention, it is impossible to therefore the scope of the claims of the limitation present invention,
Every equivalent structure or equivalent flow shift made using description of the invention and accompanying drawing content, is directly or indirectly used in
Other related technical areas are included within the scope of the present invention.
Claims (10)
1. a kind of sound control method, which is characterized in that comprise the following steps:
Obtain the corresponding text message of voice control command;
Original control command is parsed according to the text message;
When the original control command inaccuracy, correction process is carried out to the original control command, is determined accurate
Control command;
When determining accurate control command success, corresponding controlled plant is controlled according to the accurate control command.
2. sound control method according to claim 1, which is characterized in that the control command includes control main body, institute
Stating the step of carrying out correction process to the original control command, determine accurate control command includes:
Homonym error correction is carried out to the control main body of the original control command, the control is searched in preset facility information
The homonym of main body processed;
When finding the homonym, determine the homonym for accurately control main body.
3. sound control method according to claim 2, which is characterized in that the facility information include device type and/
Or device name.
4. sound control method according to claim 1, which is characterized in that the control command includes control instruction, institute
Stating the step of carrying out correction process to the original control command, determine accurate control command includes:
Homonym error correction is carried out to the control instruction of the original control command, in preset instruction vocabulary described in lookup
The homonym of control instruction;
When the homonym found is normally instructs, it is accurate control instruction to determine the homonym.
5. sound control method according to claim 4, which is characterized in that described to be searched in preset instruction vocabulary
It is further included after the step of homonym of the control instruction:
When the homonym for not finding the homonym or finding is improper instruction, to the control instruction
Synonym error correction is carried out, the synonym of the original control instruction is searched in preset synonym dictionary;
When the synonym found is normally instructs, it is accurate control instruction to determine the synonym.
6. sound control method according to claim 5, which is characterized in that described to be searched in preset synonym dictionary
It is further included after the step of synonym of the control instruction:
When the synonym for not finding the synonym or finding is improper instruction, to the control instruction
Fuzzy phoneme error correction is carried out, the nearly sound word similar to the pronunciation of the control instruction is searched in preset fuzzy phoneme error correction dictionary;
When the nearly sound word found is normally instructs, it is accurate control instruction to determine the nearly sound word.
7. according to claim 1-6 any one of them sound control methods, which is characterized in that described to the original control
It is further included after the step of ordering and carry out correction process, determining accurate control command:
When determining accurate control command failure, error message is prompted.
8. a kind of phonetic controller, which is characterized in that including:
Acquisition module, for obtaining the corresponding text message of voice control command;
Parsing module, for parsing original control command according to the text message;
Correction module, for when the original control command inaccuracy, being carried out to the original control command at error correction
Reason, determines accurate control command;
Control module, for when determining accurate control command success, being controlled according to the accurate control command corresponding
Controlled plant.
9. a kind of server, including memory, processor and it is at least one be stored in the memory and be configured as by
The application program that the processor performs, which is characterized in that the application program is configurable for perform claim requirement 1 to 8
Any one of them sound control method.
10. a kind of computer readable storage medium, which is characterized in that voice control is stored on the computer readable storage medium
Processing procedure sequence when the voice control procedure is executed by processor, realizes such as voice control described in any item of the claim 1 to 8
The step of method processed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711278623.5A CN108121528A (en) | 2017-12-06 | 2017-12-06 | Sound control method, device, server and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711278623.5A CN108121528A (en) | 2017-12-06 | 2017-12-06 | Sound control method, device, server and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108121528A true CN108121528A (en) | 2018-06-05 |
Family
ID=62229735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711278623.5A Pending CN108121528A (en) | 2017-12-06 | 2017-12-06 | Sound control method, device, server and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108121528A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108942925A (en) * | 2018-06-25 | 2018-12-07 | 珠海格力智能装备有限公司 | The control method and device of robot |
CN109450745A (en) * | 2018-10-15 | 2019-03-08 | 深圳市欧瑞博科技有限公司 | Information processing method, device, intelligence control system and intelligent gateway |
CN109587019A (en) * | 2018-12-12 | 2019-04-05 | 珠海格力电器股份有限公司 | A kind of sound control method of household appliance, device, storage medium and system |
CN109637534A (en) * | 2018-12-25 | 2019-04-16 | 深圳创维-Rgb电子有限公司 | Voice remote control method, system, controlled device and computer readable storage medium |
CN109712617A (en) * | 2018-12-06 | 2019-05-03 | 珠海格力电器股份有限公司 | A kind of sound control method, device, storage medium and air-conditioning |
CN109817207A (en) * | 2018-12-20 | 2019-05-28 | 珠海格力电器股份有限公司 | A kind of sound control method, device, storage medium and air-conditioning |
CN110176252A (en) * | 2019-05-08 | 2019-08-27 | 江西尚通科技发展股份有限公司 | Intelligent sound quality detecting method and system based on risk management and control mode |
CN110262273A (en) * | 2019-07-12 | 2019-09-20 | 珠海格力电器股份有限公司 | A kind of home equipment control method, device, storage medium and smart home system |
CN110767232A (en) * | 2019-09-29 | 2020-02-07 | 深圳和而泰家居在线网络科技有限公司 | Speech recognition control method and device, computer equipment and computer storage medium |
CN111128173A (en) * | 2019-12-31 | 2020-05-08 | 重庆和贯科技有限公司 | Intelligent household voice interaction method based on voice recognition technology |
CN111329677A (en) * | 2020-03-23 | 2020-06-26 | 夏艳霞 | Wheelchair control method based on voice recognition |
CN111372110A (en) * | 2020-04-13 | 2020-07-03 | 李小强 | Television control method based on voice recognition |
CN111415656A (en) * | 2019-01-04 | 2020-07-14 | 上海擎感智能科技有限公司 | Voice semantic recognition method and device and vehicle |
CN111462754A (en) * | 2020-04-16 | 2020-07-28 | 深圳航天科创实业有限公司 | Method for establishing dispatching control voice recognition model of power system |
CN112511882A (en) * | 2020-11-13 | 2021-03-16 | 海信视像科技股份有限公司 | Display device and voice call-up method |
CN111415656B (en) * | 2019-01-04 | 2024-04-30 | 上海擎感智能科技有限公司 | Speech semantic recognition method, device and vehicle |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103944983A (en) * | 2014-04-14 | 2014-07-23 | 美的集团股份有限公司 | Error correction method and system for voice control instruction |
CN104122979A (en) * | 2013-04-25 | 2014-10-29 | 深圳市快播科技有限公司 | Method and device for control over large screen through voice |
CN104978964A (en) * | 2014-04-14 | 2015-10-14 | 美的集团股份有限公司 | Voice control instruction error correction method and system |
CN105206272A (en) * | 2015-09-06 | 2015-12-30 | 上海智臻智能网络科技股份有限公司 | Voice transmission control method and system |
CN105810189A (en) * | 2016-03-22 | 2016-07-27 | 北京京东尚科信息技术有限公司 | Equipment voice control method, device and system |
CN105976818A (en) * | 2016-04-26 | 2016-09-28 | Tcl集团股份有限公司 | Instruction identification processing method and apparatus thereof |
-
2017
- 2017-12-06 CN CN201711278623.5A patent/CN108121528A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104122979A (en) * | 2013-04-25 | 2014-10-29 | 深圳市快播科技有限公司 | Method and device for control over large screen through voice |
CN103944983A (en) * | 2014-04-14 | 2014-07-23 | 美的集团股份有限公司 | Error correction method and system for voice control instruction |
CN104978964A (en) * | 2014-04-14 | 2015-10-14 | 美的集团股份有限公司 | Voice control instruction error correction method and system |
CN105206272A (en) * | 2015-09-06 | 2015-12-30 | 上海智臻智能网络科技股份有限公司 | Voice transmission control method and system |
CN105810189A (en) * | 2016-03-22 | 2016-07-27 | 北京京东尚科信息技术有限公司 | Equipment voice control method, device and system |
CN105976818A (en) * | 2016-04-26 | 2016-09-28 | Tcl集团股份有限公司 | Instruction identification processing method and apparatus thereof |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108942925A (en) * | 2018-06-25 | 2018-12-07 | 珠海格力智能装备有限公司 | The control method and device of robot |
CN109450745A (en) * | 2018-10-15 | 2019-03-08 | 深圳市欧瑞博科技有限公司 | Information processing method, device, intelligence control system and intelligent gateway |
CN109712617A (en) * | 2018-12-06 | 2019-05-03 | 珠海格力电器股份有限公司 | A kind of sound control method, device, storage medium and air-conditioning |
CN109587019A (en) * | 2018-12-12 | 2019-04-05 | 珠海格力电器股份有限公司 | A kind of sound control method of household appliance, device, storage medium and system |
CN109817207A (en) * | 2018-12-20 | 2019-05-28 | 珠海格力电器股份有限公司 | A kind of sound control method, device, storage medium and air-conditioning |
CN109637534A (en) * | 2018-12-25 | 2019-04-16 | 深圳创维-Rgb电子有限公司 | Voice remote control method, system, controlled device and computer readable storage medium |
CN111415656A (en) * | 2019-01-04 | 2020-07-14 | 上海擎感智能科技有限公司 | Voice semantic recognition method and device and vehicle |
CN111415656B (en) * | 2019-01-04 | 2024-04-30 | 上海擎感智能科技有限公司 | Speech semantic recognition method, device and vehicle |
CN110176252A (en) * | 2019-05-08 | 2019-08-27 | 江西尚通科技发展股份有限公司 | Intelligent sound quality detecting method and system based on risk management and control mode |
CN110262273A (en) * | 2019-07-12 | 2019-09-20 | 珠海格力电器股份有限公司 | A kind of home equipment control method, device, storage medium and smart home system |
CN110767232A (en) * | 2019-09-29 | 2020-02-07 | 深圳和而泰家居在线网络科技有限公司 | Speech recognition control method and device, computer equipment and computer storage medium |
CN110767232B (en) * | 2019-09-29 | 2022-03-29 | 深圳数联天下智能科技有限公司 | Speech recognition control method and device, computer equipment and computer storage medium |
CN111128173A (en) * | 2019-12-31 | 2020-05-08 | 重庆和贯科技有限公司 | Intelligent household voice interaction method based on voice recognition technology |
CN111329677A (en) * | 2020-03-23 | 2020-06-26 | 夏艳霞 | Wheelchair control method based on voice recognition |
CN111372110A (en) * | 2020-04-13 | 2020-07-03 | 李小强 | Television control method based on voice recognition |
CN111462754A (en) * | 2020-04-16 | 2020-07-28 | 深圳航天科创实业有限公司 | Method for establishing dispatching control voice recognition model of power system |
CN112511882A (en) * | 2020-11-13 | 2021-03-16 | 海信视像科技股份有限公司 | Display device and voice call-up method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108121528A (en) | Sound control method, device, server and computer readable storage medium | |
US20200312329A1 (en) | Performing speech recognition using a local language context including a set of words with descriptions in terms of components smaller than the words | |
CN107146612B (en) | Voice guidance method and device, intelligent equipment and server | |
CN106250474B (en) | Voice control processing method and system | |
CN106409283B (en) | Man-machine mixed interaction system and method based on audio | |
US10332513B1 (en) | Voice enablement and disablement of speech processing functionality | |
CN106101789B (en) | Voice interaction method and device for terminal | |
KR102429436B1 (en) | Server for seleting a target device according to a voice input, and controlling the selected target device, and method for operating the same | |
EP3365890B1 (en) | Learning personalized entity pronunciations | |
CN106782526B (en) | Voice control method and device | |
KR100679043B1 (en) | Apparatus and method for spoken dialogue interface with task-structured frames | |
US9378740B1 (en) | Command suggestions during automatic speech recognition | |
CN106796496B (en) | Display apparatus and method of operating the same | |
CN111670471B (en) | Learning offline voice commands based on use of online voice commands | |
EP4064713A1 (en) | Voice control method and apparatus, server, terminal device, and storage medium | |
CN108682419A (en) | Sound control method and equipment, computer readable storage medium and equipment | |
US20040249636A1 (en) | Assistive call center interface | |
CN107833574A (en) | Method and apparatus for providing voice service | |
CN114596861A (en) | Display device and method for question and answer | |
CN108877792B (en) | Method, apparatus, electronic device and computer readable storage medium for processing voice conversations | |
EP3842939B1 (en) | Service data processing method and apparatus, and related device | |
CN104978957A (en) | Voice control method and system based on voiceprint identification | |
WO2020253064A1 (en) | Speech recognition method and apparatus, and computer device and storage medium | |
WO2016169329A1 (en) | Voice-controlled electronic program method and device, and storage medium | |
CN112581962A (en) | Context sensitive dynamic update of a speech to text model in a speech enabled electronic device |
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 | ||
CB02 | Change of applicant information |
Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park A7 building 7 floor Applicant after: Shenzhen euribo Technology Co., Ltd Address before: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park A7 building 7 floor Applicant before: SHENZHEN ORVIBO TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180605 |
|
RJ01 | Rejection of invention patent application after publication |