CN104936099A - Method and device for recognizing loudspeaker - Google Patents
Method and device for recognizing loudspeaker Download PDFInfo
- Publication number
- CN104936099A CN104936099A CN201510372719.2A CN201510372719A CN104936099A CN 104936099 A CN104936099 A CN 104936099A CN 201510372719 A CN201510372719 A CN 201510372719A CN 104936099 A CN104936099 A CN 104936099A
- Authority
- CN
- China
- Prior art keywords
- loud speaker
- identified
- resistance value
- model
- resistance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000001514 detection method Methods 0.000 claims description 14
- 239000002184 metal Substances 0.000 claims description 14
- 230000002035 prolonged effect Effects 0.000 abstract 1
- 238000004891 communication Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006399 behavior Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000000712 assembly Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a method and device for recognizing a loudspeaker. Through the adoption of the method and the device, the loudspeaker can achieve the optimal working state. The method comprises the following steps: detecting a first impedance value of a marking resistor in a cavity in which a to-be-recognized loudspeaker is; determining a model of the to-be-recognized loudspeaker corresponding to the first impedance in an index table, wherein the index table is used for recording the model of at least one loudspeaker and at least one second impedance value corresponding to at least one loudspeaker; invoking a working parameter corresponding to the to-be-recognized loudspeaker according to the model of the to-be-recognized loudspeaker, and adjusting input current of the loudspeaker according to the working parameter. Through the adoption technical scheme disclosed by the invention, the loudspeakers in different models can work at the optimal working states, the condition that the acoustical performance of the loudspeaker is sacrificed for the compatibility of the loudspeakers in different models is avoided, and the loudspeaker can achieve the optimal tone quality, and the service life of the loudspeaker is prolonged.
Description
Technical field
The disclosure relates to electronic technology field, particularly relates to a kind of method and the device that identify loud speaker.
Background technology
Mobile phone carrys out the situation of Real-Time Monitoring loud speaker by using loud speaker sound of raising one's voice to its utmost outward, is calculated the operating state such as temperature, amplitude of loud speaker, according to the input current of the working state control loud speaker of loud speaker, to protect loud speaker by acoustic model.Due to the loud speaker that the chamber of commerce of same mobile phone vendor uses Duo Jia supplier to provide, and the acoustic model of the loud speaker of each supplier incomplete same, therefore the mobile phone of same model is in order to the loud speaker of compatible Ge Jia supplier, need the acoustical behavior of sacrificing loud speaker to a certain extent, cause loud speaker to occur the bad phenomenon such as noise or loud speaker are burnt.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides a kind of method and the device that identify loud speaker, in order to the operating state enabling loud speaker reach optimum.
According to the first aspect of disclosure embodiment, a kind of method identifying loud speaker is provided, comprises:
Detect the first resistance value of the mark resistance in loud speaker place cavity to be identified;
In concordance list, determine the model of the described to be identified loud speaker corresponding with described first resistance value, described concordance list is for the model that records at least one loud speaker at least one second resistance value corresponding with at least one loud speaker described;
Call running parameter corresponding to described loud speaker to be identified according to the model of described loud speaker to be identified, adjusted the input current of described loud speaker by described running parameter.
In one embodiment, the first resistance value of the mark resistance in the loud speaker place cavity that described detection is to be identified, can comprise:
Electric current and the voltage of the mark resistance flowed through in loud speaker place cavity to be identified is detected by universal input and output port;
The first resistance value of described mark resistance is determined according to described electric current and voltage.
In one embodiment, the described model determining the described to be identified loud speaker corresponding with described first resistance value in concordance list, can comprise:
Determine the absolute value of at least one difference described in described first resistance value and concordance list between at least one second resistance value;
The model of loud speaker corresponding for the second resistance value minimum in the absolute value of at least one difference described is defined as the model of described loud speaker to be identified.
According to the second aspect of disclosure embodiment, a kind of device identifying loud speaker is provided, comprises:
Detection module, is configured to the first resistance value of the mark resistance detected in loud speaker place cavity to be identified;
Determination module, the model of the loud speaker described to be identified that described first resistance value being configured to determine to detect with described detection module in concordance list is corresponding, described concordance list is for the model that records at least one loud speaker at least one second resistance value corresponding with at least one loud speaker described;
Calling module, the model being configured to the loud speaker described to be identified determined according to described determination module calls running parameter corresponding to described loud speaker to be identified, is adjusted the input current of described loud speaker by described running parameter.
In one embodiment, described detection module can comprise:
Recognin module, is configured to the electric current and the voltage that are detected the mark resistance flowed through in loud speaker place cavity to be identified by universal input and output port;
First determines submodule, be configured to according to described recognin Module recognition to described electric current and voltage determine the first resistance value of described mark resistance.
In one embodiment, described determination module can comprise:
Second determines submodule, the absolute value of at least one difference described in described first resistance value being configured to determine that described detection module detects and concordance list between at least one second resistance value;
3rd determines submodule, be configured to determine described second submodule determine described at least one difference absolute value in the model of loud speaker corresponding to minimum the second resistance value be defined as the model of described loud speaker to be identified.
According to the third aspect of disclosure embodiment, a kind of device identifying loud speaker is provided, comprises:
Be arranged on the mark resistance in loud speaker place cavity to be identified, wherein, one end of described mark resistance is electrically connected to the universal input and output port of microprocessor, the other end of described mark resistance is electrically connected to ground connection, and described microprocessor detects the first resistance value of described mark resistance by described input/output port.
In one embodiment, the lower wall of the coil of described loud speaker to be identified can be metal cover board, and the other end of described mark resistance is electrically connected to described metal cover board, and described metal cover board is electrically connected to the earth point of printed circuit board.
In one embodiment, described device also can comprise: be arranged on the conducting resinl between described metal cover board and metal center, and described metal cover board is electrically connected to described metal center by described conducting resinl, and described metal center is electrically connected to the earth point of printed circuit board.
According to the fourth aspect of disclosure embodiment, a kind of device identifying loud speaker is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Detect the first resistance value of the mark resistance in loud speaker place cavity to be identified;
In concordance list, determine the model of the described to be identified loud speaker corresponding with described first resistance value, described concordance list is for the model that records at least one loud speaker at least one second resistance value corresponding with at least one loud speaker described;
Call running parameter corresponding to described loud speaker to be identified according to the model of described loud speaker to be identified, adjusted the input current of described loud speaker by described running parameter.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: by determining the model of the to be identified loud speaker corresponding with the first resistance value of mark resistance in concordance list, running parameter corresponding to loud speaker to be identified is called according to the model of loud speaker to be identified, by the input current of running parameter adjustment loud speaker, thus the operating state of speaker operation at its optimum of different model can be made, avoid the sacrifice that the acoustical behavior of loud speaker to loud speaker in order to each different model compatible is made, guarantee that loud speaker reaches best tonequality and extends the useful life of loud speaker.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Figure 1A is the flow chart of the method for identification loud speaker according to an exemplary embodiment.
Figure 1B is the structure chart of the device of identification loud speaker according to an exemplary embodiment.
Fig. 2 A is the flow chart of the method for identification loud speaker according to another exemplary embodiment.
Fig. 2 B is the structure chart of the device of identification loud speaker according to another exemplary embodiment.
Fig. 3 is a kind of block diagram identifying the device of loud speaker according to an exemplary embodiment.
Fig. 4 is the block diagram of the device of another kind identification loud speaker according to an exemplary embodiment.
Fig. 5 is a kind of block diagram being applicable to the device identifying loud speaker according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Figure 1A is the flow chart of the method for identification loud speaker according to an exemplary embodiment, and Figure 1B is the structure chart of the device of identification loud speaker according to an exemplary embodiment; The method of this identification loud speaker can be applied on terminal equipment (such as: smart mobile phone, panel computer etc. have the equipment of loud speaker), can be realized by the device of the identification loud speaker shown in Figure 1B, the present embodiment carries out exemplary illustration in conjunction with Figure 1B, as shown in Figure 1A, the method for this identification loud speaker comprises the following steps S101-S103:
In step S101, detect the first resistance value of the mark resistance in loud speaker place cavity to be identified.
In one embodiment, first resistance value of mark resistance can be determined according to the model of loud speaker, such as, first resistance value of the mark resistance of the loud speaker of the A1 model that A manufacturer provides is 5 ohm, first resistance value of the mark resistance of the loud speaker of the B1 model that B manufacturer provides is 100 ohm, first resistance value of the mark resistance of the loud speaker of the C1 model that C manufacturer provides is 500 ohm, it will be understood by those skilled in the art that, the concrete size of the first resistance value of mark resistance is as the criterion with the loud speaker of the different model can distinguished different vendor and provide, such as, when the first resistance value of the mark resistance of the loud speaker of the A1 model that A manufacturer provides is 5 ohm, first resistance value of the mark resistance of the loud speaker of the B1 model that B manufacturer provides needs the difference keeping a certain size with 5 ohm, such as above-mentioned 100 ohm of exemplifying, but not 10 ohm.
In step s 102, determine the model of the to be identified loud speaker corresponding with the first resistance value in concordance list, concordance list is for the model that records at least one loud speaker at least one second resistance value corresponding with at least one loud speaker.
In one embodiment, concordance list can be as shown in table 1:
Table 1
Second resistance value (ohm) | The model of loud speaker |
5 | A1 |
100 | B1 |
150 | C1 |
In table 1 above, the loud speaker of the corresponding different model of the second different resistance values, the model of the to be identified loud speaker corresponding with the first resistance value is determined in concordance list, such as, detect that the first resistance value is 6 ohm by above-mentioned steps S101, because 6 ohm comparatively close with " 5 " ohm in above-mentioned table 1, therefore can determine that the model of loud speaker is A1.
In step s 103, call running parameter corresponding to loud speaker to be identified according to the model of loud speaker to be identified, by the input current of running parameter adjustment loud speaker.
In one embodiment, the running parameter that loud speaker is corresponding can be the coil impedance, amplitude etc. that comprise loud speaker.
As shown in Figure 1B, loud speaker 10 includes two PIN and is respectively P and the N drawn by the coil of loud speaker 10, therefore be the mark identification can not carrying out loud speaker by means of only the PIN of loud speaker, in disclosure embodiment, in loud speaker 10 place cavity 11 to be identified, mark resistance 12 is being set, wherein, one end of mark resistance 12 is electrically connected to universal input output (GPIO) port of microprocessor, the other end of mark resistance 12 is electrically connected to ground connection (GND), the microprocessor (not shown) of terminal equipment identifies the first resistance value of resistance 12 by GPIO Port detecting.In one embodiment, the loud speaker that different production firms produces can be arranged in cavity the mark resistance 12 of different resistance value.Terminal equipment can by creating a concordance list to mark resistance, the loud speaker of the different model that the corresponding different manufacturer of the first different resistance values provides.Microprocessor is detecting the first resistance value of GPIO port, search the model of corresponding loud speaker according to concordance list according to this first resistance value, call corresponding running parameter according to the model of loud speaker, thus can realize calling different running parameters according to the loud speaker of different model.
In one embodiment, if having recorded the loud speaker of two models in concordance list, the object of one of them loud speaker of speaker identification of two models can be realized by short circuit GND and GPIO port or GND and GPIO port of opening a way.
In the present embodiment, by determining the model of the to be identified loud speaker corresponding with the first resistance value of mark resistance in concordance list, running parameter corresponding to loud speaker to be identified is called according to the model of loud speaker to be identified, by the input current of running parameter adjustment loud speaker, thus the operating state of speaker operation at its optimum of different model can be made, the sacrifice avoiding the acoustical behavior of loud speaker to loud speaker in order to each different model compatible to make, guarantees that loud speaker reaches best tonequality and extends the useful life of loud speaker.
In one embodiment, detect the first resistance value of the mark resistance in loud speaker place cavity to be identified, can comprise:
Electric current and the voltage of the mark resistance flowed through in loud speaker place cavity to be identified is detected by universal input and output port;
The first resistance value identifying resistance is determined according to electric current and voltage.
In one embodiment, in concordance list, determine the model of the to be identified loud speaker corresponding with the first resistance value, can comprise:
Determine at least one difference between the first resistance value and at least one second resistance value of concordance list;
The model of loud speaker corresponding for the second resistance value minimum at least one difference is defined as the model of loud speaker to be identified.
The concrete loud speaker that how to identify, please refer to subsequent embodiment.
So far, the said method that disclosure embodiment provides, the operating state of speaker operation at its optimum of different model can be made, the sacrifice avoiding the acoustical behavior of loud speaker to loud speaker in order to each different model compatible to make, guarantees that loud speaker reaches best tonequality and extends the useful life of loud speaker.
With specific embodiment, the technical scheme that disclosure embodiment provides is described below.
Fig. 2 A is the flow chart of the method for identification loud speaker according to another exemplary embodiment, and Fig. 2 B is the structure chart of the device of identification loud speaker according to another exemplary embodiment; The said method that the present embodiment utilizes disclosure embodiment to provide, how to carry out exemplary illustration by the loud speaker of concordance list identification different model, the present embodiment composition graphs 2B carries out exemplary illustration, as shown in Figure 2 A, comprises the steps:
In step s 201, electric current and the voltage of the mark resistance flowed through in loud speaker place cavity to be identified is detected by universal input and output port.
In step S202, determine according to electric current and voltage the first resistance value identifying resistance.
In step S201 and step S202, the electric current flowing through mark resistance detected is I, and the voltage at mark resistance two ends is U, then the first resistance value identifying resistance is R=U/I.
In step S203, determine the absolute value of at least one difference between the first resistance value and at least one second resistance value of concordance list, concordance list is for the model that records at least one loud speaker at least one second resistance value corresponding with at least one loud speaker.
In step S204, the model of loud speaker corresponding for the second resistance value minimum in the absolute value of at least one difference is defined as the model of loud speaker to be identified.
In step S203 and step S204, in one embodiment, if the first resistance value is 6 ohm, concordance list as shown in Table 1 above, then need to determine the difference of 6 ohm of second resistance values corresponding with the loud speaker of each different model in table 1, such as, the absolute value of difference is respectively: | 6-5|=1, | 100-6|=94, | 150-6|=144, be 1 by the minimum value of the absolute value of each difference, then the model of the loud speaker of minimum value 1 correspondence is A1.
In step S205, call running parameter corresponding to loud speaker to be identified according to the model of loud speaker to be identified, by the input current of running parameter adjustment loud speaker.
In one embodiment, the running parameter that loud speaker is corresponding can be the coil impedance, amplitude etc. that comprise loud speaker.
Based on the restriction of the volume of terminal equipment, be with on the basis of the loudspeaker design of identification at four PIN shown in Figure 1B, four PIN are designed to three PIN by the present embodiment, and realize the recognition function of same loud speaker, the spatial volume saving terminal equipment, the object reducing Material Cost can be reached by reducing by a PIN.
As shown in Figure 2 B, loud speaker 10, mark resistance 12 and three PIN are comprised in speaker chamber 11, three PIN are respectively P pin, N pin and are connected to the GPIO port of microprocessor, microprocessor (not shown) is by the model of the loud speaker of GPIO port identification, and P pin, N pin and GPIO port are all connected on printed circuit board 24.Microprocessor detects the first resistance value of mark resistance 12 by embodiment of the method shown in Fig. 2 A, and according to the model of the first resistance value determination loud speaker.
Use plastic material at the outer wall of loud speaker 10, in order to save thickness, metal cover board 21 can be used at the lower wall of the outer wall of loud speaker 10, metal cover board 21 being connected to the other end of mark resistance 12.Metal cover board 21 is bonded on metal center 23 by conducting resinl 22.And metal center 23 is electrically connected with the earth point of printed circuit board 24.Thus, the GND pin on loud speaker 10 can be saved, realize by the mode of the metal cover board of multiplexing coil bottom the model that three PIN identify loud speaker.
In the present embodiment, determine the absolute value of at least one difference between the first resistance value and at least one second resistance value of concordance list, the model of loud speaker corresponding for the second resistance value minimum in the absolute value of at least one difference is defined as the model of loud speaker to be identified, reach the object of the model accurately identifying loud speaker, avoid the damage of running parameter to loud speaker of inappropriate loud speaker, guarantee that loud speaker reaches best tonequality and extends the useful life of loud speaker.
Fig. 3 is a kind of block diagram identifying the device of loud speaker according to an exemplary embodiment, as shown in Figure 3, identifies that the device of loud speaker comprises:
Detection module 31, is configured to the first resistance value of the mark resistance detected in loud speaker place cavity to be identified;
Determination module 32, be configured to the model determining the to be identified loud speaker corresponding with the first resistance value that detection module 31 detects in concordance list, concordance list is for the model that records at least one loud speaker at least one second resistance value corresponding with at least one loud speaker;
Calling module 33, the model being configured to the loud speaker to be identified determined according to determination module 32 calls running parameter corresponding to loud speaker to be identified, by the input current of running parameter adjustment loud speaker.
Fig. 4 is the block diagram of the device of another kind identification loud speaker according to an exemplary embodiment, and as shown in Figure 4, on above-mentioned basis embodiment illustrated in fig. 3, in one embodiment, detection module 31 can comprise:
Recognin module 311, is configured to the electric current and the voltage that are detected the mark resistance flowed through in loud speaker place cavity to be identified by universal input and output port;
First determines submodule 312, is configured to the first resistance value that the electric current that recognizes according to recognin module 311 and voltage determine to identify resistance.
In one embodiment, determination module 32 can comprise:
Second determines submodule 321, the absolute value of at least one difference between the first resistance value being configured to determine that detection module 31 detects and at least one second resistance value of concordance list;
3rd determines submodule 322, is configured to determine that by second the model of the loud speaker that the second resistance value minimum in the absolute value of at least one difference that submodule 321 is determined is corresponding is defined as the model of loud speaker to be identified.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 5 is a kind of block diagram being applicable to the device identifying loud speaker according to an exemplary embodiment.Such as, device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 5, device 500 can comprise following one or more assembly: processing components 502, memory 504, power supply module 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of I/O (I/O), sensor cluster 514, and communications component 516.
The integrated operation of the usual control device 500 of processing components 502, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 502 can comprise one or more processor 520 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 502 can comprise one or more module, and what be convenient between processing components 502 and other assemblies is mutual.Such as, processing unit 502 can comprise multi-media module, mutual with what facilitate between multimedia groupware 508 and processing components 502.
Memory 504 is configured to store various types of data to be supported in the operation of equipment 500.The example of these data comprises the instruction of any application program for operating on device 500 or method, contact data, telephone book data, message, picture, video etc.Memory 504 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 506 is device 500 provide electric power.Electric power assembly 506 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 500 and be associated.
Multimedia groupware 508 is included in the screen providing an output interface between described device 500 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 508 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 500 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 510 is configured to export and/or input audio signal.Such as, audio-frequency assembly 510 comprises a microphone (MIC), and when device 500 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 504 further or be sent via communications component 516.In certain embodiments, audio-frequency assembly 510 also comprises a loud speaker, for output audio signal.
I/O interface 512 is for providing interface between processing components 502 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 514 comprises one or more transducer, for providing the state estimation of various aspects for device 500.Such as, sensor cluster 514 can detect the opening/closing state of equipment 500, the relative positioning of assembly, such as described assembly is display and the keypad of device 500, the position of all right checkout gear 500 of sensor cluster 514 or device 500 1 assemblies changes, the presence or absence that user contacts with device 500, the variations in temperature of device 500 orientation or acceleration/deceleration and device 500.Sensor cluster 514 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 514 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 514 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 516 is configured to the communication being convenient to wired or wireless mode between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 516 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 516 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 500 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 504 of instruction, above-mentioned instruction can perform said method by the processor 520 of device 500.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration specification and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.
Claims (10)
1. identify a method for loud speaker, it is characterized in that, described method comprises:
Detect the first resistance value of the mark resistance in loud speaker place cavity to be identified;
In concordance list, determine the model of the described to be identified loud speaker corresponding with described first resistance value, described concordance list is for the model that records at least one loud speaker at least one second resistance value corresponding with at least one loud speaker described;
Call running parameter corresponding to described loud speaker to be identified according to the model of described loud speaker to be identified, adjusted the input current of described loud speaker by described running parameter.
2. method according to claim 1, is characterized in that, the first resistance value of the mark resistance in the loud speaker place cavity that described detection is to be identified, comprising:
Electric current and the voltage of the mark resistance flowed through in loud speaker place cavity to be identified is detected by universal input and output port;
The first resistance value of described mark resistance is determined according to described electric current and voltage.
3. method according to claim 1, is characterized in that, the described model determining the described to be identified loud speaker corresponding with described first resistance value in concordance list, comprising:
Determine the absolute value of at least one difference described in described first resistance value and concordance list between at least one second resistance value;
The model of loud speaker corresponding for the second resistance value minimum in the absolute value of at least one difference described is defined as the model of described loud speaker to be identified.
4. identify a device for loud speaker, it is characterized in that, described device comprises:
Detection module, is configured to the first resistance value of the mark resistance detected in loud speaker place cavity to be identified;
Determination module, the model of the loud speaker described to be identified that described first resistance value being configured to determine to detect with described detection module in concordance list is corresponding, described concordance list is for the model that records at least one loud speaker at least one second resistance value corresponding with at least one loud speaker described;
Calling module, the model being configured to the loud speaker described to be identified determined according to described determination module calls running parameter corresponding to described loud speaker to be identified, is adjusted the input current of described loud speaker by described running parameter.
5. device according to claim 4, is characterized in that, described detection module comprises:
Recognin module, is configured to the electric current and the voltage that are detected the mark resistance flowed through in loud speaker place cavity to be identified by universal input and output port;
First determines submodule, be configured to according to described recognin Module recognition to described electric current and voltage determine the first resistance value of described mark resistance.
6. device according to claim 4, is characterized in that, described determination module comprises:
Second determines submodule, the absolute value of at least one difference described in described first resistance value being configured to determine that described detection module detects and concordance list between at least one second resistance value;
3rd determines submodule, be configured to determine described second submodule determine described at least one difference absolute value in the model of loud speaker corresponding to minimum the second resistance value be defined as the model of described loud speaker to be identified.
7. identify a device for loud speaker, it is characterized in that, described device comprises:
Be arranged on the mark resistance in loud speaker place cavity to be identified, wherein, one end of described mark resistance is electrically connected to the universal input and output port of microprocessor, the other end of described mark resistance is electrically connected to ground connection, and described microprocessor detects the first resistance value of described mark resistance by described input/output port.
8. device according to claim 7, is characterized in that, the lower wall of the coil of described loud speaker to be identified is metal cover board, and the other end of described mark resistance is electrically connected to described metal cover board, and described metal cover board is electrically connected to the earth point of printed circuit board.
9. device according to claim 8, it is characterized in that, described device also comprises: be arranged on the conducting resinl between described metal cover board and metal center, described metal cover board is electrically connected to described metal center by described conducting resinl, and described metal center is electrically connected to the earth point of printed circuit board.
10. identify a device for loud speaker, it is characterized in that, described device comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Detect the first resistance value of the mark resistance in loud speaker place cavity to be identified;
In concordance list, determine the model of the described to be identified loud speaker corresponding with described first resistance value, described concordance list is for the model that records at least one loud speaker at least one second resistance value corresponding with at least one loud speaker described;
Call running parameter corresponding to described loud speaker to be identified according to the model of described loud speaker to be identified, adjusted the input current of described loud speaker by described running parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510372719.2A CN104936099A (en) | 2015-06-30 | 2015-06-30 | Method and device for recognizing loudspeaker |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510372719.2A CN104936099A (en) | 2015-06-30 | 2015-06-30 | Method and device for recognizing loudspeaker |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104936099A true CN104936099A (en) | 2015-09-23 |
Family
ID=54123009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510372719.2A Pending CN104936099A (en) | 2015-06-30 | 2015-06-30 | Method and device for recognizing loudspeaker |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104936099A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105228074A (en) * | 2015-09-28 | 2016-01-06 | 小米科技有限责任公司 | Identify the method for loud speaker, device, circuit board and terminal |
CN106648521A (en) * | 2016-09-27 | 2017-05-10 | 北京小米移动软件有限公司 | Terminal device operation method and apparatus |
CN108141677A (en) * | 2015-10-26 | 2018-06-08 | 华为技术有限公司 | A kind of loud speaker module, audio compensation methods and device |
CN108781340A (en) * | 2016-03-25 | 2018-11-09 | 雅马哈株式会社 | Loud speaker movement confirmation arrangement and method |
CN110990314A (en) * | 2019-11-29 | 2020-04-10 | 北京小米移动软件有限公司 | Electronic equipment identification method and device, terminal equipment and electronic equipment |
CN112969133A (en) * | 2021-02-04 | 2021-06-15 | 上海龙旗科技股份有限公司 | Loudspeaker identification circuit, device and equipment |
CN113259810A (en) * | 2020-02-11 | 2021-08-13 | 北京小米移动软件有限公司 | Audio modules and terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103986999A (en) * | 2014-04-14 | 2014-08-13 | 小米科技有限责任公司 | Method, device and terminal equipment for detecting earphone impedance |
US20140321673A1 (en) * | 2013-04-30 | 2014-10-30 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling a sound input path |
CN104378715A (en) * | 2014-11-25 | 2015-02-25 | 小米科技有限责任公司 | Device and method for lowering earphone POP sound |
CN104461568A (en) * | 2014-12-25 | 2015-03-25 | 小米科技有限责任公司 | Electronic accessory recognition device and method |
CN104503762A (en) * | 2014-12-30 | 2015-04-08 | 小米科技有限责任公司 | Device and method for identifying electronic accessory |
-
2015
- 2015-06-30 CN CN201510372719.2A patent/CN104936099A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140321673A1 (en) * | 2013-04-30 | 2014-10-30 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling a sound input path |
CN103986999A (en) * | 2014-04-14 | 2014-08-13 | 小米科技有限责任公司 | Method, device and terminal equipment for detecting earphone impedance |
CN104378715A (en) * | 2014-11-25 | 2015-02-25 | 小米科技有限责任公司 | Device and method for lowering earphone POP sound |
CN104461568A (en) * | 2014-12-25 | 2015-03-25 | 小米科技有限责任公司 | Electronic accessory recognition device and method |
CN104503762A (en) * | 2014-12-30 | 2015-04-08 | 小米科技有限责任公司 | Device and method for identifying electronic accessory |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105228074A (en) * | 2015-09-28 | 2016-01-06 | 小米科技有限责任公司 | Identify the method for loud speaker, device, circuit board and terminal |
CN105228074B (en) * | 2015-09-28 | 2019-03-08 | 小米科技有限责任公司 | Identify method, apparatus, circuit board and the terminal of loudspeaker |
CN108141677B (en) * | 2015-10-26 | 2020-02-14 | 华为技术有限公司 | Loudspeaker module, audio compensation method and device |
US10667052B2 (en) * | 2015-10-26 | 2020-05-26 | Huawei Technologies Co., Ltd. | Speaker module, and audio compensation method and apparatus |
CN108141677A (en) * | 2015-10-26 | 2018-06-08 | 华为技术有限公司 | A kind of loud speaker module, audio compensation methods and device |
US20190058945A1 (en) * | 2015-10-26 | 2019-02-21 | Huawei Technologies Co., Ltd. | Speaker Module, and Audio Compensation Method and Apparatus |
CN108781340A (en) * | 2016-03-25 | 2018-11-09 | 雅马哈株式会社 | Loud speaker movement confirmation arrangement and method |
CN108781340B (en) * | 2016-03-25 | 2020-10-02 | 雅马哈株式会社 | Speaker operation confirmation device and method |
CN106648521A (en) * | 2016-09-27 | 2017-05-10 | 北京小米移动软件有限公司 | Terminal device operation method and apparatus |
CN110990314A (en) * | 2019-11-29 | 2020-04-10 | 北京小米移动软件有限公司 | Electronic equipment identification method and device, terminal equipment and electronic equipment |
US11452040B2 (en) | 2019-11-29 | 2022-09-20 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and apparatus for identifying electronic device, terminal device, and electronic device |
CN113259810A (en) * | 2020-02-11 | 2021-08-13 | 北京小米移动软件有限公司 | Audio modules and terminal equipment |
CN112969133A (en) * | 2021-02-04 | 2021-06-15 | 上海龙旗科技股份有限公司 | Loudspeaker identification circuit, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104936099A (en) | Method and device for recognizing loudspeaker | |
CN105262452A (en) | Method and apparatus for adjusting volume, and terminal | |
CN105338157A (en) | Nuisance call processing method, and device and telephone | |
CN105406828A (en) | Sound equipment adjustment method and device | |
CN105117033A (en) | Connection method and device of external equipment | |
CN105160793A (en) | Alarming method and apparatus | |
CN108076199B (en) | Method and device for detecting air tightness of microphone | |
CN105426218A (en) | Method and device for controlling audio playing | |
CN104837154A (en) | Control method and device for wireless access point | |
CN104394247A (en) | Power supply circuit and electronic equipment | |
CN105139378A (en) | Card boundary detection method and apparatus | |
CN104618575A (en) | Method and device for approaching detected objects | |
CN104378715A (en) | Device and method for lowering earphone POP sound | |
CN104461568A (en) | Electronic accessory recognition device and method | |
CN103986999A (en) | Method, device and terminal equipment for detecting earphone impedance | |
CN105391477A (en) | A communication method and device between bluetooth devices | |
CN104243829A (en) | Self-shooting method and self-shooting device | |
CN105100484A (en) | Method, device and system for ending voice call | |
CN105224171A (en) | icon display method, device and terminal | |
CN104935729A (en) | Audio output method and device | |
CN105430715A (en) | Method and apparatus for controlling WIFI scanning | |
CN105354017A (en) | Information processing method and apparatus | |
CN105530381A (en) | Call hanging-up method and device | |
CN105488829A (en) | Method and device for generating head portrait | |
CN105554631B (en) | Audio switching method, device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150923 |