CN108634497B - Water drainage method of wearable equipment and wearable equipment - Google Patents
Water drainage method of wearable equipment and wearable equipment Download PDFInfo
- Publication number
- CN108634497B CN108634497B CN201810458085.6A CN201810458085A CN108634497B CN 108634497 B CN108634497 B CN 108634497B CN 201810458085 A CN201810458085 A CN 201810458085A CN 108634497 B CN108634497 B CN 108634497B
- Authority
- CN
- China
- Prior art keywords
- preset
- orientation
- wearable device
- functional interface
- certain functional
- 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
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 142
- 238000000034 method Methods 0.000 title claims abstract description 68
- 230000008859 change Effects 0.000 claims abstract description 9
- 238000001514 detection method Methods 0.000 claims description 27
- 230000005236 sound signal Effects 0.000 claims description 10
- 238000001035 drying Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 27
- 230000008569 process Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 8
- 230000003993 interaction Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000009467 reduction Effects 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 238000007599 discharging Methods 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 230000033764 rhythmic process Effects 0.000 description 2
- 230000035939 shock Effects 0.000 description 2
- 206010013647 Drowning Diseases 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A44—HABERDASHERY; JEWELLERY
- A44C—PERSONAL ADORNMENTS, e.g. JEWELLERY; COINS
- A44C5/00—Bracelets; Wrist-watch straps; Fastenings for bracelets or wrist-watch straps
- A44C5/0007—Bracelets specially adapted for other functions or with means for attaching other articles
-
- A—HUMAN NECESSITIES
- A44—HABERDASHERY; JEWELLERY
- A44C—PERSONAL ADORNMENTS, e.g. JEWELLERY; COINS
- A44C5/00—Bracelets; Wrist-watch straps; Fastenings for bracelets or wrist-watch straps
- A44C5/0007—Bracelets specially adapted for other functions or with means for attaching other articles
- A44C5/0015—Bracelets specially adapted for other functions or with means for attaching other articles providing information, e.g. bracelets with calendars
Landscapes
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
A water draining method of a wearable device and the wearable device comprise the following steps: the wearable device detects whether water enters a certain functional interface of the wearable device, if water enters the certain functional interface, the current orientation of the certain functional interface is detected, and whether the current orientation is a preset orientation is judged, wherein the preset orientation comprises a vertical downward direction or any direction with an included angle of the vertical downward direction being smaller than or equal to a preset angle threshold value, when the current orientation is not the preset orientation, drainage prompting information is output, the drainage prompting information is used for prompting a user to rotate the wearable device so as to change the current orientation into the preset orientation, and after the drainage prompting information is output, whether the orientation of the certain functional interface is changed from the current orientation into the preset orientation is detected; and if the orientation of a certain functional interface is changed from the current orientation to the preset orientation, outputting a target signal of the target frequency to discharge water in the certain functional interface. By implementing the embodiment of the invention, the drainage efficiency can be improved.
Description
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a water draining method of wearable equipment and the wearable equipment.
Background
The speaker interface that sets up in wearable equipment such as intelligence bracelet, phone wrist-watch, earphone interface and the interface that charges receive external environment's influence easily with the communicating part of external environment, for example, after the speaker is intake, if can not in time discharge the log raft in the speaker, then the speaker can not normally play music, and then influences wearable equipment's normal use. Generally, a common drainage method is that a wearable device plays an audio signal of a specific frequency to drain water using the thrust of a speaker. However, since the interfaces of the wearable device communicating with the external environment are designed and oriented differently, such as on the left side, the right side or the surface of the wearable device body, the current drainage method is not favorable for draining water, and the drainage efficiency is reduced.
Disclosure of Invention
The embodiment of the invention discloses a drainage method of wearable equipment and the wearable equipment, which can improve drainage efficiency.
The embodiment of the invention discloses a drainage method of wearable equipment in a first aspect, which comprises the following steps:
the wearable device detects whether water enters a certain functional interface of the wearable device;
if water is detected to enter the certain functional interface, the wearable device detects the current orientation of the certain functional interface and judges whether the current orientation is a preset orientation, wherein the preset orientation comprises a vertical downward direction or any direction with an included angle with the vertical downward direction being less than or equal to a preset angle threshold;
when the current orientation is not the preset orientation, the wearable device outputs drainage prompt information, and the drainage prompt information is used for prompting a user to rotate the wearable device so as to change the current orientation into the preset orientation;
after the drainage prompt message is output, the wearable device detects whether the orientation of the certain functional interface is changed from the current orientation to the preset orientation;
if the orientation of the certain functional interface is changed from the current orientation to the preset orientation, the wearable device outputs a target signal of a target frequency to drain water in the certain functional interface, wherein the target signal is an audio signal and/or a vibration signal.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the wearable device outputs a target signal of a target frequency to drain water in the certain functional interface, the method further includes:
the wearable device acquires a first temperature value of the certain functional interface;
the wearable equipment judges whether the first temperature value is located in a preset temperature value range, if not, the wearable equipment is controlled to work in a preset working mode, the preset working mode is used for triggering a certain functional interface to generate heat, so that the real-time temperature value of the certain functional interface is located in the preset temperature value range, and the heat generated when the real-time temperature of the certain functional interface is located in the preset temperature range is used for drying the certain functional interface.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the wearable device outputs a target signal of a target frequency to drain water in the certain functional interface, the method further includes:
the wearable device judges whether the real-time orientation of the certain functional interface is not the preset orientation;
when the real-time orientation is not the preset orientation, the wearable device stops outputting the target signal of the target frequency and collects the dryness of the certain functional interface;
the wearable device judges whether the dryness is smaller than a preset dryness threshold value or not, and when the dryness is smaller than the preset dryness threshold value, the wearable device triggers and executes the acquisition of the first temperature value of the certain functional interface.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the outputting the drainage prompt information, the method further includes:
the wearable device detects whether the wearable device is located in a water environment, and if the wearable device is not located in the water environment, the wearable device executes the detection whether the orientation of the certain function interface is changed from the current orientation to the preset orientation.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the detecting, by the wearable device, whether the orientation of the certain function interface is changed from the current orientation to the preset orientation includes:
the wearable device acquires current three-axis coordinate data of the certain functional interface and acquires preset three-axis coordinate data when the certain functional interface is in the preset orientation;
the wearable device compares the current triaxial coordinate data with the preset triaxial coordinate data to obtain coordinate similarity of the current triaxial coordinate data and the preset triaxial coordinate data;
the wearable equipment judges whether the coordinate similarity is larger than a preset coordinate similarity threshold value or not;
if the coordinate similarity is larger than the preset coordinate similarity threshold, the wearable device determines that the orientation of the certain functional interface is changed from the current orientation to the preset orientation.
The second aspect of the embodiments of the present invention discloses a wearable device, which is characterized by comprising:
the first detection unit is used for detecting whether water enters a certain functional interface of the wearable device;
the first judging unit is used for detecting the current orientation of a certain functional interface when the first detecting unit detects that water enters the certain functional interface, and judging whether the current orientation is a preset orientation, wherein the preset orientation comprises a vertical downward direction or any direction with an included angle with the vertical downward direction being smaller than or equal to a preset angle threshold value;
a first output unit, configured to output drainage prompting information when the first determination unit determines that the current orientation is not the preset orientation, where the drainage prompting information is used to prompt a user to rotate the wearable device to change the current orientation into the preset orientation;
a second detecting unit, configured to detect whether an orientation of the certain functional interface is changed from the current orientation to the preset orientation after the first output unit outputs the drainage prompt message;
and the second output unit is further used for outputting a target signal of a target frequency to discharge water in the certain functional interface when the second detection unit detects that the orientation of the certain functional interface is changed from the current orientation to the preset orientation, wherein the target signal is an audio signal or/and a vibration signal.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the wearable device further includes:
an obtaining unit, configured to obtain a first temperature value of the certain functional interface after the second output unit outputs the target signal of the target frequency to discharge water in the certain functional interface;
the first judging unit is also used for judging whether the first temperature value is within a preset temperature value range;
the control unit is used for judging by the first judging unit that the first temperature value is not located when presetting the temperature value within range, controlling the wearable equipment works under the preset working mode, the preset working mode is used for triggering a certain function interface generates heat, so that the real-time temperature value of the certain function interface is located within the preset temperature value range, the real-time temperature of the certain function interface is located the heat generated when presetting the temperature range is used for drying the certain function interface.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the wearable device further includes:
a second determining unit, configured to determine whether a real-time orientation of the certain functional interface is not the preset orientation after the second output unit outputs a target signal of a target frequency to discharge water in the certain functional interface;
the control unit is further configured to control the second output unit to stop outputting the target signal of the target frequency when the second determination unit determines that the real-time orientation is not the preset orientation;
the acquisition unit is used for acquiring the dryness of the certain functional interface;
the second judging unit is further configured to judge whether the dryness is smaller than a preset dryness threshold;
the obtaining unit is specifically configured to obtain a first temperature value of the certain functional interface after the second output unit outputs the target signal of the target frequency to discharge water in the certain functional interface and when the second determining unit determines that the dryness is smaller than the preset dryness threshold.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the wearable device further includes:
the third detection unit is used for detecting whether the wearable equipment is positioned in the water environment or not after the first output unit outputs the drainage prompt information;
the second detecting unit is specifically configured to detect whether the orientation of the certain functional interface is changed from the current orientation to the preset orientation after the first output unit outputs the drainage prompt message and when the third detecting unit detects that the certain functional interface is not located in the water environment.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the second detection unit includes:
the acquisition subunit is configured to acquire current triaxial coordinate data of the certain functional interface and acquire preset triaxial coordinate data of the certain functional interface in the preset orientation after the first output unit outputs the drainage prompt information and when the third detection unit detects that the certain functional interface is not located in the water environment;
the comparison subunit is configured to compare the current triaxial coordinate data with the preset triaxial coordinate data to obtain a coordinate similarity between the current triaxial coordinate data and the preset triaxial coordinate data;
the judging subunit is used for judging whether the coordinate similarity is greater than a preset coordinate similarity threshold value;
and the determining subunit is configured to determine that the orientation of the certain functional interface is changed from the current orientation to the preset orientation when the determining subunit determines that the coordinate similarity is greater than the preset coordinate similarity threshold.
A third aspect of an embodiment of the present invention discloses another 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 execute all or part of the steps of any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium, which is characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute all or part of the steps in any one of the methods disclosed in the first aspect of the embodiments 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.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, the wearable device may first detect whether water enters a certain functional interface of the wearable device, and if water enters the certain functional interface, detect a current orientation of the certain functional interface (e.g., a speaker), and determine whether the current orientation is a preset orientation (e.g., wholly vertically downward, a front surface of a screen facing downward and a reverse surface facing upward are parallel to a horizontal plane, or wholly upside down and vertically placed with a top facing downward and a lower portion facing upward), if not, output a drainage prompt message, prompting a user to rotate the wearable device to change the current orientation of the certain functional interface into the preset orientation. After the wearable device is detected to be located at the target placement position, the wearable device outputs a target signal of the target frequency to discharge water in a certain functional interface, so that water can be discharged aiming at different water inlet positions in a targeted mode, and the water discharging efficiency is improved. In conclusion, by implementing the embodiment of the invention, the drainage efficiency can be improved.
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 of a drainage method of a wearable device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a drainage method of another wearable device disclosed in the embodiment of the invention;
fig. 3 is a flowchart illustrating a control method of a drainage method of a wearable device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wearable device disclosed in the embodiment of the invention;
FIG. 5 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
FIG. 6 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
fig. 7 is a schematic structural diagram of another telephone watch disclosed in the embodiment of the 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 to be noted that the terms "comprises" and "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 drainage method of wearable equipment and the wearable equipment, which can improve drainage efficiency. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a drainage method of a wearable device according to an embodiment of the present invention. The method for draining water of the wearable device as shown in fig. 1 may include the steps of:
101. the wearable device detects whether water enters a certain functional interface of the wearable device, and if water enters the certain functional interface, step 102 is executed; if it is detected that water does not enter a functional interface, the step 101 is continuously executed.
In an embodiment of the present invention, the certain functional interface is a medium for the wearable device to communicate and interact with the outside, such as a speaker, a microphone, a display interface, and the like, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, as an optional implementation manner, the manner for the wearable device to detect whether water enters a certain functional interface may specifically be:
the wearable device obtains a target voltage value between a first contact and a second contact at a preset position in a certain functional interface;
the wearable device judges whether the target voltage value is within a preset voltage value range, if not, water inlet in a certain functional interface is determined, and step 102 is executed; if the target voltage value is within the preset voltage value range, it is determined that water does not enter the certain functional interface, and step 101 is continuously executed.
Further optionally, after determining that the voltage value is not within the preset voltage value range, the wearable device may further perform the following operations:
the wearable equipment acquires the humidity value of the certain functional interface;
the wearable device judges whether the humidity value is larger than a preset standard humidity value or not, if the humidity value is larger than the preset standard humidity value, water inlet in a certain functional interface is determined, and step 102 is executed; if the humidity value is not greater than the preset standard humidity value, it is determined that water does not enter the certain functional interface, and the step 101 is continuously executed.
Therefore, by the embodiment of the invention, the accuracy of detecting whether the certain functional interface of the wearable device enters water or not can be improved by sequentially judging the voltage value and the humidity value between the two preset contacts of the certain functional interface.
102, the wearable device detects a current orientation of a certain functional interface, and determines whether the current orientation is a preset orientation, wherein the preset orientation includes a vertical downward direction or any direction in which an included angle with the vertical downward direction is less than or equal to a preset angle threshold, and if the current orientation is not the preset orientation, the wearable device executes step 103; when the current orientation is the preset orientation, step 105 is executed.
In the embodiment of the present invention, a shooting device may be disposed on the certain functional interface, so that the wearable device may detect a current orientation of the certain functional interface and determine whether the current orientation is a preset orientation, specifically, the wearable device may control the shooting device on the certain functional interface to shoot a current image of the current orientation, extract an image feature of the current image, and determine whether the current orientation is the preset orientation according to the image feature.
As an optional implementation manner, before detecting a current orientation of a certain function interface and determining whether the current orientation is a preset orientation, the wearable device may further determine whether the wearable device is currently in a used state, and if the wearable device is in the used state, output a function closing prompt message and close a function currently in the used state. The method for judging whether the wearable device is in the used state by the wearable device specifically can be that; the wearable device detects whether the wearable device has a running state function, if yes, touch information of a display interface of the wearable device is detected, the similarity between first touch information at the current moment and second touch information at the previous moment is analyzed, whether the similarity is larger than a preset similarity is judged, and if not, the wearable device is determined to be in a used state. Wherein, a preset time interval is arranged between the current moment and the last moment; and the touch information includes, but is not limited to, the total covered area of the display interface, and the temperature information of the display interface detected by the temperature sensor, which is not limited by the present invention. Therefore, the embodiment of the invention can remind the user to suspend using the wearable device after detecting that the wearable device is filled with water, on one hand, the power consumption of the wearable device can be reduced, and on the other hand, the situation that the water filled in the wearable device is led to other functional interfaces due to shaking generated in the process of using the wearable device by the user to cause damage to other functional interfaces can be avoided.
103. The wearable device outputs drainage prompting information, and the drainage prompting information is used for prompting a user to rotate the wearable device so as to change the current orientation into a preset orientation.
In this embodiment of the present invention, after the wearable device outputs the drainage prompting information, optionally, a specific operation guide for guiding the user to rotate the wearable device may also be output, where the specific operation guide may be in the form of a picture or an animation, and the embodiment of the present invention is not limited thereto. Therefore, the embodiment of the invention can improve the interestingness of the user operation in a vivid and vivid presenting mode by outputting the specific operation guide for guiding the user to rotate the wearable device, thereby promoting the interaction between the device and the user.
104. After outputting the drainage prompt message, the wearable device detects whether the orientation of a certain functional interface is changed from the current orientation to the preset orientation, and if the orientation of a certain functional interface is changed from the current orientation to the preset orientation, step 105 is executed; if the orientation of a functional interface is not changed from the current orientation to the preset orientation, step 103 is triggered.
In this embodiment of the present invention, specifically, after the wearable device outputs the drainage prompting information, it may continuously detect whether the orientation of the certain functional interface is changed from the current orientation to the preset orientation within a preset time interval, and if the orientation of the certain functional interface is not changed from the current orientation to the preset orientation and the detection number is greater than the preset detection number, step 103 may be executed, and the wearable device is controlled to emit a shock; if the orientation of a functional interface is changed from the current orientation to the preset orientation, step 105 is performed.
105. The wearable device outputs a target signal of a target frequency to drain water in a certain functional interface, wherein the target signal is an audio signal and/or a vibration signal.
In the embodiment of the present invention, optionally, the wearable device may preset a plurality of target signals with different target frequencies, determine the current water inflow degree (e.g., high, medium, and low) of a certain functional interface according to the detection of the humidity value, and select to output the target signal with the target frequency matched with the water inflow degree, so as to discharge water in the certain functional interface.
Therefore, by implementing the method described in the figure 1, drainage can be performed in a targeted manner aiming at different water inlet positions, so that the drainage efficiency is improved; the accuracy of detecting whether a certain functional interface of the wearable device enters water or not can be improved by sequentially judging the voltage value and the humidity value between two preset contacts of the certain functional interface; in addition, the user can be reminded to suspend using the wearable device after the wearable device is detected to be watered, so that on one hand, the reduction of the power consumption of the wearable device is realized, and on the other hand, the situation that the water which enters the wearable device is led to other functional interface positions to cause the damage of other functional interfaces due to the shaking generated in the process of using the wearable device by the user is avoided; in addition, specific operation guide for guiding the user to rotate the wearable device can be output, interestingness of user operation is improved in a vivid presenting mode, and interaction between the device and the user is further promoted.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another water draining method for a wearable device according to an embodiment of the present invention. The method for draining water of the wearable device as shown in fig. 2 may include the steps of:
in the embodiment of the present invention, the drainage method of the wearable device includes steps 201 to 205, and for the description of steps 201 to 205, please refer to the detailed description of steps 101 to 105 in the first embodiment, which is not repeated herein.
In the embodiment of the present invention, it should be noted that after the step 205 is completed, the step 206 (as shown in fig. 2) may be directly triggered to be executed, or the step 209 may be directly triggered to be executed, which is not limited in the embodiment of the present invention.
206. The wearable device judges whether the real-time orientation of a certain functional interface is not a preset orientation, and if not, executes step 207; when the real-time orientation is the preset orientation, step 205 is executed.
207. The wearable device stops outputting the target signal of the target frequency and collects the dryness of a certain functional interface.
In an embodiment of the present invention, a dryness sensor may be built in the wearable device, and configured to detect dryness of the certain functional interface, specifically, the wearable device may control the dryness sensor to detect a current value at a preset position of the certain functional interface, and match the current value with current values corresponding to different pre-measured dryness levels one by one, so as to determine dryness of the certain functional interface.
208. The wearable device judges whether the dryness is smaller than a preset dryness threshold, and if so, executes step 209; and when the dryness is not less than the preset dryness threshold, ending the process.
209. The wearable device obtains a first temperature value of a certain functional interface.
210. The wearable device judges whether the first temperature value is within a preset temperature value range, and if the first temperature value is not within the preset temperature value range, step 211 is executed; if the judgment result is yes, the flow is ended.
211. Wearable equipment control wearable equipment is worked under predetermineeing the mode, predetermines the mode and is used for triggering certain function interface and generates heat to make the real-time temperature value of certain function interface be located above-mentioned preset temperature value within range, the heat that produces when the real-time temperature of certain function interface is located preset temperature range is used for drying certain function interface.
In the embodiment of the invention, as the wearable device can generate different power consumptions in different preset working modes, the wearable device generates different heat in different preset working modes, and the certain functional interface is positioned on the wearable device, the temperature of the certain functional interface is influenced by the heat of the wearable device, namely the preset working mode can trigger the certain functional interface to generate heat, so that the real-time temperature value of the certain functional interface is within the preset temperature value range, and the heat generated when the real-time temperature of the certain functional interface is within the preset temperature range can be used for drying the certain functional interface.
As shown in steps 206 to 211, it can be seen that, when the embodiment of the present invention is implemented, after the water is drained by outputting the target signal of the target frequency, the dryness of the certain functional interface may be detected to determine whether residual water still remains after the water is drained from the certain functional interface, and after the residual water is detected, the certain functional interface is dried at a controllable temperature by loading the preset working mode, so that the damage of the equipment due to incomplete water drainage is avoided.
Therefore, by implementing the method described in fig. 2, drainage can be performed in a targeted manner aiming at different water inlet positions, so that the drainage efficiency is improved; the accuracy of detecting whether a certain functional interface of the wearable device enters water or not can be improved by sequentially judging the voltage value and the humidity value between two preset contacts of the certain functional interface; in addition, the user can be reminded to suspend using the wearable device after the wearable device is detected to be watered, so that on one hand, the reduction of the power consumption of the wearable device is realized, and on the other hand, the situation that the water which enters the wearable device is led to other functional interface positions to cause the damage of other functional interfaces due to the shaking generated in the process of using the wearable device by the user is avoided; in addition, specific operation guide for guiding the user to rotate the wearable device can be output, so that the interestingness of the user operation is improved in a vivid presenting mode, and the interaction between the device and the user is further promoted; and after the water is drained by outputting a target signal with a target frequency, the dryness of the certain functional interface is detected to determine whether residual water still exists after the certain functional interface is drained, and the certain functional interface is dried at a controllable temperature by a method of loading a preset working mode after the residual water is detected, so that the damage of equipment caused by incomplete water drainage is avoided.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating a water draining method of another wearable device according to an embodiment of the present invention. The method for draining water of the wearable device as shown in fig. 3 may include the steps of:
in the embodiment of the present invention, the drainage method of the wearable device includes steps 301 to 303, and for the description of steps 301 to 303, please refer to the detailed description of steps 201 to 203 in the first embodiment, which is not repeated herein.
304. The wearable device detects whether the wearable device is located in a water environment, and if not, step 305 is executed; if the water is in the water environment, the process is ended.
In the embodiment of the invention, as the wearable device cannot be subjected to conventional drainage operation when being located in the water environment, the process (namely drainage operation) can be finished when the wearable device is detected to be located in the water environment by detecting whether the wearable device is located in the water environment, so that useless work is reduced and the power consumption of the wearable device is reduced.
305. The wearable device acquires current triaxial coordinate data of a certain functional interface and acquires preset triaxial coordinate data of the certain functional interface in a preset orientation.
Optionally, the wearable device may acquire current three-axis coordinate data (e.g., coordinate data of X, Y, Z three axes) of the certain function interface through a built-in G-sensor (also called an Accelerometer-sensor).
306. The wearable device compares the current triaxial coordinate data with preset triaxial coordinate data to obtain coordinate similarity of the current triaxial coordinate data and the preset triaxial coordinate data.
307. The wearable device judges whether the coordinate similarity is greater than a preset coordinate similarity threshold, and if the coordinate similarity is greater than the preset coordinate similarity threshold, the step 308 is executed; if the coordinate similarity is not greater than the preset coordinate similarity threshold, go to step 303.
Optionally, after determining that the similarity of the coordinates is not greater than the preset coordinate similarity threshold, the wearable device outputs the drainage prompting information, specifically, the wearable device may be pre-divided into a plurality of similarity intervals for the similarity of the coordinates not greater than the preset coordinate similarity threshold, where the different similarity intervals correspond to drainage prompting information in different reminding modes. The wearable device can judge which similarity interval (target similarity interval) of a plurality of pre-divided similarity intervals the coordinate similarity belongs to, and output a target reminding mode corresponding to the target similarity interval. For example, the different alert modes may be different rhythm alert tones and/or different rhythm music.
308. The wearable device determines that the orientation of a certain functional interface is changed from a current orientation to a preset orientation.
The drainage method of the wearable device includes steps 309 to 315, and for the description of steps 309 to 315, please refer to the detailed description of steps 205 to 211 in the first embodiment, which is not repeated in the embodiments of the present invention.
Therefore, by implementing the method described in fig. 3, drainage can be performed in a targeted manner aiming at different water inlet positions, so that the drainage efficiency is improved; the accuracy of detecting whether a certain functional interface of the wearable device enters water or not can be improved by sequentially judging the voltage value and the humidity value between two preset contacts of the certain functional interface; in addition, the user can be reminded to suspend using the wearable device after the wearable device is detected to be watered, so that on one hand, the reduction of the power consumption of the wearable device is realized, and on the other hand, the situation that the water which enters the wearable device is led to other functional interface positions to cause the damage of other functional interfaces due to the shaking generated in the process of using the wearable device by the user is avoided; in addition, specific operation guide for guiding the user to rotate the wearable device can be output, so that the interestingness of the user operation is improved in a vivid presenting mode, and the interaction between the device and the user is further promoted; after the water is drained by outputting a target signal with a target frequency, the dryness of the certain functional interface is detected to determine whether residual water still exists after the certain functional interface is drained, and the certain functional interface is dried at a controllable temperature by a method of loading a preset working mode after the residual water is detected, so that the damage of equipment caused by incomplete drainage is avoided; in addition, when the wearable device is detected to be located in the water environment, the process (namely, the drainage operation) can be finished, the useless work is reduced, and the power consumption of the wearable device is reduced.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a wearable device according to an embodiment of the present invention. As shown in fig. 4, the wearable device may include:
the first detecting unit 401 is configured to detect whether water enters a certain functional interface of the wearable device, and provide a detection result to the first determining unit 402.
In this embodiment of the present invention, as an optional implementation manner, the manner for detecting whether water is fed into a certain functional interface by the first detecting unit 401 may specifically be:
acquiring a target voltage value between a first contact and a second contact at a preset position in a certain functional interface;
judging whether the target voltage value is within a preset voltage value range, if not, determining that water enters a certain functional interface, and triggering a first judging unit 402 to start; if the target voltage value is within the preset voltage value range, it is determined that water does not enter the certain functional interface, and the first detection unit 401 continues to detect whether water enters the certain functional interface of the wearable device.
Further optionally, after determining that the voltage value is not within the preset voltage value range, the first detecting unit 401 may further perform the following operations:
the wearable equipment acquires the humidity value of the certain functional interface;
the wearable device judges whether the humidity value is larger than a preset standard humidity value or not, and if the humidity value is larger than the preset standard humidity value, water inlet in a certain functional interface is determined, and a first judging unit 402 is triggered to start; if the humidity value is not greater than the preset standard humidity value, it is determined that water does not enter the certain functional interface, and the first detection unit 401 continues to detect whether water enters the certain functional interface of the wearable device.
Therefore, by the embodiment of the invention, the accuracy of detecting whether the certain functional interface of the wearable device enters water or not can be improved by sequentially judging the voltage value and the humidity value between the two preset contacts of the certain functional interface.
A first determining unit 402, configured to detect a current orientation of a certain functional interface when the first detecting unit 401 detects water entering the certain functional interface, determine whether the current orientation is a preset orientation, and provide a result of the determination to the first output unit 403, where the preset orientation includes a vertical downward direction or any direction in which an included angle with the vertical downward direction is smaller than or equal to a preset angle threshold.
As an optional implementation manner, before detecting a current orientation of a certain function interface and determining whether the current orientation is a preset orientation, the first determining unit 402 may further determine whether the wearable device is currently in a used state, and if the wearable device is in the used state, output a function closing prompt message and close the function currently in the used state. The way for the first judging unit 402 to judge whether the wearable device is in the used state may specifically be; the first judging unit 402 detects whether the wearable device has a function of running state, if so, detects touch information of a display interface of the wearable device, analyzes similarity between first touch information at the current moment and second touch information at the previous moment, judges whether the similarity is greater than preset similarity, and if not, determines that the wearable device is in a used state. Wherein, a preset time interval is arranged between the current moment and the last moment; and the touch information includes, but is not limited to, the total covered area of the display interface, and the temperature information of the display interface detected by the temperature sensor, which is not limited by the present invention. Therefore, the embodiment of the invention can remind the user to suspend using the wearable device after detecting that the wearable device is filled with water, on one hand, the power consumption of the wearable device can be reduced, and on the other hand, the situation that the water filled in the wearable device is led to other functional interfaces due to shaking generated in the process of using the wearable device by the user to cause damage to other functional interfaces can be avoided.
A first output unit 403, configured to output a drainage prompt message and trigger the second detection unit 404 to start when the first determination unit 402 determines that the current orientation is not the preset orientation, where the drainage prompt message is used to prompt the user to rotate the wearable device so as to change the current orientation into the preset orientation.
In this embodiment of the present invention, after the first output unit 403 outputs the drainage prompting information, optionally, a specific operation guide for guiding the user to rotate the wearable device may also be output, where the specific operation guide may be in the form of a picture or an animation, and the embodiment of the present invention is not limited thereto. Therefore, the embodiment of the invention can improve the interestingness of the user operation in a vivid and vivid presenting mode by outputting the specific operation guide for guiding the user to rotate the wearable device, thereby promoting the interaction between the device and the user.
A second detecting unit 404, configured to detect whether the orientation of a certain functional interface is changed from the current orientation to a preset orientation after the first output unit outputs the drainage prompt message, and trigger a second output unit 405 to start.
And the second output unit 405 is further configured to output a target signal of a target frequency to drain water in a certain functional interface when the second detection unit 404 detects that the orientation of the certain functional interface is changed from the current orientation to a preset orientation, where the target signal is an audio signal or/and a vibration signal.
In this embodiment of the present invention, specifically, after the second output unit 405 outputs the drainage prompting message, the second detecting unit 404 may be triggered to continuously detect whether the orientation of the certain functional interface is changed from the current orientation to the preset orientation within a preset time interval, and if the orientation of the certain functional interface is not changed from the current orientation to the preset orientation and the detection frequency is greater than the preset detection frequency, the first output unit 403 may be triggered to start and the first output unit 403 may control the wearable device to emit a shock; if the orientation of a certain functional interface is changed from the current orientation to the preset orientation, the second output unit 405 outputs a target signal of a target frequency to drain water in the certain functional interface.
Therefore, the wearable device described in the figure 4 can be used for draining water in different water inlet positions in a targeted manner, so that the drainage efficiency is improved; the accuracy of detecting whether a certain functional interface of the wearable device enters water or not can be improved by sequentially judging the voltage value and the humidity value between two preset contacts of the certain functional interface; in addition, the user can be reminded to suspend using the wearable device after the wearable device is detected to be watered, so that on one hand, the reduction of the power consumption of the wearable device is realized, and on the other hand, the situation that the water which enters the wearable device is led to other functional interface positions to cause the damage of other functional interfaces due to the shaking generated in the process of using the wearable device by the user is avoided; in addition, specific operation guide for guiding the user to rotate the wearable device can be output, interestingness of user operation is improved in a vivid presenting mode, and interaction between the device and the user is further promoted.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. Wherein, the wearable device shown in fig. 5 is optimized by the wearable device shown in fig. 4. Compared to the wearable device shown in fig. 4, the wearable device shown in fig. 5 may further include:
an obtaining unit 406, configured to obtain a first temperature value of a certain functional interface after the second output unit 405 outputs a target signal of a target frequency to discharge water in the certain functional interface, and provide the first temperature value to the first determining unit 402.
The first determining unit 402 is further configured to determine whether the first temperature value is within a preset temperature value range, and trigger the control unit 407 to start.
A control unit 407, configured to control the wearable device to operate in a preset operating mode when the first determining unit 402 determines that the first temperature value is not within a preset temperature value range, where the preset operating mode is used to trigger a certain functional interface to generate heat, so that a real-time temperature value of the certain functional interface is within the preset temperature value range, and heat generated when the real-time temperature of the certain functional interface is within the preset temperature range is used to dry the certain functional interface.
In the embodiment of the invention, as the wearable device can generate different power consumptions in different preset working modes, the wearable device generates different heat in different preset working modes, and the certain functional interface is positioned on the wearable device, the temperature of the certain functional interface is influenced by the heat of the wearable device, namely the preset working mode can trigger the certain functional interface to generate heat, so that the real-time temperature value of the certain functional interface is within the preset temperature value range, and the heat generated when the real-time temperature of the certain functional interface is within the preset temperature range can be used for drying the certain functional interface.
As an alternative embodiment, as shown in fig. 5, the wearable device may further include:
a second determining unit 408, configured to determine whether the real-time orientation of a certain functional interface is not a preset orientation after the second output unit 405 outputs the target signal of the target frequency to discharge water in the certain functional interface, and provide the determination result to the control unit 407.
The control unit 407 is further configured to control the second output unit 405 to stop outputting the target signal of the target frequency and trigger the acquisition unit 409 to start when the second determination unit 408 determines that the real-time direction is not the preset direction.
And the collecting unit 409 is used for collecting the dryness of a certain functional interface and providing the dryness to the second judging unit 408.
The second determining unit 408 is further configured to determine whether the dryness is smaller than a preset dryness threshold, and provide the determination result to the obtaining unit 406.
The obtaining unit 406 is specifically configured to obtain a first temperature value of a certain functional interface after the second output unit 405 outputs a target signal of a target frequency to discharge water in the certain functional interface and when the second determining unit 408 determines that the dryness is smaller than a preset dryness threshold.
Therefore, the wearable device described in the figure 5 can be used for draining water in different water inlet positions in a targeted manner, so that the drainage efficiency is improved; the accuracy of detecting whether a certain functional interface of the wearable device enters water or not can be improved by sequentially judging the voltage value and the humidity value between two preset contacts of the certain functional interface; in addition, the user can be reminded to suspend using the wearable device after the wearable device is detected to be watered, so that on one hand, the reduction of the power consumption of the wearable device is realized, and on the other hand, the situation that the water which enters the wearable device is led to other functional interface positions to cause the damage of other functional interfaces due to the shaking generated in the process of using the wearable device by the user is avoided; in addition, specific operation guide for guiding the user to rotate the wearable device can be output, so that the interestingness of the user operation is improved in a vivid presenting mode, and the interaction between the device and the user is further promoted; and after the water is drained by outputting a target signal with a target frequency, the dryness of the certain functional interface is detected to determine whether residual water still exists after the certain functional interface is drained, and the certain functional interface is dried at a controllable temperature by a method of loading a preset working mode after the residual water is detected, so that the damage of equipment caused by incomplete water drainage is avoided.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 6 is optimized by the wearable device shown in fig. 5. Compared to the wearable device shown in fig. 5, the wearable device shown in fig. 6 further includes:
the third detecting unit 410 is configured to detect whether the wearable device is located in the water environment after the first output unit 403 outputs the drainage prompt message, and provide the detection result to the second detecting unit 404.
In the embodiment of the present invention, when the wearable device is located in a water environment, the wearable device cannot be subjected to a conventional drainage operation, so that the third detection unit 410 can end the process (i.e., the drainage operation) by detecting whether the wearable device is located in the water environment, when the wearable device is detected to be located in the water environment, thereby reducing useless work and reducing power consumption of the wearable device.
The second detecting unit 404 is specifically configured to detect whether the orientation of a certain functional interface is changed from the current orientation to a preset orientation after the first outputting unit 403 outputs the drainage prompting message and when the third detecting unit 410 detects that the functional interface is not in the water environment.
As an alternative implementation, as shown in fig. 6, the second detecting unit 404 may include:
the obtaining sub-unit 4041 is configured to obtain current three-axis coordinate data of a certain functional interface, obtain preset three-axis coordinate data of the certain functional interface in a preset orientation after the first output unit 403 outputs the drainage prompt information and the third detection unit 410 detects that the certain functional interface is not located in the water environment, and trigger the comparing sub-unit 4042 to start.
The comparing sub-unit 4042 is configured to compare the current triaxial coordinate data with the preset triaxial coordinate data to obtain a coordinate similarity between the current triaxial coordinate data and the preset triaxial coordinate data, and provide the coordinate similarity to the judging sub-unit 4043.
The judging sub-unit 4043 is configured to judge whether the coordinate similarity is greater than a preset coordinate similarity threshold, and provide the judgment result to the determining sub-unit 4044.
The determining subunit 4044 is configured to determine that the orientation of a certain functional interface is changed from the current orientation to a preset orientation when the determining subunit determines that the coordinate similarity is greater than the preset coordinate similarity threshold.
Therefore, the wearable device described in the figure 6 can be used for draining water in different water inlet positions in a targeted manner, so that the drainage efficiency is improved; the accuracy of detecting whether a certain functional interface of the wearable device enters water or not can be improved by sequentially judging the voltage value and the humidity value between two preset contacts of the certain functional interface; in addition, the user can be reminded to suspend using the wearable device after the wearable device is detected to be watered, so that on one hand, the reduction of the power consumption of the wearable device is realized, and on the other hand, the situation that the water which enters the wearable device is led to other functional interface positions to cause the damage of other functional interfaces due to the shaking generated in the process of using the wearable device by the user is avoided; in addition, specific operation guide for guiding the user to rotate the wearable device can be output, so that the interestingness of the user operation is improved in a vivid presenting mode, and the interaction between the device and the user is further promoted; after the water is drained by outputting a target signal with a target frequency, the dryness of the certain functional interface is detected to determine whether residual water still exists after the certain functional interface is drained, and the certain functional interface is dried at a controllable temperature by a method of loading a preset working mode after the residual water is detected, so that the damage of equipment caused by incomplete drainage is avoided; in addition, when the wearable device is detected to be located in the water environment, the process (namely, the drainage operation) can be finished, the useless work is reduced, and the power consumption of the wearable device is reduced.
Fig. 7 shows only a portion related to the embodiment of the present invention, and for convenience of description, please refer to the method portion of the embodiment of the present invention for a specific technical detail that is not disclosed. This wearable equipment can be for including arbitrary terminal equipment such as phone wrist-watch, intelligent wrist strap, intelligent glasses to the terminal is the phone wrist-watch as an example:
fig. 7 is a block diagram showing a part of the structure of a telephone wristwatch relating to a terminal provided by an embodiment of the present invention. Referring to fig. 7, the telephone watch includes: radio Frequency (RF) circuit 1110, memory 1120, input unit 1130, display unit 1140, sensor 1150, audio circuit 1160, wireless communication module 1170, processor 1180, power supply 1190, and camera 1100. Those skilled in the art will appreciate that the telephone watch configuration shown in fig. 7 does not constitute a limitation of a telephone watch, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The various components of the telephone watch are described in detail below with reference to fig. 7:
the RF circuit 1110 may be used for receiving and transmitting signals during a transmission and reception of information or a call, and particularly, for receiving and transmitting downlink information of a base station and then processing the received downlink information to the processor 1180 and, in addition, transmitting data designed for uplink to the base station, in General, the RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (L ow noise amplifier, <tttransmission &' L "&tttl &/t &tttgtna), a duplexer, etc., and in addition, the RF circuit 1110 may communicate with a network and other devices through wireless communication, which may use any communication standard or protocol, including, but not limited to, global system for Mobile communication (GSM), General Packet radio service (General Packet radio service, GPRS), Code Division Multiple Access (Code Division Multiple service,
CDMA), Wideband Code Division Multiple Access (WCDMA), long Term Evolution (L ong Term Evolution, L TE), email, Short Messaging Service (SMS), etc.
The memory 1120 may be used to store executable program code, and the processor 1180 coupled to the memory 1120 may be used to execute various functional applications of the telephone watch and data processing by executing the executable program code stored in the memory 1120, and in particular, may be used to execute all or part of the steps of any one of the first to third embodiments of the drowning alarm method based on user behavior. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the stored data area may store data (such as audio data, a phonebook, etc.) created according to the use of the telephone watch, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the telephone watch. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user, as well as various menus of the telephone watch. The display unit 1140 may include a display panel 1141, and optionally, may
The Display panel 1141 is configured with a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light Emitting Diode (O L ED), etc. further, the touch panel 1131 may cover the Display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the Display panel 1141 according to the type of the touch event.
The phone watch may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The wireless communication module 1170 may be configured to transmit information to an external device, receive a control instruction of the external device, and the like, and in particular, transmit the control instruction to the processor 1180 after receiving the control instruction of the external device, and process the control instruction by the processor 1180. The wireless communication module 1170 may include, for example, a wireless fidelity (WiFi) module. WiFi (wireless fidelity) belongs to short-distance wireless transmission technology, and the telephone watch can be used for sending information, helping a user receive and send emails, browsing webpages and accessing streaming media through the WiFi module
And receiving a control command of an external device, etc., which provides a user with wireless broadband internet access.
The telephone watch also includes a power supply 1190 (such as a battery) for powering the various components, which may be logically coupled to the processor 1180 via a power management system that may be used to manage charging, discharging, and power consumption.
Although not shown, the phone watch may also include a bluetooth module or the like, which will not be described in detail herein.
In an embodiment of the present invention, the telephone watch includes a processor 1180 for executing executable program code stored in the memory 1120, and further includes the following functions:
the control sensor 1150 detects whether water enters a certain functional interface of the wearable device;
if water is detected to enter a certain functional interface, the sensor 1150 is continuously controlled to detect the current orientation of the certain functional interface, and whether the current orientation is a preset orientation is judged, wherein the preset orientation comprises a vertical downward direction or any direction with an included angle with the vertical downward direction being less than or equal to a preset angle threshold;
when the current orientation is not the preset orientation, the control display unit 1140 outputs a drainage prompt message for prompting the user to rotate the wearable device to change the current orientation to the preset orientation;
after the drainage prompt message is output, the control sensor 1150 detects whether the orientation of a certain functional interface is changed from the current orientation to a preset orientation;
if the orientation of a certain functional interface is changed from the current orientation to the preset orientation, the control sensor 1150 outputs a target signal of a target frequency, which is an audio signal and/or a vibration signal, to drain water in the certain functional interface.
It can be seen that, through the processor 1180 included in the phone watch, after it is detected that the phone watch has entered water, the current orientation of a certain functional interface may be detected through the control sensor 1150, and the drainage prompt message may be output when it is determined that the current orientation is not the preset orientation, so as to guide the user to rotate a certain functional interface to the preset orientation, and assist in outputting the target signal of the target frequency, thereby improving the drainage efficiency of the wearable device.
One of ordinary skill in the art will appreciate that all or some of the steps in the various methods of the embodiments described above may be performed
The steps may be performed by associated hardware as instructed by a program, which may be stored on a computer readable storage medium, storage media include 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 optical Disc storage, magnetic disk storage, tape storage, or any other medium readable by a computer that can be used to carry or store data.
The above embodiments are only used for illustrating the technical solutions of the present application and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (10)
1. A method of draining a wearable device, the method comprising:
the wearable device detects whether water enters a certain functional interface of the wearable device;
if water is detected to enter the certain functional interface, the wearable device detects the current orientation of the certain functional interface and judges whether the current orientation is a preset orientation, wherein the preset orientation comprises a vertical downward direction or any direction with an included angle with the vertical downward direction being less than or equal to a preset angle threshold;
when the current orientation is not the preset orientation, the wearable device outputs drainage prompt information and specific operation directions for guiding a user to rotate the wearable device; the drainage prompting information is used for prompting a user to rotate the wearable device so as to change the current orientation into the preset orientation;
after the drainage prompt message is output, the wearable device detects whether the orientation of the certain functional interface is changed from the current orientation to the preset orientation;
if the orientation of the certain functional interface is changed from the current orientation to the preset orientation, the wearable device outputs a target signal of a target frequency to drain water in the certain functional interface, wherein the target signal is an audio signal and/or a vibration signal.
2. The method of claim 1, wherein after the wearable device outputs a target signal at a target frequency to drain water in the certain functional interface, the method further comprises:
the wearable device acquires a first temperature value of the certain functional interface;
the wearable equipment judges whether the first temperature value is located in a preset temperature value range, if not, the wearable equipment is controlled to work in a preset working mode, the preset working mode is used for triggering a certain functional interface to generate heat, so that the real-time temperature value of the certain functional interface is located in the preset temperature value range, and the heat generated when the real-time temperature of the certain functional interface is located in the preset temperature range is used for drying the certain functional interface.
3. The method of claim 2, wherein after the wearable device outputs a target signal at a target frequency to drain water in the certain functional interface, the method further comprises:
the wearable device judges whether the real-time orientation of the certain functional interface is not the preset orientation;
when the real-time orientation is not the preset orientation, the wearable device stops outputting the target signal of the target frequency and collects the dryness of the certain functional interface;
the wearable device judges whether the dryness is smaller than a preset dryness threshold value or not, and when the dryness is smaller than the preset dryness threshold value, the wearable device triggers and executes the acquisition of the first temperature value of the certain functional interface.
4. The method of claim 1, wherein after outputting the drainage cue information, the method further comprises:
the wearable device detects whether the wearable device is located in a water environment, and if the wearable device is not located in the water environment, the wearable device executes the detection whether the orientation of the certain function interface is changed from the current orientation to the preset orientation.
5. The method according to any one of claims 1 to 4, wherein the wearable device detecting whether the orientation of the certain functional interface is changed from the current orientation to the preset orientation comprises:
the wearable device acquires current three-axis coordinate data of the certain functional interface and acquires preset three-axis coordinate data when the certain functional interface is in the preset orientation;
the wearable device compares the current triaxial coordinate data with the preset triaxial coordinate data to obtain coordinate similarity of the current triaxial coordinate data and the preset triaxial coordinate data;
the wearable equipment judges whether the coordinate similarity is larger than a preset coordinate similarity threshold value or not;
if the coordinate similarity is larger than the preset coordinate similarity threshold, the wearable device determines that the orientation of the certain functional interface is changed from the current orientation to the preset orientation.
6. A wearable device, comprising:
the first detection unit is used for detecting whether water enters a certain functional interface of the wearable device;
the first judging unit is used for detecting the current orientation of a certain functional interface when the first detecting unit detects that water enters the certain functional interface, and judging whether the current orientation is a preset orientation, wherein the preset orientation comprises a vertical downward direction or any direction with an included angle with the vertical downward direction being smaller than or equal to a preset angle threshold value;
the first output unit is used for outputting drainage prompt information and outputting specific operation guidance for guiding a user to rotate the wearable device when the first judging unit judges that the current orientation is not the preset orientation; the drainage prompting information is used for prompting a user to rotate the wearable device so as to change the current orientation into the preset orientation;
a second detecting unit, configured to detect whether an orientation of the certain functional interface is changed from the current orientation to the preset orientation after the first output unit outputs the drainage prompt message;
and the second output unit is further used for outputting a target signal of a target frequency to discharge water in the certain functional interface when the second detection unit detects that the orientation of the certain functional interface is changed from the current orientation to the preset orientation, wherein the target signal is an audio signal and/or a vibration signal.
7. The wearable device of claim 6, further comprising:
an obtaining unit, configured to obtain a first temperature value of the certain functional interface after the second output unit outputs the target signal of the target frequency to discharge water in the certain functional interface;
the first judging unit is also used for judging whether the first temperature value is within a preset temperature value range;
the control unit is used for judging by the first judging unit that the first temperature value is not located when presetting the temperature value within range, controlling the wearable equipment works under the preset working mode, the preset working mode is used for triggering a certain function interface generates heat, so that the real-time temperature value of the certain function interface is located within the preset temperature value range, the real-time temperature of the certain function interface is located the heat generated when presetting the temperature range is used for drying the certain function interface.
8. The wearable device of claim 7, further comprising:
a second determining unit, configured to determine whether a real-time orientation of the certain functional interface is not the preset orientation after the second output unit outputs a target signal of a target frequency to discharge water in the certain functional interface;
the control unit is further configured to control the second output unit to stop outputting the target signal of the target frequency when the second determination unit determines that the real-time orientation is not the preset orientation;
the acquisition unit is used for acquiring the dryness of the certain functional interface;
the second judging unit is further configured to judge whether the dryness is smaller than a preset dryness threshold;
the obtaining unit is specifically configured to obtain a first temperature value of the certain functional interface after the second output unit outputs the target signal of the target frequency to discharge water in the certain functional interface and when the second determining unit determines that the dryness is smaller than the preset dryness threshold.
9. The wearable device of claim 6, further comprising:
the third detection unit is used for detecting whether the wearable equipment is positioned in the water environment or not after the first output unit outputs the drainage prompt information;
the second detecting unit is specifically configured to detect whether the orientation of the certain functional interface is changed from the current orientation to the preset orientation after the first output unit outputs the drainage prompt message and when the third detecting unit detects that the certain functional interface is not located in the water environment.
10. The wearable device according to any one of claims 6 to 9, wherein the second detection unit comprises:
the acquisition subunit is configured to acquire current triaxial coordinate data of the certain functional interface and acquire preset triaxial coordinate data of the certain functional interface in the preset orientation after the first output unit outputs the drainage prompt information and when the third detection unit detects that the certain functional interface is not located in the water environment;
the comparison subunit is configured to compare the current triaxial coordinate data with the preset triaxial coordinate data to obtain a coordinate similarity between the current triaxial coordinate data and the preset triaxial coordinate data;
the judging subunit is used for judging whether the coordinate similarity is greater than a preset coordinate similarity threshold value;
and the determining subunit is configured to determine that the orientation of the certain functional interface is changed from the current orientation to the preset orientation when the determining subunit determines that the coordinate similarity is greater than the preset coordinate similarity threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810458085.6A CN108634497B (en) | 2018-05-14 | 2018-05-14 | Water drainage method of wearable equipment and wearable equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810458085.6A CN108634497B (en) | 2018-05-14 | 2018-05-14 | Water drainage method of wearable equipment and wearable equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108634497A CN108634497A (en) | 2018-10-12 |
CN108634497B true CN108634497B (en) | 2020-07-24 |
Family
ID=63755340
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810458085.6A Active CN108634497B (en) | 2018-05-14 | 2018-05-14 | Water drainage method of wearable equipment and wearable equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108634497B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112731833B (en) * | 2020-12-21 | 2022-08-12 | 歌尔光学科技有限公司 | Control method and device of electronic equipment, electronic equipment and storage medium |
CN116451492A (en) * | 2023-04-25 | 2023-07-18 | 深圳市微克科技有限公司 | Intelligent wearable device drainage method, system and readable storage medium |
Citations (2)
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 |
CN107690113A (en) * | 2017-08-29 | 2018-02-13 | 努比亚技术有限公司 | Loudspeaker assembly and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9451354B2 (en) * | 2014-05-12 | 2016-09-20 | Apple Inc. | Liquid expulsion from an orifice |
-
2018
- 2018-05-14 CN CN201810458085.6A patent/CN108634497B/en active Active
Patent Citations (2)
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 |
CN107690113A (en) * | 2017-08-29 | 2018-02-13 | 努比亚技术有限公司 | Loudspeaker assembly and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108634497A (en) | 2018-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108896911B (en) | Charging abnormity detection method and device for electronic equipment | |
CN104383681B (en) | Method for controlling game program, device and mobile terminal | |
WO2017088154A1 (en) | Profile mode switching method | |
CN108307074A (en) | Display control method and device, terminal, computer readable storage medium | |
CN110572776B (en) | Method for dividing safety area, terminal and storage medium | |
CN108597186B (en) | Drowning alarm method based on user behavior and wearable device | |
CN108900231B (en) | Dynamic antenna adjustment method and related product | |
CN109561420B (en) | Emergency help-seeking method and related equipment | |
CN108628217B (en) | Wearable device power consumption control method, wearable device and computer-readable storage medium | |
CN106445596B (en) | Method and device for managing setting items | |
CN108388340B (en) | Electronic equipment control method and related product | |
CN107317918B (en) | Parameter setting method and related product | |
CN106408869B (en) | Terminal and method and device for detecting human body falling | |
CN111357006A (en) | Fatigue prompting method and terminal | |
CN108833683B (en) | Dynamic antenna adjustment implementation method and related product | |
CN110012148A (en) | A kind of bracelet control method, bracelet and computer readable storage medium | |
CN108634497B (en) | Water drainage method of wearable equipment and wearable equipment | |
CN109173254A (en) | Game data display methods, mobile terminal and computer readable storage medium | |
CN107066090B (en) | Method for controlling fingerprint identification module and mobile terminal | |
CN109141355B (en) | Relative height measuring method based on multiple sensors and wearable equipment | |
CN108810261B (en) | Antenna switching method in call and related product | |
CN112114879A (en) | Terminal wake-up method, terminal and storage medium | |
CN108769343B (en) | Drainage control method based on wearable equipment and wearable equipment | |
CN106934003B (en) | File processing method and mobile terminal | |
CN110277097B (en) | Data processing method and related 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 |