[go: up one dir, main page]

CN108683981B - Speaker drainage method, device, electronic device, and storage medium for electronic equipment - Google Patents

Speaker drainage method, device, electronic device, and storage medium for electronic equipment Download PDF

Info

Publication number
CN108683981B
CN108683981B CN201810457798.0A CN201810457798A CN108683981B CN 108683981 B CN108683981 B CN 108683981B CN 201810457798 A CN201810457798 A CN 201810457798A CN 108683981 B CN108683981 B CN 108683981B
Authority
CN
China
Prior art keywords
speaker
preset
electronic equipment
loudspeaker
touch screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810457798.0A
Other languages
Chinese (zh)
Other versions
CN108683981A (en
Inventor
李炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810457798.0A priority Critical patent/CN108683981B/en
Publication of CN108683981A publication Critical patent/CN108683981A/en
Application granted granted Critical
Publication of CN108683981B publication Critical patent/CN108683981B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/06Loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R9/00Transducers of moving-coil, moving-strip, or moving-wire type
    • H04R9/02Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2400/00Loudspeakers
    • H04R2400/11Aspects regarding the frame of loudspeaker transducers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本发明适用电子设备技术领域,提供了一种电子设备的扬声器排水方法、装置、电子设备及存储介质,该方法包括:当检测到对电子设备的扬声器进行排水的请求时,控制扬声器输出第一预设频率的音频;获取扬声器的当前工作电流;当当前工作电流超过扬声器的正常工作电流时,对扬声器进行排水,从而通过控制扬声器输出第一预设频率的音频、在当扬声器的当前工作电流超过扬声器的正常工作电流时精确确定扬声器的排水时机,进而自动对扬声器进行排水,提高了电子设备的智能化程度,同时减少了电子设备的排水装置被误启动而产生的能耗。

Figure 201810457798

The present invention is applicable to the technical field of electronic equipment, and provides a speaker drainage method, device, electronic equipment and storage medium of an electronic equipment. The method comprises: when a request for draining the speaker of the electronic equipment is detected, controlling the speaker to output an audio of a first preset frequency; obtaining the current working current of the speaker; when the current working current exceeds the normal working current of the speaker, draining the speaker, thereby controlling the speaker to output the audio of the first preset frequency and accurately determining the drainage timing of the speaker when the current working current of the speaker exceeds the normal working current of the speaker, and then automatically draining the speaker, thereby improving the intelligence level of the electronic equipment and reducing the energy consumption caused by the drainage device of the electronic equipment being mistakenly activated.

Figure 201810457798

Description

电子设备的扬声器排水方法、装置、电子设备及存储介质Speaker drainage method, device, electronic device, and storage medium for electronic equipment

技术领域technical field

本发明属于电子设备技术领域,尤其涉及一种电子设备的扬声器排水方法、装置、电子设备及存储介质。The invention belongs to the technical field of electronic equipment, and in particular relates to a speaker drainage method, device, electronic equipment and storage medium for electronic equipment.

背景技术Background technique

随着科技的不断进步,目前,移动终端等电子设备的防水等级越来越高,很多电子产品具备防水功能。在电子设备的传统防水设计中,电子设备生产商往往考虑如何不让水进入设备内部,而扬声器是靠空气震动来产生声音,因此扬声器和设备高度防水设计存在一定的冲突。With the continuous advancement of science and technology, at present, the waterproof level of electronic devices such as mobile terminals is getting higher and higher, and many electronic products have waterproof functions. In the traditional waterproof design of electronic equipment, electronic equipment manufacturers often consider how to prevent water from entering the equipment, and speakers rely on air vibration to generate sound, so there is a certain conflict between the highly waterproof design of speakers and equipment.

为了解决这一问题,部分电子设备生产或设计商在提高扬声器防水功能的同时,提出了扬声器的事后排水功能,即用户在感觉到电子设备扬声器进水后,通过自动控制电子设备的振动等方式把水分挤压出去。然而,由于用户无法准确判断电子设备是否进水,且在自我判断进水后还需要手动排水,因此,提高了电子设备的错误排水发生几率,从而降低了电子设备的智能化程度。In order to solve this problem, some electronic equipment manufacturers or designers have proposed the post-draining function of the speaker while improving the waterproof function of the speaker, that is, the user can automatically control the vibration of the electronic equipment after feeling that the speaker of the electronic equipment has entered the water. Squeeze the moisture out. However, since the user cannot accurately determine whether the electronic device has entered water, and needs to manually drain the water after self-judging the water has entered, the probability of erroneous drainage of the electronic device is increased, thereby reducing the intelligence of the electronic device.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种电子设备的扬声器排水方法、装置、电子设备及存储介质,旨在解决由于现有技术电子设备无法准确确定扬声器的排水时间,导致电子设备的智能化程度降低的问题。The purpose of the present invention is to provide a speaker drainage method, device, electronic device and storage medium for electronic equipment, which aims to solve the problem that the degree of intelligence of the electronic equipment is reduced because the electronic equipment in the prior art cannot accurately determine the drainage time of the speaker. .

一方面,本发明提供了一种电子设备的扬声器排水方法,所述方法包括下述步骤:In one aspect, the present invention provides a method for draining a speaker of an electronic device, the method comprising the following steps:

当检测到对电子设备的扬声器进行排水的请求时,控制所述扬声器输出第一预设频率的音频;When a request for draining the speaker of the electronic device is detected, controlling the speaker to output audio of a first preset frequency;

获取所述扬声器的当前工作电流;Obtain the current working current of the speaker;

当所述当前工作电流超过所述扬声器的正常工作电流时,对所述扬声器进行排水。When the current operating current exceeds the normal operating current of the speaker, the speaker is drained.

另一方面,本发明提供了一种电子设备的扬声器排水装置,所述装置包括:In another aspect, the present invention provides a speaker drainage device for electronic equipment, the device comprising:

音频输出单元,用于当检测到对电子设备的扬声器进行排水的请求时,控制所述扬声器输出第一预设频率的音频;an audio output unit, configured to control the speaker to output audio of a first preset frequency when a request for draining the speaker of the electronic device is detected;

电流获取单元,用于获取所述扬声器的当前工作电流;以及a current acquisition unit for acquiring the current operating current of the speaker; and

扬声器排水单元,用于当所述当前工作电流超过所述扬声器的正常工作电流时,对所述扬声器进行排水。The speaker drainage unit is used for draining the speaker when the current operating current exceeds the normal operating current of the speaker.

另一方面,本发明还提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述方法的步骤。In another aspect, the present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor is implemented when the processor executes the computer program The steps of the method as described above.

另一方面,本发明还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上所述方法的步骤。In another aspect, the present invention also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the above-mentioned method.

本发明当检测到对电子设备的扬声器进行排水的请求时,控制扬声器输出第一预设频率的音频,获取扬声器的当前工作电流,当当前工作电流超过扬声器的正常工作电流时,对扬声器进行排水,从而通过控制扬声器输出第一预设频率的音频、在当扬声器的当前工作电流超过扬声器的正常工作电流时精确确定扬声器的排水时机,进而自动对扬声器进行排水,提高了电子设备的智能化程度,同时减少了电子设备的排水装置被误启动而产生的能耗。When a request for draining the speaker of the electronic device is detected, the present invention controls the speaker to output the audio frequency of the first preset frequency, obtains the current operating current of the speaker, and drains the speaker when the current operating current exceeds the normal operating current of the speaker. Therefore, by controlling the speaker to output the audio frequency of the first preset frequency, when the current operating current of the speaker exceeds the normal operating current of the speaker, the drainage timing of the speaker is accurately determined, and the speaker is automatically drained, thereby improving the intelligence of the electronic device. , while reducing the energy consumption caused by the wrong start of the drainage device of the electronic equipment.

附图说明Description of drawings

图1是本发明实施例一提供的电子设备的扬声器排水方法的实现流程图;Fig. 1 is the realization flow chart of the speaker drainage method of the electronic device provided by the first embodiment of the present invention;

图2是本发明实施例二提供的电子设备的扬声器排水方法的实现流程图;Fig. 2 is the realization flow chart of the speaker drainage method of the electronic device provided by the second embodiment of the present invention;

图3是本发明实施例三提供的电子设备的扬声器排水装置的结构示意图;3 is a schematic structural diagram of a speaker drainage device of an electronic device provided in Embodiment 3 of the present invention;

图4是本发明实施例四提供的电子设备的扬声器排水装置的结构示意图;以及FIG. 4 is a schematic structural diagram of a speaker drainage device of an electronic device according to Embodiment 4 of the present invention; and

图5是本发明实施例五提供的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided in Embodiment 5 of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

以下结合具体实施例对本发明的具体实现进行详细描述:The specific implementation of the present invention is described in detail below in conjunction with specific embodiments:

实施例一:Example 1:

图1示出了本发明实施例一提供的电子设备的扬声器排水方法的实现流程,为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:FIG. 1 shows the implementation process of the speaker drainage method of the electronic device provided by the first embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:

在步骤S101中,当检测到对电子设备的扬声器进行排水的请求时,控制扬声器输出第一预设频率的音频。In step S101, when a request for draining the speaker of the electronic device is detected, the speaker is controlled to output audio of a first preset frequency.

本发明实施例适用于具有扬声器的电子设备,尤其适用于手机、平板电脑、手环等移动设备或穿戴式设备,以在用户随身携带的这些移动设备或穿戴式设备从水中出来后,排出进入这些移动设备或穿戴式设备扬声器中的水。其中,对电子设备的扬声器进行排水的请求可以由用户对电子设备的预设操作触发,也可以由其他预设事件触发。优选地,由用户预先设定的活动事件或作息事件触发,从而仅在这些活动事件或作息事件发生时间段内对排水请求进行检测,以降低电子设备的能耗。例如,当用户设置好一周的活动安排后,可根据用户的活动安排,仅在用户起床、洗澡、睡觉和游泳时间段对排水请求进行检测。在本发明实施例中,第一预设频率可以为一超低频率,这样,当扬声器输出该频率的音频时不会对用户产生干扰或引入噪音。The embodiments of the present invention are suitable for electronic devices with speakers, and are especially suitable for mobile devices or wearable devices such as mobile phones, tablet computers, and wristbands, so that after these mobile devices or wearable devices carried by the user come out of the water, they are discharged into the water. water in the speakers of these mobile or wearable devices. The request for draining the speaker of the electronic device may be triggered by a preset operation of the electronic device by the user, or may be triggered by other preset events. Preferably, it is triggered by an activity event or a work-rest event preset by a user, so that the drainage request is only detected during the occurrence time period of these activity events or work-rest events, so as to reduce the energy consumption of the electronic device. For example, after the user has set an activity schedule for a week, according to the user's activity schedule, the drain request can be detected only during the time periods when the user gets up, takes a shower, sleeps, and swims. In this embodiment of the present invention, the first preset frequency may be an ultra-low frequency, so that when the speaker outputs audio of this frequency, it will not cause interference to the user or introduce noise.

在步骤S102中,获取扬声器的当前工作电流;In step S102, obtain the current operating current of the speaker;

在步骤S103中,当当前工作电流超过扬声器的正常工作电流时,对扬声器进行排水。In step S103, when the current operating current exceeds the normal operating current of the speaker, the speaker is drained.

在本发明实施例中,在电子设备的扬声器没有进水情况下,获取在第一预设频率下扬声器的正常工作电流,以得到扬声器在正常工作时的正常工作电流。由于扬声器在不同温度、温度或气压时,正常工作电流可能会有变化,因此,可选地,该正常工作电流可以是一个范围,当当前工作电流超过扬声器的正常工作电流时,则表明扬声器的当前工作电流超过了这个范围的上限值,此时,确定需要对扬声器进行排水,从而实现排水时机的精确确定,提高了电子设备的智能化程度,同时减少了电子设备的排水装置被误启动而产生的能耗。In the embodiment of the present invention, in the case that the speaker of the electronic device does not enter the water, the normal operating current of the speaker at the first preset frequency is obtained, so as to obtain the normal operating current of the speaker during normal operation. Since the normal operating current of the speaker may vary at different temperatures, temperatures or air pressures, optionally, the normal operating current may be a range. When the current operating current exceeds the normal operating current of the speaker, it indicates that the speaker's normal operating current The current operating current exceeds the upper limit of this range. At this time, it is determined that the speaker needs to be drained, so as to realize the accurate determination of the drainage timing, improve the intelligence of the electronic equipment, and reduce the false activation of the drainage device of the electronic equipment. resulting energy consumption.

进一步地,获取在第一预设频率下扬声器不同进水情况下扬声器的进水工作电流范围,从而优选地,当当前工作电流超过扬声器的正常工作电流时,进一步判断扬声器当前工作电流是否位于扬声器的进水工作电流范围,只有当前工作电流位于扬声器的进水工作电流范围内,才最终确定对扬声器进行排水,进一步提高了排水时机的确定精确度,减少了电子设备不必要排水给用户带来的干扰,提高了电子设备的智能化程度。Further, obtain the water inlet working current range of the speaker under different water inlet conditions of the speaker under the first preset frequency, so that preferably, when the current operating current exceeds the normal operating current of the speaker, it is further judged whether the current operating current of the speaker is located in the speaker. Only when the current working current is within the water inlet working current range of the loudspeaker, can the loudspeaker be finally drained, which further improves the determination accuracy of the drainage timing and reduces the unnecessary drainage of electronic equipment to the user. interference, and improve the intelligence of electronic equipment.

优选地,在对扬声器进行排水时,控制电子设备内的振动马达进行振动,以将扬声器内的水分排出,从而在实现扬声器的自动排水时无须增加电子设备的硬件复杂度,简化了扬声器的排水过程。Preferably, when the speaker is drained, the vibration motor in the electronic device is controlled to vibrate to discharge the moisture in the speaker, so that the hardware complexity of the electronic device does not need to be increased when the speaker is automatically drained, and the drainage of the speaker is simplified. process.

优选地,在对扬声器进行排水时,控制扬声器输出第二预设频率的音频,以产生对应的声波以将扬声器内的水分排出,从而在实现扬声器的自动排水时无须增加电子设备的硬件复杂度,简化了扬声器的排水过程。Preferably, when the speaker is drained, the speaker is controlled to output the audio frequency of the second preset frequency to generate corresponding sound waves to drain the moisture in the speaker, so that the hardware complexity of the electronic device does not need to be increased when the speaker is automatically drained. , which simplifies the draining process of the speaker.

实施例二:Embodiment 2:

图2示出了本发明实施例二提供的电子设备的扬声器排水方法的实现流程,为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:FIG. 2 shows the implementation process of the speaker drainage method of the electronic device provided by the second embodiment of the present invention. For the convenience of description, only the part related to the embodiment of the present invention is shown, and the details are as follows:

在步骤S201中,检测电子设备的触摸屏被触摸面积是否超过预设面积阈值。In step S201, it is detected whether the touched area of the touch screen of the electronic device exceeds a preset area threshold.

本发明实施例适用于具有触摸屏和扬声器的电子设备,尤其适用于手机、平板电脑、手环等移动设备或穿戴式设备,以在用户随身携带的这些移动设备或穿戴式设备从水中出来后,排出进入这些移动设备或穿戴式设备扬声器中的水。在本发明实施例中,面积阈值可根据电子设备触摸屏的尺寸进行设置,例如,可以设置为触摸屏尺寸的90%,或者直接设置为电子设备的触摸屏尺寸。The embodiments of the present invention are applicable to electronic devices with touch screens and speakers, and are especially applicable to mobile devices or wearable devices such as mobile phones, tablet computers, and wristbands, so that after these mobile devices or wearable devices carried by the user come out of the water, Drain water that gets into the speakers of these mobile or wearable devices. In this embodiment of the present invention, the area threshold may be set according to the size of the touch screen of the electronic device, for example, may be set to 90% of the size of the touch screen, or directly set to the size of the touch screen of the electronic device.

在步骤S202中,当检测到电子设备的触摸屏被触摸面积超过预设面积阈值时,检测电子设备的触摸屏被触摸面积是否不超过预设面积阈值。In step S202, when it is detected that the touched area of the touch screen of the electronic device exceeds the preset area threshold, it is detected whether the touched area of the touch screen of the electronic device does not exceed the preset area threshold.

在步骤S203中,当检测到触摸屏被触摸面积不超过预设面积阈值的持续时长超过第一预设时长时,生成对电子设备的扬声器进行排水的请求。In step S203, when it is detected that the touched area of the touch screen does not exceed the preset area threshold and the duration exceeds the first preset duration, a request for draining the speaker of the electronic device is generated.

由于电子设备的触摸屏接触水或侵入水中时,会被检测到大面积的触摸或感应,因此,在本发明实施例中,根据电子设备的触摸屏被触摸面积是否超过预设面积阈值,可确定电子设备的触摸屏是否在接触水或被侵入水中。当检测到电子设备的触摸屏被触摸面积超过预设面积阈值时,则表明电子设备的触摸屏接触过水或被侵入过水中,此时或之后,检测电子设备的触摸屏被触摸面积是否不超过该预设面积阈值,以判断电子设备的触摸屏接触过水或被侵入过水中之后,是否被拿出或离开水。When the touch screen of the electronic device touches water or penetrates into the water, a large-area touch or induction will be detected. Therefore, in this embodiment of the present invention, according to whether the touched area of the touch screen of the electronic device exceeds a preset area threshold, it can be determined that the electronic device Whether the device's touchscreen is in contact with or submerged in water. When it is detected that the touched area of the touch screen of the electronic device exceeds the preset area threshold, it indicates that the touch screen of the electronic device has touched or penetrated into water. The area threshold is set to judge whether the touch screen of the electronic device is taken out or left out of the water after touching or intruding into the water.

当检测到电子设备的触摸屏被触摸面积不超过该预设面积阈值时,表明电子设备的触摸屏接触过水或被侵入过水中之后,已经被拿出或离开水,此时,生成对电子设备的扬声器进行排水的请求,以控制扬声器输出第一预设频率的音频,从而在电子设备被拿出或离开水后实现扬声器排水的自动触发,提高了扬声器排水的实时性,保证扬声器不被进水损害。When it is detected that the touched area of the touch screen of the electronic device does not exceed the preset area threshold, it indicates that the touch screen of the electronic device has been taken out or left the water after it has touched or penetrated into the water. The speaker performs a drainage request to control the speaker to output the audio of the first preset frequency, so as to realize the automatic triggering of the speaker drainage after the electronic device is taken out or out of the water, which improves the real-time performance of the speaker drainage and ensures that the speaker is not flooded. damage.

进一步优选地,当检测到电子设备的触摸屏被触摸面积不超过该预设面积阈值时,对触摸屏被触摸面积不超过预设面积阈值的持续时长进行监测,当监测到触摸屏被触摸面积不超过预设面积阈值的持续时长超过第一预设时长时,生成对电子设备的扬声器进行排水的请求,这样只有当电子设备的触摸屏接触过水或被侵入过水中之后、且电子设备已经被拿出或离开水的持续时长超过第一预设时长,才生成对电子设备的扬声器进行排水的请求,从而保证只有在电子设备已经被拿出或离开水时才对扬声器进行排水,提高扬声器的排水效果。Further preferably, when it is detected that the touched area of the touch screen of the electronic device does not exceed the preset area threshold, the duration of the touched area of the touch screen that does not exceed the preset area threshold is monitored, and when it is detected that the touched area of the touch screen does not exceed the preset area threshold. When the duration of the set area threshold exceeds the first preset duration, a request for draining the speaker of the electronic device is generated, so that only after the touch screen of the electronic device has been in contact with or penetrated into water, and the electronic device has been taken out or The request for draining the speaker of the electronic device is generated only when the duration of leaving the water exceeds the first preset duration, thereby ensuring that the speaker is drained only when the electronic device has been taken out or leaving the water, thereby improving the draining effect of the speaker.

考虑到电子设备的触摸屏在其他情况下也可能会被检测到大面积的触摸或感应,例如,用户用手掌按压电子设备的触摸屏时,因此,在本发明实施例中,当检测到电子设备的触摸屏被触摸面积超过预设面积阈值时,进一步获取触摸屏被触摸面积超过预设面积阈值的持续时间,只有当持续时间超过第二预设时长时或之后,才检测电子设备的触摸屏被触摸面积是否不超过预设面积阈值,从而通过多重检测来确定扬声器是否进水,进一步提高了扬声器排水时机的确定精确度。Considering that the touch screen of the electronic device may also be detected as a large-area touch or sensing in other situations, for example, when the user presses the touch screen of the electronic device with the palm, in this embodiment of the present invention, when the touch screen of the electronic device is detected When the touched area of the touch screen exceeds the preset area threshold, further obtain the duration of the touched area of the touch screen exceeding the preset area threshold, and only when the duration exceeds the second preset duration or later, detect whether the touched area of the touch screen of the electronic device is not. It does not exceed the preset area threshold, thereby determining whether the speaker enters the water through multiple detections, which further improves the accuracy of determining the timing of the speaker draining.

在步骤S204中,当检测到对电子设备的扬声器进行排水的请求时,控制扬声器输出第一预设频率的音频。In step S204, when a request for draining the speaker of the electronic device is detected, the speaker is controlled to output audio of the first preset frequency.

在步骤S205中,获取扬声器的当前工作电流。In step S205, the current operating current of the speaker is obtained.

在步骤S206中,当当前工作电流超过扬声器的正常工作电流时,对扬声器进行排水。In step S206, when the current operating current exceeds the normal operating current of the speaker, the speaker is drained.

在本发明实施例中,在电子设备的扬声器没有进水情况下,获取在第一预设频率下扬声器的正常工作电流,以得到扬声器在正常工作时的正常工作电流。由于扬声器在不同温度、温度或气压时,正常工作电流可能会有变化,因此,可选地,该正常工作电流可以是一个范围,当当前工作电流超过扬声器的正常工作电流时,则表明扬声器的当前工作电流超过了这个范围的上限值,此时,确定需要对扬声器进行排水,从而实现排水时机的精确确定,提高了电子设备的智能化程度,同时减少了电子设备的排水装置被误启动而产生的能耗。In the embodiment of the present invention, in the case that the speaker of the electronic device does not enter the water, the normal operating current of the speaker at the first preset frequency is obtained, so as to obtain the normal operating current of the speaker during normal operation. Since the normal operating current of the speaker may vary at different temperatures, temperatures or air pressures, optionally, the normal operating current may be a range. When the current operating current exceeds the normal operating current of the speaker, it indicates that the speaker's normal operating current The current operating current exceeds the upper limit of this range. At this time, it is determined that the speaker needs to be drained, so as to realize the accurate determination of the drainage timing, improve the intelligence of the electronic equipment, and reduce the false activation of the drainage device of the electronic equipment. resulting energy consumption.

进一步地,获取在第一预设频率下扬声器不同进水情况下扬声器的进水工作电流范围,从而优选地,当当前工作电流超过扬声器的正常工作电流时,进一步判断扬声器当前工作电流是否位于扬声器的进水工作电流范围,只有当前工作电流位于扬声器的进水工作电流范围内,才最终确定对扬声器进行排水,进一步提高了排水时机的确定精确度,减少了电子设备不必要排水给用户带来的干扰,提高了电子设备的智能化程度。Further, obtain the water inlet working current range of the speaker under different water inlet conditions of the speaker under the first preset frequency, so that preferably, when the current operating current exceeds the normal operating current of the speaker, it is further judged whether the current operating current of the speaker is located in the speaker. Only when the current working current is within the water inlet working current range of the loudspeaker, can the loudspeaker be finally drained, which further improves the determination accuracy of the drainage timing and reduces the unnecessary drainage of electronic equipment to the user. interference, and improve the intelligence of electronic equipment.

优选地,在对扬声器进行排水时,控制电子设备内的振动马达进行振动,以将扬声器内的水分排出,从而在实现扬声器的自动排水时无须增加电子设备的硬件复杂度,简化了扬声器的排水过程。Preferably, when the speaker is drained, the vibration motor in the electronic device is controlled to vibrate to discharge the moisture in the speaker, so that the hardware complexity of the electronic device does not need to be increased when the speaker is automatically drained, and the drainage of the speaker is simplified. process.

优选地,在对扬声器进行排水时,控制扬声器输出第二预设频率的音频,以产生对应的声波以将扬声器内的水分排出,从而在实现扬声器的自动排水时无须增加电子设备的硬件复杂度,简化了扬声器的排水过程。Preferably, when the speaker is drained, the speaker is controlled to output the audio frequency of the second preset frequency to generate corresponding sound waves to drain the moisture in the speaker, so that the hardware complexity of the electronic device does not need to be increased when the speaker is automatically drained. , which simplifies the draining process of the speaker.

实施例三:Embodiment three:

图3示出了本发明实施例三提供的电子设备的扬声器排水装置的结构,为了便于说明,仅示出了与本发明实施例相关的部分,该扬声器排水装置包括音频输出单元31、电流获取单元32以及扬声器排水单元33,其中:FIG. 3 shows the structure of the speaker drainage device of the electronic device provided by the third embodiment of the present invention. For convenience of description, only the parts related to the embodiment of the present invention are shown. The speaker drainage device includes an audio output unit 31, a current acquisition unit 32 and speaker drain unit 33, wherein:

音频输出单元31,用于当检测到对电子设备的扬声器进行排水的请求时,控制所述扬声器输出第一预设频率的音频。The audio output unit 31 is configured to control the speaker to output audio of a first preset frequency when a request for draining the speaker of the electronic device is detected.

本发明实施例适用于具有扬声器的电子设备,尤其适用于手机、平板电脑、手环等移动设备或穿戴式设备,以在用户随身携带的这些移动设备或穿戴式设备从水中出来后,排出进入这些移动设备或穿戴式设备扬声器的水。其中,对电子设备的扬声器进行排水的请求可以由用户对电子设备的预设操作触发,也可以由其他预设事件触发。优选地,由用户预先设定的活动事件或作息事件触发,从而仅在这些活动事件或作息事件设置在的时间段对排水请求进行检测,降低电子设备的能耗。例如,当用户设置好一周的活动安排后,可根据用户的活动安排,仅在用户起床、洗澡、睡觉和游泳时对排水请求进行检测。在本发明实施例中,第一预设频率可以为一超低频率,这样,当扬声器输出该频率的音频时不会对用户产生干扰或引入噪音。The embodiments of the present invention are suitable for electronic devices with speakers, and are especially suitable for mobile devices or wearable devices such as mobile phones, tablet computers, and wristbands, so that after these mobile devices or wearable devices carried by the user come out of the water, they are discharged into the water. Water from these mobile or wearable speakers. The request for draining the speaker of the electronic device may be triggered by a preset operation of the electronic device by the user, or may be triggered by other preset events. Preferably, it is triggered by activity events or work-rest events preset by the user, so that the drainage request is only detected in the time period set by these activity events or work-rest events, thereby reducing the energy consumption of the electronic device. For example, after the user has set an activity schedule for a week, the drain request can be detected only when the user gets up, takes a shower, sleeps, and swims according to the user's activity schedule. In this embodiment of the present invention, the first preset frequency may be an ultra-low frequency, so that when the speaker outputs audio of this frequency, it will not cause interference to the user or introduce noise.

电流获取单元32,用于获取扬声器的当前工作电流。The current acquisition unit 32 is used to acquire the current working current of the speaker.

扬声器排水单元33,用于当当前工作电流超过扬声器的正常工作电流时,对扬声器进行排水。The speaker drainage unit 33 is used for draining the speaker when the current operating current exceeds the normal operating current of the speaker.

在本发明实施例中,在电子设备的扬声器没有进水情况下,获取在第一预设频率下扬声器的正常工作电流,以得到扬声器在正常工作时的正常工作电流。由于扬声器在不同温度、温度或气压时,正常工作电流可能会有变化,因此,可选地,该正常工作电流可以是一个范围,当当前工作电流超过扬声器的正常工作电流时,则表明扬声器的当前工作电流超过了这个范围的上限值,此时,确定需要对扬声器进行排水,从而实现排水时机的精确确定,提高了电子设备的智能化程度,同时减少了电子设备的排水装置被误启动而产生的能耗。In the embodiment of the present invention, in the case that the speaker of the electronic device does not enter the water, the normal operating current of the speaker at the first preset frequency is obtained, so as to obtain the normal operating current of the speaker during normal operation. Since the normal operating current of the speaker may vary at different temperatures, temperatures or air pressures, optionally, the normal operating current may be a range. When the current operating current exceeds the normal operating current of the speaker, it indicates that the speaker's normal operating current The current operating current exceeds the upper limit of this range. At this time, it is determined that the speaker needs to be drained, so as to realize the accurate determination of the drainage timing, improve the intelligence of the electronic equipment, and reduce the false activation of the drainage device of the electronic equipment. resulting energy consumption.

进一步地,获取在第一预设频率下扬声器不同进水情况下扬声器的进水工作电流范围,从而优选地,当当前工作电流超过扬声器的正常工作电流时,进一步判断扬声器当前工作电流是否位于扬声器的进水工作电流范围,只有当前工作电流位于扬声器的进水工作电流范围内,才最终确定对扬声器进行排水,进一步提高了排水时机的确定精确度,减少了电子设备不必要排水给用户带来的干扰,提高了电子设备的智能化程度。Further, obtain the water inlet working current range of the speaker under different water inlet conditions of the speaker under the first preset frequency, so that preferably, when the current operating current exceeds the normal operating current of the speaker, it is further judged whether the current operating current of the speaker is located in the speaker. Only when the current working current is within the water inlet working current range of the loudspeaker, can the loudspeaker be finally drained, which further improves the determination accuracy of the drainage timing and reduces the unnecessary drainage of electronic equipment to the user. interference, and improve the intelligence of electronic equipment.

优选地,在对扬声器进行排水时,控制电子设备内的振动马达进行振动,以将扬声器内的水分排出,从而在实现扬声器的自动排水时无须增加电子设备的硬件复杂度,简化了扬声器的排水过程。Preferably, when the speaker is drained, the vibration motor in the electronic device is controlled to vibrate to discharge the moisture in the speaker, so that the hardware complexity of the electronic device does not need to be increased when the speaker is automatically drained, and the drainage of the speaker is simplified. process.

优选地,在对扬声器进行排水时,控制扬声器输出第二预设频率的音频,以产生对应的声波以将扬声器内的水分排出,从而在实现扬声器的自动排水时无须增加电子设备的硬件复杂度,简化了扬声器的排水过程。Preferably, when the speaker is drained, the speaker is controlled to output the audio frequency of the second preset frequency to generate corresponding sound waves to drain the moisture in the speaker, so that the hardware complexity of the electronic device does not need to be increased when the speaker is automatically drained. , which simplifies the draining process of the speaker.

在本发明实施例中,扬声器排水装置的各单元可由相应的硬件或软件单元实现,各单元可以为独立的软、硬件单元,也可以集成为一个软、硬件单元,在此不用以限制本发明。In the embodiment of the present invention, each unit of the speaker drainage device may be implemented by corresponding hardware or software units, and each unit may be an independent software and hardware unit, or may be integrated into a software and hardware unit, which is not intended to limit the present invention. .

实施例四:Embodiment 4:

图4示出了本发明实施例四提供的电子设备的扬声器排水装置的结构,为了便于说明,仅示出了与本发明实施例相关的部分,其中包括:FIG. 4 shows the structure of the speaker drainage device of the electronic device provided by the fourth embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown, including:

第一触摸检测单元41,用于检测电子设备的触摸屏被触摸面积是否超过预设面积阈值;The first touch detection unit 41 is used to detect whether the touched area of the touch screen of the electronic device exceeds a preset area threshold;

第二触摸检测单元42,用于当检测到电子设备的触摸屏被触摸面积超过预设面积阈值时,检测电子设备的触摸屏被触摸面积是否不超过预设面积阈值;The second touch detection unit 42 is configured to detect whether the touched area of the touch screen of the electronic device does not exceed the preset area threshold when it is detected that the touched area of the touch screen of the electronic device exceeds the preset area threshold;

请求生成单元43,用于当检测到触摸屏被触摸面积不超过预设面积阈值的持续时长超过第一预设时长时,生成对电子设备的扬声器进行排水的请求;a request generating unit 43, configured to generate a request for draining the speaker of the electronic device when the duration of the touched area of the touch screen that does not exceed the preset area threshold exceeds the first preset duration;

音频输出单元44,用于当检测到对电子设备的扬声器进行排水的请求时,控制扬声器输出第一预设频率的音频;The audio output unit 44 is configured to control the speaker to output audio of the first preset frequency when a request for draining the speaker of the electronic device is detected;

电流获取单元45,用于获取扬声器的当前工作电流;以及a current acquisition unit 45 for acquiring the current operating current of the speaker; and

扬声器排水单元46,用于当当前工作电流超过扬声器的正常工作电流时,对扬声器进行排水。The speaker drainage unit 46 is used for draining the speaker when the current operating current exceeds the normal operating current of the speaker.

优选地,扬声器排水单元46包括:Preferably, the speaker drainage unit 46 includes:

第一排水单元461,用于控制电子设备内的振动马达进行振动,以将扬声器内的水分排出。The first drainage unit 461 is used to control the vibration motor in the electronic device to vibrate, so as to discharge the moisture in the speaker.

进一步地,扬声器排水单元46还可以包括:Further, the speaker drainage unit 46 may also include:

第二排水单元462,用于控制扬声器输出第二预设频率的音频,以产生对应的声波并通过将扬声器内的水分排出。The second drainage unit 462 is used to control the speaker to output audio frequency of the second preset frequency, so as to generate corresponding sound waves and to discharge the moisture in the speaker.

进一步优选地,扬声器排水装置还包括:Further preferably, the speaker drainage device also includes:

时间获取单元,用于获取触摸屏被触摸面积超过预设面积阈值的持续时间,当持续时间超过第二预设时长时,触发第一触摸检测单元42检测电子设备的触摸屏被触摸面积是否不超过预设面积阈值。The time acquisition unit is used to acquire the duration of the touched area of the touch screen exceeding the preset area threshold. When the duration exceeds the second preset duration, the first touch detection unit 42 is triggered to detect whether the touched area of the touch screen of the electronic device does not exceed the preset area. Set the area threshold.

在本发明实施例中,扬声器排水装置的各单元可由相应的硬件或软件单元实现,各单元可以为独立的软、硬件单元,也可以集成为一个软、硬件单元,在此不用以限制本发明。各单元的具体实施方式可参考实施例二的描述,在此不再赘述。In the embodiment of the present invention, each unit of the speaker drainage device may be implemented by corresponding hardware or software units, and each unit may be an independent software and hardware unit, or may be integrated into a software and hardware unit, which is not intended to limit the present invention. . For the specific implementation of each unit, reference may be made to the description of the second embodiment, which will not be repeated here.

实施例五:Embodiment 5:

图5示出了本发明实施例五提供的电子设备的结构,为了便于说明,仅示出了与本发明实施例相关的部分。FIG. 5 shows the structure of the electronic device provided by Embodiment 5 of the present invention. For convenience of description, only the part related to the embodiment of the present invention is shown.

本发明实施例的电子设备5包括处理器50、存储器51以及存储在存储器51中并可在处理器50上运行的计算机程序52。该处理器50执行计算机程序52时实现上述各个扬声器排水方法实施例中的步骤,例如图1所示的步骤S101至S103。或者,处理器50执行计算机程序52时实现上述各装置实施例中各单元的功能,例如图3所示单元31至33的功能。The electronic device 5 of the embodiment of the present invention includes a processor 50 , a memory 51 , and a computer program 52 stored in the memory 51 and executable on the processor 50 . When the processor 50 executes the computer program 52, the steps in each of the above-mentioned embodiments of the speaker drainage method are implemented, for example, steps S101 to S103 shown in FIG. 1 . Alternatively, when the processor 50 executes the computer program 52, the functions of the units in the above-mentioned various apparatus embodiments, for example, the functions of the units 31 to 33 shown in FIG. 3 are realized.

在本发明实施例中,当检测到对电子设备的扬声器进行排水的请求时,控制扬声器输出第一预设频率的音频,获取扬声器的当前工作电流,当当前工作电流超过扬声器的正常工作电流时,对扬声器进行排水,从而通过控制扬声器输出第一预设频率的音频、在当扬声器的当前工作电流超过扬声器的正常工作电流时精确确定扬声器的排水时机,进而自动对扬声器进行排水,提高了电子设备的智能化程度,同时减少了电子设备的排水装置被误启动而产生的能耗。In the embodiment of the present invention, when a request for draining the speaker of the electronic device is detected, the speaker is controlled to output the audio frequency of the first preset frequency, and the current operating current of the speaker is obtained, and when the current operating current exceeds the normal operating current of the speaker , the speaker is drained, so that by controlling the speaker to output the audio frequency of the first preset frequency, when the current working current of the speaker exceeds the normal operating current of the speaker, accurately determine the draining time of the speaker, and then automatically drain the speaker, which improves the electronic The intelligent level of the equipment also reduces the energy consumption caused by the incorrect activation of the drainage device of the electronic equipment.

本发明实施例的电子设备可以为手机、平板电脑、手环等移动设备或穿戴式设备。该电子设备5中处理器50执行计算机程序52时实现扬声器排水方法时实现的步骤可参考前述方法实施例的描述,在此不再赘述。The electronic device in the embodiment of the present invention may be a mobile device, such as a mobile phone, a tablet computer, and a wristband, or a wearable device. For the steps implemented when the processor 50 in the electronic device 5 executes the computer program 52 to implement the method for draining the speaker, reference may be made to the description of the foregoing method embodiments, which will not be repeated here.

实施例五:Embodiment 5:

在本发明实施例中,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述扬声器排水方法实施例中的步骤,例如,图1所示的步骤S101至S103。或者,该计算机程序被处理器执行时实现上述各装置实施例中各单元的功能,例如图3所示单元31至33的功能。In an embodiment of the present invention, a computer-readable storage medium is provided, and the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned embodiment of the speaker drainage method are implemented. For example, FIG. Steps S101 to S103 shown in 1. Or, when the computer program is executed by the processor, the functions of the units in the above-mentioned apparatus embodiments, for example, the functions of the units 31 to 33 shown in FIG. 3 , are implemented.

在本发明实施例中,当检测到对电子设备的扬声器进行排水的请求时,控制扬声器输出第一预设频率的音频,获取扬声器的当前工作电流,当当前工作电流超过扬声器的正常工作电流时,对扬声器进行排水,从而通过控制扬声器输出第一预设频率的音频、在当扬声器的当前工作电流超过扬声器的正常工作电流时精确确定扬声器的排水时机,进而自动对扬声器进行排水,提高了电子设备的智能化程度,同时减少了电子设备的排水装置被误启动而产生的能耗。In the embodiment of the present invention, when a request for draining the speaker of the electronic device is detected, the speaker is controlled to output the audio frequency of the first preset frequency, and the current operating current of the speaker is obtained, and when the current operating current exceeds the normal operating current of the speaker , the speaker is drained, so that by controlling the speaker to output the audio frequency of the first preset frequency, when the current working current of the speaker exceeds the normal operating current of the speaker, accurately determine the draining time of the speaker, and then automatically drain the speaker, which improves the electronic The intelligent level of the equipment also reduces the energy consumption caused by the incorrect activation of the drainage device of the electronic equipment.

本发明实施例的计算机可读存储介质可以包括能够携带计算机程序代码的任何实体或装置、记录介质,例如,ROM/RAM、磁盘、光盘、闪存等存储器。The computer-readable storage medium of the embodiments of the present invention may include any entity or device capable of carrying computer program codes, recording medium, for example, memory such as ROM/RAM, magnetic disk, optical disk, flash memory, and the like.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (8)

1. A method of draining a speaker of an electronic device, the method comprising the steps of:
when a request for draining water of a loudspeaker of electronic equipment is detected, controlling the loudspeaker to output audio with a first preset frequency, wherein the first preset frequency is an ultra-low frequency;
acquiring the current working current of the loudspeaker;
draining the loudspeaker when the current working current exceeds the normal working current of the loudspeaker;
before the step of controlling the speaker to output the audio of the first preset frequency, the method further includes:
detecting whether the touched area of a touch screen of the electronic equipment exceeds a preset area threshold value;
when the fact that the touched area of the touch screen of the electronic equipment exceeds the preset area threshold is detected, whether the touched area of the touch screen of the electronic equipment does not exceed the preset area threshold is detected;
when detecting that the duration of the touch area of the touch screen does not exceed the preset area threshold exceeds a first preset duration, generating the request for draining water for the loudspeaker of the electronic equipment;
before the step of detecting whether the touched area of the touch screen of the electronic device does not exceed the preset area threshold when it is detected that the touched area of the touch screen of the electronic device exceeds the preset area threshold, the method further includes:
acquiring the duration of the touch area of the touch screen exceeding the preset area threshold;
and when the duration time exceeds a second preset duration time, skipping to the step of detecting whether the touched area of the touch screen of the electronic equipment does not exceed the preset area threshold value.
2. The method of claim 1, wherein the step of draining the speaker comprises:
controlling a vibration motor in the electronic device to vibrate to discharge moisture in the speaker.
3. The method of claim 1, wherein the step of draining the speaker comprises:
and controlling the loudspeaker to output audio frequency of a second preset frequency so as to generate corresponding sound waves and discharge moisture in the loudspeaker.
4. A speaker drainage apparatus of an electronic device, the apparatus comprising:
the device comprises an audio output unit, a control unit and a control unit, wherein the audio output unit is used for controlling a loudspeaker of the electronic equipment to output audio with a first preset frequency when a request for draining water of the loudspeaker of the electronic equipment is detected, and the first preset frequency is an ultra-low frequency;
the current acquisition unit is used for acquiring the current working current of the loudspeaker; and
the loudspeaker drainage unit is used for draining water for the loudspeaker when the current working current exceeds the normal working current of the loudspeaker;
the device further comprises:
the first touch detection unit is used for detecting whether the touched area of the touch screen of the electronic equipment exceeds a preset area threshold value or not;
the second touch detection unit is used for detecting whether the touched area of the touch screen of the electronic equipment does not exceed the preset area threshold value or not when the fact that the touched area of the touch screen of the electronic equipment exceeds the preset area threshold value is detected; and
the request generation unit is used for generating the request for draining water for the loudspeaker of the electronic equipment when the fact that the duration of the touch area of the touch screen does not exceed the preset area threshold value exceeds a first preset duration is detected;
the device further comprises:
the time acquisition unit is used for acquiring the duration that the touched area of the touch screen exceeds the preset area threshold, and when the duration exceeds a second preset duration, the first touch detection unit is triggered to detect whether the touched area of the touch screen of the electronic equipment does not exceed the preset area threshold.
5. The apparatus of claim 4, wherein the speaker drain unit comprises:
and the first water drainage unit is used for controlling a vibration motor in the electronic equipment to vibrate so as to drain water in the loudspeaker.
6. The apparatus of claim 4, wherein the speaker drain unit comprises:
and the second water discharging unit is used for controlling the loudspeaker to output audio frequency of a second preset frequency so as to generate corresponding sound waves and discharge water in the loudspeaker.
7. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 3 are implemented when the computer program is executed by the processor.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201810457798.0A 2018-05-14 2018-05-14 Speaker drainage method, device, electronic device, and storage medium for electronic equipment Active CN108683981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810457798.0A CN108683981B (en) 2018-05-14 2018-05-14 Speaker drainage method, device, electronic device, and storage medium for electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810457798.0A CN108683981B (en) 2018-05-14 2018-05-14 Speaker drainage method, device, electronic device, and storage medium for electronic equipment

Publications (2)

Publication Number Publication Date
CN108683981A CN108683981A (en) 2018-10-19
CN108683981B true CN108683981B (en) 2020-06-26

Family

ID=63806220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810457798.0A Active CN108683981B (en) 2018-05-14 2018-05-14 Speaker drainage method, device, electronic device, and storage medium for electronic equipment

Country Status (1)

Country Link
CN (1) CN108683981B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114898514A (en) * 2022-05-26 2022-08-12 歌尔股份有限公司 Doorbell equipment, water drainage mechanism thereof, water drainage control method and device
CN114900667B (en) * 2022-05-26 2024-11-15 歌尔股份有限公司 Doorbell control method, device, doorbell device and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534567A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 Loudspeaker phonate hole draining apparatus and method and mobile terminal
CN106878909A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Speaker voice giving hole plug processing method, device and terminal device
CN106921788A (en) * 2015-12-28 2017-07-04 青岛海信移动通信技术股份有限公司 A kind of method for controlling mobile terminal and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9451354B2 (en) * 2014-05-12 2016-09-20 Apple Inc. Liquid expulsion from an orifice

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921788A (en) * 2015-12-28 2017-07-04 青岛海信移动通信技术股份有限公司 A kind of method for controlling mobile terminal and mobile terminal
CN106534567A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 Loudspeaker phonate hole draining apparatus and method and mobile terminal
CN106878909A (en) * 2017-03-03 2017-06-20 广东欧珀移动通信有限公司 Speaker voice giving hole plug processing method, device and terminal device

Also Published As

Publication number Publication date
CN108683981A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
US9329676B2 (en) Control method and electronic device
US10146356B2 (en) Method for controlling state of touch screen, touch screen, and portable touch terminal
WO2017080110A1 (en) Touch signal-based mobile terminal operation method, system and mobile terminal
EP3453794A1 (en) Foreign matter recognition method and device
CN110784601B (en) motion sensor
CN102938820A (en) Mobile phone proximity waking method and mobile phone proximity waking device
KR20150012577A (en) Apparatus Method for controlling voice input in electronic device supporting voice recognition function
CN103513757A (en) Method, device and terminal for detecting handholding state of user
CN104978014A (en) Method for quickly calling application program or system function, and mobile terminal thereof
CN108280446A (en) Fingerprint collecting method, device and computer readable storage medium
CN110703937A (en) Abnormity detection method, abnormity detection device, storage medium and terminal equipment
CN108683981B (en) Speaker drainage method, device, electronic device, and storage medium for electronic equipment
TWI633425B (en) Microphone apparatus
EP3540132B1 (en) Method and device for controlling water spouting of toilet
EP2999199B1 (en) Mobile device
CN104751586A (en) Terminal, information processing method and information processing device
CN105334966A (en) Method, device and terminal equipment for preventing misoperation
CN111105792A (en) Voice interaction processing method and device
CN109831714B (en) Method, device and electronic device for recognizing button of earphone
US9541966B2 (en) Systems and methods for utilizing acceleration event signatures
CN106648205B (en) Dormancy control method, device and terminal
CN107357498A (en) A kind of touch control method to touch-control equipment
WO2022218118A1 (en) Wakeup method and apparatus for electronic accessories, wearable device, and electronic accessories
CN113377223B (en) Touch control method, system, electronic product and storage medium
US11733809B2 (en) Touch detection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant