CN107591152B - Voice control method, device and equipment based on earphone - Google Patents

Voice control method, device and equipment based on earphone Download PDF

Info

Publication number
CN107591152B
CN107591152B CN201710764749.7A CN201710764749A CN107591152B CN 107591152 B CN107591152 B CN 107591152B CN 201710764749 A CN201710764749 A CN 201710764749A CN 107591152 B CN107591152 B CN 107591152B
Authority
CN
China
Prior art keywords
earphone
control
communication link
control instruction
target equipment
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.)
Active
Application number
CN201710764749.7A
Other languages
Chinese (zh)
Other versions
CN107591152A (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.)
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

Images

Landscapes

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

Abstract

The invention provides a voice control method, a voice control device and voice control equipment based on an earphone, wherein the method is applied to the earphone, the distance between the earphone and a user is within a preset range, and the method comprises the following steps: receiving an earphone control instruction, and starting a voice control mode; receiving voice information sent by a user, and carrying out voice analysis on the voice information to obtain target equipment and an operation intention; inquiring a preset instruction library to obtain a control instruction corresponding to the operation intention; and establishing a communication link with the target equipment, and sending a control instruction to the target equipment through the communication link so that the target equipment performs corresponding operation processing according to the control instruction. Therefore, the interference of external noise on voice control is avoided, a user can not consider near field or far field communication, and the accuracy and flexibility of voice control are improved.

Description

Voice control method, device and equipment based on earphone
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a voice control method, a voice control device and voice control equipment based on an earphone.
Background
Artificial Intelligence (Artificial Intelligence), abbreviated in english as AI. The method is a new technical science for researching and developing theories, methods, technologies and application systems for simulating, extending and expanding human intelligence. Artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can react in a manner similar to human intelligence, a field of research that includes robotics, speech recognition, image recognition, natural language processing, and expert systems. Among them, the most important aspect of artificial intelligence is speech recognition technology.
In the related art, a user can send a voice control instruction to a corresponding target device according to own needs, so that the corresponding device performs corresponding operation processing according to the voice control instruction. However, the existing voice control method has a large influence on voice reception and recognition due to the noisy and noisy surrounding environment, so that the accuracy of voice recognition is reduced, subsequent response operation is influenced, and the processing efficiency is reduced.
Disclosure of Invention
The present invention has been made to solve at least one of the technical problems of the related art to some extent.
Therefore, a first objective of the present invention is to provide a speech control method based on an earphone, which is used to solve the problems that a speech control method in the prior art has a large influence on speech reception and recognition due to noisy and noisy surrounding environments, reduces accuracy of speech recognition, influences subsequent response operations, and reduces processing efficiency.
The second purpose of the invention is to provide a voice control device based on an earphone.
A third object of the invention is to propose a computer device.
A fourth object of the invention is to propose a non-transitory computer-readable storage medium.
A fifth object of the invention is to propose a computer program product.
In order to achieve the above object, a first embodiment of the present invention provides a method for controlling voice based on an earphone, where the method is applied to an earphone, and a distance between the earphone and a user is within a preset range, and the method includes the following steps: receiving an earphone control instruction, and starting a voice control mode; receiving voice information sent by the user, and carrying out voice analysis on the voice information to obtain target equipment and an operation intention; inquiring a preset instruction library to obtain a control instruction corresponding to the operation intention; and establishing a communication link with the target equipment, and sending the control instruction to the target equipment through the communication link so that the target equipment performs corresponding operation processing according to the control instruction.
According to the voice control method based on the earphone, the voice control mode is started by receiving the earphone control instruction, then the voice information sent by a user is received, voice analysis is carried out on the voice information to obtain the target equipment and the operation intention, then a preset instruction base is inquired to obtain the control instruction corresponding to the operation intention, finally a communication link is established with the target equipment, and the control instruction is sent to the target equipment through the communication link, so that the target equipment can carry out corresponding operation processing according to the control instruction. Therefore, the interference of external noise on voice control is avoided, a user can not consider near field or far field communication, and the accuracy and flexibility of voice control are improved.
In order to achieve the above object, a second aspect of the present invention provides a headset-based voice control device, which is applied to a headset, wherein a distance between the headset and a user is within a preset range, and the device includes: the starting module is used for receiving the earphone control instruction and starting a voice control mode; the analysis module is used for receiving the voice information sent by the user and carrying out voice analysis on the voice information to obtain target equipment and an operation intention; the query module is used for querying a preset instruction library to acquire a control instruction corresponding to the operation intention; and the processing module is used for establishing a communication link with the target equipment and sending the control instruction to the target equipment through the communication link so as to enable the target equipment to perform corresponding operation processing according to the control instruction.
The voice control device based on the earphone starts a voice control mode by receiving an earphone control instruction, then receives voice information sent by a user, carries out voice analysis on the voice information to obtain target equipment and an operation intention, then inquires a preset instruction library to obtain a control instruction corresponding to the operation intention, finally establishes a communication link with the target equipment, and sends the control instruction to the target equipment through the communication link so that the target equipment carries out corresponding operation processing according to the control instruction. Therefore, the interference of external noise on voice control is avoided, a user can not consider near field or far field communication, and the accuracy and flexibility of voice control are improved.
To achieve the above object, a third embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement a method for controlling a voice based on a headset, the method including: receiving an earphone control instruction, and starting a voice control mode; receiving voice information sent by the user, and carrying out voice analysis on the voice information to obtain target equipment and an operation intention; inquiring a preset instruction library to obtain a control instruction corresponding to the operation intention; and establishing a communication link with the target equipment, and sending the control instruction to the target equipment through the communication link so that the target equipment performs corresponding operation processing according to the control instruction.
In order to achieve the above object, a fourth aspect of the present invention provides a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor, enable performing a method of headset-based voice control, the method comprising: receiving an earphone control instruction, and starting a voice control mode; receiving voice information sent by the user, and carrying out voice analysis on the voice information to obtain target equipment and an operation intention; inquiring a preset instruction library to obtain a control instruction corresponding to the operation intention; and establishing a communication link with the target equipment, and sending the control instruction to the target equipment through the communication link so that the target equipment performs corresponding operation processing according to the control instruction.
In order to achieve the above object, a fifth aspect of the present invention provides a computer program product, wherein when executed by an instruction processor, the computer program product executes a method for controlling a headset-based voice, the method comprising: receiving an earphone control instruction, and starting a voice control mode; receiving voice information sent by the user, and carrying out voice analysis on the voice information to obtain target equipment and an operation intention; inquiring a preset instruction library to obtain a control instruction corresponding to the operation intention; and establishing a communication link with the target equipment, and sending the control instruction to the target equipment through the communication link so that the target equipment performs corresponding operation processing according to the control instruction.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a headset-based voice control method according to one embodiment of the present invention;
FIG. 2 is a flow diagram of a headset-based voice control method according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a configuration of a headset-based voice control apparatus according to one embodiment of the present invention;
FIG. 4 is a schematic diagram of a structure of a voice control device based on an earphone according to another embodiment of the present invention
FIG. 5 is a schematic diagram of a headset-based voice control apparatus according to yet another embodiment of the present invention;
FIG. 6 is a schematic diagram of a computer device according to one embodiment of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
An earphone-based voice control method, apparatus and device according to an embodiment of the present invention are described below with reference to the accompanying drawings.
At present, with the development of voice interaction control services, a user can send a voice control instruction to a corresponding target device according to own needs, so that the corresponding device performs corresponding operation processing according to the voice control instruction. However, the existing voice control method has a large influence on voice reception and recognition due to the noisy and noisy surrounding environment, so that the accuracy of voice recognition is reduced, subsequent response operation is influenced, and the processing efficiency is reduced.
To solve the problem, embodiments of the present invention provide a voice control method based on an earphone, which can implement voice control on a target device through the earphone, avoid interference of external noise on the voice control, enable a user to not consider near-field or far-field communication, and improve accuracy and flexibility of the voice control. The method comprises the following specific steps:
fig. 1 is a flow diagram of a headset-based voice control method according to one embodiment of the present invention. As shown in fig. 1, the headset-based voice control method includes:
it should be noted that, the earphone-based voice control method according to the embodiment of the present invention is applied to an earphone, and a distance between the earphone and a user is within a preset range. The type of the headset can be selectively set according to the actual application requirement, such as one or more of a wired headset, a bluetooth headset and the like.
Step 101, receiving an earphone control instruction, and starting a voice control mode.
Specifically, in practical application, in order to facilitate user operation control, when a user needs to perform voice control through an earphone, a plurality of ways may be adopted to send an earphone control instruction to start a voice control mode, and the user may select settings according to practical application needs or operation habits, for example, as follows:
as an example, the earphone control command is sent through a related key preset on the earphone. As another example, the earphone control instruction is sent by an application program on a terminal device such as a mobile phone connected with the earphone in a wired or wireless manner or by clicking a key.
And 102, receiving voice information sent by a user, and carrying out voice analysis on the voice information to obtain target equipment and an operation intention.
And 103, querying a preset instruction library to obtain a control instruction corresponding to the operation intention.
Specifically, after the voice control mode is started, the user may input voice information as needed, so that when receiving the voice information sent by the user, the user may perform voice analysis on the voice information in many ways to obtain the target device and the operation intention, and may perform selective setting according to actual application needs, for example, as follows:
in the first example, voice information is converted into text information, then word segmentation processing is performed on the text information, keywords are extracted, and identification is performed to acquire a target device and an operation intention.
In the second example, the voice information is input into a preset algorithm and processed to obtain the target device and the operation intention.
And 104, establishing a communication link with the target equipment, and sending a control instruction to the target equipment through the communication link so that the target equipment performs corresponding operation processing according to the control instruction.
Specifically, after determining to acquire the target device and the operation intention, the target device needs to establish a connection with the target device to send a control instruction, so that the target device performs corresponding operation processing according to the control instruction. It will be appreciated that different headsets may be connected in different ways, as illustrated below:
in a first example, the headset is a wireless headset, a bluetooth communication link or a local area network communication link is established with the target device, and the control instruction is sent to the target device through the bluetooth communication link or the local area network communication link.
In a second example, the headset is a wired headset, the wired headset is connected to a terminal device, and the target device and the control command are sent to the terminal device through an audio line, so that the terminal device establishes a communication link with the target device, and sends the control command to the target device.
In summary, in the earphone-based voice control method according to the embodiment of the present invention, the voice control mode is started by receiving the earphone control instruction, then the voice information sent by the user is received, and the voice information is subjected to voice analysis to obtain the target device and the operation intention, then a preset instruction library is queried to obtain the control instruction corresponding to the operation intention, and finally a communication link is established with the target device, and the control instruction is sent to the target device through the communication link, so that the target device performs corresponding operation processing according to the control instruction. Therefore, the interference of external noise on voice control is avoided, a user can not consider near field or far field communication, and the accuracy and flexibility of voice control are improved.
Based on the above embodiment, in order to further improve the accuracy and flexibility of the voice control and avoid the interference of the external noise to the voice control, before receiving the headphone control instruction, the related processing operation needs to be performed, which is described below with reference to fig. 2 specifically:
fig. 2 is a flow chart illustrating a method for headset-based voice control according to another embodiment of the present invention. As shown in fig. 2, before step 101, the method further includes:
step 201, obtaining current scene characteristics and control conditions.
Specifically, current scene characteristics such as indoors, outdoors, meetings, breaks, and the like may be acquired, and distances of control condition user input target devices may be acquired, and the like.
Step 202, collecting sound information in a preset time period, analyzing the frequency and amplitude of the sound information, and extracting sound characteristic parameters.
Specifically, sound information in a preset time period can be collected through related sound collection equipment, wherein the preset time period can be selected and set according to actual application needs, and then the frequency and the amplitude of the sound information are analyzed through a preset algorithm, a model and the like to extract sound characteristic parameters.
Step 203, obtaining a noise threshold condition corresponding to the scene feature and the control condition from a preset noise interference database.
And 204, if the sound characteristic parameters are judged to meet the noise threshold condition, judging that the sound characteristic parameters meet the noise triggering condition, and sending an earphone control instruction.
Specifically, noise threshold conditions corresponding to different scene features and control conditions are stored in a noise interference database in advance, the noise threshold conditions corresponding to the scene features and the control conditions may be stored in the form of a mapping table, or the corresponding noise threshold conditions may be obtained by inputting the scene features and the control conditions to a preset algorithm.
And further, judging whether the sound characteristic parameters meet the noise threshold condition or not, and sending an earphone control instruction when the sound characteristic parameters meet the noise threshold condition. That is to say, the earphone control instruction can be sent only when the sound characteristic parameter meets the noise threshold condition of the current scene characteristic and control condition, so that the interference of external noise on voice control is avoided, and a user can not consider near field or far field communication.
It should be noted that, if the sound characteristic parameter does not satisfy the noise threshold condition, the earphone control instruction is not sent.
In summary, in the voice control method based on the earphone according to the embodiment of the present invention, the current scene characteristics and the control conditions are obtained, then the sound information in the preset time period is collected, the frequency and the amplitude of the sound information are analyzed to extract the sound characteristic parameters, then the noise threshold condition corresponding to the scene characteristics and the control conditions is obtained from the preset noise interference database, and finally, when the sound characteristic parameters are judged to satisfy the noise threshold condition, it is judged that the noise triggering condition is satisfied, and the earphone control instruction is sent. Therefore, the interference of external noise on voice control is avoided, a user can not consider near field or far field communication, and the accuracy and flexibility of voice control are improved.
Based on the above embodiment, when the control panel is connected to the headset, it is possible to display a control function corresponding to at least one device and display a real-time control state according to a response message fed back from the target device. For example, the control panel can know the control function corresponding to the device so as to perform accurate voice control, and meanwhile, the control panel can also know the response message fed back by the target device in time to determine the current control state, thereby further facilitating the operation of the user and improving the user experience.
In order to implement the above embodiments, the present invention further provides an earphone-based voice control apparatus, and fig. 3 is a schematic structural diagram of an earphone-based voice control apparatus according to an embodiment of the present invention. As shown in fig. 3, the headset-based voice control apparatus includes: the device comprises an initiating module 11, a resolving module 12, a query module 13 and a processing module 14.
It should be noted that, the earphone-based voice control method according to the embodiment of the present invention is applied to an earphone, and a distance between the earphone and a user is within a preset range. The type of the headset can be selectively set according to the actual application requirement, such as one or more of a wired headset, a bluetooth headset and the like.
The starting module 11 is configured to receive an earphone control instruction and start a voice control mode.
And the analysis module 12 is configured to receive the voice information sent by the user, perform voice analysis on the voice information, and acquire the target device and the operation intention.
And the query module 13 is configured to query a preset instruction library to obtain a control instruction corresponding to the operation intention.
And the processing module 14 is configured to establish a communication link with the target device, and send a control instruction to the target device through the communication link, so that the target device performs corresponding operation processing according to the control instruction.
Specifically, after determining to acquire the target device and the operation intention, the target device needs to establish a connection with the target device to send a control instruction, so that the target device performs corresponding operation processing according to the control instruction. It will be appreciated that different headsets may be connected in different ways, as illustrated below:
in a first example, the headset is a wireless headset, and the processing module 14 is specifically configured to establish a bluetooth communication link or a local area network communication link with the target device, and send the control instruction to the target device through the bluetooth communication link or the local area network communication link.
In a second example, the earphone is a wired earphone, the wired earphone is connected to the terminal device, and the processing module 14 is further configured to send the target device and the control instruction to the terminal device through an audio line, so that the terminal device establishes a communication link with the target device, and sends the control instruction to the target device.
It should be noted that the foregoing explanation on the embodiment of the earphone-based voice control method is also applicable to the earphone-based voice control apparatus of this embodiment, and details are not repeated here.
In summary, the earphone-based voice control apparatus according to the embodiment of the present invention starts a voice control mode by receiving an earphone control instruction, receives voice information sent by a user, performs voice analysis on the voice information to obtain a target device and an operation intention, queries a preset instruction library to obtain a control instruction corresponding to the operation intention, and finally establishes a communication link with the target device to send the control instruction to the target device through the communication link, so that the target device performs corresponding operation processing according to the control instruction. Therefore, the interference of external noise on voice control is avoided, a user can not consider near field or far field communication, and the accuracy and flexibility of voice control are improved.
Fig. 4 is a schematic structural diagram of a headset-based voice control device according to another embodiment of the present invention. As shown in fig. 4, on the basis of fig. 1, the method further includes: a first acquisition module 15, an acquisition and analysis module 16, a second acquisition module 17 and a sending module 18.
The first obtaining module 15 is configured to obtain current scene characteristics and control conditions.
And the acquisition and analysis module 16 is configured to acquire sound information within a preset time period, analyze the frequency and amplitude of the sound information, and extract sound characteristic parameters.
And a second obtaining module 17, configured to obtain a noise threshold condition corresponding to the scene characteristic and the control condition from a preset noise interference database.
And the sending module 18 is used for judging that the sound characteristic parameter meets the noise threshold condition and sending an earphone control instruction when judging that the sound characteristic parameter meets the noise threshold condition.
It should be noted that the foregoing explanation on the embodiment of the earphone-based voice control method is also applicable to the earphone-based voice control apparatus of this embodiment, and details are not repeated here.
In summary, in the voice control device based on the earphone according to the embodiment of the present invention, the current scene characteristic and the current control condition are obtained, then the sound information in the preset time period is collected, the frequency and the amplitude of the sound information are analyzed to extract the sound characteristic parameter, then the noise threshold condition corresponding to the scene characteristic and the control condition is obtained from the preset noise interference database, and finally, when the sound characteristic parameter is judged to satisfy the noise threshold condition, it is judged to know that the noise trigger condition is satisfied, and the earphone control instruction is sent. Therefore, the interference of external noise on voice control is avoided, a user can not consider near field or far field communication, and the accuracy and flexibility of voice control are improved.
Based on the above embodiment, when the control panel is connected to the earphone, as shown in fig. 5, on the basis of fig. 3, the method further includes: a display module 19.
Specifically, the display module 19 may display a control function corresponding to at least one device and a real-time control state according to a response message fed back from the target device. For example, the control panel can know the control function corresponding to the device so as to perform accurate voice control, and meanwhile, the control panel can also know the response message fed back by the target device in time to determine the current control state, thereby further facilitating the operation of the user and improving the user experience.
The invention provides a computer device, and fig. 6 is a schematic structural diagram of the computer device according to an embodiment of the invention. As shown in fig. 6, a memory 21, a processor 22, and a computer program stored on the memory 21 and executable on the processor 22.
The processor 22, when executing the program, implements the headset-based voice control method provided in the above-described embodiments.
Further, the computer device further comprises:
a communication interface 23 for communication between the memory 21 and the processor 22.
A memory 21 for storing a computer program operable on the processor 22.
The memory 21 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
And a processor 22, configured to implement the earphone-based voice control method according to the foregoing embodiment when executing the program.
If the memory 21, the processor 22 and the communication interface 23 are implemented independently, the communication interface 21, the memory 21 and the processor 22 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 21, the processor 22 and the communication interface 23 are integrated on a chip, the memory 21, the processor 22 and the communication interface 23 may complete mutual communication through an internal interface.
The processor 22 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
To achieve the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium in which instructions, when executed by a processor, enable execution of a headset-based voice control method, the method comprising: receiving an earphone control instruction, and starting a voice control mode; receiving voice information sent by a user, and carrying out voice analysis on the voice information to obtain target equipment and an operation intention; inquiring a preset instruction library to obtain a control instruction corresponding to the operation intention; and establishing a communication link with the target equipment, and sending a control instruction to the target equipment through the communication link so that the target equipment performs corresponding operation processing according to the control instruction.
In order to implement the above embodiments, the present invention further provides a computer program product, which when executed by an instruction processor executes a method for controlling speech based on an earphone, the method comprising: receiving an earphone control instruction, and starting a voice control mode; receiving voice information sent by a user, and carrying out voice analysis on the voice information to obtain target equipment and an operation intention; inquiring a preset instruction library to obtain a control instruction corresponding to the operation intention; and establishing a communication link with the target equipment, and sending a control instruction to the target equipment through the communication link so that the target equipment performs corresponding operation processing according to the control instruction.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. An earphone-based voice control method is applied to an earphone, the distance between the earphone and a user is within a preset range, and the method comprises the following steps:
receiving an earphone control instruction, and starting a voice control mode;
receiving voice information sent by the user, and carrying out voice analysis on the voice information to obtain target equipment and an operation intention;
inquiring a preset instruction library to obtain a control instruction corresponding to the operation intention;
establishing a communication link with the target equipment, and sending the control instruction to the target equipment through the communication link so that the target equipment performs corresponding operation processing according to the control instruction; determining a mode of establishing a communication link between the earphone and the target equipment according to the type of the earphone;
wherein before the receiving of the earphone control instruction, the method further comprises:
acquiring current scene characteristics and control conditions;
collecting sound information in a preset time period, analyzing the frequency and amplitude of the sound information and extracting sound characteristic parameters;
acquiring a noise threshold condition corresponding to the scene characteristic and the control condition from a preset noise interference database;
and if the sound characteristic parameters are judged to meet the noise threshold condition, judging to meet the noise triggering condition, and sending an earphone control instruction.
2. The method of claim 1, wherein the headset comprises: a wireless earphone is arranged on the wireless earphone,
the establishing a communication link with the target device, and sending the control instruction to the target device through the communication link, include:
and establishing a Bluetooth communication link or a local area network communication link with the target equipment, and sending the control instruction to the target equipment through the Bluetooth communication link or the local area network communication link.
3. The method of claim 1, wherein the headset comprises: the wired earphone is connected with the terminal equipment;
the establishing a communication link with the target device, and sending the control instruction to the target device through the communication link, include:
and sending the target equipment and the control instruction to the terminal equipment through an audio line so that the terminal equipment establishes a communication link with the target equipment, and sending the control instruction to the target equipment.
4. The method of claim 1, wherein a control panel is connected to the headset, the method further comprising:
displaying a control function corresponding to at least one device; and
and displaying the real-time control state according to the response message fed back by the target equipment.
5. An earphone-based voice control apparatus, wherein the apparatus is applied to an earphone, a distance between the earphone and a user is within a preset range, and the apparatus comprises:
the starting module is used for receiving the earphone control instruction and starting a voice control mode;
the analysis module is used for receiving the voice information sent by the user and carrying out voice analysis on the voice information to obtain target equipment and an operation intention;
the query module is used for querying a preset instruction library to acquire a control instruction corresponding to the operation intention;
the processing module is used for establishing a communication link with the target equipment and sending the control instruction to the target equipment through the communication link so as to enable the target equipment to perform corresponding operation processing according to the control instruction; determining a mode of establishing a communication link between the earphone and the target equipment according to the type of the earphone;
the first acquisition module is used for acquiring current scene characteristics and control conditions;
the acquisition and analysis module is used for acquiring sound information in a preset time period, analyzing the frequency and amplitude of the sound information and extracting sound characteristic parameters;
the second acquisition module is used for acquiring a noise threshold condition corresponding to the scene characteristic and the control condition from a preset noise interference database;
and the sending module is used for judging and knowing that the sound characteristic parameters meet the noise threshold condition when judging and knowing that the sound characteristic parameters meet the noise threshold condition, and sending an earphone control instruction.
6. The apparatus of claim 5, wherein the headset comprises: a wireless earphone is arranged on the wireless earphone,
the processing module is specifically configured to:
and establishing a Bluetooth communication link or a local area network communication link with the target equipment, and sending the control instruction to the target equipment through the Bluetooth communication link or the local area network communication link.
7. The apparatus of claim 5, wherein the headset comprises: the wired earphone is connected with the terminal equipment;
the processing module is specifically further configured to:
and sending the target equipment and the control instruction to the terminal equipment through an audio line so that the terminal equipment establishes a communication link with the target equipment, and sending the control instruction to the target equipment.
8. The apparatus of claim 5, wherein a control panel is connected to the headset, the apparatus further comprising:
the display module is used for displaying a control function corresponding to at least one device; and
and the display module is also used for displaying the real-time control state according to the response message fed back by the target equipment.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the headset-based voice control method as claimed in any one of claims 1 to 4 when executing the program.
10. A non-transitory computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the headset-based voice control method of any of claims 1-4.
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 CN107591152A (en) 2018-01-16
CN107591152B true 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)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682772B (en) * 2017-10-25 2019-05-24 倬韵科技(深圳)有限公司 A kind of hazard recognition is to control the method, apparatus and earphone of audio output
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
CN109166578B (en) * 2018-08-14 2021-05-11 Oppo广东移动通信有限公司 Mobile terminal, voice control method and related product
CN109120298B (en) * 2018-08-30 2021-04-20 歌尔科技有限公司 Earphone far-field interaction method, earphone far-field interaction accessory and wireless earphone
CN109243445A (en) * 2018-09-30 2019-01-18 Oppo广东移动通信有限公司 Sound control method, device, electronic equipment and storage medium
CN110139187B (en) * 2019-06-25 2021-04-02 百度在线网络技术(北京)有限公司 Intelligent sound box control method and 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
CN111866278B (en) * 2020-07-15 2022-04-05 百度在线网络技术(北京)有限公司 Electric quantity display method, device, equipment and storage medium of wireless earphone
CN114158019A (en) * 2021-11-26 2022-03-08 歌尔科技有限公司 Terminal control method, terminal control system, and storage medium

Family Cites Families (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
US10453450B2 (en) * 2015-10-20 2019-10-22 Bragi GmbH Wearable earpiece voice command control system and method
CN106920548B (en) * 2015-12-25 2020-06-19 比亚迪股份有限公司 Voice control device, voice control system, and voice control method
CN206322314U (en) * 2016-12-29 2017-07-11 深圳市秦通通讯有限公司 Intelligent electric appliance control system based on Bluetooth technology

Also Published As

Publication number Publication date
CN107591152A (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN107591152B (en) Voice control method, device and equipment based on earphone
WO2018219105A1 (en) Speech recognition and related products
KR101771071B1 (en) Communication method, client, and terminal
CN110992989B (en) Voice acquisition method and device and computer readable storage medium
CN109192214B (en) Voice number taking method, storage medium and robot
CN105120063A (en) Volume prompting method of input voice and electronic device
US20140278415A1 (en) Voice Recognition Configuration Selector and Method of Operation Therefor
CN111862951A (en) Voice endpoint detection method and device, storage medium and electronic equipment
CN111930336A (en) Volume adjusting method and device of audio device and storage medium
CN113921004A (en) Intelligent device control method and device, storage medium and electronic device
CN107680598B (en) Information interaction method, device and equipment based on friend voiceprint address list
CN112423176A (en) Earphone noise reduction method and device, storage medium and noise reduction earphone
CN109410920B (en) Method and device for acquiring information
WO2024099359A1 (en) Voice detection method and apparatus, electronic device and storage medium
CN112634932A (en) Audio signal processing method and device, server and related equipment
CN107708064A (en) A kind of method and system of mobile unit locating cellphone
CN110162361B (en) Intelligent prompting method and device based on user behavior, terminal and storage medium
CN107895573B (en) Method and device for identifying information
CN106210002B (en) Control method and device and electronic equipment
CN113014460B (en) Voice processing method, home master control device, voice system and storage medium
CN112948763B (en) Piece quantity prediction method and device, electronic equipment and storage medium
CN111627431B (en) Voice recognition method, device, terminal and storage medium
CN113436613A (en) Voice recognition method and device, electronic equipment and storage medium
CN110609885A (en) Conversation processing method, equipment and computer readable storage medium
CN107291703B (en) Pronunciation method and device in translation service application

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