Sound signal detection system and method based on earphone transmissionTechnical Field
The invention relates to the technical field of earphone detection, in particular to a sound signal detection system and method based on earphone transmission.
Background
Along with the improvement of living standard, multiple mobile terminals such as cell-phone, intercom have become indispensable electronic product such as people's work, life, study gradually, and the earphone is as the accessory of electronic product such as cell-phone, intercom but respectively to differentiate, except that the current function of making an uproar and talking to fall, more intelligent earphone performance requirement also constantly promotes, especially can be through gathering accurate test data, and then through the contrast and the analysis with characteristic parameter, judge whether there is the potential safety hazard in earphone audio frequency source.
In order to maximize the detection precision and accuracy, the detection evaluation trend of the audio source of the earphone needs to be comprehensively known, and an advanced detection method and an advanced detection scheme are adopted, so that the expected effect can be achieved.
Disclosure of Invention
In order to meet the requirements, the invention provides a sound signal detection system and method based on earphone transmission, which can detect nearby dangerous sources or bad noise signals in real time through sound signals received by an earphone, and can give an alarm in time when danger occurs, so that potential safety hazards are reduced.
In order to achieve the purpose, the invention provides the following technical scheme:
a system for detecting a sound signal based on a headphone transmission, the system comprising: the headset, the transmission module and the control module; the headset is connected with the control module through the transmission module; the headset is used for receiving an externally input sound signal and sending the sound signal to the control module through the transmission module; the control module is used for identifying the sound signal and generating a safety alarm according to an identification result.
Preferably, the headset includes left ear subassembly, auris dextra subassembly and first roof beam, left side ear subassembly and auris dextra subassembly link together and divide and locate through the first roof beam the both ends of first roof beam, left side ear subassembly includes left casing and the left speaker of setting in left casing, the auris dextra subassembly includes right casing and the right speaker of setting in right casing, be provided with the mainboard subassembly with the detachable mode on the first roof beam, on the first roof beam by left side ear subassembly extend be provided with the left channel circuit of mainboard subassembly intercommunication, on the first roof beam by the auris dextra subassembly extend be provided with the right channel circuit of mainboard subassembly intercommunication to and the transceiver of left channel circuit and right channel circuit connection in the headset.
Further, the mainboard assembly comprises a power supply module and a memory, wherein the power supply module is used for supplying power to the headset; the memory is used for storing externally input sound signals; the transceiver takes one of the left and right sound channel lines as a data transmitting line and the other as a data receiving line; and the data transmission line transmits the sound signal in the memory to the control module through the transmission module.
Furthermore, a left channel line interface and a right channel interface of the transmission module are respectively and correspondingly connected with a left channel line and a right channel line in the headset, so as to form a left channel path and a right channel path between the headset and the transmission module.
Preferably, the control module includes:
a danger signal database for storing various kinds of danger audio signals collected in advance; and a filter and an amplifier connected to the data transmission line;
the filter is used for carrying out self-adaptive filtering processing on an externally input sound signal to obtain an estimation signal of the sound signal generated by the headset in the signal collected by the transceiver; the amplifier is used for amplifying the estimated signal of the sound signal generated by the headset and amplifying the sound signal.
Further, the control module further comprises: the comparison unit is used for judging whether the dangerous audio signal is the same as the received sound signal or not by comparing the dangerous audio signal in the dangerous signal database with the received amplified sound signal;
the judgment unit is used for determining that the dangerous audio signal is the same as the current sound signal if the frequency and the tone of the dangerous audio signal are consistent with those of the current sound signal, and determining that the dangerous audio signal is different from the current sound signal if the frequency and the tone of the dangerous audio signal are inconsistent with those of the received sound signal;
the alarm unit is used for controlling the headset to play a first prompt voice by sending a first control signal through the control module when the sound signals are successfully compared; and when the sound signal comparison is unsuccessful, the control module sends a second control signal to the transmission module to control the headset to play a second prompt voice.
Further, the first prompt voice is a dangerous audio matching result, a dangerous audio type and comparison time; the second prompt voice is a voice prompt which is not successfully matched.
A method for detecting a sound signal based on headphone transmission, the method comprising: the method comprises the steps of receiving an externally input sound signal through the headset, sending the sound signal to the control module through the transmission module to be compared with a pre-established dangerous audio database, identifying the current sound signal, and generating a safety alarm according to an identification result.
The invention has the technical effects and advantages that:
according to the sound signal detection system and method based on earphone transmission provided by the embodiment of the invention, through the ingenious design of the earphone detection structure, the controller can identify according to the detected sound signal, compare and analyze the difference of the sound signal and judge whether the source of the sound signal is dangerous or not, so that the intelligence of the earphone is enhanced and the user experience is improved.
Meanwhile, the sound signal detection system based on the earphone transmission provided by the embodiment of the invention has the advantages of simple structure and low manufacturing cost, is suitable for large-scale production, and is also suitable for rescue scenes, so that a user can rapidly judge the change of the surrounding environment according to the identification result of the sound signal only through the earphone in an emergency situation, thereby avoiding being injured.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
Fig. 1 is a flow chart of a method for detecting a sound signal based on earphone transmission according to the present invention;
FIG. 2 is a main structure diagram of the sound signal detection system based on earphone transmission according to the present invention;
FIG. 3 is a schematic view of the structure of the headset of the present invention;
the system comprises a microphone, a transmission module, a control module, a mainboard assembly, a left ear assembly, a right ear assembly, a transceiver, a power supply module, a memory, a left channel circuit and a right channel circuit, wherein the microphone comprises 101-earphone, 102-transmission module, 103-control module, 10-mainboard assembly, 11-left ear assembly, 12-right ear assembly, 13-transceiver, 14-power supply module, 15-memory, 111-left channel circuit and 121-right channel circuit.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this embodiment, a sound signal detection system based on earphone transmission is provided, as shown in fig. 2, the system includes: aheadset 101, atransmission module 102 and acontrol module 103; the headset is connected with the control module through the transmission module; the headset is used for receiving an externally input sound signal and sending the sound signal to the control module through the transmission module; the control module is used for identifying the sound signal and generating a safety alarm according to an identification result.
As shown in fig. 3, the headset includes left ear subassembly 11,right ear subassembly 12 and head roof beam, left side ear subassembly and right ear subassembly link together and divide through the head roof beam and locate the both ends of head roof beam, left side ear subassembly includes left casing and the left speaker of setting in left casing, the right ear subassembly includes right casing and the right speaker of setting in right casing, be provided withmainboard subassembly 10 with detachable mode on the head roof beam, by on the head roof beam left side ear subassembly extend be provided with theleft channel circuit 111 of mainboard subassembly intercommunication, on the head roof beam by right ear subassembly extend be provided with theright channel circuit 121 of mainboard subassembly intercommunication to and thetransceiver 13 of being connected withleft channel circuit 111 and theright channel circuit 121 in the headset.
Themain board assembly 10 comprises apower module 14 for supplying power to the headset and amemory 15; the memory is used for storing externally input sound signals; the transceiver takes one of the left and right sound channel lines as a data transmitting line and the other as a data receiving line; and the data transmission line transmits the sound signal in the memory to the control module through the transmission module.
And the left sound channel line interface and the right sound channel interface of the transmission module are respectively and correspondingly connected with the left sound channel line and the right sound channel line in the headset so as to form a left sound channel passage and a right sound channel passage between the headset and the transmission module.
The control module includes: a danger signal database for storing various kinds of danger audio signals collected in advance, and a filter and an amplifier connected with the data transmission line;
wherein, all kinds of dangerous audio signal that store in the dangerous signal database include: distress sounds, noises of car horns, collision sounds of traffic accidents, and the like. Besides the danger signal database, the control module can also comprise a sound signal database for storing various normal audio signals, and the database can also be used as a comparison source of the current signal to be detected to compare the sound signals, so that the sound type is judged.
The filter is used for carrying out self-adaptive filtering processing on the sound signals input from the outside to obtain the estimation signals of the sound signals generated by the headset in the signals collected by the transceiver; and the amplifier is used for amplifying the estimated signal of the sound signal generated by the headset and amplifying the sound signal.
In addition, the control module further includes: the comparison unit is used for judging whether the dangerous audio signal is the same as the received sound signal or not by comparing the dangerous audio signal in the dangerous signal database with the received amplified sound signal;
the judgment unit is used for determining that the dangerous audio signal is the same as the current sound signal if the frequency and the tone of the dangerous audio signal are consistent with those of the current sound signal, and determining that the dangerous audio signal is different from the current sound signal if the frequency and the tone of the dangerous audio signal are inconsistent with those of the received sound signal;
the alarm unit is used for controlling the headset to play a first prompt voice by sending a first control signal through the control module when the sound signals are successfully compared; and when the sound signal comparison is unsuccessful, the control module sends a second control signal to the transmission module to control the headset to play a second prompt voice.
The first prompt voice is a dangerous audio matching result, a dangerous audio type and comparison time; the second prompt voice is a voice prompt which is not successfully matched.
Based on the same technical concept, the present invention further provides a method for detecting a sound signal based on earphone transmission as shown in fig. 1, wherein the method comprises:
s1, receiving an externally input sound signal through the headset;
s2, the sound signal is sent to a control module through a transmission module to be compared with a pre-established dangerous audio database, and the current sound signal is identified;
s3 generates a security alert based on the recognition result.
Finally, it should be noted that: while the invention has been described with reference to a preferred embodiment, various modifications may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In particular, the technical features mentioned in the embodiments can be combined in any way as long as there is no structural conflict. It is intended that the invention not be limited to the particular embodiments disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.