CN108600924B - Loudspeaker drainage method and wearable equipment - Google Patents

Loudspeaker drainage method and wearable equipment Download PDF

Info

Publication number
CN108600924B
CN108600924B CN201810458044.7A CN201810458044A CN108600924B CN 108600924 B CN108600924 B CN 108600924B CN 201810458044 A CN201810458044 A CN 201810458044A CN 108600924 B CN108600924 B CN 108600924B
Authority
CN
China
Prior art keywords
wearable device
drainage
time point
unit
holding posture
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
CN201810458044.7A
Other languages
Chinese (zh)
Other versions
CN108600924A (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 CN201810458044.7A priority Critical patent/CN108600924B/en
Publication of CN108600924A publication Critical patent/CN108600924A/en
Application granted granted Critical
Publication of CN108600924B publication Critical patent/CN108600924B/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/03Transducers capable of generating both sound as well as tactile vibration, e.g. as used in cellular phones

Landscapes

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

Abstract

The embodiment of the invention discloses a loudspeaker drainage method and wearable equipment, wherein the method comprises the following steps: the wearable device can output drainage prompt information for prompting a user to hold the wearable device in a correct drainage holding posture under the condition of water inflow, and when the wearable device is held correctly, a vibration drainage mode of the wearable device is started to control a vibrator built in the wearable device to vibrate at a preset frequency. By implementing the embodiment of the invention, the drainage efficiency is improved, the damage probability of the wearable equipment is reduced, and the property loss of a user is reduced.

Description

Loudspeaker drainage method and wearable equipment
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a loudspeaker drainage method and wearable equipment.
Background
A telephone watch worn by a child during play with water is often at risk of water ingress. In practice, it is found that slight water inflow may affect the sound production effect of the speaker of the telephone watch, and if the water inflow is serious, the internal circuit and other electronic components of the telephone watch may be damaged, so how to quickly discharge the water entering the telephone watch becomes a problem to be solved.
Disclosure of Invention
The embodiment of the invention discloses a loudspeaker drainage method and wearable equipment, which can reduce the damage probability of the wearable equipment and reduce the property loss of a user.
The embodiment of the invention discloses a loudspeaker drainage method in a first aspect, which comprises the following steps:
after the wearable device is determined to be in a water inlet state, outputting drainage prompt information, wherein the drainage prompt information is used for prompting a user to hold the wearable device in a correct drainage holding posture;
when the wearable device is held in a correct drainage holding posture, a vibration drainage mode of the wearable device is started to control a vibrator built in the wearable device to vibrate at a preset frequency.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the outputting the drainage prompting information, and when the wearable device is held in a correct drainage holding posture, the method further includes, before the vibrating drainage mode of the wearable device is turned on to control a vibrator built in the wearable device to vibrate at a preset frequency:
detecting an included angle between a plane where an orifice of a speaker hole of the wearable device is located and a horizontal plane;
judging whether the included angle is in a preset included angle range, if so, judging whether the orientation of the orifice of the loudspeaker hole is a preset orientation, and if so, determining that the wearable equipment is held in a correct drainage holding posture.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the outputting the drainage prompt message after determining that the wearable device is in the water inlet state, the method further includes:
detecting whether a loop current exists in a water inlet detection module built in the wearable device, and if the loop current exists, determining that the wearable device is in a water inlet state.
As an optional implementation manner, in the first aspect of the embodiments of the present invention, when the wearable device is held in a correct drainage holding posture, the method further includes, after turning on a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency:
taking the time point of starting the vibration drainage mode as a first time point, and calculating a second time point according to the first time point and a first preset time length, wherein the interval time length between the first time point and the second time point is equal to the first preset time length;
if the current moment is the second time point, closing the vibration drainage mode and opening the evaporation drainage mode of the wearable device so as to evaporate and drain water by utilizing heat energy generated by internal electronic components of the wearable device.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the outputting the drainage prompt message, the method further includes:
recording a third time point at which the drainage prompt information is output, and detecting whether the wearable device is held in a correct drainage holding posture within a specific time length with the third time point as a starting time point;
when it is detected that the wearable device is not held in a correct drainage holding posture within a certain length of time with the third time point as a starting time point, sending notification information to a terminal device connected with the wearable device;
when the wearable device is held in a correct drainage holding posture, a vibration drainage mode of the wearable device is started to control a vibrator built in the wearable device to vibrate at a preset frequency, and the method comprises the following steps:
when the wearable device is detected to be held in a correct drainage holding posture within a specific time period with the third time point as a starting time point, starting a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency.
A second aspect of an embodiment of the present invention discloses a wearable device, including:
the water draining prompting device comprises a prompting unit and a control unit, wherein the prompting unit is used for outputting draining prompting information after the wearable device is determined to be in a water inlet state, and the draining prompting information is used for prompting a user to hold the wearable device in a correct draining holding posture;
the vibration drainage unit is used for starting a vibration drainage mode of the wearable device when the wearable device is held in a correct drainage holding posture so as to control a vibrator arranged in the wearable device to vibrate at a preset frequency.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the wearable device further includes:
the first detection unit is used for detecting an included angle between the plane of the loudspeaker hole orifice of the wearable device and the horizontal plane after the prompt unit outputs drainage prompt information after the wearable device is in a water inlet state;
the judgment unit is used for judging whether the included angle detected by the first detection unit is within a preset included angle range or not, and judging whether the orientation of the orifice of the loudspeaker hole is a preset orientation or not when the included angle is within the preset included angle range;
a determination unit configured to determine that the wearable device is held in a correct drainage holding posture when the determination unit determines that the orientation of the speaker hole aperture is the preset orientation;
the vibration drainage unit is used for starting a vibration drainage mode of the wearable device when the determination unit determines that the wearable device is held in a correct drainage holding posture so as to control a vibrator built in the wearable device to vibrate at a preset frequency.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the wearable device further includes:
the second detection unit is used for detecting whether loop current exists in a water inlet detection module arranged in the wearable equipment or not before the prompting unit outputs drainage prompting information after the wearable equipment is in a water inlet state;
the determining unit is further configured to determine that the wearable device is in a water inlet state when the second detecting unit detects that the loop current exists in the water inlet detecting module;
the prompting unit is specifically used for outputting drainage prompting information when the determining unit determines that the wearable device is in a water inlet state, and the drainage prompting information is used for prompting a user to hold the wearable device in a correct drainage holding posture.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the wearable device further includes:
the calculation unit is used for starting a vibration drainage mode of the wearable equipment when the wearable equipment is held in a correct drainage holding posture, controlling a vibrator arranged in the wearable equipment to vibrate at a preset frequency, taking a time point of starting the vibration drainage mode as a first time point, and calculating a second time point according to the first time point and a first preset time length, wherein the interval time length of the first time point and the second time point is equal to the first preset time length;
and the evaporation drainage unit is used for closing the vibration drainage mode and opening the evaporation drainage mode of the wearable device if the current moment is the second time point so as to perform evaporation drainage by utilizing heat energy generated by internal electronic components of the wearable device.
As an optional implementation manner, in the second aspect of the present invention, the wearable device further includes:
the third detection unit is used for recording a third time point of outputting the drainage prompt information after the prompt unit determines that the wearable device is in the water inlet state and outputs the drainage prompt information, and detecting whether the wearable device is held in a correct drainage holding posture within a specific time length taking the third time point as a starting time point;
a notification unit configured to send notification information to a terminal device connected to the wearable device when the third detection unit detects that the wearable device is not held in a correct drainage holding posture for a certain length of time with the third time point as a starting time point;
the vibration drainage unit is used for starting a vibration drainage mode of the wearable device when the third detection unit detects that the wearable device is held in a correct drainage holding posture within a specific time period taking the third time point as a starting time point so as to control a vibrator arranged in the wearable device to vibrate at a preset frequency.
A third aspect of an embodiment of the present invention discloses a wearable device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform part or all of the steps of any one of the methods of the first aspect of the invention.
A fourth aspect of embodiments of the present invention discloses a computer-readable storage medium storing a computer program comprising instructions for carrying out some or all of the steps of any one of the methods of the first aspect of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product is configured to, when running on a computer, cause the computer to perform part or all of the steps of any one of the methods in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when water enters the wearable device, the wearable device can output the drainage prompt information for prompting a user to hold the wearable device in a correct drainage holding posture, and when the wearable device is held correctly, the vibration drainage mode of the wearable device is started so as to control the vibrator arranged in the wearable device to vibrate at a preset frequency. By implementing the embodiment of the invention, the user is reminded to correctly hold the wearable equipment, so that the drainage speed is accelerated, the drainage efficiency is improved, the damage probability of the wearable equipment can be reduced, and the property loss of the user is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a loudspeaker draining method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of another loudspeaker draining method disclosed in the embodiments of the present invention;
fig. 3 is a schematic structural diagram of a wearable device disclosed in the embodiment of the invention;
FIG. 4 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
fig. 5 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that the terms "comprises," "comprising," and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a loudspeaker drainage method and wearable equipment, which can reduce the damage probability of the wearable equipment and reduce the property loss of a user. The execution subject of the embodiment of the present invention may be a wearable device, and the following detailed description is provided separately.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a speaker drainage method according to an embodiment of the present invention. As shown in fig. 1, the speaker draining method may include the steps of:
101. after determining that the wearable device is in the water inlet state, outputting drainage prompt information, wherein the drainage prompt information is used for prompting a user to hold the wearable device in a correct drainage holding posture.
The wearable device comprises but not limited to a smart watch, a smart bracelet and the like, and in order to perfect other functions of the wearable device, such as a call function, a music function and the like, a loudspeaker and a microphone are correspondingly arranged, wherein an orifice of a loudspeaker hole is exposed outside, water easily enters in the use process, the tone quality effect of the loudspeaker is influenced, and even the damage to electronic components inside the wearable device is caused. The embodiment of the invention can be used for realizing the drainage of the wearable equipment and improving the drainage effect.
102. When the wearable device is held in a correct drainage holding posture, a vibration drainage mode of the wearable device is started to control a vibrator built in the wearable device to vibrate at a preset frequency.
In the embodiment of the invention, the vibrator built in the wearable device can at least comprise two vibration frequencies, namely the preset frequency for vibrating and draining water and the incoming vibration frequency for incoming vibration, the built-in vibrator of the wearable device is very common, as most wearable devices on the market have the incoming vibration function, and the method for vibrating and draining water at the preset frequency by the built-in vibrator of the wearable device does not need to add other elements on the wearable device, so that the draining cost of the wearable device can be reduced.
As an optional implementation manner, in the embodiment of the present invention, after step 101 is performed, an included angle between a plane where a speaker hole aperture of the wearable device is located and a horizontal plane may also be detected; judging whether an included angle between the plane of the speaker hole orifice and the horizontal plane is within a preset included angle range or not, and judging whether the orientation of the speaker hole orifice is a preset orientation or not when the included angle between the plane of the speaker hole orifice and the horizontal plane is within the preset included angle range; and when the orientation of the speaker hole aperture is the preset orientation, determining that the wearable device is held in a correct drain holding posture to trigger performing step 102.
In the embodiment of the present invention, α may be used to represent a preset included angle, so that the preset included angle range may be represented as- β ≦ α ≦ β, γ may represent a preset orientation of the speaker hole aperture, and then an included angle between a plane where the preset orientation of the speaker hole aperture is located and a horizontal plane may be represented as 90 ° - β ≦ 90 ° + β, where it should be noted that β is an included angle of a few degrees, such as 3 °, 5 °, or 7 °, and the embodiment of the present invention is not limited. Since the holding posture of the wearable device is adjusted manually, and the vertical and parallel holding of the person cannot be accurate to one hundred percent, the method of setting the preset angle range and the preset orientation can facilitate the user to quickly hold the wearable device in the correct drainage holding posture, thereby greatly shortening the drainage time.
By implementing the implementation method, the user is reminded to correctly hold the wearable equipment, so that the drainage speed can be increased, the drainage efficiency can be improved, and in addition, the damage probability of the wearable equipment and the property loss of the user can be reduced.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another speaker draining method according to an embodiment of the present invention. As shown in fig. 2, the speaker draining method may include the steps of:
201. detecting whether a loop current exists in a water inlet detection module arranged in the wearable device, and if so, executing a step 202; if not, the flow is ended.
Two metal contacts with conductivity can be arranged in the water inlet detection module arranged in the wearable device, and when water enters the water inlet detection module, the metal contacts are contacted with the water, so that loop current is formed.
202. Determining that the wearable device is in a water intake state.
203. Outputting drainage prompting information for prompting a user to hold the wearable device in a correct drainage holding posture.
As an optional implementation manner, in an embodiment of the present invention, a signal lamp may be externally disposed on the wearable device, and the wearable device outputting the drainage prompting information may include: after the wearable device is determined to be in the water inlet state, the wearable device controls the signal lamp to continuously flash at a fixed frequency, and the light emitting color when the signal lamp is turned on in the flashing process can be a color with extremely high identification degree (such as red, yellow or green). Further optionally, the wearable device may control the signal and the like to flash at a fixed frequency, and may also play the holding posture guidance information through a speaker of the wearable device. For younger children (e.g. under 3 years old) or users who use the wearable device for the first time, this way of outputting the drainage hint information may assist them to operate the wearable device better, thereby improving the user experience of the wearable device.
204. Recording a third time point when the drainage prompt message is output, detecting whether the wearable device is held in a correct drainage holding posture within a specific time length with the third time point as a starting time point, and if so, executing the steps 205 to 207; if not, step 208 is performed.
205. And starting a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency.
206. And taking the time point of starting the vibration drainage mode of the wearable device as a first time point, and calculating a second time point according to the first time point and a first preset time length, wherein the interval time length between the first time point and the second time point is equal to the first preset time length.
In the embodiment of the present invention, the first preset duration set by the wearable device, that is, the duration of the wearable device being in the vibration drainage mode, may be such that the amount of water remaining inside the wearable device after the wearable device finishes the vibration drainage mode is less than or equal to a certain preset amount of water, and the certain preset amount of water may be evaporated by heat energy generated by internal electronic components of the wearable device in a short time.
207. If the current time is a second time point, closing the vibration drainage mode and opening the evaporation drainage mode of the wearable device so as to evaporate and drain water by utilizing heat energy generated by internal electronic components of the wearable device.
Optionally, after step 207 is executed, a fourth time point at which the loop current disappears may be recorded, the evaporation and drainage mode of the wearable device is closed at the fourth time point, the interval duration between the fourth time point and the second time point is calculated, and the calculated interval duration between the fourth time point and the second time point is stored in a database for storing the evaporation and drainage duration for each time, where the database may be used to accurately set the preset evaporation and drainage duration of the wearable device, so that the operations of opening and closing the evaporation and drainage mode are both implemented through automation, and the continuously accurate preset evaporation and drainage duration may also reduce additional power consumption of the wearable device.
208. And sending notification information to a terminal device connected with the wearable device.
In the embodiment of the present invention, after the step 208 is completed, the step 205 may be executed continuously. In step 208, the notification information sent by the wearable device to the terminal device is used to notify the user of the terminal device that the wearable device is in the water inlet state but the user of the wearable device does not trigger the wearable device to perform the water draining operation in time. For example, the wearable device is a child phone watch, the terminal device is a parent's smart phone, the specific duration set by the child phone watch is 3 minutes, and the child phone watch is 13: and 30, determining that the child phone watch is in a water inlet state, outputting drainage prompt information, and when the child phone watch is not held in a correct drainage holding posture in a time period of 13: 30-13: 33, sending notification information to a parent smart phone by the child phone watch so that the parent can prompt or assist the child to complete the operation of triggering the child phone watch to drain water in time.
Executing step 204 to step 208, and setting a specific time length to implement two methods for triggering and starting the vibration drainage mode of the wearable device, wherein one method is that a wearer of the wearable device directly holds the wearable device in a correct drainage holding posture to trigger and start the vibration drainage mode of the wearable device, and the other method is that the wearer of the wearable device holds the wearable device in a correct drainage holding posture under the guidance or the help of a terminal device user, or the user of the terminal device directly holds the wearable device in a correct drainage holding posture to trigger and start the vibration drainage mode of the wearable device, and the two triggering methods can ensure the timeliness of drainage of the wearable device; after the first preset time, the vibration drainage mode of the wearable device is closed, the evaporation drainage mode of the wearable device is opened, water attached to the inside of the wearable device after the vibration drainage mode is finished can be evaporated by utilizing heat energy generated by internal electronic components of the wearable device, and a better drainage effect can be achieved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a wearable device according to an embodiment of the present invention. As shown in fig. 3, the wearable device may include:
a prompting unit 301, configured to output drainage prompting information after determining that the wearable device is in the water inlet state, where the drainage prompting information is used to prompt a user to hold the wearable device in a correct drainage holding posture.
A vibration drainage unit 302 for turning on a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency when the wearable device is held in a proper drainage holding posture.
In an embodiment of the present invention, the wearable device may further include:
the first detection unit 303 is configured to detect an included angle between a plane where the speaker hole orifice of the wearable device is located and a horizontal plane after the prompting unit 301 outputs the drainage prompting information after the wearable device is in the water inlet state.
The determining unit 304 is configured to determine whether an included angle between a plane of the speaker hole opening detected by the first detecting unit 303 and the horizontal plane is within a preset included angle range, and determine whether an orientation of the speaker hole opening is a preset orientation when the included angle between the plane of the speaker hole opening and the horizontal plane is within the preset included angle range.
For detailed descriptions of the preset included angle range and the preset orientation of the speaker hole opening, please refer to the description of the first embodiment, which is not repeated herein.
A determination unit 305 for determining that the wearable device is held in a proper drainage holding posture when the determination unit 304 determines that the orientation of the speaker hole aperture is the preset orientation.
A vibration drainage unit 302 for turning on a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency when the determination unit 304 determines that the wearable device is held in a correct drainage holding posture.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 4 is optimized by the wearable device shown in fig. 3, and as shown in fig. 4, the wearable device may include:
the second detecting unit 306 is configured to detect whether a loop current exists in a water inlet detecting module built in the wearable device or not before the prompting unit 301 outputs the drainage prompting information after the wearable device is in the water inlet state.
The determining unit 305 is further configured to determine that the wearable device is in a water inlet state when the second detecting unit 306 detects that the loop current exists in the water inlet detecting module.
The prompting unit 301 is specifically configured to output drainage prompting information when the determining unit 305 determines that the wearable device is in the water inlet state, where the drainage prompting information is used to prompt a user to hold the wearable device in a correct drainage holding posture.
As an optional implementation manner, in the embodiment of the present invention, a signal lamp may be externally disposed on the wearable device, and the manner that the prompting unit 301 is used to output the drainage prompting information may specifically be: after the wearable device is determined to be in the water inlet state, the signal lamp is controlled to continuously flash at a fixed frequency, and the light emitting color when the signal lamp is turned on in the flashing process can be a color with extremely high identification degree (such as red, yellow or green). Further optionally, while controlling the signal and the like to flash at a fixed frequency, the holding posture guidance information may also be played through a speaker of the wearable device. For younger children (e.g. under 3 years old) or users who use the wearable device for the first time, this way of outputting the drainage hint information may assist them to operate the wearable device better, thereby improving the user experience of the wearable device.
Optionally, the wearable device may include:
a calculating unit 307, configured to, when the wearable device is held in the correct drainage holding posture, turn on a vibration drainage mode of the wearable device by the vibration drainage unit 302, so as to control a vibrator built in the wearable device to vibrate at a preset frequency, take a time point at which the vibration drainage mode is turned on as a first time point, and calculate a second time point according to the first time point and a first preset time duration, where a time duration between the first time point and the second time point is equal to the first preset time duration. The first preset duration, namely the duration of the vibration drainage mode, in the embodiment of the present invention, may enable the amount of water remaining in the wearable device after the wearable device finishes the vibration drainage mode to be less than or equal to a certain preset amount of water, and the certain preset amount of water may be drained from the interior of the wearable device by the evaporation drainage unit 308 in a short time.
The vibration drainage unit 302 may be further configured to, when the wearable device is held in a correct drainage holding posture, turn on a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency, and then send a start instruction to the calculation unit 307 to start the calculation unit 307.
And the evaporation and drainage unit 308 is configured to close the vibration drainage mode and open the evaporation and drainage mode of the wearable device if the current time is the second time point, so as to perform evaporation and drainage by using heat energy generated by internal electronic components of the wearable device.
Further optionally, the wearable device may further include:
a third detecting unit 309, configured to, after the prompting unit 301 determines that the wearable device is in the water inlet state and outputs the drainage prompting information, record a third time point at which the drainage prompting information is output, and detect whether the wearable device is held in the correct drainage holding posture for a certain time period with the third time point as a starting time point.
In this embodiment of the present invention, the prompting unit 301 may be further configured to send a starting instruction to the third detecting unit 309 after determining that the wearable device is in the water inlet state and outputting the drainage prompting information, so as to start the third detecting unit.
A notification unit 310 configured to send notification information to a terminal device connected to the wearable device when the third detection unit 309 detects that the wearable device is not held in the proper drainage holding posture for a certain length of time with the third time point as a starting time point.
In this embodiment of the present invention, the notification information sent by the notification unit 310 to the terminal device is used to notify the user of the terminal device that the wearable device is in the water inlet state but the user of the wearable device does not trigger the wearable device to perform the water draining operation in time. For example, the wearable device is a child phone watch, the terminal device is a parent's smart phone, the specific duration set by the child phone watch is 3 minutes, and the child phone watch is 13: and 30, determining that the child phone watch is in a water inlet state, outputting drainage prompt information, and when the child phone watch is not held in a correct drainage holding posture in a time period of 13: 30-13: 33, sending notification information to a parent smart phone by the child phone watch so that the parent can prompt or assist the child to complete the operation of triggering the child phone watch to drain water in time.
A vibration drainage unit 302, configured to, when the third detection unit 309 detects that the wearable device is held in the correct drainage holding posture within a specific time period with the third time point as a starting time point, turn on a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency.
In the embodiment of the invention, two methods for triggering and starting the vibration drainage mode of the wearable device can be realized by setting a specific time length, one method is that a wearer of the wearable device directly holds the wearable device in a correct drainage holding posture to trigger and start the vibration drainage mode of the wearable device, the other method is that the wearer of the wearable device holds the wearable device in a correct drainage holding posture under the guidance or the help of a terminal device user, or the user of the terminal device directly holds the wearable device in a correct drainage holding posture to trigger and start the vibration drainage mode of the wearable device, and the two triggering methods can ensure the timeliness of drainage of the wearable device; after the first preset time, the vibration drainage mode of the wearable device is closed, the evaporation drainage mode of the wearable device is opened, water attached to the inside of the wearable device after the vibration drainage mode is finished can be evaporated by utilizing heat energy generated by internal electronic components of the wearable device, and a better drainage effect can be achieved.
In this embodiment of the present invention, the vibration drain unit 302 may be further configured to record a fourth time point when the loop current disappears, close the evaporation drain mode of the wearable device at the fourth time point, calculate an interval duration between the fourth time point and the second time point, and store the calculated interval duration between the fourth time point and the second time point in a database for storing the evaporation drain duration at each time, where the database may be used to accurately set the preset evaporation drain duration for the wearable device, so that the operations of opening and closing the evaporation drain mode are both implemented through automation, and continuously accurately set the preset evaporation drain duration may also reduce additional power consumption of the wearable device.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of a wearable device according to an embodiment of the present invention. As shown in fig. 5, the wearable device may include:
a memory 501 in which executable program code is stored;
a processor 502 coupled to a memory 501;
the processor 502 calls the executable program code stored in the memory 501 to execute any one of the speaker draining methods of fig. 1 to 2.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of loudspeaker drainage methods in figures 1-2.
The embodiment of the invention discloses a computer program product, which enables a computer to execute any one of the loudspeaker drainage methods in the figures 1-2 when the computer program product runs on the computer.
The embodiment of the invention discloses an application publishing platform which is used for publishing a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute any one of the loudspeaker drainage methods in the figures 1-2.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The speaker drainage method and the wearable device disclosed in the embodiments of the present invention are described in detail above, and the principle and the implementation of the present invention are explained in this document by applying specific examples, and the size of the step numbers in the specific examples does not mean the necessary order of execution, and the execution order of each process should be determined by the function and the internal logic thereof, and should not constitute any limitation to the implementation process of the embodiments of the present invention. The units described as separate parts may or may not be physically separate, and some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship. In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as a stand-alone product, it may be stored in a memory accessible to a computer. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
The above description of the embodiments is only intended to facilitate the understanding of the method of the invention and its core ideas; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A method of draining a loudspeaker, the method comprising:
after the wearable device is determined to be in a water inlet state, outputting drainage prompt information, wherein the drainage prompt information is used for prompting a user to hold the wearable device in a correct drainage holding posture;
outputting, by a speaker of the wearable device, holding guidance information for the wearable device;
when the wearable device is held in a correct drainage holding posture, starting a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency;
taking the time point of starting the vibration drainage mode as a first time point, and calculating a second time point according to the first time point and a first preset time length, wherein the interval time length between the first time point and the second time point is equal to the first preset time length;
if the current moment is the second time point, closing the vibration drainage mode and opening the evaporation drainage mode of the wearable device so as to evaporate and drain water by utilizing heat energy generated by internal electronic components of the wearable device.
2. The method of claim 1, wherein after the outputting of the drainage prompt message and when the wearable device is held in a proper drainage holding posture, a vibration drainage mode of the wearable device is turned on to control a vibrator built in the wearable device to vibrate at a preset frequency, the method further comprises:
detecting an included angle between a plane where an orifice of a speaker hole of the wearable device is located and a horizontal plane;
judging whether the included angle is in a preset included angle range, if so, judging whether the orientation of the orifice of the loudspeaker hole is a preset orientation, and if so, determining that the wearable equipment is held in a correct drainage holding posture.
3. The method of claim 1 or 2, wherein after determining that the wearable device is in the water-in state, before outputting the drain prompt message, the method further comprises:
detecting whether a loop current exists in a water inlet detection module built in the wearable device, and if the loop current exists, determining that the wearable device is in a water inlet state.
4. The method of claim 1, wherein after outputting the drainage prompt message, the method further comprises:
recording a third time point at which the drainage prompt information is output, and detecting whether the wearable device is held in a correct drainage holding posture within a specific time length with the third time point as a starting time point;
when it is detected that the wearable device is not held in a correct drainage holding posture within a certain length of time with the third time point as a starting time point, sending notification information to a terminal device connected with the wearable device;
when the wearable device is held in a correct drainage holding posture, a vibration drainage mode of the wearable device is started to control a vibrator built in the wearable device to vibrate at a preset frequency, and the method comprises the following steps:
when the wearable device is detected to be held in a correct drainage holding posture within a specific time period with the third time point as a starting time point, starting a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency.
5. A wearable device, characterized in that the wearable device comprises:
the water draining prompting device comprises a prompting unit and a control unit, wherein the prompting unit is used for outputting draining prompting information after the wearable device is determined to be in a water inlet state, and the draining prompting information is used for prompting a user to hold the wearable device in a correct draining holding posture;
the prompt information is further used for outputting holding guidance information aiming at the wearable device through a loudspeaker of the wearable device;
a vibration drainage unit for turning on a vibration drainage mode of the wearable device to control a vibrator built in the wearable device to vibrate at a preset frequency when the wearable device is held in a correct drainage holding posture;
the calculating unit is used for taking the time point of starting the vibration drainage mode as a first time point and calculating a second time point according to the first time point and a first preset time length, wherein the interval time length between the first time point and the second time point is equal to the first preset time length;
and the evaporation drainage unit is used for closing the vibration drainage mode and opening the evaporation drainage mode of the wearable device if the current moment is the second time point so as to perform evaporation drainage by utilizing heat energy generated by internal electronic components of the wearable device.
6. The wearable device of claim 5, further comprising:
the first detection unit is used for detecting an included angle between the plane of the loudspeaker hole orifice of the wearable device and the horizontal plane after the prompt unit outputs drainage prompt information after the wearable device is in a water inlet state;
the judgment unit is used for judging whether the included angle detected by the first detection unit is within a preset included angle range or not, and judging whether the orientation of the orifice of the loudspeaker hole is a preset orientation or not when the included angle is within the preset included angle range;
a determination unit configured to determine that the wearable device is held in a correct drainage holding posture when the determination unit determines that the orientation of the speaker hole aperture is the preset orientation;
the vibration drainage unit is used for starting a vibration drainage mode of the wearable device when the determination unit determines that the wearable device is held in a correct drainage holding posture so as to control a vibrator built in the wearable device to vibrate at a preset frequency.
7. The wearable device of claim 5 or 6, further comprising:
the second detection unit is used for detecting whether loop current exists in a water inlet detection module arranged in the wearable equipment or not before the prompting unit outputs drainage prompting information after the wearable equipment is in a water inlet state;
the determining unit is further configured to determine that the wearable device is in a water inlet state when the second detecting unit detects that the loop current exists in the water inlet detecting module;
the prompting unit is specifically used for outputting drainage prompting information when the determining unit determines that the wearable device is in a water inlet state, and the drainage prompting information is used for prompting a user to hold the wearable device in a correct drainage holding posture.
8. The wearable device of claim 5, further comprising:
the third detection unit is used for recording a third time point of outputting the drainage prompt information after the prompt unit determines that the wearable device is in the water inlet state and outputs the drainage prompt information, and detecting whether the wearable device is held in a correct drainage holding posture within a specific time length taking the third time point as a starting time point;
a notification unit configured to send notification information to a terminal device connected to the wearable device when the third detection unit detects that the wearable device is not held in a correct drainage holding posture for a certain length of time with the third time point as a starting time point;
the vibration drainage unit is used for starting a vibration drainage mode of the wearable device when the third detection unit detects that the wearable device is held in a correct drainage holding posture within a specific time period taking the third time point as a starting time point so as to control a vibrator arranged in the wearable device to vibrate at a preset frequency.
CN201810458044.7A 2018-05-14 2018-05-14 Loudspeaker drainage method and wearable equipment Active CN108600924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810458044.7A CN108600924B (en) 2018-05-14 2018-05-14 Loudspeaker drainage method and wearable equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810458044.7A CN108600924B (en) 2018-05-14 2018-05-14 Loudspeaker drainage method and wearable equipment

Publications (2)

Publication Number Publication Date
CN108600924A CN108600924A (en) 2018-09-28
CN108600924B true CN108600924B (en) 2021-06-25

Family

ID=63637427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810458044.7A Active CN108600924B (en) 2018-05-14 2018-05-14 Loudspeaker drainage method and wearable equipment

Country Status (1)

Country Link
CN (1) CN108600924B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112762701B (en) * 2019-10-21 2022-07-01 荣耀终端有限公司 Water removal method and device, terminal and non-transitory computer readable storage medium
CN113810805B (en) * 2021-10-22 2022-07-22 歌尔科技有限公司 Acoustic drainage structure and electronic device
CN116451492A (en) * 2023-04-25 2023-07-18 深圳市微克科技有限公司 Intelligent wearable device drainage method, system and readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6781249B2 (en) * 2001-08-29 2004-08-24 Hewlett-Packard Development Company, L.P. Retrofittable power supply

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09293985A (en) * 1996-04-25 1997-11-11 Canon Inc Electronic apparatus
JP2007066746A (en) * 2005-08-31 2007-03-15 Fujitsu Ltd Waterproof and drainage structure of cabinet, and electronic equipment
JP4426610B2 (en) * 2007-08-28 2010-03-03 株式会社日立コミュニケーションテクノロジー Electronic equipment
CN104866045B (en) * 2014-02-25 2019-03-08 联想(北京)有限公司 A kind of electronic equipment
CN107305406B (en) * 2016-04-18 2022-03-29 富泰华工业(深圳)有限公司 Electronic device and water inlet protection method
CN106534567A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 Loudspeaker phonate hole draining apparatus and method and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6781249B2 (en) * 2001-08-29 2004-08-24 Hewlett-Packard Development Company, L.P. Retrofittable power supply

Also Published As

Publication number Publication date
CN108600924A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
US11704397B2 (en) Detection of replay attack
CN108600924B (en) Loudspeaker drainage method and wearable equipment
CN106463112B (en) Voice recognition method, voice awakening device, voice recognition device and terminal
CN108337362A (en) Voice interactive method, device, equipment and storage medium
CN109769099A (en) The detection method and device for personage's exception of conversing
CN112970059A (en) Electronic device for processing user words and control method thereof
CN107146625B (en) Voice recognition method, terminal and storage medium
CN111261195A (en) Audio testing method and device, storage medium and electronic equipment
CN111179923B (en) Audio playing method based on wearable device and wearable device
CN111343028A (en) Distribution network control method and device
CN110234044A (en) A kind of voice awakening method, voice Rouser and earphone
WO2016183961A1 (en) Method, system and device for switching interface of smart device, and nonvolatile computer storage medium
CN110910876A (en) Article sound searching device and control method, and voice control setting method and system
JP6662962B2 (en) Speaker verification method and speech recognition system
US20210082405A1 (en) Method for Location Reminder and Electronic Device
CN109686370A (en) The method and device of fighting landlord game is carried out based on voice control
CN108924344B (en) Terminal vibration method and device, storage medium and electronic equipment
CN108776681B (en) Method for consolidating new word learning based on voice search and electronic equipment
CN107977187B (en) Reverberation adjusting method and electronic equipment
CN111754989A (en) Avoiding method for voice false wake-up and electronic equipment
CN115150501A (en) Voice interaction method and electronic equipment
CN108600503A (en) The control method and device of voice communication
CN108471574B (en) Method for discharging residual liquid of loudspeaker and electronic equipment
CN110046276A (en) The search method and device of keyword in a kind of voice
CN111897584B (en) Wake-up method and device for voice equipment

Legal Events

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