CN106792342B - A kind of electronic equipment waterproof method, electronic equipment and protection circuit - Google Patents

A kind of electronic equipment waterproof method, electronic equipment and protection circuit Download PDF

Info

Publication number
CN106792342B
CN106792342B CN201611061592.3A CN201611061592A CN106792342B CN 106792342 B CN106792342 B CN 106792342B CN 201611061592 A CN201611061592 A CN 201611061592A CN 106792342 B CN106792342 B CN 106792342B
Authority
CN
China
Prior art keywords
loudspeaker
electronic equipment
preset
detection
vibrating membrane
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611061592.3A
Other languages
Chinese (zh)
Other versions
CN106792342A (en
Inventor
肖石文
刘勰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Vivo Mobile Communication Co Ltd Beijing Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd, Vivo Mobile Communication Co Ltd Beijing Branch filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611061592.3A priority Critical patent/CN106792342B/en
Publication of CN106792342A publication Critical patent/CN106792342A/en
Application granted granted Critical
Publication of CN106792342B publication Critical patent/CN106792342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/44Special adaptations for subaqueous use, e.g. for hydrophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

Abstract

The present invention provides a kind of electronic equipment waterproof method, electronic equipment and protection circuit, this method comprises: detecting the first electric signal of the loudspeaker output when the loudspeaker is in non-loudspeaking working condition, generating the first testing result;According to first testing result, judge whether the vibrating membrane of the loudspeaker is offset inward;If the vibrating membrane of the loudspeaker is offset inward, start preset waterproofing protection mode.In this way; when electronic equipment enters in water environment; the vibrating membrane of loudspeaker is caused to be offset inward since the external pressure of electronic equipment becomes larger; determine that vibrating membrane is offset inward by the first testing result of the first electric signal of detection loudspeaker output; to start waterproofing protection mode, the function of waterproof and the protection of electronic equipment are effectively realized.

Description

A kind of electronic equipment waterproof method, electronic equipment and protection circuit
Technical field
The present invention relates to field of communication technology more particularly to a kind of electronic equipment waterproof methods, electronic equipment and protection electricity Road.
Background technique
With the development of science and technology, electronic equipment (such as mobile phone, wrist-watch, notebook, tablet computer) has been widely applied In the every field that we live.In real life, the frequent loudspeaker of electronic equipment carries out operation relevant to sound, such as broadcasts It puts the music on, voice communication etc..Loudspeaker generally comprises the composition such as voice coil, vibrating membrane, soft iron, magnetic gap, reflecting drum.
Existing electronic equipment can have the situation fallen into water in the process used, after electronic equipment is fallen into water, The water of external environment enters electronic equipment, breaks down so as to cause electronic equipment.
Summary of the invention
The embodiment of the present invention provides a kind of electronic equipment waterproof method, electronic equipment and protection circuit, to solve existing skill After electronic equipment is fallen into water in art, the water of external environment enters electronic equipment, asks so as to cause what electronic equipment broke down Topic.
In a first aspect, the embodiment of the invention provides a kind of electronic equipment waterproof method, for the electronics with loudspeaker Equipment characterized by comprising
When the loudspeaker is in non-loudspeaking working condition, the first electric signal of the loudspeaker output is detected, is generated First testing result;
According to first testing result, judge whether the vibrating membrane of the loudspeaker is offset inward;
If the vibrating membrane of the loudspeaker is offset inward, start preset waterproofing protection mode.
Second aspect, the embodiment of the present invention also provide a kind of electronic equipment, including loudspeaker characterized by comprising
First electrical signal detection module, for detecting the loudspeaking when the loudspeaker is in non-loudspeaking working condition First electric signal of device output, generates the first testing result;
First judgment module, first testing result for being detected according to the first electrical signal detection module, sentences Whether the vibrating membrane of the loudspeaker of breaking is offset inward;
Starting module judges that the vibrating membrane of the loudspeaker is offset inward for the first judgment module, starting Preset waterproofing protection mode.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment protection circuit, which is characterized in that the protection electricity Road includes:
Loudspeaker, detection resistance, operational amplifier circuit, modulus detection circuit and processor;
The loudspeaker anode connect with the first end of the detection resistance, the second end of the detection resistance with it is described The first end of operational amplifier circuit connects, and the second end of the operational amplifier circuit is connect with the cathode of the loudspeaker, the modulus detection The input terminal of circuit is connect with the first end and second end of the detection resistance respectively, the output end of the modulus detection circuit with The processor connection;
The modulus detection circuit is used to detect the loudspeaker and exports the first electric signal in the detection resistance, raw First testing result is transmitted at the first testing result, and to the processor;
The processor is used to judge whether the vibrating membrane of the loudspeaker occurs inwardly according to first testing result Offset;
If the vibrating membrane that the processor is also used to the loudspeaker is offset inward, start preset waterproofing protection mould Formula.
In the embodiment of the present invention, when the loudspeaker is in non-loudspeaking working condition, the loudspeaker output is detected First electric signal generates the first testing result;According to first testing result, judge whether the vibrating membrane of the loudspeaker is sent out Life is offset inward;If the vibrating membrane of the loudspeaker is offset inward, start preset waterproofing protection mode.In this way, when electricity Sub- equipment enters in water environment, causes the vibrating membrane of loudspeaker to be biased inwardly since the external pressure of electronic equipment becomes larger It moves, determines that vibrating membrane is offset inward by the first testing result of the first electric signal of detection loudspeaker output, so that starting is anti- Water conservation mode effectively realizes the function of waterproof and the protection of electronic equipment.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart for the electronic equipment waterproof method that first embodiment of the invention provides;
Fig. 2 is the electronic equipment protection circuit schematic diagram that first embodiment of the invention and fourth embodiment provide;
Fig. 3 is the flow chart for the electronic equipment waterproof method that second embodiment of the invention provides;
Fig. 4 is one of the structure chart of electronic equipment that third embodiment of the invention provides;
Fig. 5 is the two of the structure chart for the electronic equipment that third embodiment of the invention provides;
Fig. 6 is one of the structure chart of first judgment module in the electronic equipment that third embodiment of the invention provides;
Fig. 7 is the two of the structure chart of the first judgment module in the electronic equipment that third embodiment of the invention provides;
Fig. 8 is the three of the structure chart for the electronic equipment that third embodiment of the invention provides;
Fig. 9 is the structure chart for the electronic equipment that fifth embodiment of the invention provides;
Figure 10 is the structure chart for the electronic equipment that sixth embodiment of the invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, those of ordinary skill in the art's every other implementation obtained under the premise of not making creation labour Example, shall fall within the protection scope of the present invention.
First embodiment
It is the flow chart of electronic equipment waterproof method provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, as shown in Figure 1, this Invention first embodiment for loudspeaker electronic equipment waterproof method the following steps are included:
Step 101, when the loudspeaker is in non-loudspeaking working condition, acquire the first telecommunications of loudspeaker output Number, generate the first testing result.
In the step, the loudspeaking working condition of loudspeaker is a kind of working condition for converting electrical signals to voice signal, Its working principle is that electrical conductor is vibrated in magnetic field by the effect of power.Loudspeaker generally comprises coil and vibration Film, when sound passes to the vibrating membrane of coil-moving speaker, the coil of loudspeaker is also just as vibration vibration of membrane is shaken in magnetic field It is dynamic, induced current can be generated, the induced current and the sound of driving diaphragm oscillations are closely related, for example, utilizing electronic equipment Play music, call.And above-mentioned non-loudspeaking working condition indicates that loudspeaker is not in electric signal and is converted into voice signal Working condition, as electronic equipment it is mute when working condition.
First electric signal of above-mentioned loudspeaker output can be first voltage signal or the first current signal, such as Fig. 2 institute Show, Fig. 2 is the circuit connection diagram of the loudspeaker in electronic equipment, and the anode of loudspeaker is connect with detection resistance R1, works as loudspeaker Vibrating membrane when being offset inward, the coil on vibrating membrane cuts the magnetic cylinder magnetic line of force, will generate first on detection resistance R1 Electric signal, by modulus detection circuit detect the first electric signal, generate the first testing result, wherein modulus detection circuit include than Compared with device circuit and analog to digital conversion circuit, the input terminal of comparator circuit is connect with the first end and second end of detection resistance R1, than It is connected compared with the output end of device circuit and the input terminal of analog to digital conversion circuit, the output end of analog to digital conversion circuit is connect with processor; It carries out analog-to-digital conversion and obtains digital signal, the end a of detection detection resistance R1 and the b of detection resistance R1 are compared by comparator circuit End potential obtains an output as a result, then exporting this result to the i.e. high electricity of the available digital signal of analog to digital conversion circuit Then flat or low level is handled obtained digital signal input central processing unit.In this way, processor is by detecting High level or low level may determine that loudspeaker vibrating membrane drift condition, when in be offset inward when start waterproof Protected mode, in this way, having saved cost of hardware design by existing loudspeaker in multiplexing electronic equipment.
Step 102 judges whether the vibrating membrane of the loudspeaker is offset inward according to first electric signal.
In the step, when electronic equipment is in water environment, electronic device exterior pressure can become larger, this when vibrating membrane just It can be offset inward, as shown in Fig. 2, the potential at the end a that the electric signal for being offset inward generation is detection resistance R1 is greater than detection The end the b potential of resistance R1 can export high level by comparator circuit or low level (here will be according to analog-to-digital conversion electricity The specific connection type on road determines).It is assumed that above-mentioned output is high level, then the flow direction that can release the first electric signal is The end b is flowed to from the end a of detection resistance R1, so that it is determined that vibrating membrane is to be offset inward.It should be noted that the circuit that Fig. 2 is provided is only It is the process in order to which the first electric signal of output of step 101 is better described, operational amplifier circuit is the work that loudspeaker is in loudspeaking Operating circuit when state.As long as can detection resistance R1 and the telecommunications on the circuit of operational amplifier circuit composition in the embodiment of the present invention Number, the electric signal being not limited on detection resistance R1, so that it may be judged according to the electric signal on circuit.
If the vibrating membrane of step 103, the loudspeaker is offset inward, start preset waterproofing protection mode.
In the step, when the vibrating membrane of loudspeaker is offset inward, start the waterproofing protection mode set, this Sample just will start preset waterproofing protection mode when electronic equipment enters water environment, which can be with It is to close electronic device exterior interface, control disconnection electronic device exterior interface power, close electronic equipment screen power supply etc., from And effectively realize the function of waterproof.
In first embodiment of the invention, above-mentioned electronic equipment can be any electronic equipment for having loudspeaker, such as: hand Machine, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), individual digital help Manage (personal digital assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, ) or wearable device (Wearable Device) etc. MID.
In the electronic equipment waterproof method of first embodiment of the invention, when the loudspeaker is in non-loudspeaking working condition When, the first electric signal of the loudspeaker output is detected, the first testing result is generated;According to first testing result, judgement Whether the vibrating membrane of the loudspeaker is offset inward;If the vibrating membrane of the loudspeaker is offset inward, starting is default Waterproofing protection mode.In this way, causing to raise since the external pressure of electronic equipment becomes larger when electronic equipment enters in water environment The vibrating membrane of sound device is offset inward, and determines vibration by the first testing result of the first electric signal of detection loudspeaker output Film is offset inward, to start waterproofing protection mode, effectively realizes the function of waterproof and the protection of electronic equipment.
Second embodiment
It is the flow chart of electronic equipment waterproof method provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, as shown in figure 3, packet Include following steps:
Step 301, when the loudspeaker is in non-loudspeaking working condition, acquire the first telecommunications of loudspeaker output Number, generate the first testing result.
In the step, the loudspeaking working condition of loudspeaker is a kind of working condition for converting electrical signals to voice signal, Its working principle is that electrical conductor is vibrated in magnetic field by the effect of power.Loudspeaker generally comprises coil and vibration Film, when sound passes to the vibrating membrane of coil-moving speaker, the coil of loudspeaker is also just as vibration vibration of membrane is shaken in magnetic field It is dynamic, induced current can be generated, the induced current and the sound of driving diaphragm oscillations are closely related, for example, utilizing electronic equipment Play music, call.And above-mentioned non-loudspeaking working condition indicates that loudspeaker is not in electric signal and is converted into voice signal Working condition, as electronic equipment it is mute when working condition.
First electric signal of above-mentioned loudspeaker output can be first voltage signal or the first current signal, such as Fig. 2 institute Show, Fig. 2 is the circuit connection diagram of the loudspeaker in electronic equipment, the positive connecting detection resistance R1 of loudspeaker, when loudspeaker When vibrating membrane is offset inward, the coil on vibrating membrane cuts the magnetic cylinder magnetic line of force, and the first electricity will be generated on detection resistance R1 Signal detects the first electric signal by modulus detection circuit, generates the first testing result, and wherein modulus detection circuit includes comparing The input terminal of device circuit and analog to digital conversion circuit, comparator circuit is connect with the first end and second end of detection resistance R1, is compared The output end of device circuit and the input terminal of analog to digital conversion circuit connect, and the output end of analog to digital conversion circuit is connect with processor;Into Row analog-to-digital conversion obtains digital signal, and the end a of detection resistance R1 and the end the b potential of detection resistance R1 are compared by comparator circuit Obtain an output as a result, then this result exported to the available digital signal of analog to digital conversion circuit i.e. high level or Then low level is handled obtained digital signal input central processing unit.In this way, processor passes through the height electricity detected Flat or low level may determine that the drift condition of the vibrating membrane of loudspeaker, start waterproofing protection mould when in being offset inward Formula, in this way, having saved cost of hardware design by existing loudspeaker in multiplexing electronic equipment.
The flow direction of step 302, detection first electric signal, generates flow detection result.
In the step, when electronic equipment is in water environment, electronic device exterior pressure can become larger, this when vibrating membrane just It can be offset inward, as shown in Fig. 2, the potential at the end a that the electric signal for being offset inward generation is detection resistance R1 is greater than detection The end the b potential of resistance R1 can export high level by comparator circuit or low level (here will be according to analog-to-digital conversion electricity The specific connection type on road determines).It is assumed that above-mentioned output is high level, then the flow direction that can release the first electric signal is The end b is flowed to from the end a of detection resistance R1, so that it is determined that vibrating membrane is to be offset inward.It should be noted that the circuit that Fig. 2 is provided is only It is the process in order to which the first electric signal of output of step 101 is better described, operational amplifier circuit is the work that loudspeaker is in loudspeaking Operating circuit when state.As long as can detection resistance R1 and the telecommunications on the circuit of operational amplifier circuit composition in the embodiment of the present invention Number, the electric signal being not limited on detection resistance R1, so that it may be judged according to the electric signal on circuit.
Whether step 303, the flow direction for judging first electric signal are preset first direction.
In the step, the flow direction for the electric signal that preset first direction generates when being offset inward with vibrating membrane is consistent, For example, with reference to Fig. 2, the voltage or current that the end b is flowed to by the end a of detection resistance R1 is generated when vibrating membrane is offset inward, Then will setting the direction be first direction, in this way, by judge the first electric signal flow direction it may determine that vibrating membrane occur to Bias internal or outward offset, so that it is determined that the variation of electronic device exterior pressure.
Step 304, if so, determining that the vibrating membrane is offset inward, if it is not, end program.
In the step, by judging the flow direction of the first new number of electricity, the first testing result of generation is so that it is determined that vibrating membrane is sent out Life is offset inward, through existing loudspeaker in multiplexing electronic equipment, in the case of not increasing other hardware devices The function of realizing waterproof, has saved cost of hardware design.It should be noted that above-mentioned judging result can terminate journey when being no Sequence also may determine that whether the flow direction of first electric signal is preset second direction, here only to terminate program citing Explanation.
If the vibrating membrane of step 305, the loudspeaker is offset inward, start preset waterproofing protection mode.
In the step, when the vibrating membrane of loudspeaker is offset inward, start the waterproofing protection mode set, this Sample just will start preset waterproofing protection mode when electronic equipment enters water environment, which can be with It is to close electronic device exterior interface, control disconnection electronic device exterior interface power, close electronic equipment screen power supply etc., from And effectively realize the function of waterproof.
Optionally, after the step of whether flow direction for judging first electric signal is preset first direction, institute State method further include: if the flow direction of first electric signal be preset second direction, it is determined that the generation of the vibrating membrane to Outer offset;It is deviated outward according to the generation of the vibrating membrane, determines atmospheric pressure intensity values lower than preset pressure value;Export it is preset with Atmospheric pressure intensity values are lower than the associated prompting message of preset pressure value.
In the embodiment, above-mentioned preset second direction, that is, vibrating membrane occurs to generate when offset outward in detection resistance R1 On current direction or voltage direction, by this deterministic process can determine when electronic device exterior atmospheric pressure low value in Preset pressure value can timely remind user, for example, atmospheric pressure intensity values will be less than when electronic equipment is in High aititude The atmospheric pressure intensity values of 1 standard, then can remind user to be currently at High aititude, pay attention to altitude sickness.In this way, passing through multiplexing loudspeaking Device can realize the variation of determining atmospheric pressure, and be increased without other hardware devices, to increase the same of user experience When reduce circuit design difficulty and design cost.If it should be noted that the flow direction in first electric signal is preset the The process that a judgement can be executed before two directions, judges whether the flow direction of first electric signal is preset second direction, If so, determining that the generation of the vibrating membrane deviates outward, if it is not, terminating program.To terminate journey after judgement in present embodiment Sequence is illustrated.
Optionally, the output it is preset with atmospheric pressure the step of prompting message associated lower than preset pressure value it Before, after the step of generation of the determination vibrating membrane deviates outward, the method also includes: detection first telecommunications Number signal parameter, generate signal parameter detection result;According to the corresponding relationship of preset signal parameter and pressure values, institute is determined State the corresponding pressure values of signal parameter detection result;The corresponding pressure values of the signal parameter are determined as atmospheric pressure intensity values;Institute It states and exports preset and atmospheric pressure intensity values lower than the associated prompting message of preset pressure value, comprising: output prompting message, it is described to mention Show that message is preset and atmospheric pressure intensity values lower than the associated message of preset pressure value, and carries the atmospheric pressure intensity values.
In the embodiment, the stream of modulus detection circuit not only the first electric signal on available above-mentioned detection resistance R1 To, but also the signal parameter of the first electric signal on available detection resistance R1, for example, the voltage parameter of the first electric signal Value, sets the corresponding relationship of voltage battery parameter value and pressure values, corresponding 1.2 standard atmospheric pressures of such as 0.1 volt of voltage By force, corresponding 1.3 standard atmospheric pressures of 0.2 volt of voltage, determine atmospheric pressure according to the parameter value of the electric signal of detection in this way Intensity values, and pressure values are shown on an electronic device and are exported the prompting message for carrying the atmospheric pressure intensity values, it realizes The detection and display of atmospheric pressure, has been multiplexed existing loudspeaker, has saved design cost.It should be noted that the implementation Mode can deviate outward with the above-mentioned generation according to the vibrating membrane determines the step of atmospheric pressure intensity values are lower than preset pressure value It is performed simultaneously.
Optionally, after the preset waterproofing protection mode of starting, the method also includes: it is defeated to detect the loudspeaker The second electric signal out generates the second testing result;According to second testing result, judge that the vibrating membrane of the loudspeaker is It is no to be offset to predeterminated position;If the vibrating membrane is offset to predeterminated position, the waterproofing protection mode is closed.
In the embodiment, the second electric signal is intended merely to the first electric signal of difference, is all detection its essence is the same The current signal on voltage signal or R1 on resistance R1.After starting waterproof operating mode, electronic equipment be would be at A kind of working condition of waterproof, by the variation of the second electric signal be assured that loudspeaker vibrating membrane whether be offset to it is default Position, so there is no need to users, and waterproofing protection mode is turned off manually, to make to operate simpler and conveniently.It needs to illustrate It is that the embodiment can be applied to after step 103 implement, and can reach identical technical effect.
Optionally, first electric signal is first voltage signal or the first current signal, and second electric signal For second voltage signal or the second current signal.
In the embodiment, the vibrating membrane of loudspeaker is judged by way of the current signal or voltage signal that detect Variation;It can also carry out comprehensive descision in conjunction with the testing result of both electric signals, increase the accurate of atmospheric pressure detection judgement Property.
Optionally, the preset waterproofing protection mode of starting includes at least one of below:
The external interface power supply for closing the electronic equipment, starts default work at the screen power supplies for closing the electronic equipment Operation mode.
In the embodiment, external interface of above-mentioned electronic equipment such as USB interface, earphone interface etc., normal condition electronics The meeting of equipment provides power supply to these external interfaces, closes external interface power supply in water environment immediately when electronic equipment enters, this Sample can be effectively prevented interface circuit and short circuit occurs because water is entered, so that electronic equipment be made to break down;Above-mentioned electronics The display screen of the screen of equipment such as mobile phone, can only wrist-watch display screen etc.;The preset operating mode in hole in the ground can be underwater work Operation mode, this mode can at least work in the case where low-power consumption, such as reduce display, retain the main function of electronic equipment Can, water-proof function can effectively can be realized by being multiplexed loudspeaker in this way, reduce design cost while increasing function.It needs It is noted that the embodiment can be applied to after step 103 implement, and identical technical effect can be reached.
In this way, in the electronic equipment waterproof method of the embodiment of the present invention, when the loudspeaker is in non-loudspeaking working condition When, the first electric signal of the loudspeaker output is detected, flow detection result is generated;Judge the flow detection result whether be Preset first direction;If the flow direction of first electric signal is the first direction, it is determined that the vibrating membrane occurs inside Offset;If the vibrating membrane of the loudspeaker is offset inward, start preset waterproofing protection mode.In this way, working as electronic equipment Into in water environment, causes the vibrating membrane of loudspeaker to be offset inward since the external pressure of electronic equipment becomes larger, pass through First testing result of the first electric signal of detection loudspeaker output determines that vibrating membrane is offset inward, to start waterproofing protection mould Formula effectively realizes the function of waterproof and the protection of electronic equipment.
3rd embodiment
Referring to fig. 4, Fig. 4 is the structure chart that the present invention implements the electronic equipment provided, is able to achieve first embodiment and second The details of electronic equipment waterproof method in embodiment, and reach identical effect.As shown in figure 4, electronic equipment 400 includes the One electrical signal detection module 401, first judgment module 402 and starting module 403;Wherein, the first electrical signal detection module 401 with First judgment module 402 connects, and first judgment module 402 is connect with starting module 403.
First electrical signal detection module 401, for being raised described in detection when the loudspeaker is in non-loudspeaking working condition First electric signal of sound device output, generates the first testing result.
First judgment module 402, first detection for being detected according to the first electrical signal detection module 401 are tied Fruit, judges whether the vibrating membrane of the loudspeaker is offset inward;
Starting module 403 judges that the vibrating membrane of the loudspeaker is biased inwardly for the first judgment module 402 It moves, starts preset waterproofing protection mode.
Optionally, as shown in figure 5, the first electrical signal detection module 401 is used to detect the stream of first electric signal To generation flow detection result.
The first judgment module 402 includes:
Judging unit 4021, for judge the first electrical signal detection module detection the flow detection result whether For preset first direction;
First determination unit 4022 judges the flow detection result for the first party for the judging unit 4021 To, it is determined that the vibrating membrane is offset inward.
Optionally, as shown in fig. 6, the first judgment module 402 further include:
Second determination unit 4023 judges the flow detection result for preset second for the judging unit 4021 Direction, it is determined that the generation of the vibrating membrane deviates outward.
Third determination unit 4024, the vibrating membrane for being determined according to second determination unit 4023 occur outside It deviates and determines that atmospheric pressure intensity values are lower than preset pressure value.
Prompting message output unit 4025, for exporting the preset atmospheric pressure determined with the third determination unit 4024 Intensity values are lower than the associated prompting message of preset pressure value.
Optionally, as shown in fig. 7, the first judgment module 402 further include:
Signal parameter detection unit 4026 generates signal parameter detection knot for detecting the signal parameter of the electric signal Fruit.
Pressure values determination unit 4027, for the corresponding relationship according to preset signal parameter and pressure values, determine described in The corresponding pressure values of the signal parameter detection result that signal parameter detection unit 4026 detects.
Atmospheric pressure intensity values acquiring unit 4028, for examining number parameter described in the pressure values determination unit 4027 determination It surveys the corresponding pressure values of result and is determined as atmospheric pressure intensity values.
The prompting message output unit 4025 is preset and atmospheric pressure for exporting prompting message, the prompting message Intensity values are lower than the associated message of preset pressure value, and carry the atmospheric pressure intensity values.
Optionally, as shown in figure 8, the electronic equipment 400 further include:
Second signal detection module 404 generates the second detection knot for detecting the second electric signal of the loudspeaker output Fruit.
Second judgment module 405, second testing result for being detected according to the second signal detection module 404 Judge whether the vibrating membrane of the loudspeaker is offset to predeterminated position.
Closedown module 406 judges that the vibrating membrane is offset to predeterminated position for second judgment module 405, closes The waterproofing protection mode.
Optionally, first electric signal is first voltage signal or the first current signal, and second electric signal For second voltage signal or the second current signal.
Optionally, the preset waterproofing protection mode of starting includes at least one of below:
The external interface power supply for closing the electronic equipment, starts default work at the screen power supplies for closing the electronic equipment Operation mode.
Electronic equipment 400 can be realized each process that electronic equipment is realized in the embodiment of the method for Fig. 1 to Fig. 3, and energy Reach identical technical effect, to avoid repeating, which is not described herein again.
In this way, when the loudspeaker is in non-loudspeaking working condition, detecting institute in the electronic equipment of the embodiment of the present invention The first electric signal of loudspeaker output is stated, the first testing result is generated;According to first testing result, the loudspeaker is judged Vibrating membrane whether be offset inward;If the vibrating membrane of the loudspeaker is offset inward, start preset waterproofing protection Mode.In this way, leading to the vibration of loudspeaker since the external pressure of electronic equipment becomes larger when electronic equipment enters in water environment Film is offset inward, and determines that vibrating membrane is biased inwardly by the first testing result of the first electric signal of detection loudspeaker output It moves, to start waterproofing protection mode, effectively realizes the function of waterproof and the protection of electronic equipment.
Fourth embodiment
Referring to fig. 2, Fig. 2 is electronic equipment protection circuit diagram provided by the invention, is able to achieve first embodiment and second in fact The details of the electronic equipment waterproof method in example is applied, and reaches identical effect.
The protection circuit includes:
Loudspeaker, detection resistance, operational amplifier circuit, modulus detection circuit and processor.
The loudspeaker anode connect with the first end of the detection resistance, the second end of the detection resistance with it is described The first end of operational amplifier circuit connects, and the second end of the operational amplifier circuit is connect with the cathode of the loudspeaker, the modulus detection The input terminal of circuit is connect with the first end and second end of the detection resistance respectively, the output end of the modulus detection circuit with The processor connection.
The modulus detection circuit is used to detect the loudspeaker and exports the first electric signal in the detection resistance, raw First testing result is transmitted at the first testing result, and to the processor.
The processor is used to judge whether the vibrating membrane of the loudspeaker occurs inwardly according to first testing result Offset.
If the vibrating membrane that the processor is also used to the loudspeaker is offset inward, start preset waterproofing protection mould Formula.
Optionally, the modulus detection circuit is used to detect the flow direction of first electric signal, generate flow detection as a result, And the flow detection result is transferred to the processor.
The processor is also used to judge whether the flow detection result of the modulus detection circuit detection is default First direction.
If it is the first direction that the processor, which is also used to the flow detection result, it is determined that the vibrating membrane occurs It is offset inward.
Optionally, if it is preset second direction that the processor, which is also used to the flow detection result, it is determined that described The generation of vibrating membrane deviates outward.
The processor is also used to that offset outward occurs according to the vibrating membrane, it is determined that atmospheric pressure intensity values are lower than default pressure Intensity values.
The processor is also used to export preset and atmospheric pressure intensity values lower than the associated prompting message of preset pressure value.
Optionally, the modulus detection circuit is used to detect first electricity of the loudspeaker output in the detection resistance The signal parameter of signal generates signal parameter detection as a result, and transmitting the parameter detecting result to the processor.
The processor is also used to the corresponding relationship according to preset signal parameter and pressure values, determines the parameter detecting As a result corresponding pressure values.
The processor is also used to the corresponding pressure values of the signal parameter being determined as atmospheric pressure intensity values.
The processor is also used to export prompting message, and the prompting message is preset and atmospheric pressure intensity values lower than default The associated message of pressure values, and carry the atmospheric pressure intensity values.
Optionally, the modulus detection circuit is used to detect second electricity of the loudspeaker output in the detection resistance Signal generates the second testing result, and transmits second testing result to the processor.
The processor is also used to second testing result detected according to modulus detection circuit, judges the loudspeaker Vibrating membrane whether be offset to predeterminated position.
If the processor, which is also used to the processor, judges that the vibrating membrane is offset to predeterminated position, the waterproof is closed Protected mode.
Optionally, first electric signal is first voltage signal or the first current signal, and second electric signal For second voltage signal or the second current signal.
Optionally, the preset waterproofing protection mode of starting includes at least one of below:
The external interface power supply for closing the electronic equipment, starts default work at the screen power supplies for closing the electronic equipment Operation mode.
Electronic equipment protection circuit provided in an embodiment of the present invention can be realized what electronic equipment in previous embodiment was realized Each process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
In this way, in the electronic equipment protection circuit of the embodiment of the present invention, by modulus detection circuit for detecting described raise Sound device exports the first electric signal in the detection resistance, generates the first testing result, and to described in processor transmission First testing result;The processor is used to judge whether the vibrating membrane of the loudspeaker is sent out according to first testing result Life is offset inward;If the vibrating membrane that the processor is also used to the loudspeaker is offset inward, starts preset waterproof and protect Shield mode.In this way, leading to the vibration of loudspeaker since the external pressure of electronic equipment becomes larger when electronic equipment enters in water environment Dynamic film is offset inward, and determines that vibrating membrane is biased inwardly by the first testing result of the first electric signal of detection loudspeaker output It moves, to start waterproofing protection mode, effectively realizes the function of waterproof and the protection of electronic equipment.
5th embodiment
It is the structure chart that the present invention implements the electronic equipment provided referring to Fig. 9, Fig. 9, is able to achieve first embodiment and second The details of electronic equipment waterproof method in embodiment, and reach identical effect.As shown in figure 9, electronic equipment 900 includes: At least one processor 901, memory 902, at least one network interface 904 and user interface 903.In electronic equipment 900 Various components are coupled by bus system 905.It is understood that bus system 905 is for realizing the company between these components Connect letter.Bus system 905 except include data/address bus in addition to, further include power bus, control bus and status signal bus in addition but It is that various buses are all designated as bus system 905 in Fig. 9 for the sake of clear explanation.
Wherein, user interface 903 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc., the touch screen are flexible screen.
It is appreciated that the memory 902 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 902 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of type.
In some embodiments, memory 902 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 9021 and application program 9022.
Wherein, operating system 9021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 9022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 9022.
In embodiments of the present invention, by the program or instruction of calling memory 902 to store, specifically, can be application The program or instruction stored in program 9022, processor 901 are used for: when the loudspeaker is in non-loudspeaking working condition, inspection The first electric signal for surveying the loudspeaker output, generates the first testing result;According to first testing result, raised described in judgement Whether the vibrating membrane of sound device is offset inward;If the vibrating membrane of the loudspeaker is offset inward, start preset waterproof Protected mode.
The method that the embodiments of the present invention disclose can be applied in processor 901, or be realized by processor 901. Processor 901 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 901 or the instruction of software form.Above-mentioned processing Device 901 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 902, processor 901 reads the information in memory 902, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, processor 901 is also used to: the first electric signal of the detection loudspeaker output generates the first inspection The step of surveying result, comprising: the flow direction of detection first electric signal generates flow detection result;Judge the flow detection It as a result whether is preset first direction;If the flow detection result is the first direction, it is determined that the vibrating membrane hair Life is offset inward.
Optionally, it is described judge the step of whether the flow detection result is preset first direction after, processing Device 901 is also used to: if the flow direction of first electric signal is preset second direction, it is determined that the generation of the vibrating membrane is outside Offset;It is deviated outward according to the generation of the vibrating membrane, determines atmospheric pressure intensity values lower than preset pressure value;Export it is preset with it is big Air pressure intensity values are lower than the associated prompting message of preset pressure value.
Optionally, the output preset prompting message associated lower than preset pressure value with atmospheric pressure the step of it Before, after the step of generation of the determination vibrating membrane deviates outward, processor 901 is also used to: detecting the electric signal Signal parameter, generate signal parameter detection result;According to the corresponding relationship of preset signal parameter and pressure values, determine described in The corresponding pressure values of signal parameter detection result;The corresponding pressure values of the signal parameter detection result are determined as atmospheric pressure Value;Processor 901 is also used to: output prompting message, and the prompting message is that preset and atmospheric pressure intensity values are lower than default pressure It is worth associated message, and carries the atmospheric pressure intensity values.
Optionally, after the starting preset waterproofing protection mode the step of, processor 901 is also used to: detection institute The second electric signal of loudspeaker output is stated, the second testing result is generated;According to second testing result, the loudspeaker is judged Vibrating membrane whether be offset to predeterminated position;If the vibrating membrane is offset to predeterminated position, the waterproofing protection mode is closed.
Optionally, it is first voltage signal or the first current signal that processor 901, which executes first electric signal, and is located It is second voltage signal or the second current signal that reason device 901, which executes second electric signal,.
Optionally, it includes at least one of below that processor 901, which executes the preset waterproofing protection mode of starting: being closed The external interface power supply of the electronic equipment, the screen power supplies for closing the electronic equipment start default operating mode.
Electronic equipment 900 can be realized each process that electronic equipment is realized in previous embodiment, and can reach identical Technical effect, to avoid repeating, which is not described herein again.
In this way, in the electronic equipment 900 of the embodiment of the present invention, when the loudspeaker is in non-loudspeaking working condition, inspection The first electric signal for surveying the loudspeaker output, generates the first testing result;According to first testing result, raised described in judgement Whether the vibrating membrane of sound device is offset inward;If the vibrating membrane of the loudspeaker is offset inward, start preset waterproof Protected mode.In this way, leading to loudspeaker since the external pressure of electronic equipment becomes larger when electronic equipment enters in water environment Vibrating membrane is offset inward, and determines that vibrating membrane is inside by the first testing result of the first electric signal of detection loudspeaker output Offset, to start waterproofing protection mode, effectively realizes the function of waterproof and the protection of electronic equipment.
Sixth embodiment
Referring to Fig. 10, Figure 10 be the present invention implement provide electronic equipment structure chart, be able to achieve first embodiment and The details of electronic equipment waterproof method in second embodiment, and reach identical effect.As shown in Figure 10, electronic equipment 1000 Including radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, place Device 1050, voicefrequency circuit 1060, communication module 1070, power supply 1080 and modulus detection circuit 1090 are managed, wherein analog-to-digital conversion electricity Road is exported for converting analog signals into digital signal to processor 1050.
Wherein, input unit 1030 can be used for receiving the number or character information of user's input, and generates and set with electronics The related signal input of standby 1000 user setting and function control.Specifically, in the embodiment of the present invention, the input unit 1030 may include touch panel 1031.Touch panel 1031, also referred to as touch screen collect the touching of user on it or nearby It touches operation (for example user uses the operations of any suitable object or attachment on touch panel 1031 such as finger, stylus), and Corresponding attachment device is driven according to preset formula.Optionally, touch panel 1031 may include touch detecting apparatus and Two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give the processor 1050, and order that processor 1050 is sent can be received and executed.Furthermore, it is possible to Touch panel 1031 is realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1031, input unit 1030 can also include other input equipments 1032, other input equipments 1032 can include but is not limited to One of physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are more Kind.
Wherein, display unit 1040 can be used for showing information input by user or be supplied to the information and electronics of user The various menu interfaces of equipment 1000.Display unit 1040 may include display panel 1041, optionally, using LCD or can have The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 1041.
It should be noted that touch panel 1031 can cover display panel 1041, touch display screen is formed, when the touch display screen After detecting touch operation on it or nearby, processor 1050 is sent to determine the type of touch event, is followed by subsequent processing Device 1050 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 1050 is the control centre of electronic equipment 1000, utilizes various interfaces and connection whole mobile phone Various pieces, by running or execute the software program and/or module that are stored in first memory 1021, and call and deposit The data in second memory 1022 are stored up, the various functions and processing data of electronic equipment 1000 are executed, to set to electronics Standby 1000 carry out integral monitoring.Optionally, processor 1050 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 1021 in software program and/or module and/ Or the data in the second memory 1022, processor 1050 are used for: when the loudspeaker is in non-loudspeaking working condition, inspection The first electric signal for surveying the loudspeaker output, generates the first testing result;According to first testing result, raised described in judgement Whether the vibrating membrane of sound device is offset inward;If the vibrating membrane of the loudspeaker is offset inward, start preset waterproof Protected mode.
Optionally, processor 1050 is also used to: the first electric signal of the detection loudspeaker output generates the first inspection The step of surveying result, comprising: the flow direction of detection first electric signal generates flow detection result;Judge the flow detection It as a result whether is preset first direction;If the flow detection result is the first direction, it is determined that the vibrating membrane hair Life is offset inward.
Optionally, it is described judge the step of whether the flow detection result is preset first direction after, processing Device 1050 is also used to: if the flow direction of first electric signal be preset second direction, it is determined that the generation of the vibrating membrane to Outer offset;Being deviated outward according to the generation of the vibrating membrane determines atmospheric pressure intensity values lower than preset pressure value;Export it is preset with Atmospheric pressure intensity values are lower than the associated prompting message of preset pressure value.
Optionally, the output preset prompting message associated lower than preset pressure value with atmospheric pressure the step of it Before, after the step of generation of the determination vibrating membrane deviates outward, processor 1050 is also used to: detecting the electric signal Signal parameter, generate signal parameter detection result;According to the corresponding relationship of preset signal parameter and pressure values, determine described in The corresponding pressure values of signal parameter detection result;The corresponding pressure values of the signal parameter detection result are determined as atmospheric pressure Value;Processor 1050 is also used to: output prompting message, and the prompting message is that preset and atmospheric pressure intensity values are lower than default pressure It is worth associated message, and carries the atmospheric pressure intensity values.
Optionally, after the preset waterproofing protection mode of starting, processor 1050 is also used to: detecting the loudspeaking Second electric signal of device output, generates the second testing result;According to second testing result, the vibration of the loudspeaker is judged Whether film is offset to predeterminated position;If the vibrating membrane is offset to predeterminated position, the waterproofing protection mode is closed.
Optionally, processor 1050 executes first electric signal as first voltage signal or the first current signal, and It is second voltage signal or the second current signal that processor 1050, which executes second electric signal,.
Optionally, it includes at least one of below that processor 1050, which executes the preset waterproofing protection mode of starting: being closed The external interface power supply for closing the electronic equipment, starts default operating mode at the screen power supplies for closing the electronic equipment.
Electronic equipment 1000 can be realized each process that electronic equipment is realized in previous embodiment, and can reach identical Technical effect, to avoid repeating, which is not described herein again.
In this way, in the electronic equipment 1000 of the embodiment of the present invention, when the loudspeaker is in non-loudspeaking working condition, inspection The first electric signal for surveying the loudspeaker output, generates the first testing result;According to first testing result, raised described in judgement Whether the vibrating membrane of sound device is offset inward;If the vibrating membrane of the loudspeaker is offset inward, start preset waterproof Protected mode.In this way, leading to loudspeaker since the external pressure of electronic equipment becomes larger when electronic equipment enters in water environment Vibrating membrane is offset inward, and determines that vibrating membrane is inside by the first testing result of the first electric signal of detection loudspeaker output Offset, to start waterproofing protection mode, effectively realizes the function of waterproof and the protection of electronic equipment.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (18)

1. a kind of electronic equipment waterproof method, for the electronic equipment with loudspeaker, which is characterized in that the described method includes:
When the loudspeaker is in non-loudspeaking working condition, the first electric signal of the loudspeaker output is detected, generates first Testing result;
According to first testing result, judge whether the vibrating membrane of the loudspeaker is offset inward;
If the vibrating membrane of the loudspeaker is offset inward, start preset waterproofing protection mode;
The step of first electric signal of the detection loudspeaker output, the first testing result of generation, comprising:
The flow direction of first electric signal is detected, flow detection result is generated;
It is described that the step of whether vibrating membrane of the loudspeaker is offset inward is judged according to first testing result, packet It includes:
Judge whether the flow detection result is preset first direction;
If the flow detection result is the first direction, it is determined that the vibrating membrane is offset inward.
2. judging whether the flow detection result is preset the method according to claim 1, wherein described After the step of first direction, the method also includes:
If the flow detection result is preset second direction, it is determined that offset outward occurs for the vibrating membrane;
Offset outward occurs according to the vibrating membrane, determines atmospheric pressure intensity values lower than preset pressure value;
Preset and atmospheric pressure intensity values are exported lower than the associated prompting message of preset pressure value.
3. according to the method described in claim 2, it is characterized in that, the output is preset to be lower than default pressure with atmospheric pressure Before the step of being worth associated prompting message, after the step of deviating outward, occurs for the determination vibrating membrane, the method Further include:
The signal parameter of first electric signal is detected, signal parameter detection result is generated;
According to the corresponding relationship of preset signal parameter and pressure values, the corresponding pressure of the signal parameter detection result is determined Value;
The corresponding pressure values of the signal parameter detection result are determined as atmospheric pressure intensity values;
Then the output is preset is lower than the associated prompting message of preset pressure value with atmospheric pressure intensity values, comprising:
Prompting message is exported, the prompting message is preset and atmospheric pressure intensity values lower than the associated message of preset pressure value, and Carry the atmospheric pressure intensity values.
4. according to the method in any one of claims 1 to 3, which is characterized in that the preset waterproofing protection mould of starting After the step of formula, the method also includes:
The second electric signal for detecting the loudspeaker output, generates the second testing result;
According to second testing result, judge whether the vibrating membrane of the loudspeaker is offset to predeterminated position;
If the vibrating membrane is offset to predeterminated position, the waterproofing protection mode is closed.
5. method according to claim 4, which is characterized in that first electric signal is first voltage signal or the One current signal, and second electric signal is second voltage signal or the second current signal.
6. according to the method in any one of claims 1 to 3, which is characterized in that the preset waterproofing protection mould of starting Formula includes at least one of below:
The external interface power supply for closing the electronic equipment, starts default Working mould at the screen power supplies for closing the electronic equipment Formula.
7. a kind of electronic equipment, including loudspeaker, which is characterized in that the electronic equipment further include:
First electrical signal detection module, for it is defeated to detect the loudspeaker when the loudspeaker is in non-loudspeaking working condition The first electric signal out generates the first testing result;
First judgment module, first testing result for being detected according to the first electrical signal detection module, judges institute Whether the vibrating membrane for stating loudspeaker is offset inward;
Starting module judges that the vibrating membrane of the loudspeaker is offset inward for the first judgment module, and starting is default Waterproofing protection mode;The first electrical signal detection module is used to detect the flow direction of first electric signal, generates flow direction inspection Survey result;The first judgment module includes:
Judging unit, for judging whether the flow detection result of the first electrical signal detection module detection is preset First direction;
First determination unit judges the flow detection result for the first direction, it is determined that institute for the judging unit Vibrating membrane is stated to be offset inward.
8. electronic equipment according to claim 7, which is characterized in that the first judgment module further include:
Second determination unit judges the flow detection result for preset second direction for the judging unit, it is determined that Offset outward occurs for the vibrating membrane;
Third determination unit, the vibrating membrane for being determined according to second determination unit, which occurs to deviate outward, determines atmosphere Pressure values are lower than preset pressure value;
Prompting message output unit, for exporting the preset atmospheric pressure intensity values determined with the third determination unit lower than default The associated prompting message of pressure values.
9. electronic equipment according to claim 8, which is characterized in that the first judgment module further include:
Signal parameter detection unit generates signal parameter detection result for detecting the signal parameter of first electric signal;
Pressure values determination unit determines the signal parameter for the corresponding relationship according to preset signal parameter and pressure values The corresponding pressure values of the signal parameter detection result of detection unit detection;
Atmospheric pressure intensity values acquiring unit, the signal parameter detection result for determining the pressure values determination unit are corresponding Pressure values be determined as atmospheric pressure intensity values;
The prompting message output unit is lower than to be preset with atmospheric pressure intensity values for exporting prompting message, the prompting message The associated message of preset pressure value, and carry the atmospheric pressure intensity values.
10. electronic equipment according to any one of claims 7 to 9, which is characterized in that the electronic equipment further include:
Second signal detection module generates the second testing result for detecting the second electric signal of the loudspeaker output;
Second judgment module, second testing result for being detected according to the second signal detection module, described in judgement Whether the vibrating membrane of loudspeaker is offset to predeterminated position;
Closedown module judges that the vibrating membrane is offset to predeterminated position for second judgment module, closes the waterproof and protects Shield mode.
11. electronic equipment according to claim 10, which is characterized in that first electric signal be first voltage signal or The first current signal of person, and second electric signal is second voltage signal or the second current signal.
12. electronic equipment according to any one of claims 7 to 9, which is characterized in that the preset waterproof of starting is protected Shield mode includes at least one of below:
The external interface power supply for closing the electronic equipment, starts default Working mould at the screen power supplies for closing the electronic equipment Formula.
13. a kind of electronic equipment protects circuit, which is characterized in that the protection circuit includes:
Loudspeaker, detection resistance, operational amplifier circuit, modulus detection circuit and processor;
The anode of the loudspeaker is connect with the first end of the detection resistance, the second end of the detection resistance and the amplifier The first end of circuit connects, and the second end of the operational amplifier circuit is connect with the cathode of the loudspeaker, the modulus detection circuit Input terminal connect respectively with the first end and second end of the detection resistance, the output end of the modulus detection circuit with it is described Processor connection;
The modulus detection circuit is used to detect the loudspeaker and exports the first electric signal in the detection resistance, generates the One testing result, and first testing result is transmitted to the processor;
The processor is used to judge whether the vibrating membrane of the loudspeaker is biased inwardly according to first testing result It moves;
If the vibrating membrane that the processor is also used to the loudspeaker is offset inward, start preset waterproofing protection mode;
The modulus detection circuit is used to detect the flow direction of first electric signal, generates flow detection as a result, and by the stream The processor is transferred to testing result;
The processor is also used to judge whether the flow detection result of modulus detection circuit detection is preset the One direction;
If it is the first direction that the processor, which is also used to the flow detection result, it is determined that the vibrating membrane occurs inside Offset.
14. electronic equipment according to claim 13 protects circuit, which is characterized in that if the processor be also used to it is described Flow detection result is preset second direction, it is determined that offset outward occurs for the vibrating membrane;
The processor is also used to that offset outward occurs according to the vibrating membrane, it is determined that atmospheric pressure intensity values are lower than default pressure Value;
The processor is also used to export preset and atmospheric pressure intensity values lower than the associated prompting message of preset pressure value.
15. electronic equipment according to claim 14 protects circuit, which is characterized in that the modulus detection circuit is for examining The signal parameter for surveying first electric signal of the loudspeaker output in the detection resistance, generate signal parameter detection as a result, And the parameter detecting result is transmitted to the processor;
The processor is also used to the corresponding relationship according to preset signal parameter and pressure values, determines the parameter detecting result Corresponding pressure values;
The processor is also used to the corresponding pressure values of the signal parameter being determined as atmospheric pressure intensity values;
The processor is also used to export prompting message, and the prompting message is that preset and atmospheric pressure intensity values are lower than default pressure It is worth associated message, and carries the atmospheric pressure intensity values.
16. electronic equipment described in any one of 3 to 15 protects circuit according to claim 1, which is characterized in that the modulus inspection Slowdown monitoring circuit is used to detect the loudspeaker and exports the second electric signal in the detection resistance, generates the second testing result, and Second testing result is transmitted to the processor;
The processor is also used to second testing result detected according to modulus detection circuit, judges the vibration of the loudspeaker Whether dynamic film is offset to predeterminated position;
If the processor, which is also used to the processor, judges that the vibrating membrane is offset to predeterminated position, the waterproofing protection is closed Mode.
17. electronic equipment according to claim 16 protects circuit, which is characterized in that first electric signal is the first electricity Pressing signal, perhaps the first current signal and second electric signal are second voltage signal or the second current signal.
18. electronic equipment described in any one of 3 to 15 protects circuit according to claim 1, which is characterized in that the starting is pre- If waterproofing protection mode include at least one of below:
The external interface power supply for closing the electronic equipment, starts default Working mould at the screen power supplies for closing the electronic equipment Formula.
CN201611061592.3A 2016-11-24 2016-11-24 A kind of electronic equipment waterproof method, electronic equipment and protection circuit Active CN106792342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611061592.3A CN106792342B (en) 2016-11-24 2016-11-24 A kind of electronic equipment waterproof method, electronic equipment and protection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611061592.3A CN106792342B (en) 2016-11-24 2016-11-24 A kind of electronic equipment waterproof method, electronic equipment and protection circuit

Publications (2)

Publication Number Publication Date
CN106792342A CN106792342A (en) 2017-05-31
CN106792342B true CN106792342B (en) 2019-04-12

Family

ID=58911005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611061592.3A Active CN106792342B (en) 2016-11-24 2016-11-24 A kind of electronic equipment waterproof method, electronic equipment and protection circuit

Country Status (1)

Country Link
CN (1) CN106792342B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107369300A (en) * 2017-06-09 2017-11-21 广东小天才科技有限公司 The overboard detection means of a kind of electronic equipment, detection method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4377131B2 (en) * 2001-02-26 2009-12-02 ウエタックス株式会社 Speaker
US9008344B2 (en) * 2013-03-14 2015-04-14 Cirrus Logic, Inc. Systems and methods for using a speaker as a microphone in a mobile device
JP6075163B2 (en) * 2013-03-29 2017-02-08 富士通株式会社 Portable electronic device and waterproofing method for portable electronic device
CN103716730A (en) * 2014-01-14 2014-04-09 上海斐讯数据通信技术有限公司 Loudspeaker system with directional automatic positioning function and positioning method thereof

Also Published As

Publication number Publication date
CN106792342A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN101720550B (en) Dynamic routing of audio among multiple audio devices
CN108664190B (en) Page display method, device, mobile terminal and storage medium
CN103634717B (en) A kind of method, device and the terminal device of the control of utilization earphone
CN104346276B (en) The method and device of software test
CN106203035A (en) A kind of data access control method and mobile terminal
CN106447836A (en) Access control terminal binding method and related equipment
CN108363524B (en) A kind of application icon display methods and mobile terminal
CN109639367A (en) The method of adjustment and Related product of electromagnetic interference
CN107609439A (en) Processing method, device, storage medium and the terminal of Radio frequency interference
CN106990888A (en) One kind application display control method and device
CN110879680B (en) Icon management method and electronic equipment
CN109274833A (en) The method of adjustment and Related product of electromagnetic interference
CN106302653A (en) The control authority sharing method of a kind of door control terminal and relevant device
CN110442437A (en) A kind of application switching method and mobile terminal
CN106208206B (en) A kind of wireless charging method and mobile terminal
CN108345425A (en) A kind of management method and mobile terminal of application
CN109542279A (en) A kind of terminal equipment control method and terminal device
CN109508136A (en) A kind of display methods and mobile terminal of application program
CN110147186A (en) A kind of control method and terminal device of application
CN108153460B (en) Icon hiding method and terminal
CN109088961A (en) sensor control circuit and electronic device
CN105807908B (en) A kind of method and apparatus of switching working mode
CN106569815A (en) Message display method and terminal
CN106792342B (en) A kind of electronic equipment waterproof method, electronic equipment and protection circuit
CN110929273A (en) Permission setting method and electronic equipment

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
TA01 Transfer of patent application right

Effective date of registration: 20171109

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant after: VIVO MOBILE COMMUNICATION CO., LTD.

Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant before: VIVO MOBILE COMMUNICATION CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200518

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee after: VIVO MOBILE COMMUNICATION Co.,Ltd.

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Co-patentee before: Wewo Mobile Communication Co. Ltd. Beijing branch

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right