CN111951811A - Bluetooth headset control method and device, Bluetooth headset and preset information importing method - Google Patents
Bluetooth headset control method and device, Bluetooth headset and preset information importing method Download PDFInfo
- Publication number
- CN111951811A CN111951811A CN202010679559.7A CN202010679559A CN111951811A CN 111951811 A CN111951811 A CN 111951811A CN 202010679559 A CN202010679559 A CN 202010679559A CN 111951811 A CN111951811 A CN 111951811A
- Authority
- CN
- China
- Prior art keywords
- preset
- comparison result
- bluetooth headset
- information
- sound
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000007781 pre-processing Methods 0.000 claims abstract description 39
- 238000004891 communication Methods 0.000 claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 25
- 238000000605 extraction Methods 0.000 claims abstract description 18
- 238000012795 verification Methods 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 14
- 230000008859 change Effects 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 8
- 238000009413 insulation Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000000056 organ Anatomy 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L17/00—Speaker identification or verification techniques
- G10L17/22—Interactive procedures; Man-machine interfaces
- G10L17/24—Interactive procedures; Man-machine interfaces the user being prompted to utter a password or a predefined phrase
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L17/00—Speaker identification or verification techniques
- G10L17/02—Preprocessing operations, e.g. segment selection; Pattern representation or modelling, e.g. based on linear discriminant analysis [LDA] or principal components; Feature selection or extraction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R5/00—Stereophonic arrangements
- H04R5/033—Headphones for stereophonic communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
- H04W76/34—Selective release of ongoing connections
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Telephone Function (AREA)
- Headphones And Earphones (AREA)
Abstract
The application relates to a Bluetooth headset control method and device, a Bluetooth headset and a preset information importing method. The Bluetooth headset control method comprises the steps of detecting that a Bluetooth headset is in an in-ear state, and acquiring sound information; sequentially carrying out audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features comprise input content information, input voiceprints and voice frequency; receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value; acquiring a first comparison result of input content information and preset content information, a second comparison result of input voiceprints and preset voiceprints, and a third comparison result of voice frequency and a preset frequency value; and indicating the communication equipment of the Bluetooth headset to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result. By the Bluetooth headset control method, a non-original user cannot use the Bluetooth headset under the condition of loss.
Description
Technical Field
The present application relates to the field of bluetooth headsets, and in particular, to a bluetooth headset control method and apparatus, a bluetooth headset, and a preset information importing method.
Background
At present, a TWS (True Wireless Stereo) bluetooth headset is more and more widely applied, in a lot of urban lives, people listen to music, make calls and perform other voice activities by using the TWS bluetooth headset, the TWS bluetooth headset realizes Wireless connection with a mobile phone end through a bluetooth communication module which is built in a headset shell, wired connection of a traditional headset is avoided, and user experience is greatly improved.
In the implementation process, the inventor finds that at least the following problems exist in the conventional technology:
present bluetooth headset has the security low scheduling problem.
Disclosure of Invention
In view of the above, it is desirable to provide a bluetooth headset control method, device, bluetooth headset and preset information importing method with high security.
In order to achieve the above object, in one aspect, an embodiment of the present invention provides a bluetooth headset control method, including:
detecting that the Bluetooth headset is in an in-ear state, and acquiring sound information;
sequentially carrying out audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features comprise input content information, input voiceprints and voice frequency;
receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value;
acquiring a first comparison result of input content information and preset content information, a second comparison result of input voiceprints and preset voiceprints, and a third comparison result of voice frequency and a preset frequency value;
and indicating the communication equipment of the Bluetooth headset to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
In one embodiment, the step of obtaining the second comparison result between the input voiceprint and the preset voiceprint includes:
acquiring the goodness of fit of the input voiceprint and a preset voiceprint;
if the goodness of fit is larger than or equal to the set value, the comparison is successful;
if the goodness of fit is smaller than the set value, the comparison fails.
In one embodiment, the preset frequency value comprises a preset interval range and a preset frequency difference value;
the step of obtaining a third comparison result of the sound frequency and the preset frequency value comprises the following steps:
if each sound frequency falls into the preset interval range or the difference value of adjacent sound frequencies is smaller than the preset difference value, the comparison is successful;
if each sound frequency does not fall into the preset interval range and the difference value of the adjacent sound frequencies is larger than or equal to the preset difference value, the comparison fails.
In one embodiment, obtaining the first comparison result of the input content information and the preset content information comprises:
if the input content information is consistent with the preset content information, the comparison is successful;
if the input content information is different from the preset content information, the comparison fails.
In one embodiment, the step of instructing the communication device of the bluetooth headset to connect or disconnect with the user terminal according to the first comparison result, the second comparison result, and the third comparison result includes:
if the first comparison result, the second comparison result and the third comparison result are successful, indicating the communication equipment of the Bluetooth headset to be connected with the user terminal;
and if any one of the first comparison result, the second comparison result and the third comparison result is a comparison failure, indicating the communication equipment of the Bluetooth headset to be disconnected from the user terminal.
In one embodiment, the method further comprises the following steps:
and if any one of the first comparison result, the second comparison result and the third comparison result is failed in comparison, playing back prompt information.
In one embodiment, detecting that the bluetooth headset is in an in-ear state, the step of acquiring the sound information includes:
when the Bluetooth headset is detected to be in an in-ear state, a voice verification message is played;
voice information is obtained in response to the voice authentication message.
In one aspect, an embodiment of the present invention further provides a bluetooth headset control device, including:
the sound information acquisition module is used for detecting that the Bluetooth headset is in an in-ear state and acquiring sound information;
the voice feature acquisition module is used for sequentially carrying out audio preprocessing and feature extraction processing on the voice information to obtain voice features; wherein the sound features comprise input content information, input voiceprints and voice frequency;
the receiving module is used for receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value;
the comparison module is used for acquiring a first comparison result of the input content information and the preset content information, a second comparison result of the input voiceprint and the preset voiceprint, and a third comparison result of the voice frequency and the preset frequency value;
and the execution module is used for indicating the communication equipment of the Bluetooth headset to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
In one aspect, an embodiment of the present invention further provides a bluetooth headset, including a memory and a processing unit, where the memory stores a computer program, and the processing unit implements the steps of any one of the above methods when executing the computer program.
In one embodiment, the system further comprises a sound collection device; the processing unit comprises an audio preprocessing module and a processor; the audio preprocessing module is respectively connected with the sound acquisition equipment and the processor;
the audio preprocessing module detects that the Bluetooth headset is in an in-ear state, acquires sound information acquired by sound acquisition equipment, and sequentially performs audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features comprise input content information, input voiceprints and voice frequency; the audio preprocessing module receives preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value; the audio preprocessing module transmits the sound characteristics and the preset information to the processor; the processor acquires a first comparison result of the input content information and the preset content information, a second comparison result of the input voiceprint and the preset voiceprint, and a third comparison result of the voice frequency and the preset frequency value; (ii) a And the audio preprocessing module indicates the communication equipment to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
In one embodiment, the audio pre-processing module further comprises a memory connected with the audio pre-processing module.
In one aspect, an embodiment of the present invention provides a preset information importing method, which is applied to a bluetooth headset as described in any of the foregoing embodiments, and includes:
when detecting that the Bluetooth headset is in an in-ear state, indicating the communication equipment to be connected with the user terminal;
detecting that the communication equipment is successfully connected with the user terminal, and outputting a voice information input prompt;
when the voice information is detected to be recorded completely, outputting a sending-back prompt message recording prompt;
restarting the Bluetooth earphone when detecting that the sending-back prompt information is recorded completely, and respectively performing an original sound verification step and a sound change verification step;
and if the verification steps are passed, ending the importing of the preset information.
In another aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the above methods.
One of the above technical solutions has the following advantages and beneficial effects:
the control method of the Bluetooth headset comprises the steps of detecting that the Bluetooth headset is in an in-ear state, and acquiring sound information; sequentially carrying out audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features comprise input content information, input voiceprints and voice frequency; receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value; acquiring a first comparison result of input content information and preset content information, a second comparison result of input voiceprints and preset voiceprints, and a third comparison result of voice frequency and a preset frequency value; and indicating the communication equipment of the Bluetooth headset to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result. By the Bluetooth headset control method, a user of a non-original Bluetooth headset cannot use the Bluetooth headset when the Bluetooth headset is lost, so that a pick-up person does not take away the Bluetooth headset, the safety of the Bluetooth headset is improved, and the Bluetooth headset can be conveniently found.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a first schematic flow chart diagram of a Bluetooth headset control method in one embodiment;
FIG. 2 is a schematic diagram of a wireless connection of a headset in one embodiment;
FIG. 3 is a diagram of a human body model with a Bluetooth headset in an embodiment;
FIG. 4 is a flowchart illustrating the steps of obtaining a second comparison of an input voiceprint to a predetermined voiceprint in one embodiment;
FIG. 5 is a flowchart illustrating a step of obtaining a third comparison result between a sound frequency and a predetermined frequency value according to an embodiment;
fig. 6 is a flowchart illustrating a step of obtaining a first comparison result between the input content information and the preset content information in one embodiment;
FIG. 7 is a second schematic flow chart diagram of a Bluetooth headset control method in one embodiment;
FIG. 8 is a block diagram showing the structure of a Bluetooth headset control device according to an embodiment;
FIG. 9 is a block diagram of a first exemplary configuration of a Bluetooth headset in one embodiment;
FIG. 10 is a block diagram showing a second exemplary structure of a Bluetooth headset according to an embodiment;
fig. 11 is a flowchart illustrating a preset information importing method according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, there is provided a bluetooth headset control method including the steps of:
s110, detecting that the Bluetooth headset is in an in-ear state, and acquiring sound information;
wherein, the in-ear state is the state that the Bluetooth headset is worn in the ear of a person.
Specifically, any technical means in the art can be adopted to detect the state of the bluetooth headset. For example: whether the Bluetooth headset is in an in-ear state or not can be judged according to electric signals transmitted by an infrared sensor arranged in the Bluetooth headset. The edge of bluetooth headset's sound outlet is located to infrared sensor. The sound information is acquired when the Bluetooth headset is detected to be in the in-ear state. In one specific example, the collection may be performed by a sound collection device, and the sound information may be acquired from the sound collection device. The sound information may be emitted by a human body.
S120, sequentially carrying out audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features comprise input content information, input voiceprints and voice frequency;
the voiceprint is a quantized value obtained by Fourier variation of a ripple of sound, and can be obtained by performing feature extraction on preprocessed sound information. The voice frequency of the user is the distance of each character voice, and the input content information is the character content contained in the voice and can be converted by any means in the field.
Specifically, the audio preprocessing method includes pre-emphasis, framing, windowing, and the like, and is used for eliminating the influence of aliasing, higher harmonic distortion, high frequency, and the like caused by the human vocal organs and the equipment for acquiring the voice signals on the quality of the voice signals. The signals obtained by subsequent voice processing are ensured to be more uniform and smooth as much as possible, high-quality parameters are provided for signal parameter extraction, and the voice processing quality is improved.
The feature extraction is to extract or reduce the influence of information irrelevant to recognition in the voice signal as much as possible, reduce the data amount to be processed in the subsequent recognition stage, and generate feature parameters representing speaker information carried in the voice signal. In this step, any technical means in the field may be adopted to perform feature extraction processing on the voice information after the audio preprocessing, so as to obtain voice features.
S130, receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value;
specifically, the preset content information, the preset voiceprint and the preset frequency value correspond to the input content information, the input voiceprint and the voiceprint frequency, respectively. The preset information may be stored in a certain memory in advance. When feature comparison is needed, preset information is directly extracted from the memory for comparison to obtain a comparison result
S140, acquiring a first comparison result of the input content information and the preset content information, a second comparison result of the input voiceprint and the preset voiceprint, and a third comparison result of the voice frequency and the preset frequency value;
specifically, any comparison method in the art may be adopted to perform comparison between the input content information and the preset content information, comparison between the input voiceprint and the preset voiceprint, and comparison between the voiceprint frequency and the preset frequency value, and obtain comparison results respectively. The "first, second and third" of the first, second and third alignments are used only as distinguishing alignments.
And S150, indicating the communication equipment of the Bluetooth headset to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
The alignment results may include alignment success and alignment failure. The sound feature may include a plurality of features, and may be specific depending on the features included in the preset information. In the case where the sound features include a plurality of features, the condition of successful comparison may be that the feature judgment of the preset number of terms is the same. For example, when the sound features are 3 features, the comparison is successful when the three features are all judged to be consistent with the preset information; or the comparison is successful only when the two characteristic judgments are consistent with the preset information. The above condition for determining consistency may be any one of the manners in the art, and is not limited herein. In one embodiment, the step of instructing the communication device of the bluetooth headset to connect or disconnect with the user terminal according to the first comparison result, the second comparison result, and the third comparison result includes: if the first comparison result, the second comparison result and the third comparison result are successful, indicating the communication equipment of the Bluetooth headset to be connected with the user terminal; and if any one of the first comparison result, the second comparison result and the third comparison result is a comparison failure, indicating the communication equipment of the Bluetooth headset to be disconnected from the user terminal.
The bluetooth headset control method can be applied to the situation that the bluetooth headset is lost, when the traditional bluetooth headset transmits data between the mobile phone terminal and the bluetooth headset, the traditional bluetooth headset is generally connected with the mobile phone end through the left headset, and when the mobile phone end transmits the data to the left headset, the right headset monitors the data, so that the communication between the headset and the mobile phone end is realized (as shown in fig. 2). The bluetooth headset control method of the present application is applied to a bluetooth headset, so that the bluetooth headset needs to pass the verification of the sound information after being worn in the ear of a person (as shown in fig. 3). Before this, even through being connected with left earphone bluetooth through the cell-phone end, also can't carry out normal bluetooth communication.
According to the Bluetooth headset control method, when the Bluetooth headset is detected to be in an in-ear state, sound information is acquired, sound characteristics in the sound information are compared with preset characteristics, when the comparison is successful, communication equipment in the Bluetooth headset is connected with a user terminal, and when the comparison is failed, the Bluetooth headset cannot be connected with the user terminal. By the Bluetooth headset control method, a user of a non-original Bluetooth headset cannot use the Bluetooth headset when the Bluetooth headset is lost, so that a pick-up person does not take away the Bluetooth headset, the safety of the Bluetooth headset is improved, and the Bluetooth headset can be conveniently found.
In one embodiment, as shown in fig. 4, the step of obtaining the second comparison result between the input voiceprint and the preset voiceprint includes:
s410, acquiring the coincidence degree of the input voiceprint and a preset voiceprint;
the voiceprint is a quantized value obtained by Fourier variation of a ripple of sound, and can be obtained by performing feature extraction on preprocessed sound information.
Specifically, the goodness of fit of the two voiceprints can be obtained by any technical means in the field.
S420, if the goodness of fit is larger than or equal to a set value, the comparison is successful;
and S420, if the goodness of fit is smaller than a set value, the comparison fails.
The set value can be set according to specific conditions. For example: the set value may be 90%.
The process of comparing the sound characteristics with the preset information is mainly used for judging whether the obtained sound information is the sound of the original user.
In one embodiment, the preset frequency value comprises a preset interval range and a preset frequency difference value;
as shown in fig. 5, the step of obtaining a third comparison result between the sound frequency and the preset frequency value includes:
s510, if each sound frequency falls into a preset interval range or the difference value of adjacent sound frequencies is smaller than a preset difference value, the comparison is successful;
s520, if each sound frequency does not fall within the preset interval range and the difference between adjacent sound frequencies is greater than or equal to the preset difference, the comparison fails.
Specifically, whether the comparison is successful or not is judged through a set rule, if each sound frequency falls into a preset interval range or the difference value of adjacent sound frequencies is smaller than a preset difference value, the comparison is successful, and if not, the comparison is failed. In one specific example, the rule may be: the difference between every two sound insulation of the 1 st sound insulation and the 2 nd sound insulation of the nth sound insulation cannot be smaller than 0.05s, or a fixed range value is set for every sound insulation, for example, every sound insulation is 0.1s (upper and lower floating 0.01s), and the comparison is successful when the condition in the rule is met.
In another example, the step of comparing the sound characteristic with the preset information to obtain the comparison result includes: if the sound frequencies fall into the preset interval range, the comparison is successful; if the sound frequencies do not fall into the preset interval range, the comparison fails.
In another example, the step of comparing the sound characteristic with the preset information to obtain the comparison result includes: if the difference value of the adjacent sound frequencies is smaller than the preset difference value, the comparison is successful; and if the difference value of the adjacent sound frequencies is greater than or equal to the preset difference value, the comparison fails.
The method is used for further accurately locking the pronunciation habit of the original user by judging through the sound frequency, and the accuracy of the voice verification is improved.
In one embodiment, as shown in fig. 6, the step of obtaining the first comparison result between the input content information and the preset content information includes:
s610, if the input content information is consistent with the preset content information, the comparison is successful;
s620, if the input content information is different from the preset content information, the comparison fails.
Through the setting of the preset content information, the voice password can be set, and only under the condition that the voice passwords are consistent, the comparison is successful, namely, the password verification is passed.
In one embodiment, as shown in fig. 7, there is provided a bluetooth headset control method including the steps of:
s710, detecting that the Bluetooth headset is in an in-ear state, and acquiring sound information;
s720, sequentially carrying out audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features comprise input content information, input voiceprints and voice frequency;
s730, receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value;
s740, obtaining a first comparison result of the input content information and the preset content information, a second comparison result of the input voiceprint and the preset voiceprint, and a third comparison result of the voice frequency and the preset frequency value;
and S750, indicating the communication equipment of the Bluetooth headset to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
In one embodiment, the method further comprises the following steps:
s760, if any one of the first comparison result, the second comparison result and the third comparison result is failed in comparison, playing back the prompt message.
Specifically, the prompt message sent back may be pre-entered, and the content of the prompt message may include information such as a contact address of the original user of the headset.
In one embodiment, detecting that the bluetooth headset is in an in-ear state, the step of acquiring the sound information includes:
when the Bluetooth headset is detected to be in an in-ear state, a voice verification message is played;
specifically, when the Bluetooth headset is detected to be placed in the ear of a user, a voice verification message is played to remind that sound information is to be collected.
Voice information is obtained in response to the voice authentication message.
It should be understood that although the various steps in the flow charts of fig. 1-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided a bluetooth headset control device including:
the sound information acquisition module is used for detecting that the Bluetooth headset is in an in-ear state and acquiring sound information;
the voice feature acquisition module is used for sequentially carrying out audio preprocessing and feature extraction processing on the voice information to obtain voice features; wherein the sound features comprise input content information, input voiceprints and voice frequency;
the receiving module is used for receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value;
the comparison module is used for acquiring a first comparison result of the input content information and the preset content information, a second comparison result of the input voiceprint and the preset voiceprint, and a third comparison result of the voice frequency and the preset frequency value;
and the execution module is used for indicating the communication equipment of the Bluetooth headset to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
For specific limitations of the bluetooth headset control apparatus, reference may be made to the above limitations of the bluetooth headset control method, which will not be described herein again. The modules in the bluetooth headset control device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a bluetooth headset is provided, the internal structure of which may be as shown in fig. 9, comprising a processing unit, a memory connected via a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory includes a nonvolatile storage medium, an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The computer program is executed by a processing unit to implement a bluetooth headset control method. Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, as shown in fig. 10, the bluetooth headset further includes a sound collection device; the processing unit comprises an audio preprocessing module and a processor; the audio preprocessing module is respectively connected with the sound acquisition equipment and the processor;
the audio preprocessing module detects that the Bluetooth headset is in an in-ear state, acquires sound information acquired by sound acquisition equipment, and sequentially performs audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features comprise input content information, input voiceprints and voice frequency; the audio preprocessing module receives preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value; the audio preprocessing module transmits the sound characteristics and the preset information to the processor; the processor acquires a first comparison result of the input content information and the preset content information, a second comparison result of the input voiceprint and the preset voiceprint, and a third comparison result of the voice frequency and the preset frequency value; (ii) a And the audio preprocessing module indicates the communication equipment to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
Specifically, the sound collection device includes a microphone module.
In a specific embodiment, the audio pre-processing module further comprises a memory connected with the audio pre-processing module.
The memory is used for storing preset information, and when the audio preprocessing module obtains the sound characteristics, the preset information and the sound characteristics in the memory are transmitted to the processor.
In an embodiment, as shown in fig. 11, there is further provided a preset information importing method applied to the bluetooth headset, including the steps of:
s1110, detecting that the Bluetooth headset is in an in-ear state, and indicating the communication equipment to be connected with the user terminal;
s1120, outputting a voice information input prompt when the communication equipment is successfully connected with the user terminal;
specifically, the voice information entry prompt may be text information and displayed on the user terminal. The voice information input prompt can also be voice information which indicates the playing equipment of the Bluetooth headset to play. The number of pieces of voice information may be set, and for example, when 10 pieces of voice information are entered, the entry may be completed.
S1130, when the voice information is detected to be recorded completely, outputting a sending-back prompt message recording prompt;
specifically, the sent-back prompt message input prompt may be a text message or a voice message.
S1140, restart the said bluetooth headset, and carry on the verification step of the original sound and verification step of the sound change separately after detecting that the sending back of the message is pointed out and input;
specifically, if the original sound verification step fails, the process returns to step S1120. In the step of the variable voice verification, whether the variable voice speaking sends back the prompt voice is verified.
S1150, if the verification steps are all passed, the importing of the preset information is ended.
It should be understood that the steps described above are not performed in the exact order recited, and that the steps may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps described above may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
When the TWS bluetooth headset is lost in a certain fixed scene and is picked up by a pickup person, most of the TWS bluetooth headset is tried to be connected with a mobile phone of the pickup person due to curiosity and is tried to listen to a song or a call, and the TWS bluetooth headset enters the following state, wherein the TWS bluetooth headset is passively turned on to identify and verify the state, and the implementation method specifically comprises the following steps:
1. when the pickup person wears the TWS Bluetooth headset, the TWS Bluetooth headset sends out voice prompt after detecting the entrance of the ear, such as: please output the voice password, or please speak the preference of the host, etc.;
2. the person who picks up the TWS bluetooth headset by chance can only try to speak voice with unpaired voiceprint and voice frequencies;
3. the TWS Bluetooth earphone can not identify the voice information of a picked person, sends back a prompt tone through the loudspeaker and particularly explains the thank you;
4. verification success-end
It should be noted that, after the bluetooth headset is lost, no matter one of the bluetooth headsets or one pair of the bluetooth headsets, through a program preset at the mobile phone end, or through a program preset at the bluetooth headset charging box, when the mobile phone or the charging box is close to the bluetooth headset, the mobile phone or the charging box will send out a flash prompt or a voice prompt to prompt that the bluetooth headset is nearby. Specifically, the distance between the bluetooth headset and the mobile phone end or between the bluetooth headset and the charging box can be obtained through the signal intensity of the preset bluetooth connection, and the light-emitting device is indicated to emit a flash prompt when the distance reaches the preset distance.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
detecting that the Bluetooth headset is in an in-ear state, and acquiring sound information;
sequentially carrying out audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features comprise input content information, input voiceprints and voice frequency;
receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value;
acquiring a first comparison result of input content information and preset content information, a second comparison result of input voiceprints and preset voiceprints, and a third comparison result of voice frequency and a preset frequency value;
and indicating the communication equipment of the Bluetooth headset to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
In one embodiment, the step of obtaining the second comparison result between the input voiceprint and the preset voiceprint further comprises the following steps when executed by the processor:
acquiring the goodness of fit of the input voiceprint and a preset voiceprint;
if the goodness of fit is larger than or equal to the set value, the comparison is successful;
if the goodness of fit is smaller than the set value, the comparison fails.
In one embodiment, the step of obtaining the third comparison result between the sound frequency and the preset frequency value further implements the following steps when executed by the processor:
if each sound frequency falls into the preset interval range or the difference value of adjacent sound frequencies is smaller than the preset difference value, the comparison is successful;
if each sound frequency does not fall into the preset interval range and the difference value of the adjacent sound frequencies is larger than or equal to the preset difference value, the comparison fails.
In one embodiment, the step of obtaining the first comparison result between the input content information and the preset content information further implements the following steps when executed by the processor:
if the input content information is consistent with the preset content information, the comparison is successful;
if the input content information is different from the preset content information, the comparison fails.
In one embodiment, the step of instructing the communication device of the bluetooth headset to switch on or off the connection with the user terminal when executed by the processor further performs the steps of:
if the first comparison result, the second comparison result and the third comparison result are successful, indicating the communication equipment of the Bluetooth headset to be connected with the user terminal;
and if any one of the first comparison result, the second comparison result and the third comparison result is a comparison failure, indicating the communication equipment of the Bluetooth headset to be disconnected from the user terminal.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if any one of the first comparison result, the second comparison result and the third comparison result is failed in comparison, playing back prompt information.
In one embodiment, detecting that the bluetooth headset is in an in-ear state, the step of acquiring the sound information when executed by the processor further comprises:
when the Bluetooth headset is detected to be in an in-ear state, a voice verification message is played;
voice information is obtained in response to the voice authentication message.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when detecting that the Bluetooth headset is in an in-ear state, indicating the communication equipment to be connected with the user terminal;
detecting that the communication equipment is successfully connected with the user terminal, and outputting a voice information input prompt;
when the voice information is detected to be recorded completely, outputting a sending-back prompt message recording prompt;
restarting the Bluetooth earphone when detecting that the sending-back prompt information is recorded completely, and respectively performing an original sound verification step and a sound change verification step;
and if the verification steps are passed, ending the importing of the preset information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus DRAM (RDRAM), and interface DRAM (DRDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (13)
1. A Bluetooth headset control method is characterized by comprising the following steps:
detecting that the Bluetooth headset is in an in-ear state, and acquiring sound information;
sequentially carrying out audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features include input content information, input voiceprints, and voice frequencies;
receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value;
acquiring a first comparison result of the input content information and the preset content information, a second comparison result of the input voiceprint and the preset voiceprint, and a third comparison result of the voice frequency and a preset frequency value;
and indicating the communication equipment of the Bluetooth headset to be connected or disconnected with a user terminal according to the first comparison result, the second comparison result and the third comparison result.
2. The bluetooth headset control method according to claim 1, wherein the step of obtaining the second comparison result of the input voiceprint and the preset voiceprint comprises:
acquiring the goodness of fit of the input voiceprint and the preset voiceprint;
if the goodness of fit is greater than or equal to a set value, the comparison is successful;
if the goodness of fit is smaller than the set value, the comparison fails.
3. The bluetooth headset control method according to claim 1, wherein the preset frequency value includes a preset interval range and a preset frequency difference value;
the step of obtaining a third comparison result of the sound frequency and a preset frequency value comprises:
if each sound frequency falls into the preset interval range or the difference value of adjacent sound frequencies is smaller than the preset difference value, the comparison is successful;
if each sound frequency does not fall into the preset interval range and the difference value of adjacent sound frequencies is greater than or equal to the preset difference value, the comparison fails.
4. The Bluetooth headset control method of claim 1,
obtaining a first comparison result of the input content information and the preset content information includes:
if the input content information is consistent with the preset content information, the comparison is successful;
and if the input content information is different from the preset content information, the comparison fails.
5. The method of claim 1, wherein the step of instructing the communication device of the bluetooth headset to turn on or off connection with the user terminal according to the first comparison result, the second comparison result, and the third comparison result comprises:
if the first comparison result, the second comparison result and the third comparison result are successful in comparison, indicating that the communication equipment of the Bluetooth headset is connected with a user terminal;
and if any one of the first comparison result, the second comparison result and the third comparison result is failed in comparison, indicating that the communication equipment of the Bluetooth headset is disconnected with the user terminal.
6. The bluetooth headset control method according to claim 5, further comprising the steps of:
and if any one of the first comparison result, the second comparison result and the third comparison result is failed in comparison, playing back prompt information.
7. The bluetooth headset control method according to claim 3, wherein the step of acquiring the sound information includes, when detecting that the bluetooth headset is in an in-ear state:
when the Bluetooth headset is detected to be in an in-ear state, a voice verification message is played;
acquiring the sound information in response to the voice verification message.
8. A Bluetooth headset control device, comprising:
the sound information acquisition module is used for detecting that the Bluetooth headset is in an in-ear state and acquiring sound information;
the sound characteristic acquisition module is used for sequentially carrying out audio preprocessing and characteristic extraction processing on the sound information to obtain sound characteristics; wherein the sound features include input content information, input voiceprints, and voice frequencies;
the receiving module is used for receiving preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value;
the comparison module is used for acquiring a first comparison result of the input content information and the preset content information, a second comparison result of the input voiceprint and the preset voiceprint, and a third comparison result of the voice frequency and a preset frequency value;
and the execution module is used for indicating the communication equipment of the Bluetooth headset to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
9. A Bluetooth headset comprising a memory and a processing unit, the memory storing a computer program, characterized in that the processing unit realizes the steps of the method according to any one of claims 1 to 7 when executing the computer program.
10. The bluetooth headset of claim 9, further comprising a sound collection device; the processing unit comprises an audio preprocessing module and a processor; the audio preprocessing module is respectively connected with the sound acquisition equipment and the processor;
the audio preprocessing module detects that the Bluetooth headset is in an in-ear state, acquires sound information acquired by sound acquisition equipment, and sequentially performs audio preprocessing and feature extraction processing on the sound information to obtain sound features; wherein the sound features include input content information, input voiceprints, and voice frequencies; the audio preprocessing module receives preset information; the preset information comprises preset content information, a preset voiceprint and a preset frequency value; the audio preprocessing module transmits the sound characteristics and preset information to the processor; the processor obtains a first comparison result of the input content information and the preset content information, a second comparison result of the input voiceprint and the preset voiceprint, and a third comparison result of the voice frequency and a preset frequency value; and the audio preprocessing module indicates the communication equipment to be connected or disconnected with the user terminal according to the first comparison result, the second comparison result and the third comparison result.
11. The bluetooth headset of claim 10, further comprising a memory coupled to the audio pre-processing module.
12. A preset information importing method applied to the bluetooth headset according to any one of claims 9 to 10, comprising the steps of:
when the Bluetooth headset is detected to be in an in-ear state, indicating the communication equipment to be connected with a user terminal;
when the communication equipment is detected to be successfully connected with the user terminal, outputting a voice information input prompt;
outputting a sending-back prompt message input prompt when the voice message input is detected to be finished;
restarting the Bluetooth headset and respectively performing an original sound verification step and a sound change verification step when the fact that the sending-back prompt information is recorded is detected;
and if the verification steps are passed, ending the importing of the preset information.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010679559.7A CN111951811A (en) | 2020-07-15 | 2020-07-15 | Bluetooth headset control method and device, Bluetooth headset and preset information importing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010679559.7A CN111951811A (en) | 2020-07-15 | 2020-07-15 | Bluetooth headset control method and device, Bluetooth headset and preset information importing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111951811A true CN111951811A (en) | 2020-11-17 |
Family
ID=73341697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010679559.7A Pending CN111951811A (en) | 2020-07-15 | 2020-07-15 | Bluetooth headset control method and device, Bluetooth headset and preset information importing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111951811A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351426A (en) * | 2020-12-16 | 2021-02-09 | 歌尔光学科技有限公司 | Bluetooth headset, terminal equipment and connection method of Bluetooth headset and terminal equipment |
CN113721882A (en) * | 2021-08-31 | 2021-11-30 | 广州朗国电子科技股份有限公司 | Advertisement sound playing control method, system, terminal and readable medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2466860A2 (en) * | 2010-12-17 | 2012-06-20 | Sony Ericsson Mobile Communications AB | Headset, method for controlling usage of headset, and terminal |
CN104092353A (en) * | 2014-07-08 | 2014-10-08 | 匡仲平 | Electrokinetic circulating perpetual generator set |
CN106446652A (en) * | 2016-09-13 | 2017-02-22 | 青岛海信移动通信技术股份有限公司 | Mobile terminal unlocking method and mobile terminal unlocking device |
CN109036438A (en) * | 2018-08-20 | 2018-12-18 | 平安科技(深圳)有限公司 | Storage cabinet control, device, computer equipment and storage medium |
CN110210935A (en) * | 2019-05-22 | 2019-09-06 | 未来(北京)黑科技有限公司 | Safety certifying method and device, storage medium, electronic device |
CN110324650A (en) * | 2019-07-22 | 2019-10-11 | 北京达佳互联信息技术有限公司 | Method, apparatus, electronic equipment and the storage medium of Data Matching |
CN110797031A (en) * | 2019-09-19 | 2020-02-14 | 厦门快商通科技股份有限公司 | Voice change detection method, system, mobile terminal and storage medium |
CN111105796A (en) * | 2019-12-18 | 2020-05-05 | 杭州智芯科微电子科技有限公司 | Wireless earphone control device and control method, and voice control setting method and system |
CN111343534A (en) * | 2020-03-02 | 2020-06-26 | 昆山众赢昌盛贸易有限公司 | Wireless earphone in-ear detection method and wireless earphone |
-
2020
- 2020-07-15 CN CN202010679559.7A patent/CN111951811A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2466860A2 (en) * | 2010-12-17 | 2012-06-20 | Sony Ericsson Mobile Communications AB | Headset, method for controlling usage of headset, and terminal |
CN104092353A (en) * | 2014-07-08 | 2014-10-08 | 匡仲平 | Electrokinetic circulating perpetual generator set |
CN106446652A (en) * | 2016-09-13 | 2017-02-22 | 青岛海信移动通信技术股份有限公司 | Mobile terminal unlocking method and mobile terminal unlocking device |
CN109036438A (en) * | 2018-08-20 | 2018-12-18 | 平安科技(深圳)有限公司 | Storage cabinet control, device, computer equipment and storage medium |
CN110210935A (en) * | 2019-05-22 | 2019-09-06 | 未来(北京)黑科技有限公司 | Safety certifying method and device, storage medium, electronic device |
CN110324650A (en) * | 2019-07-22 | 2019-10-11 | 北京达佳互联信息技术有限公司 | Method, apparatus, electronic equipment and the storage medium of Data Matching |
CN110797031A (en) * | 2019-09-19 | 2020-02-14 | 厦门快商通科技股份有限公司 | Voice change detection method, system, mobile terminal and storage medium |
CN111105796A (en) * | 2019-12-18 | 2020-05-05 | 杭州智芯科微电子科技有限公司 | Wireless earphone control device and control method, and voice control setting method and system |
CN111343534A (en) * | 2020-03-02 | 2020-06-26 | 昆山众赢昌盛贸易有限公司 | Wireless earphone in-ear detection method and wireless earphone |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351426A (en) * | 2020-12-16 | 2021-02-09 | 歌尔光学科技有限公司 | Bluetooth headset, terminal equipment and connection method of Bluetooth headset and terminal equipment |
CN112351426B (en) * | 2020-12-16 | 2023-08-11 | 歌尔科技有限公司 | Bluetooth headset, terminal equipment and connection method of Bluetooth headset and terminal equipment |
CN113721882A (en) * | 2021-08-31 | 2021-11-30 | 广州朗国电子科技股份有限公司 | Advertisement sound playing control method, system, terminal and readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102570480B1 (en) | Processing Method of Audio signal and electronic device supporting the same | |
CN107172256B (en) | Earphone call self-adaptive adjustment method and device, mobile terminal and storage medium | |
US9818423B2 (en) | Method of improving sound quality and headset thereof | |
CN108417216B (en) | Voice verification method and device, computer equipment and storage medium | |
JP7120313B2 (en) | Biometric authentication device, biometric authentication method and program | |
CN111951811A (en) | Bluetooth headset control method and device, Bluetooth headset and preset information importing method | |
CN111179923B (en) | Audio playing method based on wearable device and wearable device | |
US20160314785A1 (en) | Sound reproduction method, speech dialogue device, and recording medium | |
CN112242149B (en) | Audio data processing method and device, earphone and computer readable storage medium | |
CN110234044A (en) | A kind of voice awakening method, voice Rouser and earphone | |
CN107978320A (en) | One kind call method of adjustment, device, equipment and medium | |
CN109065064A (en) | A kind of method, the method for audio output and output equipment generating EQ curve | |
JP2024510779A (en) | Voice control method and device | |
US20150073787A1 (en) | Voice filtering method, apparatus and electronic equipment | |
CN107977187B (en) | Reverberation adjusting method and electronic equipment | |
US11397799B2 (en) | User authentication by subvocalization of melody singing | |
CN115022767A (en) | Earphone wind noise reduction method and device, earphone and computer readable storage medium | |
CN111667837A (en) | Conference record acquisition method, intelligent terminal and device with storage function | |
CN111988705B (en) | Audio processing method, device, terminal and storage medium | |
CN107493376A (en) | A kind of ringing volume adjusting method and device | |
CN113436613A (en) | Voice recognition method and device, electronic equipment and storage medium | |
CN113259826A (en) | Method and device for realizing hearing aid in electronic terminal | |
CN112767945A (en) | Sound recording control method and system based on voiceprint, electronic device and storage medium | |
CN112118511A (en) | Earphone noise reduction method and device, earphone and computer readable storage medium | |
CN111785277A (en) | Speech recognition method, speech recognition device, computer-readable storage medium and processor |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 519000 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province Applicant after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd. Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province Applicant before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd. |