A kind of audio-frequency detection and deviceTechnical field
The present invention relates to regarding networking technology field, more particularly to a kind of audio-frequency detection and device.
Background technology
Depending on networked terminals in use, needing to access audio collecting device, such as common microphone, and the audio of microphoneElectrostatic can be transmitted to regarding networked terminals by connecting line.Electrostatic, which is reached, can damage equipment depending on networked terminals, while cause soundThe exception of frequency signal.
It is existing not have anti-static function usually depending on networked terminals, when exterior static is transmitted to regarding networked terminals, meetingLead to damage and the cacophonia of audio processing chip.
Therefore, audio signal exception caused by how solving electrostatic and audio processing chip damage become urgently to be solved at presentCertainly the technical issues of.
Invention content
It is urgently to be resolved hurrily quiet in the prior art to solve an embodiment of the present invention provides a kind of audio-frequency processing method and deviceThe problem of audio signal exception caused by electricity and audio processing chip damage.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of audio-frequency processing method, it is applied to regard networked terminals,The method includes:
Obtain the value of the register regarding networked terminals sound intermediate frequency processing chip;
Judge whether the value of the register meets preset condition;
If not satisfied, then resetting the value of the register.
Optionally, the step of whether value for judging the register meets preset condition include:
The value of the register of acquisition is compared with preset range;
When the value of the register is not in values, it is determined that be unsatisfactory for preset condition.
Optionally, before the step of described in the acquisition regarding the value of the register of networked terminals sound intermediate frequency processing chip,Further include:
By the electrostatic leakage module that is connect with the audio processing chip to being transmitted on the audio processing chipElectrostatic is released.
Optionally, the electrostatic leakage module includes Transient Suppression Diode.
To solve the above-mentioned problems, the embodiment of the present invention additionally provides a kind of regarding networked terminals, described to regard networked terminals packetAudio detection device is included, the audio detection module includes:
Acquisition module, the value for obtaining the register regarding networked terminals sound intermediate frequency processing chip;
Judgment module, for judging whether the value of the register meets preset condition;
Module is reset, for when the value of the register is unsatisfactory for preset condition, resetting the audio processing chip.
Optionally, the judgment module includes:
Submodule is compared, for comparing the value of the register obtained with the preset range;
First determination sub-module, for when the value of the register not within a preset range when, it is determined that be unsatisfactory for presettingCondition.
Optionally, described to further include depending on networked terminals:Electrostatic leakage module,
The electrostatic leakage module regards networked terminals sound intermediate frequency processing chip described in being used to obtain in the acquisition moduleBefore the value of register, when it is described depending on networked terminals there are when electrostatic, the electrostatic is carried out by the electrostatic leakage moduleIt releases.
Optionally, the electrostatic leakage module includes Transient Suppression Diode, at the Transient Suppression Diode and audioManage chip electrical connection.
Compared with prior art, the present invention has the following advantages:
A kind of audio-frequency detection provided in an embodiment of the present invention is applied to regard networked terminals, at the audio of acquisitionThe value for managing the register of chip, judges whether the value of register meets preset condition, if not satisfied, then resetting the value of register.As it can be seen that when the value of register is unsatisfactory for preset condition, the value of register can be reset, so as to avoid electrostatic from causingAudio signal exception and audio processing chip damage the problem of.
Description of the drawings
Fig. 1 is a kind of step flow chart of audio-frequency detection of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of audio-frequency detection of the embodiment of the present invention two;
Fig. 3 is a kind of structure diagram regarding networked terminals of the embodiment of the present invention three;
Fig. 4 is a kind of structure diagram regarding networked terminals of the embodiment of the present invention four;
Fig. 5 is the audio processing chip annexation figure of the embodiment of the present invention.
Specific implementation mode
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, below in conjunction with the accompanying drawings and specific realApplying mode, the present invention is described in further detail.
Embodiment one
The exception of audio signal can be embodied by the variation of the value of register, when the value of register is unsatisfactory for default itemWhen part, it is possible to determine that electrostatic etc. causes influence to audio signal, keeps audio signal abnormal.
Referring to Fig.1, a kind of step flow chart of audio-frequency detection of the embodiment of the present invention one is shown, this method can be withApplied to regarding networked terminals, following steps are can specifically include:
Step 101, the value of the register regarding networked terminals sound intermediate frequency processing chip is obtained.
Audio signal transmission is stored in the register of audio processing chip to regarding networked terminals, obtains the registerValue.
Step 102, judge whether the value of the register meets preset condition.
Specifically, judge whether the value of register obtained meets preset condition, when detecting that the value of register is unsatisfactory forWhen preset condition, then audio signal exists abnormal, needs the value for resetting register.Such as:Detection judge register value whetherWithin a preset range, if so, determination meets preset condition, if it is not, being then unsatisfactory for preset condition.Wherein, people in the artMember can be configured above-mentioned preset condition according to actual conditions, is not particularly limited to this in the embodiment of the present invention.
Step 103, if not satisfied, then resetting the value of the register.
If judge that the value of register is unsatisfactory for preset condition, the value of register is reset, avoids the audio of subsequent transmissionSignal can not in normal storage to register, specifically can by being connected to the reset circuit of audio processing chip, to its intoRow resetting.
Audio-frequency detection provided in an embodiment of the present invention, by during audio transmission, detecting audio processing chipRegister value, judge whether the value of register meets preset condition, if not satisfied, then resetting the value of register, Ke YiyouEffect avoids electrostatic influences such as abnormal caused by audio signal, at the same time it can also prevent electrostatic from causing to damage to audio processing chipIt is bad.
Embodiment two
With reference to Fig. 2, a kind of step flow chart of audio-frequency detection of the embodiment of the present invention two is shown.
Audio-frequency detection provided in an embodiment of the present invention includes the following steps:
Step 201, the electrostatic leakage module connected by shown audio processing chip is to being transmitted to shown audio frequency process coreThe electrostatic of on piece is released.
It is obtaining before the value of the register of networked terminals sound intermediate frequency processing chip, is first passing through electrostatic leakage module to warpIt crosses the electrostatic that audio transmission line is transferred to depending on networked terminals to release, in source, has first at least obstructed partial electrostatic to audioInfluence caused by transmission, if the electrostatic leakage module can all release electrostatic, in subsequent detection, audio signalThere is no exceptions, can direct exports audio signal.If the electrostatic leakage module can not release to electrostatic completely, subsequent inspectionDuring survey, audio signal is further processed, avoids the exception of audio signal.
The specific electrostatic leakage module includes Transient Suppression Diode, the Transient Suppression Diode and audio processing chipElectrical connection, releases to the signal for reaching audio transmission line by Transient Suppression Diode.
Step 202, the value of the register regarding networked terminals sound intermediate frequency processing chip is obtained.
By electrostatic leakage module, to being transmitted to after the electrostatic depending on networked terminals releases, then obtain regarding networked terminalsThe value of the register of sound intermediate frequency processing chip.
Step 203, the value of the register of acquisition is compared with preset range.
After the value for obtaining register, the value of the register is compared with preset range.
Step 204, when the value of the register is not in values, it is determined that be unsatisfactory for preset condition.
When the value of the register of acquisition is not in the preset range of setting, then it can determine that the value of register is unsatisfactory forPreset condition.Wherein, those skilled in the art can be configured above-mentioned preset range according to actual conditions, and the present invention is implementedThis is not particularly limited in example.
Step 205, if not satisfied, then resetting the value of the register.
If judge that the value of register is unsatisfactory for preset condition, the value of register is reset, avoids the audio of subsequent transmissionSignal can not in normal storage to register, specifically can by being connected to the reset circuit of audio processing chip, to its intoRow resetting.After the completion of resetting, continue the value for obtaining register.
If the value of register meets preset condition, continue the value for obtaining register, without carrying out other operations.
Audio-frequency detection provided in an embodiment of the present invention, by during audio transmission, detecting audio processing chipRegister value, judge whether the value of register meets preset condition, if not satisfied, then resetting the value of register, Ke YiyouEffect avoids electrostatic influences such as abnormal caused by audio signal, at the same time it can also prevent electrostatic from causing to damage to audio processing chipIt is bad.
Embodiment three
With reference to Fig. 3, a kind of structure diagram regarding networked terminals of the embodiment of the present invention three is shown.
Provided in an embodiment of the present invention depending on networked terminals includes audio detection device 301, and audio detection device specifically includesAcquisition module 3011, the value for obtaining the register regarding networked terminals sound intermediate frequency processing chip;Judgment module 3012, for sentencingWhether the value of disconnected register meets preset condition;Module 3013 is reset, for resetting audio processing chip.
It is provided in an embodiment of the present invention to regard networked terminals, including audio detection device, pass through the acquisition of audio detection deviceModule obtains the value of register, judges whether the value of register meets preset condition by judgment module, by resetting module weightSet audio processing chip.Through the embodiment of the present invention regard networked terminals, it is possible to prevente effectively from electrostatic is caused by audio signalThe influences such as abnormal, at the same time it can also prevent electrostatic from being damaged to audio processing chip.
Example IV
With reference to Fig. 4, a kind of structure diagram regarding networked terminals of the embodiment of the present invention four is shown.
Provided in an embodiment of the present invention depending on networked terminals includes audio detection device 401, and audio detection device specifically includesAcquisition module 4011, the value for obtaining the register regarding networked terminals sound intermediate frequency processing chip;Judgment module 4012, for sentencingWhether the value of disconnected register meets preset condition;Module 4013 is reset, for resetting audio processing chip.
Specifically, above-mentioned judgment module 4012 includes comparison submodule 40121, the value of the register for that will obtainIt is compared with the preset range;First determination sub-module 40122, for when the register value not within a preset rangeWhen, it is determined that it is unsatisfactory for preset condition.
Above-mentioned depending on networked terminals further includes electrostatic leakage module 402, and networked terminals middle pitch is regarded for being obtained in acquisition moduleBefore the value of the register of frequency processing chip, there are when electrostatic, electrostatic is carried out by electrostatic leakage module when depending on networked terminalsIt releases.
The electrostatic leakage module 402 specifically includes a Transient Suppression Diode TVS, Transient Suppression Diode TVS with it is upperThe connection relation of audio processing chip is stated referring in particular to shown in Fig. 5.The one end TVS passes through audio transmission line 51 and audio processing chip52 electrical connections, other end ground connection, 52 other end of audio processing chip is electrically connected with reset circuit 53, when in the audio signal of transmissionWhen doped with electrostatic, the electric current of audio signal is larger, when being transmitted to TVS by audio transmission line 51, TVS reverse phases is made to be connected,By current drain to greatly, meanwhile, utilize the clamp voltage of Transient Suppression Diode TVS itself, it is ensured that normal audio is believedNumber pass through, audio processing chip 52 can be passed to, audio signal is further detected;When electrostatic by TVS by electrostatic leakageWhen complete, during audio detection, it is possible to determine that there is no exceptions for audio signal, if releasing not exclusively, audio signal existsIt is abnormal, audio processing chip 52 is reset by reset circuit 53, subsequent audio signal is prevented to be affected.
It is provided in an embodiment of the present invention to regard networked terminals, including audio detection device, pass through the acquisition of audio detection deviceModule obtains the value of register, judges whether the value of register meets preset condition by judgment module, by resetting module weightSet audio processing chip.Through the embodiment of the present invention regard networked terminals, it is possible to prevente effectively from electrostatic is caused by audio signalThe influences such as abnormal, at the same time it can also prevent electrostatic from being damaged to audio processing chip.
Above to a kind of audio-frequency detection provided by the present invention and device, it is described in detail, it is used hereinPrinciple and implementation of the present invention are described for specific case, and the explanation of above example is only intended to help to understandThe method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, havingThere will be changes in body embodiment and application range, in conclusion the content of the present specification should not be construed as to the present inventionLimitation.