CN107591152A - Sound control method, device and its equipment based on earphone - Google Patents

Sound control method, device and its equipment based on earphone Download PDF

Info

Publication number
CN107591152A
CN107591152A CN201710764749.7A CN201710764749A CN107591152A CN 107591152 A CN107591152 A CN 107591152A CN 201710764749 A CN201710764749 A CN 201710764749A CN 107591152 A CN107591152 A CN 107591152A
Authority
CN
China
Prior art keywords
earphone
target device
control
control instruction
instruction
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
CN201710764749.7A
Other languages
Chinese (zh)
Other versions
CN107591152B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710764749.7A priority Critical patent/CN107591152B/en
Publication of CN107591152A publication Critical patent/CN107591152A/en
Application granted granted Critical
Publication of CN107591152B publication Critical patent/CN107591152B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Headphones And Earphones (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention proposes a kind of sound control method based on earphone, device and its equipment, wherein, method is applied to earphone, and within a preset range, method includes for the distance between earphone and user:Earphone control instruction is received, starts Voice command pattern;The voice messaging that user sends is received, speech analysis acquisition target device is carried out to voice messaging and operation is intended to;Default instruction database is inquired about to obtain with operating the corresponding control instruction of intention;Communication link is established with target device, control instruction is sent to target device by communication link, so that target device carries out corresponding operation processing according to control instruction.Thus, interference of the ambient noise to Voice command is avoided, user is not considered near field or far-field communication, improves accuracy and the flexibility of Voice command.

Description

Sound control method, device and its equipment based on earphone
Technical field
The present invention relates to field of artificial intelligence, more particularly to a kind of sound control method based on earphone, device and Its equipment.
Background technology
Artificial intelligence (Artificial Intelligence), english abbreviation AI.It is research, develop for simulating, Extension and the extension intelligent theory of people, method, a new technological sciences of technology and application system.Artificial intelligence is to calculate One branch of machine science, it attempts to understand essence of intelligence, and produce it is a kind of it is new can be in a manner of human intelligence be similar The intelligence machine made a response, the research in the field include robot, speech recognition, image recognition, natural language processing and specially Family's system etc..Wherein, the most important aspect of artificial intelligence is exactly speech recognition technology.
In correlation technique, user can send phonetic control command to corresponding target device according to their needs, so that Corresponding equipment carries out corresponding operation processing according to phonetic control command.But current Voice command mode is due to periphery The noisy and noise of environment, large effect can be produced to phonetic incepting and identification, reduce the accuracy of speech recognition, have impact on Follow-up response operation, reduces treatment effeciency.
The content of the invention
The purpose of the present invention is intended to one of technical problem at least solving in correlation technique to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of sound control method based on earphone, it is existing for solving There is Voice command mode in technology that due to the noisy and noise of surrounding enviroment, larger shadow can be produced to phonetic incepting and identification Ring, reduce the accuracy of speech recognition, have impact on follow-up response operation, the problem of reducing treatment effeciency.
Second object of the present invention is to propose a kind of phonetic controller based on earphone.
Third object of the present invention is to propose a kind of computer equipment.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
The 5th purpose of the present invention is to propose a kind of computer program product.
For the above-mentioned purpose, first aspect present invention embodiment proposes a kind of sound control method based on earphone, institute State method and be applied to earphone, the distance between the earphone and user within a preset range, the described method comprises the following steps:Connect Earphone control instruction is received, starts Voice command pattern;The voice messaging that the user sends is received, the voice messaging is carried out Speech analysis obtains target device and operation is intended to;Inquire about default instruction database and obtain and refer to corresponding control of operation intention Order;Communication link is established with the target device, the control instruction is sent to the target device by the communication link, So that the target device carries out corresponding operation processing according to the control instruction.
The sound control method based on earphone of the embodiment of the present invention, by receiving earphone control instruction, start voice control Molding formula, the voice messaging that user sends then is received, and speech analysis is carried out to voice messaging and obtains target device and operation It is intended to, then inquires about default instruction database and obtain with operating the corresponding control instruction of intention, finally establish and communicate with target device Link, control instruction is sent to target device by communication link, so that target device is grasped accordingly according to control instruction Deal with.Thus, interference of the ambient noise to Voice command is avoided, user is not considered near field or far-field communication, Improve accuracy and the flexibility of Voice command.
For the above-mentioned purpose, second aspect of the present invention embodiment proposes a kind of phonetic controller based on earphone, institute State device and be applied to earphone, within a preset range, described device includes for the distance between the earphone and user:Starting module, For receiving earphone control instruction, start Voice command pattern;Parsing module, the voice letter sent for receiving the user Breath, speech analysis acquisition target device is carried out to the voice messaging and operation is intended to;Enquiry module, for inquiring about default finger Storehouse is made to obtain and the operation corresponding control instruction of intention;Processing module, for establishing communication link with the target device, The control instruction is sent to the target device by the communication link, so that the target device refers to according to the control Order carries out corresponding operation processing.
The phonetic controller based on earphone of the embodiment of the present invention, by receiving earphone control instruction, start voice control Molding formula, the voice messaging that user sends then is received, and speech analysis is carried out to voice messaging and obtains target device and operation It is intended to, then inquires about default instruction database and obtain with operating the corresponding control instruction of intention, finally establish and communicate with target device Link, control instruction is sent to target device by communication link, so that target device is grasped accordingly according to control instruction Deal with.Thus, interference of the ambient noise to Voice command is avoided, user is not considered near field or far-field communication, Improve accuracy and the flexibility of Voice command.
For the above-mentioned purpose, third aspect present invention embodiment proposes a kind of computer equipment, including memory, processing Device and storage on a memory and the computer program that can run on a processor, during the computing device described program, reality Now as a kind of sound control method based on earphone, methods described include:Earphone control instruction is received, starts Voice command mould Formula;The voice messaging that the user sends is received, speech analysis acquisition target device is carried out to the voice messaging and operation is anticipated Figure;Default instruction database is inquired about to obtain and the operation corresponding control instruction of intention;Communication chain is established with the target device Road, the control instruction is sent to the target device by the communication link, so that the target device is according to the control System instruction carries out corresponding operation processing.
To achieve these goals, fourth aspect present invention embodiment proposes a kind of computer-readable storage of non-transitory Medium, when the instruction in the storage medium is performed by processor, enabling perform a kind of voice control based on earphone Method processed, methods described include:Earphone control instruction is received, starts Voice command pattern;Receive the voice that the user sends Information, speech analysis is carried out to the voice messaging and obtains target device and operation intention;Inquire about default instruction database obtain with Control instruction corresponding to the operation intention;Communication link is established with the target device, by the communication link to described Target device sends the control instruction, so that the target device carries out corresponding operation processing according to the control instruction.
To achieve these goals, fifth aspect present invention embodiment proposes a kind of computer program product, when described When instruction processing unit in computer program product performs, a kind of sound control method based on earphone, methods described bag are performed Include:Earphone control instruction is received, starts Voice command pattern;The voice messaging that the user sends is received, the voice is believed Breath carries out speech analysis acquisition target device and operation is intended to;It is corresponding with the operation intention to inquire about default instruction database acquisition Control instruction;Communication link is established with the target device, the control is sent to the target device by the communication link System instruction, so that the target device carries out corresponding operation processing according to the control instruction.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet of the sound control method according to an embodiment of the invention based on earphone;
Fig. 2 is the schematic flow sheet of the sound control method in accordance with another embodiment of the present invention based on earphone;
Fig. 3 is the structural representation of the phonetic controller according to an embodiment of the invention based on earphone;
Fig. 4 is the structural representation of the phonetic controller in accordance with another embodiment of the present invention based on earphone
Fig. 5 is the structural representation according to the phonetic controller based on earphone of another embodiment of the invention;
Fig. 6 is the structural representation of computer equipment according to an embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the sound control method based on earphone, device and its equipment of the embodiment of the present invention are described.
At present, as interactive voice controls the development of service, user can be according to their needs to corresponding target device Phonetic control command is sent, so that corresponding equipment carries out corresponding operation processing according to phonetic control command.But current Voice command mode can be produced large effect to phonetic incepting and identification, be reduced language due to the noisy and noise of surrounding enviroment The accuracy of sound identification, follow-up response operation is have impact on, reduces treatment effeciency.
, can be real by earphone the embodiments of the invention provide the sound control method based on earphone for this problem Now to the Voice command of target device, avoid interference of the ambient noise to Voice command, allow user do not consider near field or Person's far-field communication, improve accuracy and the flexibility of Voice command.It is specific as follows:
Fig. 1 is the schematic flow sheet of the sound control method according to an embodiment of the invention based on earphone.Such as Fig. 1 institutes Show, being somebody's turn to do the sound control method based on earphone includes:
It should be noted that the sound control method based on earphone of the embodiment of the present invention is applied to earphone, earphone is with using The distance between family is within a preset range.Wherein, the type of earphone can need to carry out selection setting according to practical application, such as One or more in wired earphone, bluetooth earphone etc..
Step 101, earphone control instruction is received, starts Voice command pattern.
Specifically, in actual applications, in order to facilitate user's operational control, need to carry out voice control by earphone in user When processed, a variety of modes can be taken to send earphone control instruction and start Voice command pattern, user can be according to practical application Need or operating habit etc. carries out selection setting, be illustrated below:
As a kind of example, earphone control instruction is sent by default related key on earphone.As another example Sent by modes such as the application program on the terminal devices such as the mobile phone with the wired either wireless connection of earphone or click keys Earphone control instruction.
Step 102, the voice messaging that user sends is received, carrying out speech analysis to voice messaging obtains target device and behaviour Work is intended to.
Step 103, default instruction database is inquired about to obtain with operating the corresponding control instruction of intention.
Specifically, after Voice command pattern is started, user can input voice information as needed, so as to receive use The voice messaging that family is sent, a variety of modes can be used to carry out voice messaging, and speech analysis obtains target device and operation is anticipated Figure, can need to carry out selection setting according to practical application, be illustrated below:
The first example, voice messaging is converted into text message, cutting word processing is then carried out to text message, extraction is closed Key word, it is identified and obtains target device and operation intention.
Second of example, voice messaging is inputted in preset algorithm and is handled to obtain target device and operation intention.
Step 104, communication link is established with target device, control instruction is sent to target device by communication link, with Target device is set to carry out corresponding operation processing according to control instruction.
Specifically, it is determined that, it is necessary to establish linkup transmit control with target device after obtaining target device and operation intention Instruction, so that target device carries out corresponding operation processing according to control instruction.It is understood that its connection of different earphones Mode is different, is illustrated below:
The first example, earphone are wireless headset, and bluetooth communications link or local area network communication chain are established with target device Road, control instruction is sent by bluetooth communications link or local area network communication chain road direction target device.
Second of example, earphone are wired earphone, and wired earphone is connected with terminal device, by tone frequency channel wire to terminal device Target device and control instruction are sent, so that the communication link that terminal device is established between target device, and by control instruction It is sent to target device.
In summary, the sound control method based on earphone of the embodiment of the present invention, by receiving earphone control instruction, is opened Dynamic Voice command pattern, the voice messaging that user sends then is received, and speech analysis acquisition target is carried out to voice messaging and is set Standby and operation is intended to, then inquire about default instruction database obtain with the operation corresponding control instruction of intention, finally and target device Communication link is established, control instruction is sent to target device by communication link, so that target device is carried out according to control instruction Corresponding operation processing.Thus, interference of the ambient noise to Voice command is avoided, user is not considered near field or remote Field communication, improves accuracy and the flexibility of Voice command.
Based on above-described embodiment, in order to further improve the accuracy of Voice command and flexibility, and the external world is avoided Interference of the noise to Voice command, it is necessary to relevant treatment operations be carried out, specifically with reference to Fig. 2 before earphone control instruction is received It is described as follows:
Fig. 2 is the schematic flow sheet of the sound control method in accordance with another embodiment of the present invention based on earphone.Such as Fig. 2 It is shown, before step 101, in addition to:
Step 201, current scene characteristic and control condition are obtained.
Specifically, such as indoor current scene characteristic, outdoor, meeting and rest etc. can be obtained, can also be obtained Control condition user inputs distance of target device etc..
Step 202, the acoustic information in preset period of time is gathered, analyzes the frequency and amplitude extraction sound characteristic of acoustic information Parameter.
Specifically, the acoustic information in preset period of time can be gathered by related sound collecting device, wherein, preset period of time It can be needed to carry out selection setting according to practical application, the frequency of acoustic information is then analyzed by modes such as preset algorithm, models Rate and amplitude extraction sound characteristic parameter.
Step 203, noise threshold corresponding with scene characteristic and control condition is obtained from default noise jamming database Value condition.
Step 204, if judging to know that sound characteristic parameter meets noise threshold condition, judgement, which is known, meets that noise triggers Condition, send earphone control instruction.
Specifically, noise threshold corresponding to different scene characteristic and control condition is stored in noise jamming database in advance Value condition can be noise threshold condition corresponding to the form storage scenarios feature and control condition of mapping table or logical Cross input scene feature and control condition and obtain corresponding noise threshold condition to preset algorithm.
Further, judge whether sound characteristic parameter meets noise threshold condition, earphone control is sent when meeting and is referred to Order.Can when that is there was only the noise threshold condition that sound characteristic parameter meets current scene characteristic and control condition Send earphone control instruction, so as to avoid interference of the ambient noise to Voice command, allow user do not consider near field or Far-field communication.
It should be noted that if sound characteristic parameter is unsatisfactory for noise threshold condition, earphone control instruction is not sent.
In summary, the sound control method based on earphone of the embodiment of the present invention, by obtaining current scene characteristic And control condition, the acoustic information in preset period of time is then gathered, and analyze frequency and the amplitude extraction sound spy of acoustic information Parameter is levied, noise threshold bar corresponding with scene characteristic and control condition is then obtained from default noise jamming database Part, finally judge to know and meet noise trigger condition when judging to know that sound characteristic parameter meets noise threshold condition, send Earphone control instruction.Thus, interference of the ambient noise to Voice command is avoided, user is not considered near field or far field Communication, improves accuracy and the flexibility of Voice command.
Based on above-described embodiment, when earphone is connected with control panel, control corresponding with least one equipment can be shown Function processed, and the response message fed back according to target device show real-time state of a control.For example it can be understood with control panel Control function corresponding to equipment, to carry out accurate Voice command, while target can also be understood in time by control panel The response message of equipment feedback, it is determined that current state of a control, further facilitates user's operation, improve Consumer's Experience.
In order to realize above-described embodiment, the present invention also proposes a kind of phonetic controller based on earphone, and Fig. 3 is according to this The structural representation of the phonetic controller based on earphone of invention one embodiment.As shown in figure 3, should the voice based on earphone Control device includes:Starting module 11, parsing module 12, enquiry module 13 and processing module 14.
It should be noted that the sound control method based on earphone of the embodiment of the present invention is applied to earphone, earphone is with using The distance between family is within a preset range.Wherein, the type of earphone can need to carry out selection setting according to practical application, such as One or more in wired earphone, bluetooth earphone etc..
Wherein, starting module 11, for receiving earphone control instruction, Voice command pattern is started.
Parsing module 12, for receiving the voice messaging of user's transmission, speech analysis is carried out to voice messaging and obtains target Equipment and operation are intended to.
Enquiry module 13, obtained for inquiring about default instruction database with operating the corresponding control instruction of intention.
Processing module 14, for establishing communication link with target device, sent and controlled to target device by communication link Instruction, so that target device carries out corresponding operation processing according to control instruction.
Specifically, it is determined that, it is necessary to establish linkup transmit control with target device after obtaining target device and operation intention Instruction, so that target device carries out corresponding operation processing according to control instruction.It is understood that its connection of different earphones Mode is different, is illustrated below:
The first example, earphone are wireless headset, and processing module 14 is specifically used for establishing Bluetooth communication chain with target device Road or local area network communication link, control is sent by bluetooth communications link or local area network communication chain road direction target device and referred to Order.
Second of example, earphone are wired earphone, and wired earphone is connected with terminal device, and processing module 14 is specifically additionally operable to Target device and control instruction are sent to terminal device by tone frequency channel wire, so that terminal device is established and leading between target device Believe link, and control instruction is sent to target device.
It should be noted that the foregoing explanation to the sound control method embodiment based on earphone is also applied for the reality The phonetic controller based on earphone of example is applied, here is omitted.
In summary, the phonetic controller based on earphone of the embodiment of the present invention, by receiving earphone control instruction, is opened Dynamic Voice command pattern, the voice messaging that user sends then is received, and speech analysis acquisition target is carried out to voice messaging and is set Standby and operation is intended to, then inquire about default instruction database obtain with the operation corresponding control instruction of intention, finally and target device Communication link is established, control instruction is sent to target device by communication link, so that target device is carried out according to control instruction Corresponding operation processing.Thus, interference of the ambient noise to Voice command is avoided, user is not considered near field or remote Field communication, improves accuracy and the flexibility of Voice command.
Fig. 4 is the structural representation of the phonetic controller in accordance with another embodiment of the present invention based on earphone.Such as Fig. 4 It is shown, on the basis of Fig. 1, in addition to:First acquisition module 15, collection analysis module 16, the second acquisition module 17 and transmission Module 18.
Wherein, the first acquisition module 15, for obtaining current scene characteristic and control condition.
Collection analysis module 16, for gathering the acoustic information in preset period of time, analyze the frequency and amplitude of acoustic information Extract sound characteristic parameter.
Second acquisition module 17, for being obtained and scene characteristic and control condition pair from default noise jamming database The noise threshold condition answered.
Sending module 18, for judging to know that satisfaction is made an uproar when judging to know that sound characteristic parameter meets noise threshold condition Sound trigger condition, send earphone control instruction.
It should be noted that the foregoing explanation to the sound control method embodiment based on earphone is also applied for the reality The phonetic controller based on earphone of example is applied, here is omitted.
In summary, the phonetic controller based on earphone of the embodiment of the present invention, by obtaining current scene characteristic And control condition, the acoustic information in preset period of time is then gathered, and analyze frequency and the amplitude extraction sound spy of acoustic information Parameter is levied, noise threshold bar corresponding with scene characteristic and control condition is then obtained from default noise jamming database Part, finally judge to know and meet noise trigger condition when judging to know that sound characteristic parameter meets noise threshold condition, send Earphone control instruction.Thus, interference of the ambient noise to Voice command is avoided, user is not considered near field or far field Communication, improves accuracy and the flexibility of Voice command.
Based on above-described embodiment, when earphone is connected with control panel, as shown in figure 5, on the basis of Fig. 3, in addition to: Display module 19.
Specifically, display module 19 can show control function corresponding with least one equipment, and be set according to target The response message of standby feedback shows real-time state of a control.For example control function corresponding to equipment can be understood with control panel, with Just accurate Voice command is carried out, while the response message of target device feedback can also be understood in time by control panel, really State of a control before settled, user's operation is further facilitated, improves Consumer's Experience.
The present invention proposes a kind of computer equipment, and Fig. 6 is the structure of computer equipment according to an embodiment of the invention Schematic diagram.As shown in fig. 6, memory 21, processor 22 and being stored in the meter that can be run on memory 21 and on processor 22 Calculation machine program.
Processor 22 realizes the sound control method based on earphone provided in above-described embodiment when performing described program.
Further, computer equipment also includes:
Communication interface 23, for the communication between memory 21 and processor 22.
Memory 21, for depositing the computer program that can be run on processor 22.
Memory 21 may include high-speed RAM memory, it is also possible to also including nonvolatile memory (non-volatile Memory), a for example, at least magnetic disk storage.
Processor 22, the Voice command side based on earphone described in above-described embodiment is realized during for performing described program Method.
If memory 21, processor 22 and the independent realization of communication interface 23, communication interface 21, memory 21 and processing Device 22 can be connected with each other by bus and complete mutual communication.The bus can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, external equipment interconnection (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc..The bus can be divided into address bus, data/address bus, controlling bus etc.. For ease of representing, only represented in Fig. 6 with a thick line, it is not intended that an only bus or a type of bus.
Optionally, in specific implementation, if memory 21, processor 22 and communication interface 23, are integrated in chip piece Upper realization, then memory 21, processor 22 and communication interface 23 can complete mutual communication by internal interface.
Processor 22 is probably a central processing unit (Central Processing Unit, referred to as CPU), or Specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or by with It is set to the one or more integrated circuits for implementing the embodiment of the present invention.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, when described When instruction in storage medium is performed by processor, enabling a kind of sound control method based on earphone is performed, it is described Method includes:Earphone control instruction is received, starts Voice command pattern;The voice messaging that user sends is received, to voice messaging Carry out speech analysis and obtain target device and operation intention;Default instruction database acquisition control corresponding with operation intention is inquired about to refer to Order;Establish communication link with target device, by communication link to target device send control instruction so that target device according to Control instruction carries out corresponding operation processing.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when the computer program produces When instruction processing unit in product performs, a kind of sound control method based on earphone is performed, methods described includes:Receive earphone control System instruction, starts Voice command pattern;The voice messaging that user sends is received, carrying out speech analysis to voice messaging obtains target Equipment and operation are intended to;Default instruction database is inquired about to obtain with operating the corresponding control instruction of intention;Established with target device logical Believe link, control instruction is sent to target device by communication link, so that target device is carried out accordingly according to control instruction Operation is handled.
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 the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize custom logic function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware with another embodiment, following skill well known in the art can be used Any one of art or their combination are realized:With the logic gates for realizing logic function to data-signal from Logic circuit is dissipated, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (13)

1. a kind of sound control method based on earphone, it is characterised in that methods described is applied to earphone, the earphone and user The distance between within a preset range, the described method comprises the following steps:
Earphone control instruction is received, starts Voice command pattern;
The voice messaging that the user sends is received, speech analysis acquisition target device is carried out to the voice messaging and operation is anticipated Figure;
Default instruction database is inquired about to obtain and the operation corresponding control instruction of intention;
Communication link is established with the target device, sending the control to the target device by the communication link refers to Order, so that the target device carries out corresponding operation processing according to the control instruction.
2. the method as described in claim 1, it is characterised in that before the reception earphone control instruction, in addition to:
Obtain current scene characteristic and control condition;
The acoustic information in preset period of time is gathered, analyzes the frequency and amplitude extraction sound characteristic parameter of the acoustic information;
Noise threshold condition corresponding with the scene characteristic and control condition is obtained from default noise jamming database;
If judgement knows that the sound characteristic parameter meets the noise threshold condition, judgement, which is known, meets that noise triggers bar Part, send earphone control instruction.
3. the method as described in claim 1, it is characterised in that the earphone includes:Wireless headset,
It is described to establish communication link with the target device, the control is sent to the target device by the communication link Instruction, including:
Establish bluetooth communications link or local area network communication link with the target device, by the bluetooth communications link or Target device described in local area network communication chain road direction sends the control instruction.
4. the method as described in claim 1, it is characterised in that the earphone includes:Wired earphone, the wired earphone and end End equipment connects;
It is described to establish communication link with the target device, the control is sent to the target device by the communication link Instruction, including:
The target device and the control instruction are sent to the terminal device by tone frequency channel wire, so that the terminal device is built Communication link between vertical and described target device, and the control instruction is sent to the target device.
5. the method as described in claim 1, it is characterised in that the earphone is connected with control panel, and methods described also includes:
Display control function corresponding with least one equipment;And
Real-time state of a control is shown according to the response message that the target device feeds back.
6. a kind of phonetic controller based on earphone, it is characterised in that described device is applied to earphone, the earphone and user The distance between within a preset range, described device includes:
Starting module, for receiving earphone control instruction, start Voice command pattern;
Parsing module, the voice messaging sent for receiving the user, speech analysis is carried out to the voice messaging and obtains mesh Marking device and operation are intended to;
Enquiry module, obtained and the operation corresponding control instruction of intention for inquiring about default instruction database;
Processing module, for establishing communication link with the target device, sent out by the communication link to the target device The control instruction is sent, so that the target device carries out corresponding operation processing according to the control instruction.
7. device as claimed in claim 6, it is characterised in that also include:
First acquisition module, for obtaining current scene characteristic and control condition;
Collection analysis module, for gathering the acoustic information in preset period of time, the frequency and amplitude of analyzing the acoustic information carry Take sound characteristic parameter;
Second acquisition module, it is corresponding with the scene characteristic and control condition for being obtained from default noise jamming database Noise threshold condition;
Sending module, for judging to know satisfaction when judging to know that the sound characteristic parameter meets the noise threshold condition Noise trigger condition, send earphone control instruction.
8. device as claimed in claim 6, it is characterised in that the earphone includes:Wireless headset,
The processing module is specifically used for:
Establish bluetooth communications link or local area network communication link with the target device, by the bluetooth communications link or Target device described in local area network communication chain road direction sends the control instruction.
9. device as claimed in claim 6, it is characterised in that the earphone includes:Wired earphone, the wired earphone and end End equipment connects;
The processing module is specifically additionally operable to:
The target device and the control instruction are sent to the terminal device by tone frequency channel wire, so that the terminal device is built Communication link between vertical and described target device, and the control instruction is sent to the target device.
10. device as claimed in claim 6, it is characterised in that the earphone is connected with control panel, and described device is also wrapped Include:
Display module, for showing control function corresponding with least one equipment;And
The display module, it is additionally operable to show real-time state of a control according to the response message that the target device feeds back.
11. a kind of computer equipment, it is characterised in that on a memory and can handled including memory, processor and storage The computer program run on device, during the computing device described program, realize the base as described in any in claim 1-5 In the sound control method of earphone.
12. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, it is characterised in that the program The sound control method based on earphone as described in any in claims requirement 1-5 is realized when being executed by processor.
13. a kind of computer program product, it is characterised in that when the instruction in the computer program product is by computing device When, perform the sound control method based on earphone as described in any in claim 1-5.
CN201710764749.7A 2017-08-30 2017-08-30 Voice control method, device and equipment based on earphone Active CN107591152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710764749.7A CN107591152B (en) 2017-08-30 2017-08-30 Voice control method, device and equipment based on earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710764749.7A CN107591152B (en) 2017-08-30 2017-08-30 Voice control method, device and equipment based on earphone

Publications (2)

Publication Number Publication Date
CN107591152A true CN107591152A (en) 2018-01-16
CN107591152B CN107591152B (en) 2021-06-08

Family

ID=61050558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710764749.7A Active CN107591152B (en) 2017-08-30 2017-08-30 Voice control method, device and equipment based on earphone

Country Status (1)

Country Link
CN (1) CN107591152B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682772A (en) * 2017-10-25 2018-02-09 倬韵科技(深圳)有限公司 A kind of hazard recognition is to control the method, apparatus of audio output and earphone
CN108735214A (en) * 2018-05-30 2018-11-02 出门问问信息科技有限公司 The sound control method and device of equipment
CN108899025A (en) * 2018-07-24 2018-11-27 中国联合网络通信集团有限公司 Terminal equipment control method, equipment and storage medium
CN109104664A (en) * 2018-06-25 2018-12-28 福来宝电子(深圳)有限公司 Control method, system, intelligent sound box and the storage medium of intelligent sound box
CN109243445A (en) * 2018-09-30 2019-01-18 Oppo广东移动通信有限公司 Sound control method, device, electronic equipment and storage medium
CN110139187A (en) * 2019-06-25 2019-08-16 百度在线网络技术(北京)有限公司 Intelligent sound box control method, device and terminal
CN110675870A (en) * 2019-08-30 2020-01-10 深圳绿米联创科技有限公司 Voice recognition method and device, electronic equipment and storage medium
WO2020034913A1 (en) * 2018-08-14 2020-02-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Terminal, method for voice control, and related products
WO2020042491A1 (en) * 2018-08-30 2020-03-05 歌尔股份有限公司 Headphone far-field interaction method, headphone far-field interaction accessory, and wireless headphones
CN110944056A (en) * 2019-11-29 2020-03-31 深圳传音控股股份有限公司 Interaction method, mobile terminal and readable storage medium
CN111866278A (en) * 2020-07-15 2020-10-30 百度在线网络技术(北京)有限公司 Electric quantity display method, device, equipment and storage medium of wireless earphone
CN112399297A (en) * 2019-08-19 2021-02-23 Oppo广东移动通信有限公司 Earphone, voice awakening method thereof and computer storage medium
WO2023092785A1 (en) * 2021-11-26 2023-06-01 歌尔科技有限公司 Terminal control method, terminal control system, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594988A (en) * 2012-02-10 2012-07-18 深圳市中兴移动通信有限公司 Method and system capable of achieving automatic pairing connection of Bluetooth earphones by speech recognition
CN202818560U (en) * 2012-09-29 2013-03-20 上海斐讯数据通信技术有限公司 Bluetooth headset, mobile terminal and voice control system
WO2017068004A1 (en) * 2015-10-20 2017-04-27 Bragi GmbH Wearable earpiece voice command control system and method
CN106920548A (en) * 2015-12-25 2017-07-04 比亚迪股份有限公司 Phonetic controller, speech control system and sound control method
CN206322314U (en) * 2016-12-29 2017-07-11 深圳市秦通通讯有限公司 Intelligent electric appliance control system based on Bluetooth technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594988A (en) * 2012-02-10 2012-07-18 深圳市中兴移动通信有限公司 Method and system capable of achieving automatic pairing connection of Bluetooth earphones by speech recognition
CN202818560U (en) * 2012-09-29 2013-03-20 上海斐讯数据通信技术有限公司 Bluetooth headset, mobile terminal and voice control system
WO2017068004A1 (en) * 2015-10-20 2017-04-27 Bragi GmbH Wearable earpiece voice command control system and method
CN106920548A (en) * 2015-12-25 2017-07-04 比亚迪股份有限公司 Phonetic controller, speech control system and sound control method
CN206322314U (en) * 2016-12-29 2017-07-11 深圳市秦通通讯有限公司 Intelligent electric appliance control system based on Bluetooth technology

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682772A (en) * 2017-10-25 2018-02-09 倬韵科技(深圳)有限公司 A kind of hazard recognition is to control the method, apparatus of audio output and earphone
CN108735214A (en) * 2018-05-30 2018-11-02 出门问问信息科技有限公司 The sound control method and device of equipment
CN109104664A (en) * 2018-06-25 2018-12-28 福来宝电子(深圳)有限公司 Control method, system, intelligent sound box and the storage medium of intelligent sound box
CN108899025A (en) * 2018-07-24 2018-11-27 中国联合网络通信集团有限公司 Terminal equipment control method, equipment and storage medium
WO2020034913A1 (en) * 2018-08-14 2020-02-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Terminal, method for voice control, and related products
US11438643B2 (en) 2018-08-14 2022-09-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Terminal, method for voice control, and related products
WO2020042491A1 (en) * 2018-08-30 2020-03-05 歌尔股份有限公司 Headphone far-field interaction method, headphone far-field interaction accessory, and wireless headphones
CN109243445A (en) * 2018-09-30 2019-01-18 Oppo广东移动通信有限公司 Sound control method, device, electronic equipment and storage medium
CN110139187A (en) * 2019-06-25 2019-08-16 百度在线网络技术(北京)有限公司 Intelligent sound box control method, device and terminal
CN112399297A (en) * 2019-08-19 2021-02-23 Oppo广东移动通信有限公司 Earphone, voice awakening method thereof and computer storage medium
CN110675870A (en) * 2019-08-30 2020-01-10 深圳绿米联创科技有限公司 Voice recognition method and device, electronic equipment and storage medium
CN110944056A (en) * 2019-11-29 2020-03-31 深圳传音控股股份有限公司 Interaction method, mobile terminal and readable storage medium
WO2021103449A1 (en) * 2019-11-29 2021-06-03 深圳传音控股股份有限公司 Interaction method, mobile terminal and readable storage medium
CN111866278A (en) * 2020-07-15 2020-10-30 百度在线网络技术(北京)有限公司 Electric quantity display method, device, equipment and storage medium of wireless earphone
CN111866278B (en) * 2020-07-15 2022-04-05 百度在线网络技术(北京)有限公司 Electric quantity display method, device, equipment and storage medium of wireless earphone
WO2023092785A1 (en) * 2021-11-26 2023-06-01 歌尔科技有限公司 Terminal control method, terminal control system, and storage medium

Also Published As

Publication number Publication date
CN107591152B (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN107591152A (en) Sound control method, device and its equipment based on earphone
KR102380494B1 (en) Image processing apparatus and method
CN107135443B (en) Signal processing method and electronic equipment
CN110347863B (en) Speaking recommendation method and device and storage medium
CN104168167B (en) Wireless network configuration method, radio network configuration system and the device of household electrical appliance
CN110400251A (en) Method for processing video frequency, device, terminal device and storage medium
CN108181992A (en) Voice awakening method, device, equipment and computer-readable medium based on gesture
CN107172255A (en) Voice signal self-adapting regulation method, device, mobile terminal and storage medium
CN107682536A (en) A kind of sound control method, terminal and computer-readable recording medium
CN107655154A (en) Terminal control method, air conditioner and computer-readable recording medium
CN105404617B (en) A kind of control method of remote desktop, controlled end and control system
CN107172256A (en) Earphone call self-adapting regulation method, device, mobile terminal and storage medium
CN112735388B (en) Network model training method, voice recognition processing method and related equipment
CN105120063A (en) Volume prompting method of input voice and electronic device
CN109376363A (en) A kind of real-time voice interpretation method and device based on earphone
CN110047484A (en) A kind of speech recognition exchange method, system, equipment and storage medium
CN105629750A (en) Smart home control method and system
CN110308886A (en) The system and method for voice command service associated with personalized task are provided
CN109147764A (en) Voice interactive method, device, equipment and computer-readable medium
CN105654955A (en) Voice recognition method and device
CN112579031A (en) Voice interaction method and system and electronic equipment
CN110808019A (en) Song generation method and electronic equipment
CN106572417A (en) Sound effect control method and sound effect control device
CN108053826A (en) For the method, apparatus of human-computer interaction, electronic equipment and storage medium
CN110262278A (en) Control method and device of intelligent household electrical appliance and intelligent household electrical appliance

Legal Events

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