CN108376058A - Sound control method and device and electronic equipment and storage medium - Google Patents

Sound control method and device and electronic equipment and storage medium Download PDF

Info

Publication number
CN108376058A
CN108376058A CN201810135679.3A CN201810135679A CN108376058A CN 108376058 A CN108376058 A CN 108376058A CN 201810135679 A CN201810135679 A CN 201810135679A CN 108376058 A CN108376058 A CN 108376058A
Authority
CN
China
Prior art keywords
instruction
voice messaging
voice
position information
sender
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810135679.3A
Other languages
Chinese (zh)
Inventor
朱金军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zebra Network Technology Co Ltd
Original Assignee
Zebra Network 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 Zebra Network Technology Co Ltd filed Critical Zebra Network Technology Co Ltd
Priority to CN201810135679.3A priority Critical patent/CN108376058A/en
Publication of CN108376058A publication Critical patent/CN108376058A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of sound control method and device and electronic equipment and storage medium, the method, including:The first voice messaging is obtained, and according to first voice messaging, obtains the first instruction;It is instructed according to described first, determines that the subsequent instructions set of first instruction, the instruction in the subsequent instructions set of first instruction are to execute the instruction for just allowing to execute after first instruction;Execute first instruction;Obtain the second voice messaging;If the position for sending out the sender of second voice messaging is identical as the position of sender of the first voice messaging is sent out, and is the instruction in the subsequent instructions set according to the second instruction that second voice messaging obtains, then second instruction is executed.The present invention can effectively improve the execution accuracy of voice control.

Description

Sound control method and device and electronic equipment and storage medium
Technical field
The present invention relates to automotive field more particularly to a kind of sound control method and device and electronic equipment and storages Medium.
Background technology
Electric terminal, it can be understood as the terminal with processor and memory, processor read the code in memory, Corresponding function can be executed, wherein electric terminal can be mobile phone, tablet computer, car-mounted terminal etc..
In electric terminal, phonetic order can be received according to the mode of voice, and execute accordingly according to phonetic order Process.However, when the process of required execution is complex, then need to input more than one phonetic order.
It is existing in the related technology, due to executing the language that may be sent out by other people of multiple phonetic orders of same process The interference of message breath, to reduce the execution accuracy of phonetic order.
Invention content
A kind of sound control method of present invention offer and device and electronic equipment and storage medium, to solve to reduce language The problem of execution accuracy of sound instruction.
According to the first aspect of the invention, a kind of sound control method is provided, including:
The first voice messaging is obtained, and according to first voice messaging, obtains the first instruction;
It is instructed according to described first, determines the subsequent instructions set of first instruction, the follow-up finger of first instruction It is to execute the instruction for just allowing to execute after first instruction to enable the instruction in set;
Execute first instruction;
Obtain the second voice messaging;
If sending out the position of the sender of second voice messaging and sending out the sender of first voice messaging Position is identical, and is the instruction in the subsequent instructions set according to the second instruction that second voice messaging obtains, then holds Row second instruction.
Optionally, the quantity of first voice messaging is N number of, and the quantity of second voice messaging is M, and N number of First voice messaging is that different N number of voice collection devices is collected simultaneously respectively, and M the second voice messagings are M different Voice collection device respectively simultaneously it is collected;Wherein, N, M are integer, and N >=1,1≤M≤N;
After the first voice messaging of the acquisition, further include:According to N number of first voice messaging, first position information is determined, The first position information is used to indicate to send out the position of the sender of first voice messaging;
After the second voice messaging of the acquisition, further include:According to M the second voice messagings, second position information is determined, The second position information is used to indicate to send out the position of the sender of second voice messaging;
If the first position information is identical as the second position information, it is determined that send out second voice messaging The position of sender is identical as the position of sender of the first voice messaging is sent out.
Optionally, described to further include after determining first position information according to N number of first voice messaging:
According to the first position information and the correspondence of location information and voice collection device, described is determined The corresponding M voice collection device of one location information;
It controls the M voice collection device and keeps work, M sound collection described in N number of voice collection device Voice collection device other than device is stopped.
Optionally, before the execution first instruction, further include:
According to the first position information and location information and the correspondence for executing permission, determine that described first refers to Corresponding without departing from the first position information first is enabled to execute permission.
Optionally, before the execution second instruction, further include:
According to the second position information and location information and the correspondence for executing permission, determine that described second refers to Corresponding without departing from the second position information second is enabled to execute permission.
Optionally, the method is applied to car-mounted terminal, or applied to the server being connect with car-mounted terminal.
According to the second aspect of the invention, a kind of phonetic controller is provided, including:
First acquisition module, for obtaining the first voice messaging;
First instruction obtains module, for according to first voice messaging, obtaining the first instruction;
Subsequent instructions determining module, for according to first instruction, determining the subsequent instructions set of first instruction, Instruction in the subsequent instructions set of first instruction is to execute the instruction for just allowing to execute after first instruction;
First instruction execution module, for executing first instruction;
Second acquisition module, for obtaining the second voice messaging;
Second instruction execution module, if the position of sender for sending out second voice messaging and sending out described the The position of the sender of one voice messaging is identical, and is the follow-up finger according to the second instruction that second voice messaging obtains The instruction in set is enabled, then executes second instruction.
Optionally, the quantity of first voice messaging is N number of, and the quantity of second voice messaging is M, and N number of First voice messaging is that different N number of voice collection devices is collected simultaneously respectively, and M the second voice messagings are different M A voice collection device is collected simultaneously respectively;Wherein, N, M are integer, and N >=1,1≤M≤N;
Described device further includes:
First position determining module, for according to N number of first voice messaging, determining first position information, described first The position of sender of the confidence breath for indicating to send out first voice messaging;
Second position determining module, for according to M the second voice messagings, determining second seat information, the second The position of sender of the confidence breath for indicating to send out second voice messaging;
The identical determining module in position, if identical as the second position information for the first position information, it is determined that The position for sending out the sender of second voice messaging is identical as the position of sender of the first voice messaging is sent out.
Optionally, the device further includes:
M device determining module, for according to the first position information and location information and voice collection device Correspondence determines the corresponding M voice collection device of the first position information;
Sound collection control module controls the M voice collection device and keeps work, N number of voice collection device Described in voice collection device other than M voice collection device be stopped.
The device further includes:
First authority module, for being closed according to the first position information and location information with the corresponding of permission is executed System determines that first instruction corresponding without departing from the first position information first executes permission.
The device further includes:
Second authority module, for being closed according to the second position information and location information with the corresponding of permission is executed System determines that second instruction corresponding without departing from the second position information second executes permission.
Optionally, the device is applied to car-mounted terminal, or applied to the server being connect with car-mounted terminal.
According to the third aspect of the invention we, a kind of electronic equipment is provided, including:Memory, processor and computer Program, the computer program are stored in the memory, and the processor runs the computer program and executes first party Face and the various methods that may relate to of first aspect.
According to the fourth aspect of the invention, a kind of storage medium is provided, computer program, the computer journey are stored with Sequence, which is performed, realizes first aspect and the various methods that may relate to of first aspect.
Sound control method and device and electronic equipment and storage medium provided by the invention, if described by sending out The position of the sender of second voice messaging is identical as the position of sender of the first voice messaging is sent out, and according to described The second instruction that second voice messaging obtains is the instruction in the subsequent instructions set, then executes second instruction so that Continuous first voice messaging and the second voice messaging are determined as what the sender of same position was sent out, to may make the present invention The instruction that the sender of same position is sent out only is executed, and only executes the instruction in subsequent instructions set, other is avoided and sends out Influence of other voice messagings that person sends out to instruction execution, it is seen then that the execution that the present invention can effectively improve voice control is accurate Property.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art With obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow diagram one of a sound control method of the invention;
Fig. 2 is the flow diagram two of a sound control method of the invention;
Fig. 3 is the distribution schematic diagram of a voice acquisition device of the invention;
Fig. 4 is the structural schematic diagram one of a phonetic controller of the invention;
Fig. 5 is the structural schematic diagram two of a phonetic controller of the invention;
Fig. 6 is the structural schematic diagram of an electronic equipment of the invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Term " first ", " second ", " third " " in description and claims of this specification and above-mentioned attached drawing The (if present)s such as four " are for distinguishing similar object, without being used to describe specific sequence or precedence.It should manage The data that solution uses in this way can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to Here the sequence other than those of diagram or description is implemented.In addition, term " comprising " and " having " and their any deformation, Be intended to cover it is non-exclusive include, for example, containing the process of series of steps or unit, method, system, product or setting It is standby those of to be not necessarily limited to clearly to list step or unit, but may include not listing clearly or for these mistakes The intrinsic other steps of journey, method, product or equipment or unit.
Technical scheme of the present invention is described in detail with specifically embodiment below.These specific implementations below Example can be combined with each other, and same or analogous concept or process may be repeated no more in some embodiments.
The sound control method and device of the present invention can be applied to electric terminal, can be enumerated as onboard system, calculate Machine, tablet computer, mobile phone etc..
Fig. 1 is the flow diagram one of a sound control method of the invention.
Referring to FIG. 1, sound control method, including:
S101:Obtain the first voice messaging.
First voice messaging, it will be appreciated that for the information of the speech form of the first instruction of characterization, be specifically as follows user's hair While going out the voice for being used to indicate the first instruction collected voice messaging set, so, in addition to including characterization the Outside the voice messaging of one instruction, it is also possible to include other related or unrelated voice messagings.
S102:According to first voice messaging, the first instruction is obtained.
Instruction, effect can be understood as:Generation information can be corresponded to after receiving instruction by running the terminal of the method, or Output information, or execute corresponding program code etc., as long as can be had an impact to the operation of the soft and hardware of terminal, It is interpreted as instructing.
First instruction therein, it can be understood as what is obtained from the first voice messaging can be to the fortune of the soft and hardware of terminal The information that row has an impact.
S103:It is instructed according to described first, determines the subsequent instructions set of first instruction.
Wherein, the instruction in the subsequent instructions set of the first instruction is just to allow to execute after executing first instruction Instruction, i.e., the instruction in subsequent instructions set pass through step S103, the present embodiment with the execution of the first instruction for first condition Foundation can be provided for the continuous implementation of continual command.
S104:Execute first instruction.
In addition, step S103 and step S104 can first be implemented without determining precedence relationship with step S103, it can also Step S104 is first implemented, and can also be implemented simultaneously parallel.
S105:Obtain the second voice messaging.
Second voice messaging can be regarded as the information of the speech form of the second instruction of characterization, be specifically as follows user While sending out the voice for being used to indicate the second instruction collected voice messaging set, so, in addition to including characterization Outside the voice messaging of second instruction, it is also possible to include other related or unrelated voice messagings.
S106:Judge send out second voice messaging sender position whether with send out first voice messaging Sender position it is identical.
By step S106, it can ensure that continuous first instruction is sent out with the sender that the second instruction is the same position , to avoid influence of other voice messagings that other senders are sent out to instruction execution, to improve holding for voice control Row accuracy.
If so, implementation steps S107:The second instruction is obtained according to second voice messaging.Then implementation steps S108。
In addition, step S107 can just be implemented before step S106, so, it, can also be first real in addition to operation logic shown in Fig. 1 Step S107 is applied, then executes step S106, if the judging result of step S016 is yes, implementation steps S108.
S108 judges whether the second instruction is instruction in the subsequent instructions set.
If so, implementation steps S109:Execute second instruction.
Sound control method provided in this embodiment, if the position of sender by sending out second voice messaging with The position for sending out the sender of first voice messaging is identical, and is according to the second instruction that second voice messaging obtains Instruction in the subsequent instructions set then executes second instruction so that continuous first voice messaging and the second voice Information is determined as what the sender of same position was sent out, to may make the present invention only to execute what the sender of same position was sent out Instruction, and the instruction in subsequent instructions set is only executed, it avoids other voice messagings that other senders are sent out and instruction is held Capable influence, it is seen then that the present invention can effectively improve the execution accuracy of voice control.
Fig. 2 is the flow diagram two of a sound control method of the invention.
Referring to FIG. 2, sound control method, including:
S201:Obtain the first voice messaging.
First voice messaging, it will be appreciated that for the information of the speech form of the first instruction of characterization, be specifically as follows user's hair While going out the voice for being used to indicate the first instruction, collected voice messaging set, so, in addition to including characterization the Outside the voice messaging of one instruction, it is also possible to include other related or unrelated voice messagings.
The quantity of first voice messaging is N number of, and N number of first voice messaging is different N number of voice collection device It is collected simultaneously respectively, wherein N is integer, and N >=1.
Fig. 3 is the distribution schematic diagram of a voice acquisition device of the invention.
Referring to FIG. 3, the method is applied to car-mounted terminal, or when applied to the server being connect with car-mounted terminal, Position can be to being interpreted as interior seat, and car can set that there are four seat 32 and 6 voice collection devices 31.Sound is adopted The quantity of acquisition means 31 and distribution are not limited to shown in Fig. 3.If the wherein seat of main driving, i.e. upper left seat in four seats The sender of position has issued the voice of the first instruction of characterization, then the three of dress circle voice collection device 31 can collect sound Three voice collection devices 31 of sound, back row seat may also collect sound.However the size of collected sound, direction Etc. information be different, wherein each 31 collected sound of voice collection device is the first voice messaging.
According to the content of the first voice messaging itself, phonetic order can be therefrom extracted, it, can be to each in specific implementation process One voice messaging is integrated, and to obtain clearer information, and then therefrom extracts the first instruction, also can be from each first voice Most clearly voice messaging is selected in information, and then therefrom extracts the first instruction.The process instructed, can be for example by voice Partial data in information is compared with preset reference instruction pair, so that it is determined that immediate first reference instruction refers to as first It enables.
So, can be according to content implementation steps S202 itself after step S201:According to first voice messaging, Obtain the first instruction.
Instruction, effect can be understood as:Generation information can be corresponded to after receiving instruction by running the terminal of the method, or Output information, or execute corresponding program code etc., as long as can be had an impact to the operation of the soft and hardware of terminal, It is interpreted as instructing.
First instruction therein, it can be understood as what is obtained from the first voice messaging can be to the fortune of the soft and hardware of terminal The information that row has an impact.
First instruction can be enumerated as following one of arbitrary:
Trigger control flow first triggering command, such as user send out " breathe out, XX " can generate it is described first triggering Instruction, the influence generated to the operation of terminal soft and hardware are:The code for triggering control flow executes, in turn, can be according to control The pre-set specifications of flow processed export guidance information, such as " be very glad and serviced for you ", to indicate that user can input subsequent instructions. Subsequent instructions under the control flow can be regarded as the second instruction.
The second triggering command of specific flow is triggered, such as " making a phone call " that user sends out can generate second triggering Instruction, the influence generated to the operation of terminal soft and hardware are:The code for triggering specific flow executes, in turn, can be according to spy The pre-set specifications of constant current journey export guidance information, exportable " to say by taking the flow of dialing of " making a phone call " triggering as an example Name ", or " telephone number please be say " etc., with guiding the second voice messaging of input, the subsequent instructions under the specific flow, The second instruction is can be regarded as, such as determines the instruction of name and telephone number.
The third triggering command of specific run variation is triggered, for being applied to onboard system, action therein can refer to The operation variation of the arbitrary software of vehicle, hardware, for example, the switch of the switch of vehicle window, radio and frequency modulation, the volume adjustment of sound equipment Change etc. with cut song and the play mode of acoustic pattern variation, player.Under the triggering of third triggering command, it may need Parameter is adjusted, for example, sound equipment acoustic pattern adjustment why pattern, player play mode adjustment why Pattern, the amplitude of car window switch is how many etc., and the specific adjustment, can be understood as the effect of the second instruction.
The 4th triggering command that specific information is called and exported is triggered, for being applied to onboard system, information therein Oil mass, weather, navigation information etc. can be referred to.After the triggering of the 4th triggering command, it may be desirable to the information of output is closed, It can be the effect of the second instruction, further be refined to information furthermore, it is also possible to may require that, such as output Weather information, it may be possible to which one week weather, the further refinement of information refer to carrying out specific one day weather in one week thin The expansion of change, these functions also are understood as the effect of the second instruction.
Meanwhile by taking first triggering command and the second triggering command as an example, in feelings of the first triggering command as the first instruction Under condition, the second triggering command can be used as the second instruction under first instruction, and second instruction also can be used as other instructions First instruction, for example, third triggering command or the 4th triggering command the first instruction.As it can be seen that the first instruction is phase with the second instruction To, rather than uniquely determine.
However, in specific implementation process, the first instruction and the second instruction are not limited to illustrated example listed above, only It is two instructions continuously implemented to want it, i.e., the execution of the second instruction does not just depart from this hair premised on the execution of the first instruction Bright range.Meanwhile the present embodiment may also comprise the control program that same process is not directed toward in the first instruction with the second instruction, example Such as, for realizing window is closed, second instructs for realizing locking a door for the first instruction.
After step S202, it may include step S203:It is instructed according to described first, determines the follow-up finger of first instruction Enable set.
Wherein, the instruction in the subsequent instructions set of the first instruction is just to allow to execute after executing first instruction Instruction, i.e., the instruction in subsequent instructions set is premised on the execution of the first instruction, and by step S103, the present embodiment can be The continuous implementation of continual command provides foundation.
In one of which embodiment, after step S202, it may also include:S204:According to N number of first voice messaging, really Determine first position information.
First position information, it can be understood as the position of the sender for indicating to send out first voice messaging.
Location information, whether first position information or second position information, can be understood as characterization different location Different information, be specifically as follows the mark of position, such as automobile, arenas, classroom etc. have seat scene under, position can To refer to seat, under the scene that such as hospital, dormitory etc. have bed, position can refer to bed, at other without seat or bed Scene under, position can also refer to people standing position, it is seen then that as long as realizing the differentiation of position, retouched all without departing from the present invention The range stated.
According to the voice signal of the first voice messaging itself, due to the sound that the sender of different location is sent out, sound is adopted Acquisition means the parameter informations such as size, the direction of collected sound be different, the present embodiment, which also may determine therefrom that, sends out The position of the sender of one voice messaging.Wherein, the corresponding different parameter information of different location can be according to limited in scene Secondary experiment determination, such as:Under the scene of automobile, position is seat, then:Different seats that can be in the car send out sound respectively Sound is opposite between the parameter information of each collected sound of voice collection device in the case of being made a sound by different seats Either absolute figure can establish seat and the relativeness or the correspondence of absolute figure to relationship, so that answering When with the method for the present embodiment, seat information can be determined according to collected first voice messaging of each voice collection device.
After completing step S202 and step S204, it may also include:
S205:According to the first position information and location information and the correspondence for executing permission, described the is determined One location information corresponding first executes permission.
S206:Judge that the first instruction corresponding without departing from the first position information first executes permission.
If it is not, then can implementation steps S207:Execute first instruction.
Above step can be regarded as:It is closed according to the first position information and location information with the corresponding of permission is executed System determines that first instruction corresponding without departing from the first position information first executes permission.
If it is not, then can the information of feedback control unsuccessfully.It can be fed back by the information of the forms such as voice, word.
Execute permission, it can be understood as the range for describing executable instruction also is understood as description and forbids the instruction executed Range;If right of execution is limited the use of in the range of description executable instruction, refer to that the first instruction not can beyond permission is executed Instruction in the range of executing instruction;If right of execution limits the use of the range for forbidding the instruction executed in description, beyond execution permission Refer to that the first instruction is the instruction forbidden in the range of executing instruction.
Location information and the correspondence for executing permission, it can be understood as position can perform with it or forbid the instruction executed Range between correspondence.
It is corresponding with location information due to executing permission, it is different can so that the people in different location can correspond to The range of executable instruction or the range for forbidding the instruction executed, so that the matching degree higher of instruction and position, based on more High matching degree can be controlled more targetedly, be met individual requirements, and the user's body of user speech control is improved It tests.In addition, may also be advantageous for improving safety, avoid dangerous caused by dislocation control.
Such as:For rain brush, since it can influence the driving experience of driver, so, only the position of driver corresponds to Execution permission in allow the instruction for executing control wiper, or except driver in the corresponding execution permission of external position to forbid holding The instruction of row control wiper, the passenger that can avoid other seats blindly controls wiper and influences to drive, and then avoids pacifying The transmission of full hidden danger;Again for example:It for the window of back seat, due to its opening and closes, and the amplitude opened mainly influences Back-seat passengers' experiences by bus, so, the position of only back seat is corresponding execute the switch that allows to control back seat window in permission with And the amplitude opened, the personnel at other seats are unable to control, or can not targetedly be improved directly by voice control The seating of passenger is experienced with control.
In addition, the first execution instructed in step S207, can refer to the first instruction and start to execute, rather than refer in particular to execute Finish, in specific implementation process, the step S210 to step S216 after step S207, can start to execute also in the first instruction It is not carried out when finishing and comes into effect, if for example, the first instruction is first triggering command, first in entire control flow Instruction keeps executing;Step S210 to step S216 can also come into effect after the first instruction execution finishes, for example, If the first instruction is the 4th triggering command, after output information, that is, think that it is finished, then closing information or further exhibition The processes such as information are opened, can again be executed after being finished the first instruction.
After completing step S204, it may also include:
S208:According to the first position information and the correspondence of location information and voice collection device, institute is determined State the corresponding M voice collection device of first position information.
S209:It controls the M voice collection device and keeps work, M sound described in N number of voice collection device Voice collection device other than harvester is stopped.
M voice collection device, it can be understood as the voice collection device for acquiring the second voice messaging.
By step S208 and step S209, the present embodiment can be under the scene of continuous control, by reducing work The quantity of voice collection device reduces energy consumption, and reduces follow-up calculating second position information and/or obtain the difficulty of the second instruction, To improve the operational efficiency of subsequent process, simultaneously as selected M voice collection device is and first position information pair It answers, M voice collection device, to be conducive to carry out the sender for sending out the first voice messaging the sound collection of sound collection Device, this can enable the acquisition of the second voice messaging is more targeted, to which the operation for further decreasing subsequent process is difficult Degree, improves the operational efficiency of subsequent process.
In addition, for the same voice collection device, a location information can be corresponded only to, can also be corresponded to simultaneously Multiple location informations.It, can be arbitrary according to the position and experimental result of voice collection device in specific implementation process Match correspondence.
S210:Obtain the second voice messaging.
Second voice messaging can be regarded as the information of the speech form of the second instruction of characterization, be specifically as follows user While sending out the voice for being used to indicate the second instruction collected voice messaging set, so, in addition to including characterization Outside the voice messaging of second instruction, it is also possible to include other related or unrelated voice messagings.
The quantity of second voice messaging is M, and M the second voice messagings are M different voice collection devices It is collected simultaneously respectively, wherein M is integer, and, 1≤M≤N.
S211:According to M the second voice messagings, determine that second position information, the second position information are sent out for indicating Go out the seat of the sender of second voice messaging.
Second position information can refer to first position information and the description of seat information understands, can be regarded as being used for Expression sends out the position of the sender of second voice messaging.
It, can implementation steps S212 in the case where having been carried out step S211 and step S204:Judge the first position letter Whether breath is identical as the second position information.
If so, implementation steps S213:It determines the position for the sender for sending out second voice messaging and sends out described The position of the sender of first voice messaging is identical.
By step S213, hair of the first instruction under continuous control scene with the second instruction for same position can be ensured The instruction that the person of going out sends out avoids the influence of other voice messagings that other senders are sent out to instruction execution, it is seen then that the present invention The execution accuracy of voice control can be effectively improved.
S214:According to second voice messaging, the second instruction is obtained.
The process that second voice messaging obtains the second instruction is referred to the first voice messaging and obtains the process of the first instruction Understand.
S215:Judge whether the second instruction is instruction in the subsequent instructions set.
If so, implementation steps S216:Judge whether the second instruction holds beyond the second position information corresponding second Row permission;If step S216 judges no, implementation steps S217:Execute second instruction.
When step S215 is judged as NO or when step S216 is judged as YES, can feedback control failure information, can pass through The information of the forms such as voice, word is fed back.
In other optional embodiments, in step S214, during obtaining the second instruction, Ke Yiwei:It is only same When meet the instructions of the following conditions:In subsequent instructions set, and permission is executed without departing from second, just can be used as the second finger It enables, then the second instruction obtained after step S214 meets two conditions, without step S215 and step S216 Judged again, directly executable second instruction.
Sound control method provided in this embodiment, if the position of sender by sending out second voice messaging with The position for sending out the sender of first voice messaging is identical, and is according to the second instruction that second voice messaging obtains Instruction in the subsequent instructions set then executes second instruction so that continuous first voice messaging and the second voice Information is determined as what the sender of same position was sent out, to may make the present invention only to execute what the sender of same position was sent out Instruction, and the instruction in subsequent instructions set is only executed, it avoids other voice messagings that other senders are sent out and instruction is held Capable influence, it is seen then that the present invention can effectively improve the execution accuracy of voice control.
Fig. 4 is the structural schematic diagram one of a phonetic controller of the invention.
Referring to FIG. 4, phonetic controller, including:
First acquisition module 401, for obtaining the first voice messaging;
First instruction obtains module 402, for according to first voice messaging, obtaining the first instruction;
Subsequent instructions determining module 403 determines the subsequent instructions collection of first instruction for being instructed according to described first It closes, the instruction in the subsequent instructions set of first instruction is to execute the instruction for just allowing to execute after first instruction;
First instruction execution module 404, for executing first instruction;
Second acquisition module 405, for obtaining the second voice messaging;
Second instruction execution module 406, if the position of sender for sending out second voice messaging and sending out institute The position for stating the sender of the first voice messaging is identical, and according to second voice messaging obtain second instruction be it is described after Instruction in continuous instruction set then executes second instruction.
Phonetic controller provided in this embodiment, if the position of sender by sending out second voice messaging with The position for sending out the sender of first voice messaging is identical, and is according to the second instruction that second voice messaging obtains Instruction in the subsequent instructions set then executes second instruction so that continuous first voice messaging and the second voice Information is determined as what the sender of same position was sent out, to may make the present invention only to execute what the sender of same position was sent out Instruction, and the instruction in subsequent instructions set is only executed, it avoids other voice messagings that other senders are sent out and instruction is held Capable influence, it is seen then that the present invention can effectively improve the execution accuracy of voice control.
Fig. 5 is the structural schematic diagram two of a phonetic controller of the invention.
Referring to FIG. 5, phonetic controller, including:
First acquisition module 501, for obtaining the first voice messaging;
First instruction obtains module 502, for according to first voice messaging, obtaining the first instruction;
Subsequent instructions determining module 503 determines the subsequent instructions collection of first instruction for being instructed according to described first It closes, the instruction in the subsequent instructions set of first instruction is to execute the instruction for just allowing to execute after first instruction;
First instruction execution module 506, for executing first instruction;
Second acquisition module 509, for obtaining the second voice messaging;
Second instruction execution module 513, if the position of sender for sending out second voice messaging and sending out institute The position for stating the sender of the first voice messaging is identical, and according to second voice messaging obtain second instruction be it is described after Instruction in continuous instruction set then executes second instruction.
Optionally, the quantity of first voice messaging is N number of, and the quantity of second voice messaging is M, and N number of First voice messaging is that different N number of voice collection devices is collected simultaneously respectively, and M the second voice messagings are different M A voice collection device is collected simultaneously respectively;Wherein, N, M are integer, and N >=1,1≤M≤N;
Described device further includes:
First position determining module 504, for according to N number of first voice messaging, determining first position information, described first Location information is used to indicate to send out the position of the sender of first voice messaging;
Second position determining module 510, for according to M the second voice messagings, determining second position information, described second Location information is used to indicate to send out the position of the sender of second voice messaging;
The identical determining module 511 in position, if identical as the second position information for the first position information, really Surely the position for sending out the sender of second voice messaging is identical as the position of sender of the first voice messaging is sent out.
Optionally, the device further includes:
M device determining module 507, for being filled with sound collection according to the first position information and location information The correspondence set determines the corresponding M voice collection device of the first position information;
Sound collection control module 508 controls the M voice collection device and keeps work, N number of sound collection dress Voice collection device other than M voice collection device described in setting is stopped.
The device further includes:
First authority module 505, for corresponding with execution permission according to the first position information and location information Relationship determines that first instruction corresponding without departing from the first position information first executes permission.
The device further includes:
Second authority module 512, for corresponding with execution permission according to the second position information and location information Relationship determines that second instruction corresponding without departing from the second position information second executes permission.
Phonetic controller provided in this embodiment, if the position of sender by sending out second voice messaging with The position for sending out the sender of first voice messaging is identical, and is according to the second instruction that second voice messaging obtains Instruction in the subsequent instructions set then executes second instruction so that continuous first voice messaging and the second voice Information is determined as what the sender of same position was sent out, to may make the present invention only to execute what the sender of same position was sent out Instruction, and the instruction in subsequent instructions set is only executed, it avoids other voice messagings that other senders are sent out and instruction is held Capable influence, it is seen then that the present invention can effectively improve the execution accuracy of voice control.
Fig. 6 is the structural schematic diagram of an electronic equipment of the invention.
Referring to FIG. 6, the present embodiment additionally provides a kind of electronic equipment 60 includes:Processor 61 and memory 62;Its In
Memory 62, for storing computer program, which can also be flash (flash memory).
Processor 61, for executing executing instruction for memory storage, to realize each step in above-mentioned coding method. The specific associated description that may refer in previous methods embodiment.
Optionally, memory 62 can also be integrated with processor 61 either independent.
When device except the memory 62 is independently of processor 61, the electronic equipment 60 can also include:
Bus 63, for connecting the memory 62 and processor 61.
The present embodiment also provides a kind of readable storage medium storing program for executing, is stored with and executes instruction in readable storage medium storing program for executing, when electronics end When at least one processor at end executes this and executes instruction, electric terminal executes the method that above-mentioned various embodiments provide.
The present embodiment also provides a kind of program product, which includes executing instruction, this is executed instruction, and be stored in can It reads in storage medium.At least one processor of electric terminal can read this from readable storage medium storing program for executing and execute instruction, and at least one A processor executes this and executes instruction so that electric terminal implements the method that above-mentioned various embodiments provide.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (14)

1. a kind of sound control method, which is characterized in that including:
The first voice messaging is obtained, and according to first voice messaging, obtains the first instruction;
It is instructed according to described first, determines the subsequent instructions set of first instruction, the subsequent instructions collection of first instruction Instruction in conjunction is to execute the instruction for just allowing to execute after first instruction;
Execute first instruction;
Obtain the second voice messaging;
If sending out the position of the sender of second voice messaging and sending out the position of the sender of first voice messaging It is identical, and be the instruction in the subsequent instructions set according to the second instruction that second voice messaging obtains, then execute institute State the second instruction.
2. method according to claim 1, which is characterized in that the quantity of first voice messaging is N number of, second language The quantity of message breath is M, and N number of first voice messaging be different N number of voice collection devices respectively while collected, M A second voice messaging is that M different voice collection devices is collected simultaneously;Wherein, N, M are integer, and N >=1,1≤ M≤N;
After the first voice messaging of the acquisition, further include:According to N number of first voice messaging, first position information is determined, it is described First position information is used to indicate to send out the position of the sender of first voice messaging;
After the second voice messaging of the acquisition, further include:According to M the second voice messagings, second position information is determined, it is described Second position information is used to indicate to send out the position of the sender of second voice messaging;
If the first position information is identical as the second position information, it is determined that send out sending out for second voice messaging The position of person is identical as the position of sender of the first voice messaging is sent out.
3. according to the method described in claim 2, it is characterized in that, described according to N number of first voice messaging, first position is determined After information, further include:
According to the first position information and the correspondence of location information and voice collection device, described first is determined Confidence ceases the corresponding M voice collection device;
It controls the M voice collection device and keeps work, M voice collection device described in N number of voice collection device Voice collection device in addition is stopped.
4. method according to any one of claims 1 to 3, which is characterized in that before execution first instruction, also Including:
According to the first position information and location information and the correspondence for executing permission, first instruction is determined not Permission is executed beyond the first position information corresponding first.
5. method according to any one of claims 1 to 3, which is characterized in that before execution second instruction, also Including:
According to the second position information and location information and the correspondence for executing permission, second instruction is determined not Permission is executed beyond the second position information corresponding second.
6. method according to any one of claims 1 to 3, which is characterized in that be applied to car-mounted terminal, or applied to The server of car-mounted terminal connection.
7. a kind of phonetic controller, which is characterized in that including:
First acquisition module, for obtaining the first voice messaging;
First instruction obtains module, for according to first voice messaging, obtaining the first instruction;
Subsequent instructions determining module, it is described for according to first instruction, determining the subsequent instructions set of first instruction Instruction in the subsequent instructions set of first instruction is to execute the instruction for just allowing to execute after first instruction;
First instruction execution module, for executing first instruction;
Second acquisition module, for obtaining the second voice messaging;
Second instruction execution module, if the position of sender for sending out second voice messaging and sending out first language The position of the sender of message breath is identical, and is the subsequent instructions collection according to the second instruction that second voice messaging obtains Instruction in conjunction then executes second instruction.
8. device according to claim 7, which is characterized in that the quantity of first voice messaging be it is N number of, described second The quantity of voice messaging is M, and N number of first voice messaging is that different N number of voice collection devices is collected simultaneously respectively, M the second voice messagings are that M different voice collection devices is collected simultaneously respectively;Wherein, N, M are integer, and N >= 1,1≤M≤N;
Described device further includes:
First position determining module, for according to N number of first voice messaging, determining first position information, the first position letter The position of sender of the breath for indicating to send out first voice messaging;
Second position determining module, for according to M the second voice messagings, determining second position information, the second confidence The position of sender of the breath for indicating to send out second voice messaging;
The identical determining module in position, if identical as the second position information for the first position information, it is determined that send out The position of the sender of second voice messaging is identical as the position of sender of the first voice messaging is sent out.
9. device according to claim 7, which is characterized in that further include:
M device determining module, for corresponding with voice collection device according to the first position information and location information Relationship determines the corresponding M voice collection device of the first position information;
Sound collection control module keeps work, N number of voice collection device for controlling the M voice collection device Described in voice collection device other than M voice collection device be stopped.
10. device according to any one of claims 7 to 9, which is characterized in that further include:
First authority module, for the correspondence according to the first position information and location information and execution permission, really Fixed first instruction corresponding without departing from the first position information first executes permission.
11. device according to any one of claims 7 to 9, which is characterized in that further include:
Second authority module, for the correspondence according to the second position information and location information and execution permission, really Fixed second instruction corresponding without departing from the second position information second executes permission.
12. device according to any one of claims 7 to 9, which is characterized in that be applied to car-mounted terminal, or be applied to The server being connect with car-mounted terminal.
13. a kind of electronic equipment, which is characterized in that including:Memory, processor and computer program, the computer journey Sequence is stored in the memory, and the processor runs the computer program perform claim and requires 1 to 6 any one of them Sound control method.
14. a kind of storage medium, which is characterized in that be stored with computer program, the computer program is performed realization power Profit requires 1 to 6 any one of them sound control method.
CN201810135679.3A 2018-02-09 2018-02-09 Sound control method and device and electronic equipment and storage medium Pending CN108376058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810135679.3A CN108376058A (en) 2018-02-09 2018-02-09 Sound control method and device and electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810135679.3A CN108376058A (en) 2018-02-09 2018-02-09 Sound control method and device and electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN108376058A true CN108376058A (en) 2018-08-07

Family

ID=63017527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810135679.3A Pending CN108376058A (en) 2018-02-09 2018-02-09 Sound control method and device and electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108376058A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838292A (en) * 2019-09-29 2020-02-25 广东美的白色家电技术创新中心有限公司 Voice interaction method, electronic equipment and computer storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929666A (en) * 2014-04-14 2014-07-16 深圳市三脚蛙科技有限公司 Continuous voice interaction method and device
CN104966514A (en) * 2015-04-30 2015-10-07 北京车音网科技有限公司 Speech recognition method and vehicle-mounted device
CN105389318A (en) * 2014-09-09 2016-03-09 联想(北京)有限公司 Information processing method and electronic equipment
CN105654953A (en) * 2016-03-22 2016-06-08 美的集团股份有限公司 Voice control method and system
US20160163313A1 (en) * 2014-12-08 2016-06-09 Lenovo (Beijing) Limited Information processing method and electronic device
CN105913844A (en) * 2016-04-22 2016-08-31 乐视控股(北京)有限公司 Vehicle-mounted voice acquisition method and device
CN105976815A (en) * 2016-04-22 2016-09-28 乐视控股(北京)有限公司 Vehicle voice recognition method and vehicle voice recognition device
CN107145329A (en) * 2017-04-10 2017-09-08 北京猎户星空科技有限公司 Apparatus control method, device and smart machine

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929666A (en) * 2014-04-14 2014-07-16 深圳市三脚蛙科技有限公司 Continuous voice interaction method and device
CN105389318A (en) * 2014-09-09 2016-03-09 联想(北京)有限公司 Information processing method and electronic equipment
US20160163313A1 (en) * 2014-12-08 2016-06-09 Lenovo (Beijing) Limited Information processing method and electronic device
CN104966514A (en) * 2015-04-30 2015-10-07 北京车音网科技有限公司 Speech recognition method and vehicle-mounted device
CN105654953A (en) * 2016-03-22 2016-06-08 美的集团股份有限公司 Voice control method and system
CN105913844A (en) * 2016-04-22 2016-08-31 乐视控股(北京)有限公司 Vehicle-mounted voice acquisition method and device
CN105976815A (en) * 2016-04-22 2016-09-28 乐视控股(北京)有限公司 Vehicle voice recognition method and vehicle voice recognition device
CN107145329A (en) * 2017-04-10 2017-09-08 北京猎户星空科技有限公司 Apparatus control method, device and smart machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110838292A (en) * 2019-09-29 2020-02-25 广东美的白色家电技术创新中心有限公司 Voice interaction method, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN108961802A (en) The dispatching method and user terminal of automatic driving vehicle
CN110660397A (en) Dialogue system, vehicle, and method for controlling vehicle
CN105225660B (en) The adaptive method and system of voice system
CN109545219A (en) Vehicle-mounted voice exchange method, system, equipment and computer readable storage medium
JP4659754B2 (en) Method and system for interaction between vehicle driver and multiple applications
US7991618B2 (en) Method and device for outputting information and/or status messages, using speech
EP3620319B1 (en) Method for operating a virtual assistant for a motor vehicle and corresponding backend system
CN109920410B (en) Apparatus and method for determining reliability of recommendation based on environment of vehicle
CN111354363A (en) Vehicle-mounted voice recognition method and device, readable storage medium and electronic equipment
CN106218557B (en) Vehicle-mounted microphone with voice recognition control function
CN106471573A (en) Speech recognition equipment and speech recognition system
US20190287520A1 (en) Dialog processing system, vehicle having the same, dialog processing method
DE10008226C2 (en) Voice control device and voice control method
CN109017204A (en) In-car air quality adjusting method, system, equipment and storage medium
CN104603871A (en) Method and device for operating speech-controlled information system for vehicle
CN110556113A (en) Vehicle control method based on voiceprint recognition and cloud server
US20200319841A1 (en) Agent apparatus, agent apparatus control method, and storage medium
CN106379262B (en) Vehicle-mounted Bluetooth microphone with voice recognition control function
CN114482768B (en) Wind vibration eliminating method, device, equipment and storage medium
CN108376058A (en) Sound control method and device and electronic equipment and storage medium
US20230317072A1 (en) Method of processing dialogue, user terminal, and dialogue system
CN109017559A (en) The method and apparatus for generating prompt information
CN103287363B (en) A kind of Human-machine interface system for automobile and automobile
CN106364428A (en) Vehicle control method and device
CN116246630A (en) Voice control method and system for vehicle, vehicle 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180807

RJ01 Rejection of invention patent application after publication