CN108737933A - A kind of dialogue method, device and electronic equipment based on intelligent sound box - Google Patents
A kind of dialogue method, device and electronic equipment based on intelligent sound box Download PDFInfo
- Publication number
- CN108737933A CN108737933A CN201810537349.7A CN201810537349A CN108737933A CN 108737933 A CN108737933 A CN 108737933A CN 201810537349 A CN201810537349 A CN 201810537349A CN 108737933 A CN108737933 A CN 108737933A
- Authority
- CN
- China
- Prior art keywords
- task
- sound box
- intelligent sound
- priority
- speech control
- 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
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000015654 memory Effects 0.000 claims description 19
- 238000004458 analytical method Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 3
- 230000002618 waking effect Effects 0.000 abstract description 6
- 230000005540 biological transmission Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/484—Precedence
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Acoustics & Sound (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Multimedia (AREA)
- General Health & Medical Sciences (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of dialogue method, device and electronic equipment based on intelligent sound box, the method includes:When receiving preset instructions, control intelligent sound box enters Chat mode;Acquire speech control instruction;Corresponding audio stream is instructed to parse the speech control, to obtain the pending task for including in the speech control instruction;It determines the priority of the pending task, and the pending task is added in the task queue of corresponding priority according to the priority;The pending task in the task queue is executed according to the priority of task queue;Wherein, do not include and the matched wake-up word of the intelligent sound box in the speech control instruction.By using above-mentioned technical proposal, the purpose of multiple tasks of user's proposition can be executed by realizing intelligent sound box, and no longer need to be sent by waking up word when each transmission instruction, and the user experience is improved.
Description
Technical field
The present embodiments relate to family intelligent monitoring field more particularly to a kind of dialogue method based on intelligent sound box,
Device and electronic equipment.
Background technology
Smart home is the inevitable outcome that the development of modern science and technology is combined with human civilization progress, by means of passing
The side that household appliance in modern house is passed through networking by sensor technology, the communication technology, speech recognition technology and control technology
Formula is linked to be intelligent domestic system.
Wherein, intelligent sound box plays the operating of intelligent domestic system as the phonetic incepting equipment in intelligent domestic system
Important function.Currently, intelligent sound box on the market referred to as wakes up all there are one " name " that has been defined by manufacturer
Word, it is the starting point that user exchanges with intelligent sound box to wake up word, to one intelligent sound box of speech control, sends each and instructs it
Before, wake-up word is called, intelligent sound box could respond parsing described instruction.Therefore, existing speech control instruction is cumbersome, and intelligence
Can speaker can only execute simple individual task in real time, can not actively and interactive voice occurs for user, user experience is bad.
Invention content
The present invention provides a kind of dialogue method, device and electronic equipment based on intelligent sound box, is realized by the method
Intelligent sound box can execute the purpose of the multiple tasks of user's proposition, and send the when of instructing to intelligent sound box every time and no longer need to lead to
It crosses wake-up word to be sent, the user experience is improved.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, an embodiment of the present invention provides a kind of dialogue method based on intelligent sound box, the method includes:
When receiving preset instructions, control intelligent sound box enters Chat mode;
Acquire speech control instruction;
Corresponding audio stream is instructed to parse the speech control, to obtain including in the speech control instruction
Pending task;
It determines the priority of the pending task, and the pending task is added to by correspondence according to the priority
In the task queue of priority;
The pending task in the task queue is executed according to the priority of task queue;
Wherein, do not include and the matched wake-up word of the intelligent sound box in the speech control instruction.
Further, the acquisition speech control instruction, including:
The speech control instruction is acquired by the microphone array of intelligent sound box.
Further, described to instruct corresponding audio stream to parse the speech control, it is grasped with obtaining the voice
The pending task for including in control instruction, including:
Instruct corresponding audio streams to third-party server the speech control by interface, so that the third
Square server carries out speech analysis to the audio stream, obtains the corresponding lteral data of the audio stream;
Semantic analysis is carried out to the lteral data, to obtain the pending task for including in the speech control instruction.
Further, the priority of the determination pending task, including:
Based on the keyword in pending task described in setting Rule Extraction;
The keyword is matched with predetermined keyword;
The priority of the pending task is determined according to matching result.
Further, the priority according to task queue executes the pending task in the task queue, including:
Conflict if existing between the pending task and being currently executing for task, reports conflict prompt tone, and
According to user task is continued to execute for the answer of the conflict prompt tone;
If being not received by answer of the user for the conflict prompt tone, the pending task that executes is given tacit consent to, and
Being currently executing for the task is deleted from task queue.
Further, the method further includes:
If it is more than the first given threshold that all task queues, which are the empty time, inquiry prompt tone is reported, and control institute
It states intelligent sound box and enters low-power consumption mode;
If it is more than the second given threshold that all task queues, which are the empty time, controls the intelligent sound box and exit chat
Pattern, into suspend mode;
Wherein, first given threshold is less than second given threshold.
Further, the preset instructions include and the matched wake-up word of the intelligent sound box;Or
It is described when receiving preset instructions, control intelligent sound box enter before Chat mode, the method further includes:It is logical
It crosses and wakes up the intelligent sound box with the matched wake-up word of the intelligent sound box.
Second aspect, an embodiment of the present invention provides a kind of Interface based on intelligent sound box, described device includes:
Control module, for when receiving preset instructions, control intelligent sound box to enter Chat mode;
Acquisition module, for acquiring speech control instruction;
Parsing module is grasped for instructing corresponding audio stream to parse the speech control with obtaining the voice
The pending task for including in control instruction;
Determining module, the priority for determining the pending task, and will be described pending according to the priority
Task is added in the task queue of corresponding priority;
Execution module, for executing the pending task in the task queue according to the priority of task queue;
Wherein, do not include and the matched wake-up word of the intelligent sound box in the speech control instruction.
The third aspect an embodiment of the present invention provides a kind of electronic equipment, including first memory, first processor and is deposited
The computer program that can be run on a memory and on first processor is stored up, the first processor executes the computer journey
The dialogue method based on intelligent sound box as described in above-mentioned first aspect is realized when sequence.
Fourth aspect, an embodiment of the present invention provides a kind of storage medium including computer executable instructions, the meters
Calculation machine executable instruction realizes pair based on intelligent sound box as described in above-mentioned first aspect when being executed by computer processor
Words method.
A kind of dialogue method based on intelligent sound box provided in an embodiment of the present invention, by when receiving preset instructions,
Control intelligent sound box enters Chat mode, and acquires speech control instruction, instructs corresponding audio to flow into the speech control
Row parsing determines the priority of the pending task to obtain the pending task for including in the speech control instruction, and
The pending task is added in the task queue of corresponding priority according to the priority, finally according to task queue
Priority executes the technological means of the pending task in the task queue, and user's proposition can be executed by realizing intelligent sound box
Multiple tasks purpose, and every time to intelligent sound box send instruct when no longer need to by wake up word sent, improve use
It experiences at family.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example without creative efforts, can also be implemented for those of ordinary skill in the art according to the present invention
The content of example and these attached drawings obtain other attached drawings.
Fig. 1 is a kind of dialogue method flow diagram based on intelligent sound box that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural schematic diagram for task queue that the embodiment of the present invention one provides;
Fig. 3 is a kind of dialogue method flow diagram based on intelligent sound box provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of Interface structural schematic diagram based on intelligent sound box that the embodiment of the present invention three provides;
Fig. 5 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention four provides.
Specific implementation mode
For make present invention solves the technical problem that, the technical solution that uses and the technique effect that reaches it is clearer, below
The technical solution of the embodiment of the present invention will be described in further detail in conjunction with attached drawing, it is clear that described embodiment is only
It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist
The every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is a kind of dialogue method flow diagram based on intelligent sound box that the embodiment of the present invention one provides.This implementation
The disclosed dialogue method based on intelligent sound box of example can be executed by the Interface based on intelligent sound box, which can be by soft
Part and/or hardware realization, and generally it is integrated in intelligent sound box.Shown in Fig. 1, this method may include steps of:
110, when receiving preset instructions, control intelligent sound box enters Chat mode.
Wherein, the preset instructions can be arranged when intelligent sound box dispatches from the factory by staff, can also be made by oneself by user
Justice.Specifically, the preset instructions can be " small intelligence, we chat ".The preset instructions may include and the intelligence
The energy matched wake-up word of speaker, such as " small intelligence " is the matched wake-up word of the intelligent sound box, when the voice collecting of intelligent sound box
When module detects that user sends out the phonetic order of " small intelligence ", then the control module control intelligent sound box of intelligent sound box wakes up, intelligence
Energy speaker enters working condition, begins through voice acquisition module and acquires current speech control instruction.Or the default finger
Order can not also include with the matched wake-up word of the intelligent sound box, at this point, control intelligent sound box enter Chat mode before,
The method further includes:By waking up the intelligent sound box with the matched wake-up word of the intelligent sound box, i.e., individually carry out primary
The wake operation of intelligent sound box can then be controlled after user wakes up intelligent sound box for the first time by the method for sending out preset instructions
Intelligent sound box enters Chat mode.
The Chat mode, which refers specifically to intelligent sound box, can continuously acquire what the speech control that user sends out instructed
Pattern, no longer to detect " waking up word " as the trigger condition of acquisition speech control instruction.Therefore, it under Chat mode, uses
Family no longer needs to call wake-up word every time when sending speech control instruction to intelligent sound box, simplifies user speech manipulation intelligence
The cumbersome degree of energy speaker, the user experience is improved.
120, acquisition speech control instruction.
It is instructed specifically, the speech control can be acquired by the microphone array of intelligent sound box.The speech control instruction
Refer specifically to user tells intelligent sound box to need the task definition executed by way of voice, such as " please inquire the day of lower today
Gas ", " please play one first nursery rhymes " or " please interrupt/stop a certain being carrying out for task " etc..Due to intelligent sound box into
Enter Chat mode, therefore can not include and the matched wake-up word of the intelligent sound box in the speech control instruction that sends out of user.
130, corresponding audio stream is instructed to parse the speech control, to obtain wrapping in the speech control instruction
The pending task contained.
It is described to instruct corresponding audio stream to parse the speech control, to obtain wrapping in the speech control instruction
The operation of the pending task contained can be completed by the speech recognition algorithm of intelligent sound box local.It is contemplated that speech recognition is calculated
The convenience of method upgrading, it is preferred that the parsing that above-mentioned audio stream is completed by third-party server operates, illustratively, to institute
The corresponding audio stream of predicate sound manipulation instruction is parsed, to obtain the pending task for including in the speech control instruction,
Including:
Instruct corresponding audio streams to third-party server the speech control by interface, so that the third
Square server carries out speech recognition to the audio stream, obtains the corresponding lteral data of the audio stream;
Semantic analysis is carried out to the lteral data, to obtain the pending task for including in the speech control instruction.
Wherein, the third-party server refers specifically to dedicated for carrying out the server of speech recognition, in the server
It is integrated with ripe speech recognition algorithm, and semantic analysis further is carried out to the corresponding lteral data of the audio stream, is obtained
The pending task for including in the speech control instruction, finally returns to the intelligent sound box by the pending task.
140, it determines the priority of the pending task, and is added to the pending task according to the priority
In the task queue of corresponding priority.
Illustratively, the priority of the determination pending task, including:
Based on the keyword in pending task described in setting Rule Extraction;
The keyword is matched with predetermined keyword;
The priority of the pending task is determined according to matching result.
Wherein, the preset rules can be the keyword extracted based on part of speech in the pending task, such as only carry
Take the adverb of time in the pending task.The predetermined keyword for example can be " at once ", " horse back " or " later "
Deng by matching the keyword with predetermined keyword, the preferential of the pending task is determined according to matching result
Grade.Such as the pending task of high priority is set as speech control instruction " playing nursery rhymes at once ", " day is inquired later
Gas situation " is set as the pending task of low priority.If not including the keyword to be extracted in the pending task, give tacit consent to
It is high medium priority that its priority, which is arranged,.The structural schematic diagram that specifically may refer to task queue shown in Fig. 2, by audio
Stream is parsed, and obtains the pending task with priority, then pending task is added to the task of corresponding priority
Queue is medium to be performed.
150, the pending task in the task queue is executed according to the priority of task queue.
It is specifically executed since high-priority task queue, the pending task execution in high-priority task queue is complete
And then start to execute the pending task in high medium priority task queue, finally execute in low priority task queue
Pending task.
Dialogue method provided in this embodiment based on intelligent sound box passes through after user wakes up intelligent sound box for the first time
Preset instructions make intelligent sound box enter Chat mode, when user engages in the dialogue with intelligent sound box under Chat mode, no longer need to lead to
It crosses wake-up word and sends every manipulation instruction, intelligent sound box automatic collection speech control instructs, and by referring to the speech control
It enables corresponding audio stream be parsed, obtains the pending task for including in the speech control instruction, and according to pending
Pending task is added in the task queue of corresponding priority by the priority of business, is finally held according to the priority of task queue
The technological means of pending task in the row task queue, can be executed by realizing intelligent sound box by multiple of user's proposition
Business, and every time to no longer needing to be sent by waking up word when intelligent sound box transmission instruction, the user experience is improved.
Embodiment two
Fig. 3 is a kind of dialogue method flow diagram based on intelligent sound box provided by Embodiment 2 of the present invention.Above-mentioned
On the basis of embodiment, the present embodiment is advanced optimized, and is sent out for pending task and being currently executing for task
When raw conflict, solution is given, improves the ability that intelligent sound box accurately executes multitask, and keep intelligent sound box autonomous
Dialogue occurs with user.Shown in Fig. 3, this method may include steps of:
310, when receiving preset instructions, control intelligent sound box enters Chat mode.
320, acquisition speech control instruction.
330, corresponding audio stream is instructed to parse the speech control, to obtain wrapping in the speech control instruction
The pending task contained.
340, it determines the priority of the pending task, and is added to the pending task according to the priority
In the task queue of corresponding priority.
Conflict if 350, existing between the pending task and being currently executing for task, reports conflict prompt
Sound, and task is continued to execute for the answer of the conflict prompt tone according to user.
For example, being currently executing for task is:A songs are played, i.e., the pending task that will be executed is to play B songs
Song, the two clash, then actively report conflict prompt tone, such as " PLSCONFM is to continue with plays A songs to counsel user, still
Start to play B songs ", if user makes answer, the answer of user is responded, if user does not make answer, gives tacit consent to execution
Newest task starts to play B songs, and the playing A songs of the task is deleted from task queue.
If 360, being not received by answer of the user for the conflict prompt tone, gives tacit consent to and execute described pending
Business, and being currently executing for the task is deleted from task queue.
If it is more than the first given threshold that 370, all task queues, which are the empty time, inquiry prompt tone is reported, and control
It makes the intelligent sound box and enters low-power consumption mode.
If it is more than the first given threshold that all task queues, which are the empty time, it can primarily determine that user does not grasp temporarily
Control the demand of intelligent sound box.Wherein, first given threshold is, for example, 1 minute, and the inquiry prompt tone is, for example, that " you also exist
".It controls the intelligent sound box and enters low-power consumption mode and be specially:Reduce CPU (the Central Processing of intelligent sound box
Unite, central processing unit) working frequency, and CPU core number is reduced, to reduce total system power consumption.
If it is more than the second given threshold that 380, all task queues, which are the empty time, controls the intelligent sound box and exit
Chat mode, into suspend mode.
It is basic to determine that user does not manipulate temporarily if it is more than the second given threshold that all task queues, which are the empty time,
The demand of intelligent sound box then controls the intelligent sound box and exits Chat mode, into suspend mode, to save system power dissipation.Its
In, first given threshold is less than second given threshold, and second given threshold for example can be 2 minutes.Intelligence
After speaker enters suspend mode, if thinking to carry out speech control to it again, firstly the need of by with intelligent sound box is matched calls out
Word of waking up wakes up intelligent sound box.
Dialogue method provided in this embodiment based on intelligent sound box, based on the above technical solution, when pending
When task conflicts with the task presence being currently executing, by actively reporting conflict prompt tone to user, and according to user's needle
Task is continued to execute to the answer of the conflict prompt tone, realizes and carries out speech exchange between intelligent sound box and user, and intelligence
Can speaker can execute user proposition multiple tasks, and every time to intelligent sound box send manipulation instruction when no longer need to pass through wake-up
Word is sent, and the user experience is improved.
Embodiment three
Fig. 4 is a kind of Interface structural schematic diagram based on intelligent sound box that the embodiment of the present invention three provides.Referring to Fig. 4
Shown, described device includes:Control module 410, acquisition module 420, parsing module 430, determining module 440 and execution module
450。
Wherein, control module 410, for when receiving preset instructions, control intelligent sound box to enter Chat mode;
Acquisition module 420, for acquiring speech control instruction;
Parsing module 430, for instructing corresponding audio stream to parse the speech control, to obtain the voice
The pending task for including in manipulation instruction;
Determining module 440, the priority for determining the pending task, and wait holding by described according to the priority
Row task is added in the task queue of corresponding priority;
Execution module 450, for executing the pending task in the task queue according to the priority of task queue;
Wherein, do not include and the matched wake-up word of the intelligent sound box in the speech control instruction.
Interface provided in this embodiment based on intelligent sound box passes through after user wakes up intelligent sound box for the first time
Preset instructions make intelligent sound box enter Chat mode, when user engages in the dialogue with intelligent sound box under Chat mode, no longer need to lead to
It crosses wake-up word and sends every manipulation instruction, intelligent sound box automatic collection speech control instructs, and by referring to the speech control
It enables corresponding audio stream be parsed, obtains the pending task for including in the speech control instruction, and according to pending
Pending task is added in the task queue of corresponding priority by the priority of business, is finally held according to the priority of task queue
The technological means of pending task in the row task queue, can be executed by realizing intelligent sound box by multiple of user's proposition
Business, and every time to no longer needing to be sent by waking up word when intelligent sound box transmission instruction, the user experience is improved.
Example IV
Fig. 5 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention four provides.As shown in figure 5, the electronics is set
It is standby to include:It first processor 570, first memory 571 and is stored on first memory 571 and can be in first processor 570
The computer program of upper operation;Wherein, the quantity of first processor 570 can be one or more, at one first in Fig. 5
For reason device 570;Realized when first processor 570 executes the computer program as described in above-described embodiment one based on intelligence
The dialogue method of energy speaker.As shown in figure 5, the electronic equipment can also include the first input unit 572 and first output dress
Set 573.First processor 570, first memory 571, the first input unit 572 and the first output device 573 can be by total
Line or other modes connect, in Fig. 5 for being connected by bus.
First memory 571 is used as a kind of computer readable storage medium, can be used for storing software program, computer can be held
Line program and module, if Interface/module based on intelligent sound box in the embodiment of the present invention is (for example, be based on intelligent sound box
Interface in control module 410 and acquisition module 420 etc.).First processor 570 is stored in the first storage by operation
Software program, instruction in device 571 and module, to execute various function application and the data processing of electronic equipment, i.e.,
Realize the above-mentioned dialogue method based on intelligent sound box.
First memory 571 can include mainly storing program area and storage data field, wherein storing program area can store behaviour
Make the application program needed for system, at least one function;Storage data field can be stored uses created data according to terminal
Deng.In addition, first memory 571 may include high-speed random access memory, can also include nonvolatile memory, such as
At least one disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, it first deposits
Reservoir 571 can further comprise that the memory remotely located relative to first processor 570, these remote memories can pass through
Network connection is to electronic equipment/storage medium.The example of above-mentioned network includes but not limited to internet, intranet, local
Net, mobile radio communication and combinations thereof.
First input unit 572 can be used for receiving the number or character information of input, and generate the use with electronic equipment
Family is arranged and the related key signals input of function control.First output device 573 may include that display screen etc. shows equipment.
Example IV
The embodiment of the present invention four also provides a kind of storage medium including computer executable instructions, and the computer can be held
When being executed by computer processor for executing a kind of dialogue method based on intelligent sound box, this method includes for row instruction:
When receiving preset instructions, control intelligent sound box enters Chat mode;
Acquire speech control instruction;
Corresponding audio stream is instructed to parse the speech control, to obtain including in the speech control instruction
Pending task;
It determines the priority of the pending task, and the pending task is added to by correspondence according to the priority
In the task queue of priority;
The pending task in the task queue is executed according to the priority of task queue;
Wherein, do not include and the matched wake-up word of the intelligent sound box in the speech control instruction.
Certainly, a kind of storage medium including computer executable instructions that the embodiment of the present invention is provided, computer
The operation of method that executable instruction is not limited to the described above, can also be performed that any embodiment of the present invention provided based on intelligence
The dialogue relevant operation of speaker.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases
Good embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior art
Part can be expressed in the form of software products, which can be stored in computer readable storage medium
In, such as the floppy disk of computer, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, storage medium or the network equipment etc.) executes described in each embodiment of the present invention.
Note that above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments described here, can carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out to the present invention by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
May include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of dialogue method based on intelligent sound box, which is characterized in that including:
When receiving preset instructions, control intelligent sound box enters Chat mode;
Acquire speech control instruction;
It instructs corresponding audio stream to parse the speech control, waits holding with obtain including in the speech control instruction
Row task;
It determines the priority of the pending task, and the pending task is added to according to the priority and is corresponded to preferentially
In the task queue of grade;
The pending task in the task queue is executed according to the priority of task queue;
Wherein, do not include and the matched wake-up word of the intelligent sound box in the speech control instruction.
2. according to the method described in claim 1, it is characterized in that, the acquisition speech control instruct, including:
The speech control instruction is acquired by the microphone array of intelligent sound box.
3. according to the method described in claim 1, it is characterized in that, described instruct corresponding audio to flow into the speech control
Row parsing, to obtain the pending task for including in the speech control instruction, including:
Instruct corresponding audio streams to third-party server the speech control by interface, so that the third party takes
Device be engaged in audio stream progress speech recognition, obtains the corresponding lteral data of the audio stream;
Semantic analysis is carried out to the lteral data, to obtain the pending task for including in the speech control instruction.
4. according to the method described in claim 3, it is characterized in that, the priority of the determination pending task, including:
Based on the keyword in pending task described in setting Rule Extraction;
The keyword is matched with predetermined keyword;
The priority of the pending task is determined according to matching result.
5. according to the method described in claim 1, it is characterized in that, described execute the task according to the priority of task queue
Pending task in queue, including:
Conflict if existing between the pending task and being currently executing for task, reports conflict prompt tone, and according to
User continues to execute task for the answer of the conflict prompt tone;
If being not received by answer of the user for the conflict prompt tone, the pending task of executing is given tacit consent to, and by institute
Being currently executing for task is stated to delete from task queue.
6. according to claim 1-5 any one of them methods, which is characterized in that further include:
If it is more than the first given threshold that all task queues, which are the empty time, inquiry prompt tone is reported, and control the intelligence
Energy speaker enters low-power consumption mode;
If it is more than the second given threshold that all task queues, which are the empty time, controls the intelligent sound box and exit chat mould
Formula, into suspend mode;
Wherein, first given threshold is less than second given threshold.
7. according to claim 1-5 any one of them methods, which is characterized in that the preset instructions include and the intelligent sound
The matched wake-up word of case;Or
It is described when receiving preset instructions, control intelligent sound box enter before Chat mode, the method further includes:By with
The matched wake-up word of intelligent sound box wakes up the intelligent sound box.
8. a kind of Interface based on intelligent sound box, which is characterized in that described device includes:
Control module, for when receiving preset instructions, control intelligent sound box to enter Chat mode;
Acquisition module, for acquiring speech control instruction;
Parsing module is referred to for instructing corresponding audio stream to parse the speech control with obtaining the speech control
The pending task for including in order;
Determining module, the priority for determining the pending task, and according to the priority by the pending task
It is added in the task queue of corresponding priority;
Execution module, for executing the pending task in the task queue according to the priority of task queue;
Wherein, do not include and the matched wake-up word of the intelligent sound box in the speech control instruction.
9. a kind of electronic equipment, including first memory, first processor and storage are on a memory and can be in first processor
The computer program of upper operation, which is characterized in that realized when the first processor executes the computer program as right is wanted
Seek the dialogue method based on intelligent sound box described in any one of 1-7.
10. a kind of storage medium including computer executable instructions, the computer executable instructions are by computer disposal
The dialogue method based on intelligent sound box as described in any one of claim 1-7 is realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810537349.7A CN108737933A (en) | 2018-05-30 | 2018-05-30 | A kind of dialogue method, device and electronic equipment based on intelligent sound box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810537349.7A CN108737933A (en) | 2018-05-30 | 2018-05-30 | A kind of dialogue method, device and electronic equipment based on intelligent sound box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108737933A true CN108737933A (en) | 2018-11-02 |
Family
ID=63936764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810537349.7A Pending CN108737933A (en) | 2018-05-30 | 2018-05-30 | A kind of dialogue method, device and electronic equipment based on intelligent sound box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108737933A (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109712621A (en) * | 2018-12-27 | 2019-05-03 | 维沃移动通信有限公司 | A kind of interactive voice control method and terminal |
CN109841215A (en) * | 2018-12-26 | 2019-06-04 | 珠海格力电器股份有限公司 | Voice broadcasting method and device, storage medium and voice household appliance |
CN109871238A (en) * | 2019-01-02 | 2019-06-11 | 百度在线网络技术(北京)有限公司 | Voice interactive method, device and storage medium |
CN110176233A (en) * | 2019-04-28 | 2019-08-27 | 青岛海尔空调器有限总公司 | The method, apparatus and computer storage medium of air-conditioning voice control |
CN110289017A (en) * | 2019-06-06 | 2019-09-27 | 秒针信息技术有限公司 | Method of speech processing and device |
CN110534108A (en) * | 2019-09-25 | 2019-12-03 | 北京猎户星空科技有限公司 | A kind of voice interactive method and device |
CN111063350A (en) * | 2019-12-17 | 2020-04-24 | 苏州思必驰信息科技有限公司 | Voice interaction state machine based on task stack and implementation method thereof |
WO2020192245A1 (en) * | 2019-03-22 | 2020-10-01 | 北京京东尚科信息技术有限公司 | Application starting method and apparatus, and computer system and medium |
CN111830839A (en) * | 2020-06-15 | 2020-10-27 | 安徽金帅洗衣机有限公司 | Intelligent home remote control system based on wireless sensor network |
WO2021031308A1 (en) * | 2019-08-16 | 2021-02-25 | 北京小米移动软件有限公司 | Audio processing method and device, and storage medium |
CN113393834A (en) * | 2020-03-11 | 2021-09-14 | 阿里巴巴集团控股有限公司 | Control method and device |
WO2021203674A1 (en) * | 2020-04-08 | 2021-10-14 | 思必驰科技股份有限公司 | Skill selection method and apparatus |
CN113571049A (en) * | 2021-07-22 | 2021-10-29 | 成都航盛智行科技有限公司 | VR-based vehicle body control system and method |
CN113808380A (en) * | 2021-09-15 | 2021-12-17 | 宁波钧飞智能科技有限公司 | Multi-peripheral control algorithm and unattended integrated machine device based on priority queue |
CN113827270A (en) * | 2021-08-24 | 2021-12-24 | 深圳市德力凯医疗设备股份有限公司 | Instruction conflict resolution method, ultrasound device, and computer-readable storage medium |
CN114326495A (en) * | 2021-12-24 | 2022-04-12 | 中电海康集团有限公司 | Robot control system architecture and voice instruction processing method |
WO2022262366A1 (en) * | 2021-06-18 | 2022-12-22 | 华为技术有限公司 | Cross-device dialogue service connection method, system, electronic device, and storage medium |
CN117215769A (en) * | 2023-08-08 | 2023-12-12 | 北京小米机器人技术有限公司 | Robot task awakening method, device, equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110053499A1 (en) * | 2009-08-27 | 2011-03-03 | Fih (Hong Kong) Limited | Wireless communication device |
CN102694613A (en) * | 2012-06-19 | 2012-09-26 | 深圳乐投卡尔科技有限公司 | Traffic information broadcasting device and method used in vehicle-mounted multimedia system |
CN202650293U (en) * | 2012-04-17 | 2013-01-02 | 林亨泽 | Information processing apparatus |
CN104698991A (en) * | 2013-12-05 | 2015-06-10 | 上海能感物联网有限公司 | Controller device for robot under Chinese speech field control |
CN105845136A (en) * | 2015-01-13 | 2016-08-10 | 中兴通讯股份有限公司 | Voice control method and device, and terminal |
CN106057197A (en) * | 2016-05-25 | 2016-10-26 | 北京云知声信息技术有限公司 | Voice timing operation method, device and system |
CN107134286A (en) * | 2017-05-15 | 2017-09-05 | 深圳米唐科技有限公司 | ANTENNAUDIO player method, music player and storage medium based on interactive voice |
CN107145329A (en) * | 2017-04-10 | 2017-09-08 | 北京猎户星空科技有限公司 | Apparatus control method, device and smart machine |
CN107316645A (en) * | 2017-06-01 | 2017-11-03 | 北京京东尚科信息技术有限公司 | A kind of method and system of voice shopping |
CN107704275A (en) * | 2017-09-04 | 2018-02-16 | 百度在线网络技术(北京)有限公司 | Smart machine awakening method, device, server and smart machine |
CN107919124A (en) * | 2017-12-22 | 2018-04-17 | 北京小米移动软件有限公司 | Equipment awakening method and device |
-
2018
- 2018-05-30 CN CN201810537349.7A patent/CN108737933A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110053499A1 (en) * | 2009-08-27 | 2011-03-03 | Fih (Hong Kong) Limited | Wireless communication device |
CN202650293U (en) * | 2012-04-17 | 2013-01-02 | 林亨泽 | Information processing apparatus |
CN102694613A (en) * | 2012-06-19 | 2012-09-26 | 深圳乐投卡尔科技有限公司 | Traffic information broadcasting device and method used in vehicle-mounted multimedia system |
CN104698991A (en) * | 2013-12-05 | 2015-06-10 | 上海能感物联网有限公司 | Controller device for robot under Chinese speech field control |
CN105845136A (en) * | 2015-01-13 | 2016-08-10 | 中兴通讯股份有限公司 | Voice control method and device, and terminal |
CN106057197A (en) * | 2016-05-25 | 2016-10-26 | 北京云知声信息技术有限公司 | Voice timing operation method, device and system |
CN107145329A (en) * | 2017-04-10 | 2017-09-08 | 北京猎户星空科技有限公司 | Apparatus control method, device and smart machine |
CN107134286A (en) * | 2017-05-15 | 2017-09-05 | 深圳米唐科技有限公司 | ANTENNAUDIO player method, music player and storage medium based on interactive voice |
CN107316645A (en) * | 2017-06-01 | 2017-11-03 | 北京京东尚科信息技术有限公司 | A kind of method and system of voice shopping |
CN107704275A (en) * | 2017-09-04 | 2018-02-16 | 百度在线网络技术(北京)有限公司 | Smart machine awakening method, device, server and smart machine |
CN107919124A (en) * | 2017-12-22 | 2018-04-17 | 北京小米移动软件有限公司 | Equipment awakening method and device |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109841215A (en) * | 2018-12-26 | 2019-06-04 | 珠海格力电器股份有限公司 | Voice broadcasting method and device, storage medium and voice household appliance |
CN109712621A (en) * | 2018-12-27 | 2019-05-03 | 维沃移动通信有限公司 | A kind of interactive voice control method and terminal |
CN109871238A (en) * | 2019-01-02 | 2019-06-11 | 百度在线网络技术(北京)有限公司 | Voice interactive method, device and storage medium |
WO2020192245A1 (en) * | 2019-03-22 | 2020-10-01 | 北京京东尚科信息技术有限公司 | Application starting method and apparatus, and computer system and medium |
CN110176233A (en) * | 2019-04-28 | 2019-08-27 | 青岛海尔空调器有限总公司 | The method, apparatus and computer storage medium of air-conditioning voice control |
CN110289017A (en) * | 2019-06-06 | 2019-09-27 | 秒针信息技术有限公司 | Method of speech processing and device |
WO2021031308A1 (en) * | 2019-08-16 | 2021-02-25 | 北京小米移动软件有限公司 | Audio processing method and device, and storage medium |
US11264027B2 (en) | 2019-08-16 | 2022-03-01 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and apparatus for determining target audio data during application waking-up |
CN110534108A (en) * | 2019-09-25 | 2019-12-03 | 北京猎户星空科技有限公司 | A kind of voice interactive method and device |
CN111063350A (en) * | 2019-12-17 | 2020-04-24 | 苏州思必驰信息科技有限公司 | Voice interaction state machine based on task stack and implementation method thereof |
CN113393834A (en) * | 2020-03-11 | 2021-09-14 | 阿里巴巴集团控股有限公司 | Control method and device |
CN113393834B (en) * | 2020-03-11 | 2024-04-16 | 阿里巴巴集团控股有限公司 | Control method and device |
WO2021203674A1 (en) * | 2020-04-08 | 2021-10-14 | 思必驰科技股份有限公司 | Skill selection method and apparatus |
CN111830839A (en) * | 2020-06-15 | 2020-10-27 | 安徽金帅洗衣机有限公司 | Intelligent home remote control system based on wireless sensor network |
WO2022262366A1 (en) * | 2021-06-18 | 2022-12-22 | 华为技术有限公司 | Cross-device dialogue service connection method, system, electronic device, and storage medium |
CN113571049A (en) * | 2021-07-22 | 2021-10-29 | 成都航盛智行科技有限公司 | VR-based vehicle body control system and method |
CN113827270A (en) * | 2021-08-24 | 2021-12-24 | 深圳市德力凯医疗设备股份有限公司 | Instruction conflict resolution method, ultrasound device, and computer-readable storage medium |
CN113827270B (en) * | 2021-08-24 | 2024-03-12 | 深圳市德力凯医疗设备股份有限公司 | Instruction conflict resolution method, ultrasonic device and computer readable storage medium |
CN113808380A (en) * | 2021-09-15 | 2021-12-17 | 宁波钧飞智能科技有限公司 | Multi-peripheral control algorithm and unattended integrated machine device based on priority queue |
CN114326495A (en) * | 2021-12-24 | 2022-04-12 | 中电海康集团有限公司 | Robot control system architecture and voice instruction processing method |
CN114326495B (en) * | 2021-12-24 | 2024-02-09 | 中电海康集团有限公司 | Robot control system architecture and voice instruction processing method |
CN117215769A (en) * | 2023-08-08 | 2023-12-12 | 北京小米机器人技术有限公司 | Robot task awakening method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108737933A (en) | A kind of dialogue method, device and electronic equipment based on intelligent sound box | |
KR102373905B1 (en) | Shortened voice user interface for assistant applications | |
CN109326289A (en) | Exempt to wake up voice interactive method, device, equipment and storage medium | |
WO2019192250A1 (en) | Voice wake-up method and apparatus | |
CN109360559A (en) | The method and system of phonetic order is handled when more smart machines exist simultaneously | |
CN109493849A (en) | Voice awakening method, device and electronic equipment | |
CN108962262A (en) | Voice data processing method and device | |
US20200265843A1 (en) | Speech broadcast method, device and terminal | |
CN112634897B (en) | Equipment awakening method and device, storage medium and electronic device | |
CN109688036A (en) | Control method and device of intelligent household appliance, intelligent household appliance and storage medium | |
CN110010125A (en) | Control method and device of intelligent robot, terminal equipment and medium | |
CN110347367A (en) | Volume adjusting method, terminal device, storage medium and electronic equipment | |
CN109364477A (en) | Play Mah-Jong the method and device of game based on voice control | |
CN110503954B (en) | Voice skill starting method, device, equipment and storage medium | |
CN109003609A (en) | Voice equipment, intelligent voice system, equipment control method and device | |
WO2015188459A1 (en) | Terminal control method and device, voice control device and terminal | |
WO2016124048A1 (en) | Application program starting method and electronic device | |
CN106601242A (en) | Executing method and device of operation event and terminal | |
CN109144458A (en) | For executing the electronic equipment for inputting corresponding operation with voice | |
CN109545211A (en) | Voice interactive method and system | |
CN109599111A (en) | Voice interactive method, device and storage medium | |
CN112669838A (en) | Intelligent sound box audio playing method and device, electronic equipment and storage medium | |
CN106205648A (en) | A kind of Voice command music network player method | |
CN110362184A (en) | A kind of method and wearable device of controlling electronic devices | |
CN109065050A (en) | A kind of sound control method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200330 Address after: Room 706, Room 1699, South Zuchong Road, Yushan Town, Kunshan City, Suzhou City, Jiangsu Province Applicant after: Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd. Address before: 200233, Shanghai, Jinshan District Jinshan Industrial Zone, Ting Wei highway 65584, room 1309 Applicant before: SHANGHAI WIND TECHNOLOGIES Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181102 |