Anti-splashing method and device and electronic equipment
By setting up a liquid detection sensor and fan system on the electronic device, detecting liquid contact and flow rate, and controlling the direction or intensity of the airflow, the problem of water accumulation and splashing is solved, and the protection effect of the equipment is improved.
Patent Information
- Application Number
- CN202510335986.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-08-08
AI Technical Summary
When pedestrians walk, water splashes cause clothes and shoes to get dirty, affecting pedestrian mood and travel experience. It is difficult for the existing technology to effectively prevent this phenomenon.
Detect liquid contact by setting a liquid detection sensor on the electronic device, detect liquid flow, and control the fan to rotate to adjust the airflow direction or intensity to prevent liquid from splashing.
Effectively prevent liquid from splashing onto the surface of electronic devices, avoid staining the surface of the device, and improve user experience.
Smart Images

Figure CN120447085A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the technical field of electronic devices, and more specifically, to an anti-splashing method, device, and electronic device. Background Art
[0002] In daily life, people often encounter rainy weather. After rain, walking on city streets, residential roads, or other types of road surfaces often leaves a large amount of water on the road surface. During normal walking, pedestrians' footsteps come into contact with the water, which can easily cause splashing. This splashing phenomenon not only stains pedestrians' clothing and shoes, causing great inconvenience and distress, but can also affect their mood and travel experience. Summary of the Invention
[0003] An object of the embodiments of the present disclosure is to provide an anti-splashing method, device, and electronic device.
[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an anti-splashing method, comprising:
[0005] Detect whether electronic devices come into contact with liquid;
[0006] When it is detected that the electronic device is in contact with liquid, detecting the flow rate of the liquid to the electronic device;
[0007] The fan on the electronic device is controlled to rotate according to the flow rate, and the direction or intensity of the airflow on the surface of the electronic device is adjusted to prevent the liquid from splashing onto the surface of the electronic device.
[0008] Optionally, the method further includes:
[0009] In the case where it is detected that the electronic device is not in contact with liquid, the step of detecting whether the electronic device is in contact with liquid is continued.
[0010] Optionally, the method further includes:
[0011] collecting sound wave information through a microphone of the electronic device;
[0012] When the similarity between the sound wave information and the preset reference sound wave information is greater than or equal to a first threshold, the step of detecting whether the electronic device is in contact with liquid is performed.
[0013] Optionally, the method further includes:
[0014] collecting sound wave information through a microphone of the electronic device;
[0015] determining whether the sound wave information changes;
[0016] When the sound wave information changes, the step of detecting whether the electronic device is in contact with liquid is performed.
[0017] Optionally, the electronic device is a shoe, and when the sound wave information changes, executing the step of detecting whether the electronic device is in contact with liquid includes:
[0018] In the case where the sound wave information changes, determining whether the road surface type of the road surface on which the shoe is located is a target type;
[0019] In a case where the road surface type is the target type, detecting whether the shoe is in contact with liquid.
[0020] Optionally, determining whether the road surface type of the road on which the shoe is located is a target type includes:
[0021] sending a shooting request to a shooting device that has established a communication connection with the shoe, and receiving an identification result of whether the road surface type is the target type returned by the shooting device in response to the shooting request;
[0022] Determine whether the road surface type is the target type according to the recognition result.
[0023] Optionally, the method further includes:
[0024] In a case where the road surface type is not the target type, the step of collecting sound wave information through the microphone of the electronic device and determining whether the sound wave information changes is continued.
[0025] Optionally, detecting the flow rate of the liquid to the electronic device includes:
[0026] detecting a moving speed of the electronic device, and determining the flow rate according to the moving speed; and / or,
[0027] The pressure of the liquid acting on the electronic device is detected, and the flow rate is determined according to the pressure.
[0028] Optionally, controlling the rotation of a fan on the electronic device according to the flow rate includes:
[0029] determining a target speed of the fan according to the flow rate;
[0030] The fan is controlled to rotate according to the target speed.
[0031] Optionally, the method further includes:
[0032] Obtaining a posture change frequency of the electronic device;
[0033] The fan is also controlled to rotate in an alternating operating mode according to the posture change frequency, so as to periodically adjust the direction or intensity of the airflow on the surface of the electronic equipment.
[0034] Optionally, the method further includes:
[0035] Acquiring posture data of the electronic device;
[0036] An operating mode of the fan is adjusted according to the posture data.
[0037] Optionally, the method further includes:
[0038] detecting whether the electronic device is moved;
[0039] In the case where movement of the electronic device is detected, a step of detecting whether the electronic device is in contact with liquid is performed.
[0040] According to a second aspect of the present disclosure, there is provided an anti-splashing device, comprising:
[0041] A liquid detection module, used to detect whether the electronic device is in contact with liquid;
[0042] a flow detection module, configured to detect the flow of the liquid to the electronic device when it is detected that the electronic device is in contact with the liquid;
[0043] The control module is used to control the rotation of the fan on the electronic device according to the flow rate, and adjust the direction or intensity of the airflow on the surface of the electronic device to prevent the liquid from splashing onto the surface of the electronic device.
[0044] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0045] The device according to the second aspect of the present disclosure; or
[0046] A processor and a memory, wherein the memory is used to store a computer program, and the processor is used to execute the method according to the first aspect of the present disclosure under the control of the computer program.
[0047] According to the embodiments of the present disclosure, when contact between an electronic device and liquid is detected, the fan on the electronic device is controlled to rotate, thereby preventing the liquid from splashing onto the surface of the electronic device and preventing the liquid from soiling the surface of the electronic device.
[0048] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0050] Figure 1 is a flow chart of an anti-splashing method according to one embodiment of the present disclosure;
[0051] Figure 2 is a schematic diagram of a shoe according to one embodiment of the present disclosure;
[0052] Figure 3 is a flow chart of an anti-splashing method according to another embodiment of the present disclosure.
[0053] Figure 4 is a block diagram of an anti-splash device according to one embodiment of the present disclosure;
[0054] Figure 5 is a block diagram of an electronic device according to one embodiment of the present disclosure. DETAILED DESCRIPTION
[0055] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention.
[0056] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0057] Technologies, methods and equipment known to persons of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such technologies, methods and equipment should be considered part of the specification.
[0058] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0059] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0060] <Method Example>
[0061] The present disclosure provides a splash prevention method, such as Figure 1 As shown, the anti-splashing method may include steps S1100 to S1300 as shown below:
[0062] Step S1100: detecting whether the electronic device is in contact with liquid.
[0063] The electronic device in this embodiment can be any product that can implement the anti-splash method, for example, it can be shoes, headphones, glasses, mobile phone cases, etc.
[0064] In this embodiment, a liquid detection sensor capable of sensing the presence of liquid may be pre-installed in the electronic device. The liquid detection sensor may be a water immersion sensor, a capacitive pipe liquid level sensor, an optical liquid level sensor, a vibration liquid level sensor, a conductivity liquid level sensor, an ultrasonic liquid level sensor, a radar liquid level sensor, etc.
[0065] Water sensors work based on the principle of liquid conductivity. They detect the presence of water using electrodes and then convert the detection result into a dry contact output. These devices are typically in a normally open state. When the two-pole probe becomes wet, the probe conducts, and the sensor outputs a dry contact signal. When the probe is submerged to approximately 1 mm, an alarm is generated.
[0066] Capacitive pipe level sensors use the capacitive sensing principle to detect the presence of liquid in a pipe by measuring changes in capacitance. These sensors can accurately detect a variety of liquids in pipes, including water, wine, and beverages. They are suitable only for non-metallic pipes and are unaffected by the color of the liquid.
[0067] Optical liquid level sensors use a light source and a detector to monitor liquid levels. When the sensor tip is in air, light is reflected back to the detector. However, when the sensor contacts liquid, the light is refracted, reducing the amount of light received by the detector, thereby detecting the presence of liquid.
[0068] Vibrating level sensors detect liquid level changes by changing the frequency of a vibrating element (such as a tuning fork). When the vibrating element comes into contact with liquid, its vibration frequency changes, triggering a switch signal that can be used to detect the presence of liquid.
[0069] Conductivity level sensors detect liquid levels by measuring changes in the liquid's electrical conductivity. They consist of a long probe that transmits a low voltage and a shorter probe whose tip is located at the switch point. When liquid contacts the two probes, current flows through them, activating the switch. These sensors are suitable for detecting the presence of conductive liquids.
[0070] The ultrasonic liquid level sensor transmits ultrasonic pulses, which are reflected on the liquid surface and received by the sensor. The liquid level is calculated based on the time difference between the transmission and reception of the ultrasonic wave and the propagation speed of the ultrasonic wave in the air, thereby determining whether the liquid exists and the height of the liquid level.
[0071] The radar level sensor uses radar technology to work by emitting microwave signals and measuring the time it takes for the signals to be reflected back to the sensor. By calculating the time it takes for the return signal to be reflected, the liquid level can be determined. It can be used to detect the presence and height of liquids.
[0072] The liquid detection sensor of this embodiment can accurately detect whether an electronic device is in contact with liquid.
[0073] In this embodiment, the location of the liquid sensor can be determined according to the usage scenario of the electronic device.
[0074] In an embodiment where the electronic device is a shoe, a liquid detection sensor may be provided on the sole of the shoe to accurately detect whether the sole of the shoe is in contact with liquid.
[0075] In some embodiments, the shoes may include a liquid detection sensor. The position of the liquid detection sensor on the sole of the shoe is determined based on the user's walking habits and the occasion of use of the shoes, and the position where the user first touches the ground during walking. For example, the liquid detection sensor can be set at the position on the sole of the shoe corresponding to the heel, such as Figure 2 shown.
[0076] In some embodiments, the shoe may also include multiple liquid detection sensors, which may be arranged along the front-to-back direction of the shoe, so that different liquid detection sensors touch the ground in different orders while the user is walking.
[0077] By providing the liquid detection sensor in the manner of this embodiment, it is possible to timely and accurately detect whether the sole of the shoe is in contact with liquid.
[0078] Step S1200: When it is detected that the electronic device is in contact with liquid, the flow rate of the liquid to the electronic device is detected.
[0079] In this embodiment, the flow rate of the liquid to the electronic device may be the volume, area, mass, or number of drops of liquid flowing to the surface of the electronic device per unit time, wherein the unit time may be 1 second.
[0080] In some embodiments, detecting the flow rate of liquid to the electronic device includes: detecting the moving speed of the electronic device, and determining the flow rate according to the moving speed.
[0081] In this embodiment, first mapping data reflecting the mapping relationship between the moving speed and the liquid flow rate can be pre-set; according to the moving speed of the electronic device and the first mapping data, the liquid flow rate corresponding to the moving speed of the electronic device is obtained as the flow rate of the liquid to the electronic device.
[0082] The first mapping data may be a first mapping function, or a first comparison table, etc., which is not limited here.
[0083] For the first mapping function, the dependent variable of the first mapping function is the liquid flow rate, and the independent variable is the moving speed. In this way, by substituting the moving speed of the electronic device into the first mapping function, the liquid flow rate corresponding to the moving speed can be obtained as the flow rate of the liquid to the electronic device.
[0084] The first lookup table can be used to find the liquid flow rate corresponding to the movement speed of the electronic device. If the movement speed cannot be directly found in the first lookup table, two values adjacent to the movement speed of the electronic device can be found. Based on these two values and the liquid flow rates corresponding to these two values, the liquid flow rate corresponding to the movement speed can be obtained by interpolation as the liquid flow rate of the electronic device.
[0085] In some embodiments, detecting the flow rate of liquid to the electronic device includes: detecting the pressure of the liquid acting on the electronic device, and determining the flow rate based on the pressure.
[0086] In this embodiment, second mapping data reflecting the mapping relationship between pressure and liquid flow can be pre-set; based on the pressure of the liquid acting on the electronic device and the second mapping data, the liquid flow corresponding to the pressure of the liquid acting on the electronic device is obtained as the flow of the liquid to the electronic device.
[0087] The second mapping data may be a second mapping function, or a second comparison table, etc., which is not limited here.
[0088] For the second mapping function, the dependent variable of the second mapping function is the liquid flow rate, and the independent variable is the pressure. In this way, by substituting the pressure of the liquid acting on the electronic device into the second mapping function, the liquid flow rate corresponding to the pressure of the liquid acting on the electronic device can be obtained as the flow rate of the liquid to the electronic device.
[0089] The second lookup table can be used to find the liquid flow rate corresponding to the pressure exerted by the liquid on the electronic device. This can be used as the flow rate of the liquid to the electronic device. If the pressure cannot be directly found in the second lookup table, two adjacent values of the pressure exerted by the liquid on the electronic device can be found. Based on these two values and the liquid flow rates corresponding to these two values, the liquid flow rate corresponding to the pressure can be obtained by interpolation as the flow rate of the liquid to the electronic device.
[0090] In some embodiments, detecting the flow rate of liquid to the electronic device includes: detecting the moving speed of the electronic device and the pressure of the liquid acting on the electronic device, and determining the flow rate according to the moving speed and the pressure.
[0091] In this embodiment, third mapping data reflecting the mapping relationship between moving speed, pressure and liquid flow can be pre-set; according to the moving speed of the electronic device, the pressure of the liquid acting on the electronic device and the third mapping data, the liquid flow corresponding to the moving speed of the electronic device and the pressure of the liquid acting on the electronic device is obtained as the flow of the liquid to the electronic device.
[0092] The third mapping data may be a third mapping function, or a third comparison table, etc., which is not limited here.
[0093] For the third mapping function, the dependent variable of the third mapping function is the liquid flow rate, and the independent variables are the moving speed and pressure. In this way, by substituting the moving speed of the electronic device and the pressure of the liquid acting on the electronic device into the third mapping function, the liquid flow rate corresponding to the moving speed of the electronic device and the pressure of the liquid acting on the electronic device can be obtained as the flow rate of the liquid to the electronic device.
[0094] For the third lookup table, the liquid flow rate corresponding to the moving speed of the electronic device and the pressure of the liquid acting on the electronic device can be looked up in the third lookup table as the flow rate of the liquid to the electronic device.
[0095] In step S1300 , the fan on the electronic device is controlled to rotate according to the flow of the liquid to the electronic device, and the direction or intensity of the airflow on the surface of the electronic device is adjusted to prevent the liquid from splashing onto the surface of the electronic device.
[0096] In this embodiment, the electronic device may include a controller, a fan and a driving circuit for the fan. When it is detected that the electronic device is in contact with liquid, the controller in the electronic device may control the driving circuit to output a driving signal to the fan to make the fan rotate.
[0097] Furthermore, when it is detected that the electronic device is not in contact with the liquid, the controller may control the drive circuit to stop outputting the drive signal to the fan, so that the fan stops rotating, thereby reducing the power consumption of the electronic device.
[0098] In this embodiment, the fan on the electronic device rotates to change the direction or intensity of the airflow on the surface of the electronic device, forming an umbrella-shaped wind barrier on the surface of the electronic device to prevent liquid from splashing onto the surface of the electronic device.
[0099] In the embodiment where the electronic device is a shoe, the fan can be arranged at the front end of the shoe upper, such as Figure 2 shown.
[0100] When a user is wearing shoes and there is water on the road, the water may splash onto the front of the shoe as the user walks on the road. In order to prevent the liquid on the road from staining the shoes, this embodiment places the fan on the front of the shoe, which can reduce the problem of the liquid on the road staining the shoes.
[0101] According to the embodiments of the present disclosure, when contact between an electronic device and liquid is detected, the fan on the electronic device is controlled to rotate, thereby preventing the liquid from splashing onto the surface of the electronic device and preventing the liquid from soiling the surface of the electronic device.
[0102] In some embodiments, the rotation of a fan on an electronic device is controlled according to the flow rate of liquid to the electronic device, including: controlling the rotation of the fan when the flow rate of liquid to the electronic device is greater than a sixth threshold value; controlling the fan to stop rotating when the flow rate of liquid to the electronic device is less than or equal to the sixth threshold value.
[0103] The sixth threshold may be set in advance according to an application scenario or specific requirements.
[0104] In some embodiments, controlling the rotation of a fan on an electronic device according to the flow rate of liquid to the electronic device includes: determining a target rotation speed of the fan according to the flow rate of liquid to the electronic device; and controlling the rotation of the fan according to the target rotation speed.
[0105] In this embodiment, fourth mapping data reflecting the mapping relationship between flow rate and rotation speed can be pre-set; according to the flow rate of liquid to the electronic device and the fourth mapping data, the rotation speed corresponding to the flow rate of liquid to the electronic device is obtained as the target rotation speed.
[0106] The fourth mapping data may be a fourth mapping function, or a fourth comparison table, etc., which is not limited here.
[0107] For the fourth mapping function, the dependent variable of the fourth mapping function is the rotational speed, and the independent variable is the flow rate. In this way, by substituting the flow rate of the liquid to the electronic device into the fourth mapping function, the rotational speed corresponding to the flow rate of the liquid to the electronic device can be obtained as the target rotational speed.
[0108] The fourth lookup table can be used to find the rotational speed corresponding to the flow rate of the liquid to the electronic device. If the flow rate of the liquid to the electronic device cannot be directly found in the fourth lookup table, two values adjacent to the flow rate of the liquid to the electronic device can be found. Based on these two values and the rotational speeds corresponding to these two values, an interpolation method can be used to obtain the rotational speed corresponding to the flow rate of the liquid to the electronic device as the target rotational speed.
[0109] Through this embodiment, the rotation speed of the fan can be adaptively adjusted according to the flow rate of liquid to the electronic device, which can prevent the liquid from splashing onto the surface of the electronic device and reduce the power consumption of the electronic device.
[0110] In some embodiments, the method further includes: obtaining the posture change frequency of the electronic device; and controlling the fan to rotate in an alternating operating mode according to the posture change frequency, and periodically adjusting the direction or intensity of the airflow on the surface of the electronic device.
[0111] The movement mode of the fan may include at least one of the speed of the fan, the direction of the fan, and the rotation direction of the fan.
[0112] In this embodiment, the posture data of the electronic device may be collected according to a posture sensor provided in the electronic device, and the posture change frequency of the electronic device may be determined according to the collected posture data.
[0113] In an embodiment where the electronic device is a shoe, when a user walks (including running) in the shoe, the user usually changes the posture of the foot at a fixed frequency. Therefore, the acquired posture change frequency can represent the frequency of the user's walking or running.
[0114] A walking cycle of the user is a complete process starting from when one of the user's heels touches the ground to when the foot touches the ground again.
[0115] In this embodiment, the operation mode of the fan changes alternately during each walking cycle of the user, and the alternating change rules of the operation modes can be the same or different, which is not limited here.
[0116] In some embodiments, the method further includes: acquiring posture data of the electronic device; and adjusting the operating mode of the fan according to the posture data.
[0117] In an embodiment where the electronic device is a shoe, when the posture data indicates that the user's foot is in the support phase, the operating mode of the fan can be determined to be the first mode; when the posture data indicates that the user's foot is in the swing phase, the operating mode of the fan can be determined to be the second mode.
[0118] In different motion modes, the speed of the fan may be different, the orientation of the fan may be different, or the rotation direction of the fan may be different.
[0119] Through this embodiment, the operation mode of the fan can be adaptively adjusted according to the posture of the electronic device during the user's walking.
[0120] In some embodiments, when it is detected that the electronic device is not in contact with liquid, step S1100 is re-executed to detect whether the electronic device is in contact with liquid.
[0121] Through this embodiment, when the environment around the electronic device changes, it can be detected in time that the electronic device is in contact with liquid, thereby preventing the liquid from contaminating the surface of the electronic device.
[0122] In some embodiments, the anti-splash method may also include: controlling the microphone of the electronic device to collect sound wave information; when the similarity between the sound wave information and the preset reference sound wave information is greater than or equal to a first threshold, executing step S1100 to detect whether the electronic device is in contact with liquid.
[0123] In an embodiment where the electronic device is a shoe, the sound wave information collected by the microphone may be the sound wave information generated by the shoe moving on the road.
[0124] In some embodiments, sound wave information generated by a user moving on a wet or waterlogged road surface that is prone to splashing may be collected in advance by a microphone as reference sound wave information.
[0125] Furthermore, when it is determined that the similarity between the sound wave information most recently collected by the microphone and the reference sound wave information is greater than or equal to a first threshold, and it is determined that the user is wearing shoes and moving on a wet or water-logged road surface that is prone to splashing, the liquid detection sensor is controlled to start, so that the liquid detection sensor detects whether the electronic device is in contact with liquid, so that the fan can be turned on in time when the electronic device is in contact with liquid to prevent the liquid from dirtying the surface of the electronic device.
[0126] In some embodiments, the anti-splash method may further include: controlling a microphone of the electronic device to collect sound wave information; determining whether the sound wave information changes; and if the sound wave information changes, executing step S1100 to detect whether the electronic device is in contact with liquid.
[0127] In this embodiment, when the user has just put on the shoes, he or she usually walks on a road surface without liquid. If the sound wave information has not changed, it means that there is no liquid on the road surface and there is no risk of liquid on the road surface splashing onto the shoe surface. Therefore, there is no need to detect whether the shoes are in contact with liquid, and the liquid detection sensor may not work to reduce the power consumption of the shoes.
[0128] Specifically, the liquid detection sensor does not work because the power supply does not supply power to the liquid detection sensor, or because the controller stops outputting an enable signal to the liquid detection sensor.
[0129] In this embodiment, if the sound wave information changes, indicating that the road environment has changed and liquid may appear on the road surface, then the liquid detection sensor can be controlled to start, so that the liquid detection sensor can detect whether the shoes are in contact with liquid, so that the fan can be turned on in time when the shoes are in contact with liquid to prevent the liquid from dirtying the shoe surface.
[0130] Specifically, the liquid detection sensor is started by the power supply supplying power to the liquid detection sensor, or by the controller outputting an enable signal to the liquid detection sensor.
[0131] In some embodiments, the electronic device is a shoe. Then, when the sound wave information changes, step S1100 is executed, including: when the sound wave information changes, determining whether the road surface type of the road surface where the shoe is located is the target type; when the road surface type is the target type, detecting whether the shoe is in contact with liquid.
[0132] In this embodiment, the road surface type can include a splash-prone type and a non-splash-prone type, and the target type can be a splash-prone type. The splash-prone type refers to a road surface type that easily causes liquids to splash, including wet or waterlogged asphalt roads, wet or waterlogged cement roads, muddy roads, and roads after melting ice and snow. The non-splash-prone type refers to a road surface type that does not easily cause liquids to splash, including permeable roads, anti-skid roads, porous asphalt roads, rubber roads, etc.
[0133] In some embodiments, the shoe may be provided with a camera. Then, determining whether the road surface type of the shoe is the target type includes: photographing the road surface on which the shoe is located, and identifying whether the road surface type is the target type based on the photographed image.
[0134] In some embodiments, the shoe is not provided with a camera. Then, determining whether the road surface type of the road surface on which the shoe is located is the target type includes: sending a shooting request to a shooting device that establishes a communication connection with the shoe, receiving an identification result of whether the road surface type is the target type returned by the shooting device in response to the shooting request; and determining whether the road surface type is the target type based on the identification result.
[0135] The photographing device may respond to a photographing request, photograph the road surface on which the shoes are located, and identify whether the road surface type is a target type based on the photographed image.
[0136] In this embodiment, the shooting device can be an electronic product with a camera, such as a mobile phone, headphones, or AR glasses.
[0137] Furthermore, the photographing device may establish a communication connection with the communication module and perform data exchange via Wi-Fi, UWB (Ultra Wide Band), Bluetooth, LTE (Long Term Evolution), or the like.
[0138] Furthermore, the photographing device may perform recognition processing on the photographed image based on a pre-trained machine learning model to obtain a recognition result of whether the road surface type is the target type.
[0139] When the road surface type is not the target type, the shoe moves on the road surface and the liquid on the road surface will not splash onto the shoe surface. Therefore, there is no need to detect whether the shoe is in contact with the liquid, and the liquid detection sensor may not work to reduce the power consumption of the shoe.
[0140] When the road surface type is the target type, the shoes move on the road surface and the liquid on the road surface may splash onto the shoe surface. Then, the liquid detection sensor can be controlled to start, so that the liquid detection sensor detects whether the shoes are in contact with liquid, so that the fan can be turned on in time when the shoes are in contact with liquid to prevent the liquid from dirtying the shoe surface.
[0141] In some embodiments, the anti-splash method further includes: when the road surface type is not the target type, continuing to perform the steps of collecting sound wave information and determining whether the sound wave information has changed.
[0142] In some embodiments, the anti-splash method further includes: detecting whether the electronic device is moving; and when the movement of the electronic device is detected, executing the step of detecting whether the electronic device is in contact with liquid.
[0143] In some embodiments, the electronic device may include an acceleration sensor and a first processing unit, the acceleration sensor is used to collect acceleration data of the electronic device, and the first processing unit is used to detect whether the electronic device moves based on the acceleration data.
[0144] In this embodiment, the first processing unit may determine that the electronic device has moved if the acceleration of the electronic device is determined to be greater than or equal to a second threshold value based on the acceleration data. The second threshold value may be an acceleration value pre-set based on an application scenario or specific needs, for example, the second threshold value may be zero.
[0145] Furthermore, the first processing unit may determine the movement displacement of the electronic device based on the acceleration data of the electronic device, and determine that the electronic device has moved if the movement displacement is greater than or equal to a third threshold. The third threshold may be a displacement pre-set based on an application scenario or specific needs, for example, the third threshold may be 1 meter.
[0146] In some embodiments, the electronic device is a shoe. Then, the electronic device may include a pressure sensor and a second processing unit. The pressure sensor is used to collect pressure data on the shoe, and the second processing unit is used to detect whether the shoe moves based on the pressure data.
[0147] In this embodiment, the user needs to apply pressure to the shoes when wearing the shoes and moving. Therefore, the second processing unit can detect whether the shoes are moving based on the pressure data.
[0148] In one example, the second processing unit may determine that the shoe is moving if it is determined based on the pressure data that the pressure on the shoe is greater than or equal to a fourth threshold. The fourth threshold may be a pressure pre-set based on an application scenario or specific needs, for example, the fourth threshold may be 600N.
[0149] In another example, the second processing unit may determine the change between the maximum and minimum pressures applied to the shoe within a statistical period based on the pressure data, and determine that the shoe has moved if the change is greater than or equal to a fifth threshold. The duration of the statistical period may be a predetermined duration based on an application scenario or specific needs, for example, 3 seconds. The fifth threshold may be a predetermined pressure based on an application scenario or specific needs, for example, 600N.
[0150] Through the embodiments of the present disclosure, it is possible to accurately detect whether the shoe is moving.
[0151] In this embodiment, the first processing unit, the second processing unit, and the control module may be provided by the same processor or by different processors, which is not limited here.
[0152] In some embodiments, the microphone can be activated when the motion detection sensor detects movement of the electronic device. Furthermore, the microphone and liquid detection sensor can be deactivated when the electronic device is detected to be stationary for a period exceeding a set time. This can reduce the power consumption of the electronic device.
[0153] The set duration may be set in advance according to an application scenario or specific needs. For example, the set duration may be 10 minutes.
[0154] Figure 3 4 is a flow chart of a splash prevention method in an embodiment in which the electronic device is a shoe.
[0155] like Figure 3 As shown, the anti-splash method may include: detecting whether the shoe moves; when the shoe moves, collecting sound wave information generated by the shoe moving on the road surface; determining whether the sound wave information changes; when the sound wave information changes, sending a shooting request to a shooting device that establishes a communication connection with the shoe, receiving an identification result of the road surface type returned by the shooting device in response to the shooting request, determining whether the identification result indicates that the road surface type is the target type, and when the identification result indicates that the road surface type is the target type, detecting whether the shoe is in contact with liquid, and when the shoe is detected to be in contact with liquid, controlling the fan on the shoe to rotate to prevent the liquid from splashing onto the shoe surface.
[0156] <Device Example>
[0157] The present disclosure provides a splash-proof device, such as Figure 4 As shown, the anti-splash device 4000 may include a liquid detection module 4100 , a flow detection module 4200 and a control module 4300 .
[0158] The liquid detection module 4100 is used to detect whether the electronic device is in contact with liquid.
[0159] The flow detection module 4200 is configured to detect the flow of the liquid to the electronic device when it is detected that the electronic device is in contact with the liquid.
[0160] The control module 4300 is used to control the rotation of the fan on the electronic device according to the flow rate, and adjust the direction or intensity of the airflow on the surface of the electronic device to prevent liquid from splashing onto the surface of the electronic device.
[0161] In some embodiments, the liquid detection module 4100 is further configured to: when it is detected that the electronic device is not in contact with liquid, continue to execute the step of detecting whether the electronic device is in contact with liquid.
[0162] In some embodiments, the anti-splash device 4000 further includes:
[0163] A sound wave collection module, configured to collect sound wave information via a microphone of the electronic device;
[0164] The liquid detection module 4100 is configured to execute the step of detecting whether the electronic device is in contact with liquid when the similarity between the sound wave information and the preset reference sound wave information is greater than or equal to a first threshold.
[0165] In some embodiments, the anti-splash device 4000 further includes:
[0166] A sound wave collection module, configured to collect sound wave information via a microphone of the electronic device;
[0167] a change determination module, configured to determine whether the sound wave information has changed;
[0168] The liquid detection module 4100 is used to execute the step of detecting whether the electronic device is in contact with liquid when the sound wave information changes.
[0169] In some embodiments, the flow detection module 4200 is further configured to:
[0170] detecting a moving speed of the electronic device, and determining the flow rate according to the moving speed; and / or,
[0171] The pressure of the liquid acting on the electronic device is detected, and the flow rate is determined according to the pressure.
[0172] In some embodiments, controlling the rotation of a fan on the electronic device according to the flow rate includes:
[0173] determining a target speed of the fan according to the flow rate;
[0174] The fan is controlled to rotate according to the target speed.
[0175] In some embodiments, the anti-splash device 4000 further includes:
[0176] A frequency acquisition module, configured to acquire the posture change frequency of the electronic device;
[0177] The control module 4300 further controls the fan to rotate in an alternating operating mode according to the posture change frequency, and periodically adjusts the direction or intensity of the airflow on the surface of the electronic device.
[0178] In some embodiments, the anti-splash device 4000 further includes:
[0179] A posture acquisition module, used to acquire posture data of the electronic device;
[0180] The control module 4300 adjusts the operation mode of the wind turbine according to the posture data.
[0181] In some embodiments, the electronic device is a shoe, and the anti-splash device 4000 includes:
[0182] a type determination module, configured to determine whether the road surface type on which the shoe is located is a target type when the sound wave information changes;
[0183] The liquid detection module 4100 is used to detect whether the shoe is in contact with liquid when the road surface type is the target type.
[0184] In some embodiments, determining whether the road surface type of the road surface on which the shoe is located is a target type includes:
[0185] sending a shooting request to a shooting device that has established a communication connection with the shoe, and receiving an identification result of whether the road surface type is the target type returned by the shooting device in response to the shooting request;
[0186] Determine whether the road surface type is the target type according to the recognition result.
[0187] In some embodiments, the sound wave collection module is used to continue to execute the step of collecting sound wave information through the microphone of the electronic device when the road surface type is not the target type.
[0188] In some embodiments, the anti-splash device 4000 further includes:
[0189] A movement detection module, configured to detect whether the electronic device is moving;
[0190] The liquid detection module 4100 is configured to, when movement of the electronic device is detected, execute a step of detecting whether the electronic device is in contact with liquid.
[0191] In an embodiment where the electronic device is a shoe, a pressure switch can be provided in the power supply circuit of the movement detection module. When the user is standing while wearing the shoes, the force applied to the pressure switch causes it to conduct, powering the movement detection module and causing it to operate. When the user is not wearing shoes, or is sitting while wearing shoes, the pressure switch is disconnected, powering the movement detection module and causing it to cease operation. This reduces the power consumption of the splash prevention device.
[0192] <Electronic Equipment Example>
[0193] The present disclosure provides an electronic device. In one aspect, the electronic device may include the aforementioned anti-splash device 4000 .
[0194] On the other hand, Figure 5 As shown, the electronic device 5000 includes a processor 5100 and a memory 5200, wherein the memory 5200 is used to store a computer program, and the processor 5100 is used to execute the method described in the above embodiment under the control of the computer program.
[0195] The electronic device in this embodiment can be any product that can implement the aforementioned anti-splash method, for example, it can be shoes, headphones, glasses, mobile phone cases, etc.
[0196] <Readable Storage Medium Embodiment>
[0197] This embodiment provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method described in any method embodiment of the present disclosure is executed.
[0198] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0199] A computer-readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination thereof. As used herein, a computer-readable storage medium is not to be construed as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through an electrical wire.
[0200] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.
[0201] The computer program instructions for performing the operation of the present invention can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, and conventional procedural programming languages such as "C" language or similar programming languages. The computer readable program instructions can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), is personalized by utilizing the state information of the computer readable program instructions, and the electronic circuit can execute the computer readable program instructions, thereby realizing various aspects of the present invention.
[0202] Various aspects of the present invention are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present invention. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0203] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0204] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0205] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of an instruction, and the module, program segment or part of the instruction contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
[0206] While various embodiments of the present invention have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technological improvements in the marketplace, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A splash prevention method, characterized in that: include: Detect whether electronic devices come into contact with liquid; When it is detected that the electronic device is in contact with liquid, detecting the flow rate of the liquid to the electronic device; The fan on the electronic device is controlled to rotate according to the flow rate, and the direction or intensity of the airflow on the surface of the electronic device is adjusted to prevent the liquid from splashing onto the surface of the electronic device.
2. The method according to claim 1, characterized in that The method further comprises: collecting sound wave information through a microphone of the electronic device; When the similarity between the sound wave information and the preset reference sound wave information is greater than or equal to a first threshold, the step of detecting whether the electronic device is in contact with liquid is performed.
3. The method according to claim 1, characterized in that The method further comprises: collecting sound wave information through a microphone of the electronic device; determining whether the sound wave information changes; When the sound wave information changes, the step of detecting whether the electronic device is in contact with liquid is performed.
4. The method according to claim 1, wherein The detecting the flow rate of the liquid to the electronic device includes: detecting a moving speed of the electronic device, and determining the flow rate according to the moving speed; and / or, The pressure of the liquid acting on the electronic device is detected, and the flow rate is determined according to the pressure.
5. The method according to claim 1, wherein The step of controlling the rotation of a fan on the electronic device according to the flow rate includes: determining a target speed of the fan according to the flow rate; The fan is controlled to rotate according to the target speed.
6. The method according to claim 1, characterized in that The method further comprises: Obtaining a posture change frequency of the electronic device; The fan is also controlled to rotate in an alternating operating mode according to the posture change frequency, so as to periodically adjust the direction or intensity of the airflow on the surface of the electronic equipment.
7. The method according to claim 6, characterized in that The method further comprises: Acquiring posture data of the electronic device; An operating mode of the fan is adjusted according to the posture data.
8. The method according to claim 1, characterized in that The method further comprises: detecting whether the electronic device is moved; In the case where movement of the electronic device is detected, a step of detecting whether the electronic device is in contact with liquid is performed.
9. An anti-splash device, characterized in that: include: A liquid detection module, used to detect whether the electronic device is in contact with liquid; a flow detection module, configured to detect the flow of the liquid to the electronic device when it is detected that the electronic device is in contact with the liquid; The control module is used to control the rotation of the fan on the electronic device according to the flow rate, and adjust the direction or intensity of the airflow on the surface of the electronic device to prevent the liquid from splashing onto the surface of the electronic device.
10. An electronic device, characterized in that: include: The device according to claim 9; or, A processor and a memory, the memory being used to store a computer program, the processor being used to execute the method according to any one of claims 1 to 8 under the control of the computer program.