CN109192205A - A kind of intelligent speech interactive system and its control method - Google Patents

A kind of intelligent speech interactive system and its control method Download PDF

Info

Publication number
CN109192205A
CN109192205A CN201811060107.XA CN201811060107A CN109192205A CN 109192205 A CN109192205 A CN 109192205A CN 201811060107 A CN201811060107 A CN 201811060107A CN 109192205 A CN109192205 A CN 109192205A
Authority
CN
China
Prior art keywords
voice acquisition
acquisition module
module
voice
gateway
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.)
Granted
Application number
CN201811060107.XA
Other languages
Chinese (zh)
Other versions
CN109192205B (en
Inventor
廖泽立
蔡跃光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Cooper Innovation Technology Co Ltd
Original Assignee
Shenzhen Cooper Innovation Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Cooper Innovation Technology Co Ltd filed Critical Shenzhen Cooper Innovation Technology Co Ltd
Priority to CN201811060107.XA priority Critical patent/CN109192205B/en
Publication of CN109192205A publication Critical patent/CN109192205A/en
Application granted granted Critical
Publication of CN109192205B publication Critical patent/CN109192205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • G10L15/30Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • G10L15/34Adaptation of a single recogniser for parallel processing, e.g. by use of multiple processors or cloud computing
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/225Feedback of the input speech

Abstract

The present invention proposes a kind of intelligent speech interactive system and its control method, intelligent speech interactive system includes multiple voice acquisition modules, gateway module, Cloud Server, gateway module passes through the distance value for judging whether the data of original broadcast data packet occur modification and more each voice acquisition module and sound source, nearest voice acquisition module is selected to be attached, voice acquisition module is selected by above two mode, it is final to determine that voice acquisition module is attached, establish stable connection data transmission channel, aforesaid way may make gateway module selection voice acquisition module to be attached, same phonetic order is avoided to be transmitted by multiple voice acquisition modules, so that multiple voice acquisition modules are connect with gateway module, influence data transmission efficiency, and gateway module can connect multiple voice acquisition modules simultaneously, it realizes The concurrent phonetic order transmittability of intelligent speech interactive system.

Description

A kind of intelligent speech interactive system and its control method
Technical field
The present invention relates to speech control system more particularly to a kind of intelligent speech interactive system and its control methods.
Background technique
With the development of science and technology, people's lives level increasingly improves, wired home service platform it is universal realize for The mankind provide a kind of low-carbon, health, intelligence, comfortable family lifestyle, and man machine language's interaction has become a kind of comparison Common interactive means, major Internet company release the speaker with voice interactive function one after another.The speaker of the type is not only It can identify the language of the mankind, can also be responded according to the requirement of the mankind, including play music, predetermined air ticket or even family Electric control etc., the wireless technology scheme of comparative maturity has WiFi, 4G, ZigBee, LoRa, NB-Iot etc. on the market at present.But it must It must be more explicitly, it would be desirable to which transmission is voice data, that is, needs more stable and relatively high transmission rate wireless parties Case, in the prior art, some acquire voice using single node device, when user and node device distance farther out when, can not Phonetic order is acquired, user must could use the system in specified region, when there are multiple languages for intelligent speech interactive system When sound acquisition module, there are voice acquisition modules and the many-to-one problem of control system, how to optimize voice acquisition module and control Stable data transmission channel is established in the connection of system processed, and the phonetic order for the response user for making system most fast, is existing Technology needs the place made improvements.
Summary of the invention
It is an object of the invention to propose and a kind of intelligent speech interactive system and its control method, the intelligent sound are handed over Mutual system, by the verifying and selection of multiple data, so that the connection of gateway module and voice acquisition module is more stable, simultaneously So that the connection relationship of voice acquisition module and control system is optimized, so that intelligent speech interactive system is with optimal, most fast Mode respond the phonetic order of user, improve the harmony of intelligent speech interactive system entirety, promote the experience of user.
The first purpose of this invention is to propose a kind of intelligent speech interactive system, the intelligent speech interactive system packet It includes:
Multiple voice acquisition modules are equipped with range unit, the voice collecting mould in each voice acquisition module Original broadcast data packet can be transmitted in block, and each voice acquisition module all has standby mode and connection status, when institute's predicate When sound acquisition module is standby mode, the voice acquisition module can collect the phonetic order in preset range, and work as When the voice acquisition module collects phonetic order, the range unit measure between sound source and voice acquisition module away from From value, the data of the voice acquisition module modification original broadcast data packet simultaneously generate label broadcast data packet, and the voice is adopted Collect module to send the label broadcast data packet of generation;
Gateway module, the gateway module have scanning mode and connection status, when the gateway module is scanning mode When, the gateway module may recognize that label broadcast data packet, be connected to comprising the label broadcast data packet and the distance It is worth the smallest voice acquisition module, voice acquisition module enters connection status at this time, and gateway module opens connection status, the net Module is closed to receive the phonetic order of the voice acquisition module transmission and be packaged as instruction audio file transmission;And
Cloud Server, the Cloud Server can receive and identify the instruction audio file that the gateway module is sent, cloud clothes Device be engaged according to described instruction audio file, and feedback operation instruction and speech answering instruct.
Further, voice acquisition module includes data packet processing, when voice acquisition module collects phonetic order When, data packet processing modifies the partial data of original broadcast data packet to obtain flag data, marks broadcast data Packet includes the flag data and distance value, and gateway module detects whether label broadcast data packet contains reference numerals in scanning mode According to, and the distance between more multiple voice acquisition modules and sound source are worth, and contain flag data in selected marker broadcast data packet And the smallest voice acquisition module foundation of distance value is bi-directionally connected.
Further, when voice acquisition module and gateway module foundation are bi-directionally connected, the voice acquisition module and net It closes module and phonetic order is connected and transmitted by bluetooth technology with low power consumption, the speech answering instruction is transmitted to net by Cloud Server Module is closed, then the voice acquisition module is transmitted to by gateway module, and the speech answering is played by voice acquisition module and is referred to It enables.
Further, data packet processing modifies the partial data of original broadcast data packet to obtain reference numerals According to rear, the waiting time is arranged in voice acquisition module, and when being more than the waiting time, voice acquisition module will mark broadcast data Packet resets to original broadcast data packet.
Further, voice acquisition module and/or gateway module are equipped with voice data buffer queue, if gateway mould at this time Block is in excess load connection status, then phonetic order is stored into the voice data buffer queue by voice acquisition module;This If when gateway module be not at excess load connection status, gateway module is bi-directionally connected with voice acquisition module foundation.
Further, intelligent speech interactive system includes household appliance, furniture, and the voice acquisition module is set to house Electric equipment, furniture, on wall.
The first purpose of this invention is to propose a kind of control method of intelligent speech interactive system, the control method Include the following steps:
S1, voice acquisition module acquire the phonetic order in preset range, modify the partial data of original broadcast data packet To obtain flag data, and measure the distance value of sound source Yu the voice acquisition module;
S2, gateway module scan the label broadcast data packet into voice acquisition module, and label broadcast data packet includes institute State flag data and distance value;
S3, gateway module judge whether voice acquisition module meets first condition, and the first condition is that the voice is adopted Contain flag data in the label broadcast data packet of collection module broadcast, if only a voice acquisition module meets first condition, Then gateway module is bi-directionally connected with voice acquisition module foundation;
S4, if there is multiple voice acquisition modules to meet the first condition, gateway module judges the voice acquisition module Whether second condition is met, and the voice acquisition module that gateway module selection voice acquisition module meets second condition establishes two-way company It connects, second condition is the distance value minimum of sound source and the voice acquisition module;
The step S4 includes S41, if the voice acquisition module meets second condition, gateway module is at this time for judgement It is no to be in excess load connection status, if gateway module is in excess load connection status at this time, the phonetic order is stored in language The voice data buffer queue of sound acquisition module;If gateway module is not at excess load connection status at this time, gateway module with The voice acquisition module foundation is bi-directionally connected;
After S5, gateway module and voice acquisition module foundation are bi-directionally connected, the Cloud Server can receive and identify The phonetic order that gateway module is sent, and feedback operation instruction and speech answering instruction, the speech answering instruction is by cloud service Device is transmitted to gateway module, then is transmitted to the voice acquisition module by gateway module, plays institute's predicate by voice acquisition module Sound replying instruction, and the connection of the voice acquisition module and gateway module is disconnected, it will finally be marked by voice acquisition module wide Unicast packets reset to original broadcast data packet.
Further, the step S1 includes that step S11 passes through when voice acquisition module acquires neighbouring phonetic order The data packet processing of voice acquisition module modifies the partial data of original broadcast data packet to obtain the reference numerals According to.
Further, the step S4 includes step S42, when voice acquisition module is unsatisfactory for second condition, institute's predicate The waiting time is arranged in sound acquisition module, is more than the waiting time when the time, and voice acquisition module is disconnected with gateway module, Finally broadcast data packet will be marked to reset original broadcast data packet by the voice acquisition module.
Further, the step S5 includes step S51, when gateway module and the voice acquisition module establish two-way company After connecing, voice acquisition module carries out authentication to gateway module;If authentication fails, without voice data transmission, And disconnect the connection of voice acquisition module and gateway module;And
Further, the step S5 further includes step S52, after gateway module is by the authentication, gateway mould Block and the mutual transmitting audio data of voice acquisition module, the voice data include phonetic order and speech answering instruction.
The utility model has the advantages that the present invention proposes that the present invention proposes a kind of intelligent speech interactive system, intelligent speech interactive system packet Multiple voice acquisition modules are included, when the voice acquisition module is standby mode, the voice acquisition module can be acquired in place In the phonetic order in preset range, and when the voice acquisition module collects phonetic order, the range unit measurement The distance between sound source and voice acquisition module are worth out, and the voice acquisition module modifies the data of original broadcast data packet and life At label broadcast data packet, the voice acquisition module sends the label broadcast data packet of generation;
When gateway module is scanning mode, the gateway module may recognize that label broadcast data packet, be connected to comprising institute Label broadcast data packet and the smallest voice acquisition module of the distance value are stated, voice acquisition module enters connection status at this time, Gateway module opens connection status, and the gateway module receives the phonetic order that the voice acquisition module is sent and is packaged as referring to Audio file is enabled to send;
Cloud Server, the Cloud Server can receive and identify the instruction audio file that the gateway module is sent, cloud clothes Device be engaged according to described instruction audio file, and feedback operation instruction and speech answering instruct.
Gateway module is by judging whether the data of original broadcast data packet occur modification and more each voice collecting mould The distance value of block and sound source selects nearest voice acquisition module to be attached, by above two mode to voice collecting mould Block is selected, final to determine that voice acquisition module is attached, and establishes stable connection data transmission channel, aforesaid way can So that gateway module selection voice acquisition module is attached, same phonetic order is avoided to be carried out by multiple voice acquisition modules Transmission, so that multiple voice acquisition modules are connect with gateway module, influences data transmission efficiency, and gateway module can connect simultaneously Multiple voice acquisition modules are connect, the concurrent phonetic order transmittability of intelligent speech interactive system is realized.
Detailed description of the invention
Fig. 1 is intelligent speech interactive system schematic diagram provided in an embodiment of the present invention.
Fig. 2 is the control method decision logic flow chart of intelligent speech interactive system provided in an embodiment of the present invention.
Specific embodiment
In order to which the technical problems, technical solutions and beneficial effects solved by the present invention is more clearly understood, below in conjunction with Accompanying drawings and embodiments, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
In the description of the present invention, it is to be understood that, term " transverse direction ", " length ", " width ", "upper", "lower", The orientation or position of the instructions such as "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", " clockwise ", " counterclockwise " Setting relationship is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of description of the present invention and simplification of the description, rather than The device or element of indication or suggestion meaning must have a particular orientation, be constructed and operated in a specific orientation, therefore cannot It is interpreted as limitation of the present invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc. Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary The interaction relationship of the connection in portion or two elements, unless otherwise restricted clearly.For those of ordinary skill in the art For, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below " One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
The present invention is inventor based on the recognition that proposing: nowadays, it is normal that man machine language's interaction has become a kind of comparison The interactive means seen, major Internet company release the speaker with voice interactive function one after another.The speaker of the type not only may be used It to identify the language of the mankind, can also be responded according to the requirement of the mankind, including play music, predetermined air ticket or even household electrical appliances Control etc., realizes a kind of distributed sound acquisition scheme, the acquisition node of voice can be used as an individual module and be hidden in It in switch, in socket, or even is integrated on some household electrical appliances, such user can be into each corner at home Row voice command is assigned, but when being designed so as to, and there are the situations that multiple acquisition nodes receive phonetic order simultaneously, at this time How this is attached gateway module, and inventor proposes technical solution of the present invention into studying excessively overall plan, leads to The distance value whether detection data occurs modification and more each voice acquisition module and sound source is crossed, nearest voice collecting is selected Module is attached, i.e., is selected by above two mode voice acquisition module, finally determines suitable voice collecting Module is attached, and establishes stable data transmission channel.
The present invention is described further with reference to the accompanying drawings and embodiments.
As shown in Figure 1 to Figure 2, it is an object of the invention to propose a kind of intelligent speech interactive system, the intelligent sound Interactive system includes:
Multiple voice acquisition modules are equipped with range unit, the voice collecting mould in each voice acquisition module Original broadcast data packet can be transmitted in block, and each voice acquisition module all has standby mode and connection status, when institute's predicate When sound acquisition module is standby mode, the voice acquisition module can collect the phonetic order in preset range, and work as When the voice acquisition module collects phonetic order, the range unit measure between sound source and voice acquisition module away from From value, the data of the voice acquisition module modification original broadcast data packet simultaneously generate label broadcast data packet, and the voice is adopted Collect module to send the label broadcast data packet of generation;
Gateway module, the gateway module have scanning mode and connection status, when the gateway module is scanning mode When, the gateway module may recognize that label broadcast data packet, be connected to comprising the label broadcast data packet and the distance It is worth the smallest voice acquisition module, voice acquisition module enters connection status at this time, and gateway module opens connection status, the net Module is closed to receive the phonetic order of the voice acquisition module transmission and be packaged as instruction audio file transmission;And
Cloud Server, the Cloud Server can receive and identify the instruction audio file that the gateway module is sent, cloud clothes Device be engaged according to described instruction audio file, and feedback operation instruction and speech answering instruct.The operational order refers to intelligent language Control of the sound interactive system to domestic electric appliance such as controls TV, air-conditioning, lamp and is turned on or off.
The voice acquisition module is distributed in multiple positions of intelligent speech interactive system, to acquire in different positions Acquire the phonetic order of user;Specifically, being realized by the way that single-chip microcontroller, chip or processor are arranged in voice acquisition module The data of phonetic order modify to obtain flag data.
Gateway module has scanning mode and connection status two states, and specifically gateway module is detectable in scanning mode Label broadcast data packet containing flag data out.The flag data identify gateway module can accurately and the mark Numeration avoids other voice acquisition modules from participating in connection according to corresponding voice acquisition module, improves the reliability of connection, Intelligent speech interactive system is optimized, the experience of user is improved.The scanning mode of gateway module, refer to gateway module power on The radio magnetic wave signal of surrounding can be scanned afterwards.
Range unit is used to measure the distance value of sound source Yu the voice acquisition module, and label broadcast is added in distance value In data packet, so that distance value can be fed back to gateway module by voice acquisition module.Specifically, the range unit includes fixed When device, the position resolution precision of the timer is d, issues instruction to voice acquisition module by measurement user and is collected into instruction Time t, determine the distance value D, wherein D be equal to d and t product.
When it is implemented, multiple voice acquisition modules are arranged by distributed simultaneously in environment indoors, if under user When up to a voice command, there are multiple voice acquisition modules to be waken up and connect gateway module transmitting data, a this voice Instruction just occupy the mode that multiple interface channels are transmitted be it is very uneconomic, influence the speed of service of whole system, we Case can have been realized and only one voice acquisition module is responded, and this voice acquisition module is nearest from user sets It is standby.
Gateway module by judge whether to measure in broadcast flag broadcast data packet and judge mark broadcast data packet away from From value, whether minimum determines that voice acquisition module is attached, and establishes stable connection data transmission channel, aforesaid way can So that gateway module selection voice acquisition module is attached, same phonetic order is avoided to be carried out by multiple voice acquisition modules Transmission, so that multiple voice acquisition modules are connect with gateway module, influences data transmission efficiency.And gateway module can connect simultaneously Multiple voice acquisition modules are connect, the concurrent phonetic order transmittability of intelligent speech interactive system is realized.
Further, voice acquisition module includes data packet processing, when voice acquisition module collects phonetic order When, data packet processing modifies the partial data of original broadcast data packet to obtain flag data, marks broadcast data Packet includes the flag data and distance value, and gateway module detects whether label broadcast data packet contains reference numerals in scanning mode According to, and the distance between more multiple voice acquisition modules and sound source are worth, and contain flag data in selected marker broadcast data packet And the smallest voice acquisition module foundation of distance value is bi-directionally connected.
When voice acquisition module and gateway module foundation are bi-directionally connected, the voice acquisition module passes through with gateway module Bluetooth technology with low power consumption connects and transmits phonetic order, and the speech answering instruction is transmitted to gateway module by Cloud Server, then The voice acquisition module is transmitted to by gateway module, and the speech answering is played by voice acquisition module and is instructed.Institute's predicate Sound acquisition module is connect with gateway module by bluetooth technology with low power consumption.The bluetooth technology with low power consumption preferentially uses BLE5.0 skill Art, scanning mode and the connection status of the gateway module can exist simultaneously, i.e., voice acquisition module and gateway module are connecting Voice can also be played out under state.Voice data transmission mode in the present invention is wireless transmission, it is preferred to use low-power consumption is blue Tooth technology, other wireless transmission methods are also within the protection scope of invention.
Further, data packet processing modifies the partial data of original broadcast data packet to obtain reference numerals According to rear, the waiting time is arranged in voice acquisition module, and when being more than the waiting time, voice acquisition module will mark broadcast data Packet resets to original broadcast data packet.
Further, when voice acquisition module and gateway module foundation are bi-directionally connected, the voice acquisition module and net Module is closed to connect by bluetooth technology with low power consumption and transmit phonetic order.The transmission rate of phonetic order is greatly mentioned at this time Height, specifically transmission rate can achieve 2Mbps, after completing voice data transmission, will be switched off connecting, and label is broadcasted number Original broadcast data packet is reset to according to packet.
Voice acquisition module and/or gateway module are equipped with voice data buffer queue, if gateway module is in super negative at this time Lotus connection status, then phonetic order is stored into the voice data buffer queue by voice acquisition module, disconnected to gateway module After opening existing be bi-directionally connected, the voice acquisition module is bi-directionally connected with gateway module foundation;If gateway module is not located at this time In excess load connection status, then gateway module is bi-directionally connected with voice acquisition module foundation.The gateway module can connect simultaneously Multiple equipment, gateway module due to being limited by hardware condition, the quantity of connected device there are maximum value, when be more than it is described most When big value, excess load connection status will be in.
The design of the voice data buffer queue is based on proposition considered below:
The first situation, when gateway module has been in excess load connection status, if user issues in this time When effective phonetic order, then system can then lose this partial data.In order to solve this problem, technical staff adopts in voice Collect Development of Module voice data buffer queue, voice data buffer queue keeps in the phonetic order of this period.
Second case, when voice acquisition module meets first condition and second condition, and voice acquisition module and network management Before module foundation is bi-directionally connected, if user issues phonetic order, must occur the phonetic order loss at this time or voice refers to Incomplete situation is enabled, then can store the phonetic order with voice data buffer queue, this part valid data is avoided to lose The phonetic order for losing or avoiding these new cannot acquire.When voice data buffer queue is there are when a plurality of new phonetic order, The time that these new phonetic orders are issued according to phonetic order is orderly stored, until gateway module and voice acquisition module After disconnecting, the phonetic order of voice data buffer queue storage is executed one by one, and is held according to the sequence of first in first out Row.
Further, intelligent speech interactive system includes household appliance, furniture, and the voice acquisition module is set to house Electric equipment, furniture, on wall.Specifically voice acquisition module may be provided at switch, socket, household electrical appliances by way of integrated and set It is standby upper, it can also be using conventional design scheme, on the wall of setting indoors, to acquire the voice of user's sending at any time Instruction, improves the experience of user.
Second object of the present invention is that a kind of control method of intelligent speech interactive system, the control method include Following steps:
S1, voice acquisition module acquire the phonetic order in preset range, modify the partial data of original broadcast data packet To obtain flag data, and measure the distance value of sound source Yu the voice acquisition module;
S2, gateway module scan the label broadcast data packet into voice acquisition module, and label broadcast data packet includes institute State flag data and distance value;
S3, gateway module judge whether voice acquisition module meets first condition, and the first condition is that the voice is adopted Contain flag data in the label broadcast data packet of collection module broadcast, if only a voice acquisition module meets first condition, Then gateway module is bi-directionally connected with voice acquisition module foundation;
S4, if there is multiple voice acquisition modules to meet the first condition, gateway module judges the voice acquisition module Whether second condition is met, and the voice acquisition module that gateway module selection voice acquisition module meets second condition establishes two-way company It connects, second condition is the distance value minimum of sound source and the voice acquisition module;
The step S4 includes S41, if the voice acquisition module meets second condition, gateway module is at this time for judgement It is no to be in excess load connection status, if gateway module is in excess load connection status at this time, the phonetic order is stored in language The voice data buffer queue of sound acquisition module;If gateway module is not at excess load connection status at this time, gateway module with The voice acquisition module foundation is bi-directionally connected;
After S5, gateway module and voice acquisition module foundation are bi-directionally connected, the Cloud Server can receive and identify The phonetic order that gateway module is sent, and feedback operation instruction and speech answering instruction, the speech answering instruction is by cloud service Device is transmitted to gateway module, then is transmitted to the voice acquisition module by gateway module, plays institute's predicate by voice acquisition module Sound replying instruction, and the connection of the voice acquisition module and gateway module is disconnected, it will finally be marked by voice acquisition module wide Unicast packets reset to original broadcast data packet.
Further, the step S1 includes that step S11 passes through when voice acquisition module acquires neighbouring phonetic order The data packet processing of voice acquisition module modifies the partial data of original broadcast data packet to obtain the reference numerals According to.
Further, the step S4 includes step S42, when voice acquisition module is unsatisfactory for second condition, institute's predicate The waiting time is arranged in sound acquisition module, is more than the waiting time when the time, and voice acquisition module is disconnected with gateway module, Finally broadcast data packet will be marked to reset original broadcast data packet by the voice acquisition module.
Further, the step S5 includes step S51, when gateway module and the voice acquisition module establish two-way company After connecing, voice acquisition module carries out authentication to gateway module;If authentication fails, without voice data transmission, And disconnect the connection of voice acquisition module and gateway module;The effect of step S51 is to confirm whether the connecting object is intelligence Gateway module in voice interactive system prevents voice acquisition module from being caused data transmitting abnormal or outwardly let out by malice connection Dew improves security of system and stability.
Further, the step S5 further includes step S52, after gateway module is by the authentication, gateway mould Block and the mutual transmitting audio data of voice acquisition module, the voice data include phonetic order and speech answering instruction.
Voice acquisition module is successively numbered in the intelligent speech interactive system, obtains V1, V2....Vn, the N The connection priority of a voice acquisition module is successively reduced by V1 to Vn, if there are two even more than two voice acquisition modules When meeting first condition and second condition simultaneously, then the gateway module of intelligent speech interactive system can pass through voice acquisition module Priority height, priority is higher is attached for selection.
The detailed operation of intelligent speech interactive system is described below:
As shown in Figure 1 and Figure 2, voice acquisition module is in standby, and the somewhere of user indoors issues voice Instruction, when voice acquisition module collects phonetic order, the range unit is measured between sound source and voice acquisition module Distance value, the data of the voice acquisition module modification original broadcast data packet simultaneously generate label broadcast data packet, the voice Acquisition module sends the label broadcast data packet of generation, and it includes the distance value and reference numerals that label broadcast data packet, which is sent, According to;
Gateway module can recognize that neighbouring radio broadcasting signal, gateway module detect the mark received under scanning mode Remember that broadcast data whether there is flag data, if it exists flag data, then further judges the distance of voice acquisition module feedback Whether value is minimum;
If phonetic order is stored into described by voice acquisition module if gateway module is in excess load connection status at this time In voice data buffer queue, after gateway module disconnects existing be bi-directionally connected, voice acquisition module and gateway module are established It is bi-directionally connected;If gateway module is not at excess load connection status at this time, gateway module is established two-way with voice acquisition module Connection.
After Cloud Server receives the phonetic order that gateway module occurs, operational order and speech answering instruction are made, specifically For, on the one hand Cloud Server interprets the phonetic order of user, if the phonetic order of user is " opening air-conditioning ", Cloud Server is logical It crosses after algorithm interprets user speech instruction and sends control command to gateway module, gateway module passes through control electrical equipment again, such as The on-off in circuit opens air-conditioning where controlling relay;On the other hand, Cloud Server can also be fed back after interpreting the phonetic order It is instructed to gateway module speech answering, speech answering instruction is transferred to the voice collecting that correspondence establishment is bi-directionally connected by gateway module Module, and the speech answering instruction is played, so that user knows that the phonetic order of user has begun execution, complete above-mentioned mistake Cheng Hou, gateway module are disconnected with voice acquisition module, finally will mark broadcast data packet weight by the voice acquisition module Set original broadcast data packet.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (10)

1. a kind of intelligent speech interactive system, which is characterized in that the intelligent speech interactive system includes:
Multiple voice acquisition modules are equipped with range unit in each voice acquisition module, and the voice acquisition module can Original broadcast data packet is sent, each voice acquisition module all has standby mode and connection status, when the voice is adopted When integrating module as standby mode, the voice acquisition module can collect the phonetic order in preset range, and when described When voice acquisition module collects phonetic order, the range unit measures the distance between sound source and voice acquisition module Value, the data of the voice acquisition module modification original broadcast data packet simultaneously generate label broadcast data packet, the voice collecting Module sends the label broadcast data packet of generation;
Gateway module, the gateway module have scanning mode and connection status, when the gateway module is scanning mode, institute Stating gateway module may recognize that label broadcast data packet, be connected to comprising the label broadcast data packet and distance value minimum Voice acquisition module, voice acquisition module enters connection status at this time, and gateway module opens connection status, the gateway module It receives the phonetic order that the voice acquisition module is sent and is packaged as instruction audio file and send;And
Cloud Server, the Cloud Server can receive and identify the instruction audio file that the gateway module is sent, Cloud Server According to described instruction audio file, and feedback operation instruction and speech answering instruct.
2. intelligent speech interactive system according to claim 1, which is characterized in that voice acquisition module includes at data packet Device is managed, when voice acquisition module collects phonetic order, data packet processing is by the part number of original broadcast data packet According to modifying to obtain flag data, label broadcast data packet includes the flag data and distance value, and gateway module is scanning Whether state-detection label broadcast data packet contains flag data, and the distance between more multiple voice acquisition modules and sound source It is worth, flag data is contained in selected marker broadcast data packet and the smallest voice acquisition module foundation of distance value is bi-directionally connected.
3. intelligent speech interactive system according to claim 2, which is characterized in that when voice acquisition module and gateway module When foundation is bi-directionally connected, the voice acquisition module, which is connect by bluetooth technology with low power consumption with gateway module and transmits voice, to be referred to It enables, the speech answering instruction is transmitted to gateway module by Cloud Server, then is transmitted to the voice collecting mould by gateway module Block, and the speech answering is played by voice acquisition module and is instructed.
4. intelligent speech interactive system according to claim 2, which is characterized in that data packet processing is by original broadcast The partial data of data packet is modified after obtaining flag data, and the waiting time is arranged in voice acquisition module, when more than described etc. When the time, voice acquisition module will mark broadcast data packet to reset to original broadcast data packet.
5. intelligent speech interactive system according to any one of claims 1-4, which is characterized in that voice acquisition module And/or gateway module is equipped with voice data buffer queue, if gateway module is in excess load connection status, voice collecting at this time Phonetic order is stored into the voice data buffer queue by module;If gateway module is not at excess load connection shape at this time State, then gateway module is bi-directionally connected with voice acquisition module foundation.
6. intelligent speech interactive system according to any one of claims 1-4, which is characterized in that intelligent sound interaction system System includes household appliance, furniture, and the voice acquisition module is set to household appliance, furniture, on wall.
7. a kind of control method of intelligent speech interactive system, which is characterized in that the control method includes the following steps:
S1, voice acquisition module acquire the phonetic order in preset range, modify the partial data of original broadcast data packet to obtain To flag data, and measure the distance value of sound source Yu the voice acquisition module;
S2, gateway module scan the label broadcast data packet into voice acquisition module, and label broadcast data packet includes the mark The evidence that counts and distance value;
S3, gateway module judge whether voice acquisition module meets first condition, and the first condition is the voice collecting mould Contain flag data in the label broadcast data packet of block broadcast, if only a voice acquisition module meets first condition, net Module is closed to be bi-directionally connected with voice acquisition module foundation;
S4, if there is multiple voice acquisition modules to meet the first condition, whether gateway module judges the voice acquisition module Meeting second condition, the voice acquisition module foundation that gateway module selection voice acquisition module meets second condition is bi-directionally connected, Second condition is the distance value minimum of sound source and the voice acquisition module;
The step S4 includes S41, if the voice acquisition module meets second condition, whether gateway module is located at this time for judgement In excess load connection status, if gateway module is in excess load connection status at this time, phonetic order deposit voice is adopted Collect the voice data buffer queue of module;If gateway module is not at excess load connection status at this time, gateway module with it is described Voice acquisition module foundation is bi-directionally connected;
After S5, gateway module and voice acquisition module foundation are bi-directionally connected, the Cloud Server can receive and identify gateway The phonetic order that module is sent, and feedback operation instruction and speech answering instruction, the speech answering instruction are passed by Cloud Server Gateway module is transported to, then the voice acquisition module is transmitted to by gateway module, the voice is played by voice acquisition module and is returned Multiple instruction, and the connection of the voice acquisition module and gateway module is disconnected, label is finally broadcasted into number by voice acquisition module Original broadcast data packet is reset to according to packet.
8. the control method of intelligent speech interactive system according to claim 7, which is characterized in that the step S1 includes Step S11 will be former by the data packet processing of voice acquisition module when voice acquisition module acquires neighbouring phonetic order The partial data of beginning broadcast data packet modifies to obtain the flag data.
9. the control method of intelligent speech interactive system according to claim 7, which is characterized in that the step S4 includes Step S42, when voice acquisition module is unsatisfactory for second condition, the waiting time is arranged in the voice acquisition module, super when the time The waiting time is spent, voice acquisition module is disconnected with gateway module, will finally be marked by the voice acquisition module wide Unicast packets reset original broadcast data packet.
10. the control method of intelligent speech interactive system according to claim 7, which is characterized in that the step S5 packet Include step S51, when gateway module and the voice acquisition module foundation be bi-directionally connected after, voice acquisition module to gateway module into Row authentication;If authentication fails, without voice data transmission, and voice acquisition module and gateway module are disconnected Connection;And
The step S5 further includes step S52, after gateway module is by the authentication, gateway module and voice acquisition module Mutual transmitting audio data, the voice data include phonetic order and speech answering instruction.
CN201811060107.XA 2018-09-12 2018-09-12 Intelligent voice interaction system and control method thereof Active CN109192205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811060107.XA CN109192205B (en) 2018-09-12 2018-09-12 Intelligent voice interaction system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811060107.XA CN109192205B (en) 2018-09-12 2018-09-12 Intelligent voice interaction system and control method thereof

Publications (2)

Publication Number Publication Date
CN109192205A true CN109192205A (en) 2019-01-11
CN109192205B CN109192205B (en) 2021-05-04

Family

ID=64910275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811060107.XA Active CN109192205B (en) 2018-09-12 2018-09-12 Intelligent voice interaction system and control method thereof

Country Status (1)

Country Link
CN (1) CN109192205B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110085233A (en) * 2019-04-08 2019-08-02 广东美的制冷设备有限公司 Sound control method and its device, electronic equipment and computer readable storage medium
CN110635976A (en) * 2019-09-02 2019-12-31 深圳市酷开网络科技有限公司 Accompanying equipment control method, accompanying equipment control system and storage medium
CN111210826A (en) * 2019-12-26 2020-05-29 深圳市优必选科技股份有限公司 Voice information processing method and device, storage medium and intelligent terminal
CN113658592A (en) * 2021-07-29 2021-11-16 脑谷人工智能研究院(南京)有限公司 Data visualization system capable of supporting voice recognition function
CN113674738A (en) * 2020-05-14 2021-11-19 青岛鼎信通讯股份有限公司 Whole-house distributed voice system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106448658A (en) * 2016-11-17 2017-02-22 海信集团有限公司 Voice control method of intelligent home equipment, as well as intelligent home gateway
CN106878923A (en) * 2017-01-09 2017-06-20 云丁网络技术(北京)有限公司 The quick method of network entry of ultra-low power consumption intelligent equipment and intelligent domestic system
US20170263247A1 (en) * 2014-08-21 2017-09-14 Lg Electronics Inc. Digital device and method for controlling same
CN107579883A (en) * 2017-08-25 2018-01-12 上海肖克利信息科技股份有限公司 Distributed pickup intelligent home furnishing control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170263247A1 (en) * 2014-08-21 2017-09-14 Lg Electronics Inc. Digital device and method for controlling same
CN106448658A (en) * 2016-11-17 2017-02-22 海信集团有限公司 Voice control method of intelligent home equipment, as well as intelligent home gateway
CN106878923A (en) * 2017-01-09 2017-06-20 云丁网络技术(北京)有限公司 The quick method of network entry of ultra-low power consumption intelligent equipment and intelligent domestic system
CN107579883A (en) * 2017-08-25 2018-01-12 上海肖克利信息科技股份有限公司 Distributed pickup intelligent home furnishing control method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110085233A (en) * 2019-04-08 2019-08-02 广东美的制冷设备有限公司 Sound control method and its device, electronic equipment and computer readable storage medium
CN110635976A (en) * 2019-09-02 2019-12-31 深圳市酷开网络科技有限公司 Accompanying equipment control method, accompanying equipment control system and storage medium
CN110635976B (en) * 2019-09-02 2022-04-01 深圳市酷开网络科技股份有限公司 Accompanying equipment control method, accompanying equipment control system and storage medium
CN111210826A (en) * 2019-12-26 2020-05-29 深圳市优必选科技股份有限公司 Voice information processing method and device, storage medium and intelligent terminal
CN111210826B (en) * 2019-12-26 2022-08-05 深圳市优必选科技股份有限公司 Voice information processing method and device, storage medium and intelligent terminal
CN113674738A (en) * 2020-05-14 2021-11-19 青岛鼎信通讯股份有限公司 Whole-house distributed voice system and method
CN113658592A (en) * 2021-07-29 2021-11-16 脑谷人工智能研究院(南京)有限公司 Data visualization system capable of supporting voice recognition function
CN113658592B (en) * 2021-07-29 2024-04-02 浙江亿秒数字科技有限公司 Data visualization system capable of supporting voice recognition function

Also Published As

Publication number Publication date
CN109192205B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN109192205A (en) A kind of intelligent speech interactive system and its control method
CN103891395B (en) More equipment monitors and control
CN103017292B (en) Ward attending method and system based on intelligent air conditioner
CN106816775A (en) A kind of smart jack of carried charge monitoring function, electricity monitoring system and method
CN105934976B (en) The method, apparatus and master-slave network electricity-saving system of master-slave network suspend mode and wake-up
CN107204903A (en) Intelligent domestic system and its control method
CN108964276A (en) Support the electricity consumption control terminal and system and load discrimination method of automatic demand response
CN108037670A (en) A kind of smart home based on cloud computing
CN204538819U (en) A kind of High-low voltage switch cabinet supervising device based on Internet of Things
CN110501988A (en) A kind of realization internet of things equipment fused controlling method and device thereof
CN107635257A (en) Wireless extensions loaming method and system, home gateway and wireless access points
CN104486174B (en) The network-building method and device of a kind of intelligent terminal
CN108398887A (en) A kind of smart home distributed sound control method and system
CN113835348A (en) Intelligent household control system
CN106154993A (en) A kind of device controller
CN104950853A (en) Intelligent control system
CN106455055A (en) Method for determining gateway and terminal
CN111931956A (en) Management system for isolated monitoring of operation and maintenance of medical equipment
Ding et al. Interference-aware wireless networks for home monitoring and performance evaluation
CN108986405A (en) A kind of multi parameters control method based on Zigbee gateway
CN107979641B (en) A kind of intelligent domestic system based on cloud computing
CN104133428A (en) Intelligent electrical equipment control method
CN104331032A (en) Intelligent device control system
CN205787671U (en) A kind of intelligent home control system controlled based on radio frequency
CN206388018U (en) A kind of intelligent domestic system based on Zigbee

Legal Events

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