Detection method, device, terminal and storage medium

By obtaining the electrical signal of the speaker assembly to determine the vibration displacement, the problem of low efficiency and poor reliability in terminal air permeability detection is solved, realizing efficient and reliable air permeability judgment and improving user experience.

CN116614571BActive Publication Date: 2026-01-02BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210118264.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-08
Publication Date
2026-01-02
Estimated Expiration
2042-02-08

AI Technical Summary

Technical Problem

In existing technologies, the breathability detection of terminals relies on subjective hearing, which leads to low efficiency and poor reliability, affecting user experience.

Method used

By acquiring the electrical signal of the speaker assembly in the set state, the vibration displacement is determined, and the air permeability of the terminal is judged based on the vibration displacement, without relying on subjective hearing detection.

Benefits of technology

It improved detection efficiency, reduced labor and time costs, enhanced detection reliability, and improved user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116614571B_ABST
    Figure CN116614571B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a detection method, device, terminal and storage medium, wherein the terminal comprises a loudspeaker assembly, and the method comprises: obtaining an electric signal of the loudspeaker assembly when the terminal is in a set state, wherein the set state is used to drive a diaphragm of the loudspeaker assembly to vibrate, and the electric signal is generated in response to the vibration of the diaphragm; determining a vibration displacement of the diaphragm according to the electric signal; and determining a detection result according to the vibration displacement. In the method, the air permeability of the terminal is determined based on the vibration displacement in the set state, and the detection does not need to be performed based on subjective hearing, so that the detection efficiency can be improved, the labor cost and time cost of detection can be reduced, and the detection reliability can be improved, thereby improving the user experience of using the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of terminals, and in particular, to a detection method and device, a terminal, and a storage medium. BACKGROUND

[0002] With the development of technology and waterproof requirements, the sealing performance of terminals such as mobile phones and wearable devices is getting better and better. However, for a loudspeaker assembly, the pressure change of the front and rear cavities of the diaphragm (referred to as the diaphragm) of the loudspeaker assembly will cause polarization. In order to ensure that there is no polarization, the loudspeaker assembly generally reserves a gas leakage hole to enable the rear cavity of the loudspeaker assembly to communicate with the internal cavity of the terminal, and the internal cavity of the terminal communicates with the external atmospheric pressure through a gap or a waterproof air hole.

[0003] However, too high air permeability of the terminal will cause the internal gas of the loudspeaker assembly to expand when it is heated, and the diaphragm will be pushed outward, thereby affecting the sound production effect. In addition, when the back cover (for example, the battery cover of a mobile phone) of the terminal is pressed, the rapid deformation of the back cover can easily cause the internal pressure of the terminal to change, causing abnormal vibration of the diaphragm and generating noise. The above situations seriously affect the user experience. SUMMARY

[0004] To overcome the problems in the related art, the present disclosure provides a detection method and device, a terminal, and a storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a detection method is provided, applied to a terminal including a loudspeaker assembly, and the method includes:

[0006] obtaining an electrical signal of the loudspeaker assembly when the terminal is in a set state, wherein the set state is used to drive the diaphragm of the loudspeaker assembly to vibrate, and the electrical signal is generated in response to the vibration of the diaphragm;

[0007] determining a vibration displacement of the diaphragm according to the electrical signal;

[0008] determining a detection result according to the vibration displacement.

[0009] Optionally, the determining a detection result according to the vibration displacement includes:

[0010] if it is determined that the absolute value of the vibration displacement is less than or equal to a set value, determining that the detection result meets the air permeability requirement; and / or,

[0011] if it is determined that the absolute value of the vibration displacement is greater than the set value, determining that the detection result does not meet the air permeability requirement.

[0012] Optionally, the set value is less than or equal to the maximum amplitude of the diaphragm.

[0013] Optionally, the determining the vibration displacement of the diaphragm according to the electrical signal comprises:

[0014] determining the vibration displacement according to the configuration information and the electrical signal, wherein the configuration information represents a mapping relationship between the electrical signal and the vibration displacement.

[0015] Optionally, after the determining the detection result, the method comprises:

[0016] outputting the detection result.

[0017] Optionally, the set state comprises:

[0018] an air extraction state and / or an air filling state, wherein the air quantity is greater than or equal to 0.1 cubic centimeter and less than or equal to 0.55 cubic centimeter, and the time length is less than or equal to 10 seconds.

[0019] According to a second aspect of the embodiments of the present disclosure, a detection device is provided, which is applied to a terminal, the terminal comprising a loudspeaker assembly, and the device comprising:

[0020] an acquisition module, configured to acquire an electrical signal of the loudspeaker assembly when the terminal is in a set state, wherein the set state is used to drive a diaphragm of the loudspeaker assembly to vibrate, and the electrical signal is generated in response to the vibration of the diaphragm;

[0021] a determination module, configured to determine a vibration displacement of the diaphragm according to the electrical signal;

[0022] and further configured to determine a detection result according to the vibration displacement.

[0023] Optionally, the determination module is configured to:

[0024] if it is determined that the absolute value of the vibration displacement is less than or equal to a set value, determining that the detection result meets the air permeability requirement; and / or,

[0025] if it is determined that the absolute value of the vibration displacement is greater than a set value, determining that the detection result does not meet the air permeability requirement.

[0026] Optionally, the determination module is configured to:

[0027] determining the vibration displacement according to configuration information and the electrical signal, wherein the configuration information represents a mapping relationship between the electrical signal and the vibration displacement.

[0028] Optionally, the device comprises an output module, the output module being configured to:

[0029] after the determining the detection result, outputting the detection result.

[0030] According to a third aspect of embodiments of the present disclosure, a terminal is provided, the terminal comprising:

[0031] a processor;

[0032] a memory for storing instructions executable by the processor;

[0033] wherein the processor is configured to perform the method according to the first aspect.

[0034] According to a fourth aspect of embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, when instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to perform the method according to the first aspect.

[0035] The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects: in the method, the air permeability of the terminal is determined based on the vibration displacement in the set state, without the need for subjective auditory detection, which can improve the detection efficiency, reduce the labor cost and time cost of detection, and improve the reliability of detection, thereby improving the user experience of using the terminal.

[0036] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0037] The accompanying drawings, which are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the present disclosure.

[0038] Figure 1 is a flowchart of a detection method according to an exemplary embodiment.

[0039] Figure 2 is a schematic diagram of a terminal in an air charging state according to an exemplary embodiment.

[0040] Figure 3 is a schematic diagram of a terminal in an air exhausting state according to an exemplary embodiment.

[0041] Figure 4 is a structural schematic diagram of a loudspeaker according to an exemplary embodiment.

[0042] Figure 5 is an electrical connection schematic diagram of a smart power amplifier and a loudspeaker according to an exemplary embodiment.

[0043] Figure 6 is a flowchart of a detection method according to an exemplary embodiment.

[0044] Figure 7is a flow chart of a detection method according to an example embodiment.

[0045] Figure 8 is a block diagram of a detection device according to an example embodiment.

[0046] Figure 9 is a block diagram of a terminal according to an example embodiment. DETAILED DESCRIPTION

[0047] The example embodiments will be described in detail herein with reference to the accompanying drawings. In the following description, unless otherwise indicated, like numbers in the different drawings represent the same or similar elements. The following example embodiments described in the detailed description are not meant to be exhaustive or to be limiting in scope. Rather, they are intended to be illustrative of devices and methods consistent with the disclosure as described in the appended claims.

[0048] In the related art, for detection of the air permeability of a terminal, manual pressing of the terminal and subjective listening to whether there is noise in the sound of the terminal are generally used for artificial verification, which is time-consuming, has poor reliability, and is low in efficiency.

[0049] The disclosure provides a detection method applied to a terminal, the terminal comprising a loudspeaker assembly. In the method, the air permeability of the terminal is determined based on the vibration displacement in a set state, without the need for subjective hearing for detection, which can improve the detection efficiency, reduce the artificial cost and time cost of detection, and improve the reliability of detection, thereby improving the user experience of using the terminal.

[0050] In one example embodiment, a detection method is provided, applied to a terminal, the terminal comprising a loudspeaker assembly. Referring to Figure 1 The method can comprise:

[0051] S110, obtaining an electrical signal of the loudspeaker assembly when the terminal is in a set state, wherein the set state is used to drive the diaphragm of the loudspeaker assembly to vibrate, and the electrical signal is generated in response to the vibration of the diaphragm;

[0052] S120, determining the vibration displacement of the diaphragm according to the electrical signal;

[0053] S130, determining a detection result according to the vibration displacement.

[0054] In step S110, the set state can be a state of air extraction or a state of air filling.

[0055] The terminal can be evacuated via a card slot, putting it into an evacuation state. In this state, the specific values ​​for the amount of gas evacuated and the duration of evacuation are not limited; they can be determined based on the terminal's speaker assembly's normal operating state. For example, the amount of gas evacuated is greater than or equal to 0.1 cubic centimeters and less than or equal to 0.525 cubic centimeters, and the evacuation duration is less than or equal to 10 seconds, meaning the evacuation of the aforementioned gas amount is completed within 10 seconds.

[0056] The terminal can be inflated via a card slot, putting it into an inflated state. In this state, the specific values ​​for the amount of gas and the inflation duration are not limited; they can be determined based on the terminal's speaker assembly's normal operating state. For example, the gas volume can be greater than or equal to 0.1 cubic centimeters and less than or equal to 0.525 cubic centimeters, and the inflation duration can be less than or equal to 10 seconds, meaning the inflation process is completed within 10 seconds.

[0057] It should be noted that in this step, by evacuating or inflating the terminal to put it into a set state, the state of gas flow between the rear cavity of the speaker, the inner cavity of the terminal, and the outside atmosphere when the speaker is playing a sound is simulated.

[0058] The speaker assembly may include a loudspeaker (also known as a horn), and the loudspeaker may include a diaphragm. When the terminal is in a set state, the diaphragm vibrates, and the vibration of the diaphragm causes the loudspeaker to generate an induced voltage and an induced current. The electrical signals in this step include the aforementioned induced voltage and induced current. The loudspeaker may include a voice coil, and the vibration of the diaphragm can drive the voice coil to vibrate, thereby generating the induced voltage and induced current.

[0059] In this step, when the terminal is in the setting state, the diaphragm in the speaker assembly vibrates in response to the setting state. The vibration of the diaphragm causes the voice coil to be displaced, thereby causing the speaker to generate electrical signals (such as induced voltage and induced current) and transmit the electrical signals to the smart amplifier, so that the smart amplifier can obtain the electrical signals of the speaker assembly.

[0060] Example 1,

[0061] refer to Figure 2 , Figure 4 and Figure 5 As shown, the terminal is a mobile phone, which includes a casing 1. The casing 1 has a waterproof and breathable hole 11 and a SIM card slot 12. The casing 1 may also include a gap 13. The outside atmosphere communicates with the inner cavity of the mobile phone through the waterproof and breathable hole 11, the SIM card slot 12, and the gap 13 to achieve pressure equalization between the inner cavity of the mobile phone and the outside atmosphere. The SIM card slot 12 can be a SIM card mounting slot. When no SIM card is installed in the SIM card slot 12, the inner cavity of the mobile phone can communicate with the outside atmosphere through the SIM card slot 12.

[0062] The mobile phone includes a speaker assembly 2, which may include a speaker 21 (also known as a horn), a front cover 22, and a rear cover 23. The front cover 22 forms the front cavity of the speaker assembly 2, and the rear cover 23 forms the rear cavity of the speaker assembly 2. The front cavity and the rear cavity are not connected and there is no gas interaction. The rear cover 23 is provided with a pressure relief hole 25, and the rear cavity is connected to the inner cavity of the mobile phone through the pressure relief hole 25 to achieve pressure equalization between the inner cavity and the rear cavity. The speaker 21 is provided with a vent hole 211 to connect the cavity of the speaker 21 with the rear cavity.

[0063] In addition, the phone's casing 1 is provided with a sound outlet 14, and the front cavity is connected to the outside atmosphere through the sound outlet 14. A dustproof mesh 24 can be provided between the front cavity and the sound outlet 14.

[0064] The mobile phone may also include a smart amplifier 3, which is electrically connected to the speaker 21. The smart amplifier 3 can provide a drive signal to the speaker 21 via a P / N line 4 (voltage / current feedback line) to drive the diaphragm 213 of the speaker 21 to vibrate and produce sound. The speaker 21 may include a voice coil 212 and a magnetic component 214. The vibration of the diaphragm 213 can drive the voice coil 212 to move, and the movement of the voice coil 212 can generate induced voltage and induced current. The speaker 21 can transmit the induced voltage and induced current to the smart amplifier 3 via an IV sense line 5 (voltage / current feedback monitoring line), so that the smart amplifier 3 can detect the induced voltage and induced current of the speaker 21.

[0065] In this example, the electrical signal includes induced voltage and induced current. The user can inflate the terminal for 10 seconds via card slot 12; the airflow direction can be referenced. Figure 2 As indicated by the arrow on the midpoint line, the amount of gas used for inflation can be 0.55 cubic centimeters to inflate the terminal. When the terminal is inflated, the diaphragm 213 of the speaker 21 vibrates, thereby displacing the voice coil 212, which in turn causes the speaker 21 to generate induced voltage and induced current. The induced voltage and induced current of the speaker 21 can be transmitted to the smart amplifier 3 of the mobile phone through the IV sense line 5, so that the smart amplifier 3 can acquire the induced voltage and induced current of the speaker assembly 2.

[0066] Example 2,

[0067] refer to Figure 3 , Figure 4 and Figure 5 As shown, the terminal in Example 2 is the same as the terminal in Example 1 above.

[0068] In Example 2, the user can use the card slot 12 to pump air from the terminal for 5 seconds. The direction of airflow can be referenced. Figure 3The gas volume of the air extraction can be 0.1 cubic centimeter, as indicated by the midpoint line arrow, so that the terminal is in the air extraction state. When the terminal is in the air extraction state, the diaphragm 213 of the loudspeaker 21 vibrates, thereby driving the voice coil 212 to displace, and further causing the loudspeaker 21 to generate an induced voltage and an induced current. The induced voltage and the induced current of the loudspeaker 21 can be transmitted to the smart power amplifier 3 of the mobile phone through the IV sense line 5, so that the smart power amplifier 3 obtains the induced voltage and the induced current of the loudspeaker assembly 2.

[0069] In step S120, the terminal determines that there is a certain correspondence between the electrical signal and the vibration displacement. The mapping relationship between the electrical signal and the vibration displacement can be determined through experiments, and the configuration information is determined based on the determined mapping relationship, and then the configuration information is preset in the terminal.

[0070] The configuration information represents the mapping relationship between the electrical signal and the vibration displacement. The configuration information can be set before the terminal is shipped, or can be set after the terminal is shipped. In addition, after the configuration information is set, the configuration information can be modified to better meet the user's needs. The configuration information can be preset in the form of a relationship or in other forms, which is not limited.

[0071] In this step, the smart power amplifier obtains the electrical signal, and then determines the vibration displacement according to the electrical signal and the preset configuration information.

[0072] In step S130, it should be noted that the better the air permeability of the terminal, the smaller the absolute value of the vibration displacement. In this step, if the vibration displacement is small enough, it means that the air permeability of the terminal meets the requirements, and the detection result can be determined as meeting the air permeability requirements, or as qualified. If the vibration displacement is too large, it means that the air permeability of the terminal does not meet the requirements, and the detection result can be determined as not meeting the air permeability requirements, or as unqualified.

[0073] It should be noted that the detection result can only represent whether the air permeability meets the requirements, and the specific content of the detection result is not limited.

[0074] The above detection method can be applied to pre-shipment internal testing or post-shipment maintenance testing.

[0075] In this method, the vibration displacement of the terminal in the set state can be determined by the smart power amplifier, and then the detection result is determined based on the vibration displacement. It is not necessary to detect based on subjective hearing, which can realize fast and batch detection, save labor and time costs, improve efficiency, and more reliably detect unqualified terminals with poor air permeability, thereby better guaranteeing the user's experience. In addition, this method is based on the design of the terminal itself, without additional material costs, and has low cost.

[0076] In one example embodiment, a detection method is provided, applied to a terminal, the terminal comprising a speaker assembly. Referring to Figure 6 In the method, the detection result is determined according to the vibration displacement, which can include:

[0077] S210, determining whether the absolute value of the vibration displacement is less than or equal to a set value; if the determination result is yes, executing step S220; if the determination result is no, executing step S230;

[0078] S220, determining that the detection result meets the air permeability requirement;

[0079] S230, determining that the detection result does not meet the air permeability requirement.

[0080] The set value can be set before the terminal is shipped, or can be set after the terminal is shipped. In addition, the set value can be modified after being set to better meet the needs of users. The specific size of the set value is not limited and can be determined according to actual conditions.

[0081] For example, the set value can be determined based on the maximum amplitude of the diaphragm of the speaker in the speaker assembly. The maximum amplitude can be determined by experiment or by other means, which is not limited. The set value is generally set to be less than or equal to the maximum amplitude. For example, when the maximum amplitude is 0.65 mm, the set value can be less than or equal to 0.65 mm. For another example, when the maximum amplitude is 0.65 mm, the set value can be less than or equal to 0.5 mm.

[0082] If it is determined that the vibration displacement is less than or equal to the set value, it is considered that the air permeability of the terminal meets the requirement, the speaker of the terminal can normally sound, and there will be no noise, so it can be determined that the detection result meets the air permeability requirement. If it is determined that the vibration displacement is greater than the set value, it is considered that the air permeability of the terminal does not meet the requirement, and there can be noise when the speaker of the terminal normally sounds, so it can be determined that the detection result does not meet the air permeability requirement.

[0083] Example 1,

[0084] The set value is 0.5 mm. In this example, the smart power amplifier can include a detection module, an analysis module, and a judgment module. The detection module obtains the IV feedback signal (i.e., an electrical signal including an induced voltage and an induced current) through the IV sense line, the analysis module determines the vibration displacement according to the IV feedback signal obtained by the detection module, and the judgment module determines whether the air permeability of the terminal meets the requirement according to the vibration displacement determined by the analysis module. If the absolute value of the vibration displacement is less than or equal to 0.5 mm, it is determined that the detection result meets the air permeability requirement. If the absolute value of the vibration displacement is greater than 0.5 mm, it is determined that the detection result does not meet the air permeability requirement.

[0085] In the method, whether the air permeability of the terminal meets the requirement can be determined according to the absolute value of the vibration displacement and the preset set value, without the need for subjective hearing detection, so that the detection efficiency can be improved, the labor cost and time cost of detection can be reduced, and the detection reliability can be improved, thereby improving the user experience of using the terminal.

[0086] In one example embodiment, a detection method is provided, applied to a terminal including a loudspeaker assembly. Referring to Figure 7 The method can include:

[0087] S310, obtaining an electric signal of the loudspeaker assembly when the terminal is in a set state, wherein the set state is used to drive the diaphragm of the loudspeaker assembly to vibrate, and the electric signal is generated in response to the vibration of the diaphragm;

[0088] S320, determining a vibration displacement of the diaphragm according to the electric signal;

[0089] S330, determining a detection result according to the vibration displacement;

[0090] S340, outputting the detection result.

[0091] Wherein, steps S310 to S330 can refer to steps S110 to S130 in other embodiments, which are not limited.

[0092] Wherein, after the terminal determines the detection result, the detection result can be output. For example, the terminal can include an intelligent power amplifier and a central processing unit (CPU), wherein after the intelligent power amplifier determines the detection result based on the vibration displacement, the detection result can be transmitted to the central processing unit of the terminal, and then the central processing unit controls the display screen to display the detection result, so that relevant personnel can understand the detection result.

[0093] It should be noted that in addition to the above-mentioned display of the detection result through the display screen, the detection result can also be output through other ways, which are not limited. In addition, the detection result can be text information representing whether the air permeability meets the requirement, or image information or sound information representing whether the air permeability meets the requirement, etc., which are not limited.

[0094] For example, the display screen displays a check mark image, indicating that the air permeability meets the requirement. The display screen displays a cross image, indicating that the air permeability does not meet the requirement.

[0095] For example, the display screen displays green, indicating that the air permeability meets the requirement. The display screen displays red, indicating that the air permeability does not meet the requirement.

[0096] In addition, this solution also allows for the grading of breathability. For example, breathability can be divided into three levels: unsuitable, acceptable, and excellent. If the vibration displacement is greater than a first set value, the breathability is determined to be unacceptable; if the vibration displacement is less than or equal to the first set value but greater than a second set value, the breathability is determined to be acceptable; if the vibration displacement is less than or equal to the second set value, the breathability is determined to be excellent. This method allows for better grading of the breathability of the terminal, thereby determining the quality level of the terminal.

[0097] It should be noted that when determining the first and second setting values ​​based on the diaphragm's maximum amplitude, both the first and second setting values ​​must be less than or equal to the diaphragm's maximum amplitude, and the second setting value must be less than the first setting value. For example, if the maximum amplitude is 0.65mm, the first setting value can be 0.65mm, and the second setting value can be 0.5mm.

[0098] In this method, after the test results are determined, the terminal can output the test results so that relevant personnel can intuitively understand the air permeability of the terminal and further improve the testing efficiency.

[0099] In one exemplary embodiment, a detection device is provided, applied to a terminal, the terminal including a speaker assembly. This device is used to implement the method described above; for example, refer to... Figure 8 As shown, the device may include an acquisition module 101 and a determination module 102, wherein, during the implementation of the above method,

[0100] The acquisition module 101 is used to acquire the electrical signal of the speaker assembly when the terminal is in a setting state, wherein the setting state is used to drive the diaphragm of the speaker assembly to vibrate, and the electrical signal is generated in response to the vibration of the diaphragm.

[0101] The determining module 102 is used to determine the vibration displacement of the diaphragm based on the electrical signal;

[0102] It is also used to determine the test results based on vibration displacement.

[0103] In one exemplary embodiment, a detection device is provided, applied to a terminal, the terminal including a speaker assembly. (Reference) Figure 8 As shown, in this device, the determining module 102 is used for:

[0104] If the absolute value of the vibration displacement is determined to be less than or equal to the set value, then the test result is determined to meet the air permeability requirements; and / or,

[0105] If the absolute value of the vibration displacement is determined to be greater than the set value, then the test result is determined to be non-compliant with the air permeability requirements.

[0106] In one exemplary embodiment, a detection device is provided, applied to a terminal, the terminal including a speaker assembly. (Reference)Figure 8 As shown, the apparatus can include an output module 103, configured to:

[0107] determine the vibration displacement according to the configuration information and the electrical signal, wherein the configuration information represents a mapping relationship between the electrical signal and the vibration displacement.

[0108] In one example embodiment, a detection apparatus is provided, applied to a terminal, the terminal including a loudspeaker assembly. Referring to Figure 8 As shown, the apparatus can include an output module 103, configured to:

[0109] determine the vibration displacement according to the configuration information and the electrical signal, wherein the configuration information represents a mapping relationship between the electrical signal and the vibration displacement.

[0110] In one example embodiment, a terminal is provided, which is, for example, a mobile phone, a notebook computer, a tablet computer, a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a smart speaker, or the like, and is provided with a loudspeaker assembly.

[0111] Referring to Figure 9 As shown, the terminal 400 can include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input / output (I / O) interface 412, a sensor component 414, and a communication component 416.

[0112] The processing component 402 usually controls overall operations of the terminal 400, such as operations associated with displaying, making phone calls, data communications, camera operations, and recording operations. The processing component 402 can include one or more processors 420 to execute instructions to complete all or part of steps of the methods described above. Further, the processing component 402 can include one or more modules to facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0113] The memory 404 is configured to store various types of data to support operations of the terminal 400. Examples of these data include instructions for any application or method operating on the terminal 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0114] Power component 406 provides power to various components of terminal 400. Power component 406 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 400.

[0115] Multimedia component 408 includes a screen providing an output interface between terminal 400 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or a sliding action, but also detect duration and intensity of the touching or sliding action. In some embodiments, multimedia component 408 includes a front camera application and / or a rear camera application. The front camera application and / or the rear camera application can receive external multimedia data when terminal 400 is in an operating mode, such as a photographing mode or a video mode. Each of the front camera application and the rear camera application can be a fixed optical lens system or have a focal length and an optical zooming capability.

[0116] Audio component 410 is configured to output and / or input audio signals. For example, audio component 410 includes a microphone (MIC) configured to receive external audio signals when terminal 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in memory 404 or transmitted via communication component 416. In some embodiments, audio component 410 also includes a speaker component for outputting audio signals.

[0117] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0118] The sensor component 414 includes one or more sensors to provide the terminal 400 with state evaluation of various aspects. For example, the sensor component 414 can detect an open / closed state of the terminal 400, relative positioning of components, such as a display and keypad of the terminal 400, a change in position of the terminal 400 or a component of the terminal 400, presence or absence of user contact with the terminal 400, orientation or acceleration / deceleration / rotation of the terminal 400, and temperature changes of the terminal 400. The sensor component 414 can include proximity sensor(s) configured to detect presence of nearby objects without any physical touch. The sensor component 414 can further include a light sensor(s), such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 414 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0119] The communication component 416 is configured to facilitate wired or wireless communication between the terminal 400 and another terminal. The terminal 400 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an example embodiment, the communication component 416 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, infrared data association (IrDA) techniques, ultra-wideband (UWB) techniques, Bluetooth (BT) techniques, and other techniques.

[0120] In an example embodiment, the terminal 400 can be implemented with one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing terminals (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements to perform the methods described above.

[0121] In an example embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 404 including instructions, is also provided, which can be executed by the processor 420 of the terminal 400 to complete the methods described above. The memory 404 storing the instructions and the processor 420 executing the instructions can belong to the smart power amplifier.

[0122] For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage terminal, etc. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to perform the methods shown in the above embodiments.

[0123] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

[0124] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the specification and examples be considered as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

[0125] It is to be understood that the disclosure is not limited to the precise construction described above and shown in the attached drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the disclosure is limited only by the claims that follow.

Claims

1. A detection method applied to a terminal, the terminal comprising a speaker assembly, characterized in that, The method comprises: obtaining an electric signal of the loudspeaker assembly when the terminal is in a set state, wherein the set state is used to drive a diaphragm of the loudspeaker assembly to vibrate by means of charging or discharging the terminal, and the electric signal is generated in response to the vibration of the diaphragm; determining a vibration displacement of the diaphragm according to the electric signal; determining a detection result according to the vibration displacement, wherein the detection result is used to represent whether the terminal meets the air permeability requirement.

2. The method of claim 1, wherein, The determination of the detection result according to the vibration displacement comprises: if it is determined that the absolute value of the vibration displacement is less than or equal to a set value, then it is determined that the detection result meets the air permeability requirement; and / or if it is determined that the absolute value of the vibration displacement is greater than a set value, then it is determined that the detection result does not meet the air permeability requirement.

3. The method of claim 2, wherein, The set value is less than or equal to the maximum amplitude of the diaphragm.

4. The method of claim 1, wherein, The determination of the vibration displacement according to the electric signal comprises: determining the vibration displacement according to configuration information and the electric signal, wherein the configuration information represents the mapping relationship between the electric signal and the vibration displacement.

5. The method of claim 1, wherein, After the determination of the detection result, the method comprises: outputting the detection result.

6. The method according to any one of claims 1 to 5, characterized in that, The set state comprises: a discharging state or a charging state, wherein the amount of gas is greater than or equal to 0.1 cubic centimeters and less than or equal to 0.55 cubic centimeters, and the time length is less than or equal to 10 seconds.

7. A detection apparatus applied to a terminal, the terminal comprising a speaker assembly, characterized in that, The device comprises: an obtaining module, configured to obtain an electric signal of the loudspeaker assembly when the terminal is in a set state, wherein the set state is used to drive a diaphragm of the loudspeaker assembly to vibrate by means of charging or discharging the terminal, and the electric signal is generated in response to the vibration of the diaphragm; a determining module, configured to determine a vibration displacement of the diaphragm according to the electric signal; and further configured to determine a detection result according to the vibration displacement, wherein the detection result is used to represent whether the terminal meets the air permeability requirement.

8. The apparatus of claim 7, wherein, The determining module is configured to: if it is determined that the absolute value of the vibration displacement is less than or equal to a set value, then it is determined that the detection result meets the air permeability requirement; and / or if it is determined that the absolute value of the vibration displacement is greater than a set value, then it is determined that the detection result does not meet the air permeability requirement.

9. The apparatus of claim 7, wherein, The determining module is configured to: determine the vibration displacement according to configuration information and the electric signal, wherein the configuration information represents the mapping relationship between the electric signal and the vibration displacement.

10. The apparatus of claim 7, wherein, The device comprises an output module, which is configured to: output the detection result after the determination of the detection result.

11. A terminal, characterized by comprising: The terminal comprises a loudspeaker assembly, and the terminal comprises: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to perform the method according to any one of claims 1-6.

12. A non-transitory computer-readable storage medium, comprising: When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to perform the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Electronic equipment waterproof method, electronic equipment and protection circuit

    CN106792342A