WO2020172771A1 - Water immersion detection method and electronic device - Google Patents

Water immersion detection method and electronic device Download PDF

Info

Publication number
WO2020172771A1
WO2020172771A1 PCT/CN2019/076060 CN2019076060W WO2020172771A1 WO 2020172771 A1 WO2020172771 A1 WO 2020172771A1 CN 2019076060 W CN2019076060 W CN 2019076060W WO 2020172771 A1 WO2020172771 A1 WO 2020172771A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
ultrasonic
touch screen
water
environment
Prior art date
Application number
PCT/CN2019/076060
Other languages
French (fr)
Chinese (zh)
Inventor
廖松妹
刘浩东
张亮
沈晔星
杨波
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2019/076060 priority Critical patent/WO2020172771A1/en
Priority to CN201980056930.XA priority patent/CN112639459B/en
Publication of WO2020172771A1 publication Critical patent/WO2020172771A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N29/00Investigating or analysing materials by the use of ultrasonic, sonic or infrasonic waves; Visualisation of the interior of objects by transmitting ultrasonic or sonic waves through the object

Definitions

  • This application relates to the field of detection technology, in particular to a water immersion detection method and electronic equipment.
  • the capacitive touch screen used in electronic devices has a multi-point trigger function.
  • the triggering effect of water on the screen is similar to the triggering effect of human skin on the screen. It is easy to light up the screen and cause misoperation.
  • an electronic device is dropped into water, if it is turned on for a long time, its main board may be damaged by water.
  • the user needs to manually set the electronic device to enter the swimming mode before swimming; after the swimming, the wristband or the watch swimming mode needs to be manually turned off, which is complicated and affects the user experience.
  • the embodiments of the present application provide a water immersion detection method and an electronic device to detect the water immersion condition of the electronic device, thereby turning off the touch response function of the electronic device in time, and improving the user experience.
  • an embodiment of the present application provides a submergence detection method, the submergence detection method is used in an electronic device, the electronic device includes a touch screen, and the method includes: detecting multi-point trigger information of the touch screen of the electronic device, The multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered in N different positions within the first preset time; the N is greater than or equal to 2; if it is determined that the touch screen of the electronic device is in the first preset time Assuming that the number of times that N different positions are simultaneously triggered within the time is greater than the preset value, the touch response function of the touch screen of the electronic device is turned off. In this way, it can automatically detect whether the electronic device is in the water, so that the touch response function of the electronic device can be turned off in time to prevent accidental touch.
  • the touch screen of the electronic device is re-detected. Click the trigger information. Therefore, it is possible to more accurately determine whether the electronic device is in the water through multiple detections.
  • an embodiment of the present application provides a water immersion detection method.
  • the water immersion detection method is used in an electronic device, the electronic device includes a touch screen, and the method includes: ultrasonic detection of the environment in which the electronic device is located; The descriptive features of the ultrasonic signal are extracted from the ultrasonic detection results. If it is determined that the electronic device is in the water based on the descriptive features of the ultrasonic signal and the pre-stored parameter table, the touch response function of the touch screen of the electronic device is turned off;
  • the parameter table includes the correspondence between the description characteristics of the ultrasonic signal and the environment in which the electronic device is located. As a result, the touch response function of the electronic device can be automatically turned off to prevent accidental touches.
  • the method before the ultrasonic detection of the environment in which the electronic device is located, the method further includes: detecting multi-point trigger information of the touch screen of the electronic device, where the multi-point trigger information includes all The number of times that the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time; the N is greater than or equal to 2; correspondingly; the ultrasonic detection of the environment in which the electronic device is located includes: if determined The number of times that the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time is greater than the preset value, and ultrasonic detection of the environment in which the electronic device is located is started. In this way, it can automatically detect whether the electronic device is in the water, so that the touch response function of the electronic device can be turned off in time to prevent accidental touch.
  • the touch screen of the electronic device is re-detected. Click the trigger information. Therefore, it is possible to more accurately determine whether the electronic device is in the water through multiple detections.
  • the ultrasonic detection of the environment in which the electronic device is located is stopped, and the detection is performed again. Multi-point trigger information of the touch screen of the electronic device. As a result, the ultrasonic power consumption of the electronic device can be reduced.
  • the method further includes: performing ultrasonic detection on the environment in which the electronic device is located at a preset time interval; The descriptive features of the ultrasonic signal extracted from the result and the parameter table, if it is determined that the electronic device is in water, the touch response function of the touch screen of the electronic device is kept off; if it is determined that the electronic device is not in water, it is turned on The touch response function of the touch screen of the electronic device. In this way, the touch response function of the electronic device can be automatically turned on after the electronic device leaves the water, without manual operation, and the user experience is improved.
  • an embodiment of the present application provides an electronic device, the electronic device includes: a touch screen, an ultrasonic detection device, and a processor connected to the ultrasonic detection device, the ultrasonic detection device is used to Ultrasonic detection is performed in the environment, and the ultrasonic detection result is sent to the processor; the processor is used to extract the descriptive features of the ultrasonic signal from the ultrasonic detection result; the processor is also used to: If it is determined that the electronic device is in the water, the touch response function of the touch screen of the electronic device is turned off, and the parameter table includes the description characteristics of the ultrasonic signal and the environment in which the electronic device is located. Correspondence between.
  • the processor is further configured to, if it is determined that the electronic device is not in the water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table, turn off the ultrasonic detection device. As a result, the ultrasonic power consumption of the electronic device can be reduced.
  • the processor is further configured to, after turning off the touch response function of the touch screen of the electronic device, control the ultrasonic detection device to perform an inspection on the environment in which the electronic device is located at preset time intervals.
  • Ultrasonic detection the description characteristics of the ultrasonic signal in the ultrasonic detection result and the parameter table, it is determined that the electronic device is in the water, then the touch response function of the touch screen of the electronic device is kept off; if it is determined that the electronic device is not Under water, the touch response function of the touch screen of the electronic device is turned on.
  • an embodiment of the present application provides an electronic device, the electronic device includes: a touch screen, a sensor provided in the screen of the electronic device, and a processor connected to the sensor; the sensor is used for detecting Multi-point trigger information of the touch screen of the electronic device, and send the multi-point trigger information to the processor; the multi-point trigger information includes N different information of the touch screen of the electronic device within a first preset time The number of times the position is triggered at the same time; the N is greater than or equal to 2; correspondingly; the processor is also used for determining the number of times the touch screen of the electronic device is triggered at the same time in N different positions within the first preset time If it is greater than the preset value, the touch response function of the touch screen of the electronic device is turned off.
  • the processor is further configured to: if the number of times that the touch screen of the electronic device is triggered at multiple points within the first preset time is less than or equal to the preset value, re-control The sensor detects multi-point trigger information of the touch screen of the electronic device.
  • an embodiment of the present application provides an electronic device, the electronic device includes: a touch screen, an ultrasonic detection device, and a processor connected to the ultrasonic detection device, the ultrasonic detection device is used for the electronic equipment Ultrasonic detection is performed in the environment, and the ultrasonic detection result is sent to the processor; the processor is used to extract the descriptive features of the ultrasonic signal from the ultrasonic detection result; the processor is also used to: If it is determined that the electronic device is in the water, the touch response function of the touch screen of the electronic device is turned off, and the parameter table includes the description characteristics of the ultrasonic signal and the environment in which the electronic device is located. Correspondence between.
  • the electronic device further includes: a sensor provided in a screen of the electronic device, the sensor is connected to the processor; the sensor is used to detect the touch screen of the electronic device Multi-point trigger information, and send the multi-point trigger information to the processor; the multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered in N different positions within a first preset time; The N is greater than or equal to 2; correspondingly; the processor is further configured to, if it is determined that the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time is greater than a preset value, control The ultrasonic detection device starts ultrasonic detection of the environment in which the electronic device is located.
  • the processor is further configured to: if the number of times that the touch screen of the electronic device is triggered at multiple points within the first preset time is less than or equal to the preset value, re-control The sensor detects multi-point trigger information of the touch screen of the electronic device.
  • the processor is further configured to: if it is determined that the electronic device is not in the water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table, turn off the ultrasonic detection device, and restart Control the sensor to detect multi-point trigger information of the touch screen of the electronic device.
  • the processor is further configured to, after turning off the touch response function of the touch screen of the electronic device, control the ultrasonic detection device to perform an inspection on the environment in which the electronic device is located at preset time intervals.
  • Ultrasonic detection according to the descriptive features of the ultrasonic signal extracted from the ultrasonic detection result and the parameter table, if it is determined that the electronic device is in the water, the touch response function of the touch screen of the electronic device is kept closed; if it is determined that the If the electronic device is not in the water, the touch response function of the touch screen of the electronic device is turned on.
  • the ultrasonic detection device includes: an ultrasonic transmitting unit and an ultrasonic receiving unit.
  • the ultrasonic transmitting unit is a speaker
  • the ultrasonic receiving unit is a microphone
  • the descriptive characteristics of the ultrasonic signal include: ultrasonic waveform, ultrasonic frequency, or ultrasonic wave amplitude.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 2 is a schematic flow chart of a water immersion detection method provided by an embodiment of the application
  • FIG. 3 is a schematic structural diagram of an ultrasonic detection device provided by an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of a smart watch provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of a usage scenario of a smart watch provided by an embodiment of the application.
  • FIG. 6 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • FIG. 8 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application.
  • FIG. 9 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • FIG. 10 is a schematic flow chart of another water immersion detection method provided by an embodiment of the application.
  • FIG. 11 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application.
  • the embodiment of the application provides an electronic device.
  • the electronic device has, for example, a waterproof function.
  • the electronic device may be a smart wearable device or a mobile phone.
  • the smart wearable device may include a smart bracelet or a smart watch.
  • the electronic device includes a touch screen with a multi-point trigger function.
  • the touch screen may be, for example, a capacitive touch screen.
  • the capacitive touch screen works by using current induction of the human body. For example, it can be a four-layer composite glass screen.
  • the inner surface and the interlayer of the glass screen are each coated with a layer of indium tin oxide (ITO), the outermost layer is a thin layer of silica glass protective layer, and the interlayer ITO coating
  • ITO indium tin oxide
  • the layer is used as the working surface, four electrodes are drawn on the four corners, and the inner ITO is a shielding layer to ensure a good working environment.
  • the capacitor is a direct conductor, so the finger draws a small current from the contact point. This current flows from the electrodes on the four corners of the touch screen, and the current flowing through these four electrodes is proportional to the distance from the finger to the four corners.
  • the position of the touch point can be obtained by accurately calculating the ratio of these four currents.
  • the triggering effect of the impact of water on the touch screen is similar to the triggering effect of human skin on the screen, and it is easy to light up the screen.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • the electronic device 10 includes a touch screen 2, a processor 101 and an ultrasonic detection device 102.
  • the ultrasonic detection device 102 is used to perform ultrasonic detection on the environment in which the electronic device is located, and send the ultrasonic detection result to the processor 101.
  • the processor 101 is configured to extract descriptive features of the ultrasonic signal from the ultrasonic detection result.
  • the processor 101 is further configured to: if it is determined that the electronic device is in the water according to the description characteristics of the ultrasonic signal and the pre-stored parameter table, turn off the touch response function of the touch screen of the electronic device.
  • FIG. 2 is a schematic flowchart of a water immersion detection method provided by an embodiment of the application.
  • the water immersion detection method shown in FIG. 2 is used for the method shown in FIG. Electronic equipment.
  • the water immersion detection method includes the following steps:
  • the ultrasonic detection device performs ultrasonic detection on the environment where the electronic equipment is located.
  • FIG. 3 is a schematic structural diagram of an ultrasonic detection device provided by an embodiment of the application.
  • the ultrasonic detection device 102 includes: an ultrasonic transmitting unit 11 and an ultrasonic receiving unit 12, wherein both the ultrasonic transmitting unit 11 and the ultrasonic receiving unit 12 are connected to the processor 101.
  • the ultrasonic transmitting unit 11 is used to transmit ultrasonic signals to the environment in which the electronic device is located
  • the ultrasonic receiving unit 12 is used to receive the direct or reflected ultrasonic signals sent by the ultrasonic transmitting unit, and send the received ultrasonic signals to the processor 101 , So as to realize the ultrasonic detection of the environment in which the electronic equipment is located.
  • the electronic device may be a smart watch
  • FIG. 4 is a schematic structural diagram of a smart watch provided in an embodiment of the application.
  • the smart watch 1 includes a touch screen 2, an ultrasonic transmitting unit 11, and an ultrasonic receiving unit 12.
  • the ultrasonic transmitting unit 11 may be, for example, a speaker or a transducer provided on an electronic device
  • the ultrasonic receiving unit 12 may be, for example, It may be a microphone provided on an electronic device, and a waterproof membrane is attached to the microphone and the speaker, for example.
  • the speaker of the electronic device can be reused as the ultrasonic transmitting unit, and the microphone can be used as the ultrasonic receiving unit, without adding new components, which is convenient for production.
  • Fig. 5 is a schematic diagram of a usage scenario of a smart watch provided by an embodiment of the application.
  • the ultrasonic signal can propagate a preset distance, for example, when the distance from the ultrasonic transmitting position exceeds the preset distance, the ultrasonic signal will not be received.
  • the propagation distance of the ultrasonic signal sent by the ultrasonic transmitter unit 11 of the smart watch is greater than the linear distance between the ultrasonic transmitter unit 11 and the ultrasonic receiver unit 12, so that the ultrasonic receiver unit can receive the ultrasonic signal, and the ultrasonic The signal propagation distance is less than the distance between the user wearing the smart watch and other users wearing the smart watch. Therefore, when different users wear the smart watch for swimming, even if multiple smart watches send ultrasonic signals at the same time, they will not Interfere with each other.
  • the preset distance D may be 20 cm, for example.
  • the processor extracts the description feature of the ultrasonic signal from the ultrasonic detection result, and determines that the electronic device is located in the water according to the description feature of the ultrasonic signal and a pre-stored parameter table.
  • the ultrasonic receiving unit 12 can receive the ultrasonic signal passing through the environment of the electronic device as the ultrasonic detection result.
  • the processor of the electronic device can extract the descriptive feature of the ultrasonic signal from the ultrasonic detection result.
  • the descriptive feature of the ultrasonic signal can be extracted, for example, including: Obtain the waveform characteristics, frequency value, and amplitude value from the ultrasonic detection results.
  • the electronic device 10 further includes a memory 103, which may be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, or EEPROM, CD-ROM or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store instructions or data structures The form of desired program code and any other medium that can be accessed by the computer, but not limited to this.
  • the memory 103 may exist independently and is connected to the processor 101 through a communication bus.
  • the memory 103 may also be integrated with the processor 101. Among them, the memory 103 is used to store a software program for executing the solution of the present application, and the processor 101 controls the execution.
  • the memory 103 also stores a parameter table, etc., and the processor 101 can run or execute a software program stored in the memory 103 and call the parameter table stored in the memory 103 to determine the environment of the electronic device.
  • the parameter table includes the corresponding relationship between each description feature of the ultrasonic signal and the environment in which the electronic device is located. For example, an environment in which the electronic device is located may correspond to one or more description characteristics of the ultrasonic signal.
  • the processor 101 receives the ultrasonic detection result, it can determine the environment where the current electronic device is located according to the descriptive characteristics of one or more ultrasonic signals in the ultrasonic detection result.
  • the description characteristics of the ultrasonic signal can specifically be: ultrasonic wave, ultrasonic frequency, and ultrasonic amplitude.
  • the environment of the electronic device can be, for example, water, air, and other environments.
  • the environment of the electronic device can be expressed as 00 , 01, 10, can also be 1, 2, 3, or A, B, C, etc.
  • the corresponding relationship between the ultrasonic signal description feature of the parameter table and the environment in which the electronic device is located can be obtained by training using a convolutional neural network. First, a large number of ultrasonic signals passing through the environment of the electronic device in water, air, and other scenes can be collected, and description features can be extracted from the ultrasonic signals, and the corresponding relationship between each extracted description feature and the environment of the device can be determined. Then, a convolution operation is performed on the corresponding relationship between the description feature and the environment of the electronic device through the convolutional neural network to establish a model, and the relevant parameters in the model are extracted to establish the parameter table.
  • the processor turns off the touch response function of the touch screen of the electronic device.
  • the touch screen of the electronic device works by using the current induction of the human body, and can respond to the user's trigger.
  • the impact effect of water on the touch screen is similar to the user's touch.
  • the touch response function of the touch screen of the electronic device When the touch response function of the touch screen of the electronic device is turned on, the touch screen of the electronic device will respond to the user's touch or the impact of water flow.
  • the touch response function of the touch screen of the electronic device When the touch response function of the touch screen of the electronic device is turned off, the touch screen of the electronic device will not respond to the user's trigger or the impact of the water flow.
  • the touch response function of the touch screen of an electronic device especially a watch or a bracelet, is turned on.
  • the processor 101 can turn off the touch response function of the touch screen of the electronic device when it is determined that the electronic device is located in the water.
  • turning off the touch response function of the touch screen of the electronic device includes: the processor 101 controls the sensor in the touch screen of the electronic device not to collect data, or controls the touch screen to send trigger information to the processor 101 after receiving a user's trigger or the impact of water flow The processor 101 does not respond to the user's trigger or the impact of the water flow, thereby preventing the water from erroneously triggering the touch screen of the electronic device.
  • the electronic device can also be turned off.
  • the water immersion detection method provided by the embodiments of the present application can determine the environment of the electronic device through ultrasonic detection.
  • the touch response function of the touch screen of the electronic device can be turned off in time, thereby avoiding water's error on the touch screen of the electronic device. Triggered, the process does not require manual operation, which improves user experience.
  • the water immersion detection method further includes, for example, if the processor determines that the electronic device is not in the water according to the descriptive characteristics of the ultrasonic signal and the pre-stored parameter table, stopping the ultrasonic detection of the environment in which the electronic device is located.
  • the electronic device When the user wears the electronic device to wash his hands, bathe, swim or dive, the electronic device may be in the water for a period of time and not in the water for a period of time.
  • the user finishes washing his hands, bathing, swimming or diving he can choose to stop the environment where the electronic device is located Ultrasonic detection is performed to ensure that the user has finished bathing or swimming, and the time that the user is not in the water is detected to at least reach a first threshold.
  • the first threshold may be, for example, a cycle of a swimming action or a bathing action of the user.
  • Turning off the ultrasonic detection device based on the descriptive characteristics of the ultrasonic signal and the pre-stored parameter table determines that the electronic device is not in the water. It may also include: determining that the electronic device is not in the water for the first time according to the descriptive characteristics of the ultrasonic signal and the pre-stored parameter table When a threshold is reached, the ultrasonic detection of the environment in which the electronic device is located is stopped.
  • the ultrasonic detection of the environment in which the electronic device is located can be stopped, which can solve the problem of excessive power consumption of the ultrasonic detection.
  • FIG. 6 is a schematic flow chart of another water immersion detection method provided by an embodiment of the application. As shown in Figure 6, after turning off the touch response function of the touch screen of the electronic device, the water immersion detection method further includes:
  • the processor controls the ultrasonic detection device to perform ultrasonic detection on the environment where the electronic device is located at a preset time interval.
  • the preset time interval can be, for example, 1s, 1min, or other values.
  • the embodiment of the present application does not limit the specific value of the preset time interval.
  • the time required for the user to wash hands, bathe, swim, or dive is different, so that the electronic device is detected in time.
  • those skilled in the art can set a suitable time interval according to the actual situation, which all fall within the protection scope of this application.
  • Ultrasonic detection of the environment in which the electronic device is located at preset time intervals can reduce ultrasonic power consumption compared with always performing ultrasonic detection.
  • the processor extracts the descriptive characteristics of the ultrasonic signal from the ultrasonic detection result, and determines that the electronic device is not in the water according to the descriptive characteristics and parameter table of the ultrasonic signal.
  • the descriptive features of the ultrasonic signal extracted from the ultrasonic detection result correspond to the air or other environments in the parameter table, it can be determined that the electronic device is not in the water, and the user is considered to have finished washing hands, bathing, swimming or diving.
  • the processor enables the touch response function of the touch screen of the electronic device.
  • the touch response function of the touch screen of the electronic device can be automatically turned on without manual operation by the user, which improves the user experience.
  • the water immersion detection method provided by the embodiment of the present application can automatically start the touch response function of the touch screen of the electronic device after the electronic device leaves the water, without manual operation, and improves the user experience.
  • the immersion detection method further includes: if it is determined that the electronic device is located in the water according to the descriptive characteristics and parameter table of the ultrasonic signal, maintaining the state of turning off the touch response function of the touch screen of the electronic device.
  • the descriptive characteristics of the ultrasonic signal extracted from the ultrasonic detection result correspond to the state of the water in the parameter table, it can be determined that the electronic device is still in the water, and the user is considered to be washing hands, bathing, swimming or diving, and the touch screen of the electronic device can be kept closed. The status of the touch response function.
  • FIG. 7 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • the electronic device 10 includes: a touch screen 2, a memory 103, a processor 101, and a sensor 104 provided in the touch screen 2 of the electronic device.
  • the sensor 104 is used to detect the multi-point trigger information of the touch screen of the electronic device, and send the multi-point trigger information to the processor 101.
  • the multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time, and N is greater than or equal to 2.
  • the processor 101 is further configured to turn off the touch screen of the electronic device 10 if it is determined that the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time is greater than the preset value pre-stored in the memory 103 The touch response function.
  • the touch screen may be, for example, a capacitive touch screen, and the capacitive touch screen can detect the multi-point trigger information.
  • the processor is further configured to, if the number of times that the touch screen of the electronic device is triggered by multiple points within the first preset time is less than or equal to the preset value, re-control the sensor to detect the multiple points of the touch screen of the electronic device. Click the trigger information.
  • FIG. 8 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application.
  • the water immersion detection method in FIG. 8 is used for the electronic equipment shown in FIG. 7.
  • the water immersion detection method includes the following steps:
  • the sensor detects multi-point trigger information of the touch screen of the electronic device.
  • the multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time; N is greater than or equal to 2.
  • the touch response function of the touch screen of the electronic device is often turned on, and the multi-point trigger information of the touch screen of the electronic device can be detected at any time.
  • the first preset time can be 100ms, 1s or 2s; the N different positions can be random positions or fixed positions. This application does not limit the specific values of the location information at the first preset time and N different locations, and those skilled in the art can sample and obtain them according to actual conditions, and these all fall within the protection scope of this application.
  • the processor determines that the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within a first preset time is greater than a preset value.
  • the multi-point trigger frequency of the touch screen of the electronic device by the user is less than the multi-point trigger frequency of the touch screen of the electronic device by water. Therefore, when the touch screen of the electronic device is triggered at the same time in N different positions within the first preset time If the number of times is greater than the preset value, it can be determined that the electronic device is located in the water.
  • the preset value can be 1, 2 or 6. This application does not limit the specific value of the preset value, and those skilled in the art can sample and obtain it according to actual conditions, and these all fall within the protection scope of this application.
  • the processor turns off the touch response function of the touch screen of the electronic device.
  • the touch response function of the touch screen of the electronic device can be turned off, thereby preventing the water from erroneously triggering the touch screen of the electronic device.
  • the water immersion detection method provided by the embodiments of the present application can automatically detect whether the electronic device is in the water by detecting the multi-point trigger information of the touch screen of the electronic device, so that the touch response function of the electronic device can be turned off in time to prevent accidental touch.
  • the water immersion detection method may further include: if it is determined that the number of times the touch screen of the electronic device is triggered by multiple points within the first preset time is less than or equal to a preset value, redetecting the multi-point trigger information of the touch screen of the electronic device.
  • the multi-point trigger information belongs to the user.
  • the normal trigger operation therefore, it is possible to maintain the state of enabling the touch response function of the touch screen of the electronic device, and re-detect the multi-point trigger information of the touch screen of the electronic device.
  • the water immersion detection method provided in the embodiments of the present application can continuously detect the multi-point trigger information of the touch screen of the electronic device, and can more accurately determine whether the electronic device is in the water.
  • FIG. 9 is a schematic structural diagram of another electronic device provided by an embodiment of the application.
  • the electronic device 10 includes: a touch screen 2, a memory 103, an ultrasonic detection device 102, a processor 101, and a sensor 104 provided in the touch screen 2 of the electronic device.
  • FIG. 10 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application.
  • the water immersion detection method shown in FIG. 10 is used in the electronic device shown in FIG. 9.
  • the water immersion detection method includes the following steps:
  • the sensor detects multi-point trigger information of the touch screen of the electronic device.
  • the multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time; N is greater than or equal to 2.
  • the processor determines that the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within a first preset time is greater than a preset value.
  • the multi-point trigger information of the touch screen of the electronic device is detected again. Therefore, it is possible to more accurately determine whether the electronic device is in the water through multiple detections.
  • the ultrasonic detection device performs ultrasonic detection on the environment where the electronic equipment is located;
  • the processor extracts the description feature of the ultrasonic signal from the ultrasonic detection result, and determines that the electronic device is located in the water according to the description feature of the ultrasonic signal and a pre-stored parameter table.
  • the parameter table includes the correspondence between the ultrasonic signal description characteristics and the environment in which the electronic device is located.
  • the processor turns off the touch response function of the touch screen of the electronic device.
  • the ultrasonic detection device is turned off, and the multi-point trigger information of the touch screen of the electronic device is detected again. As a result, the ultrasonic power consumption of the electronic device can be reduced.
  • the immersion detection method provided in the embodiments of the application can automatically detect the multi-point trigger information of the touch screen of the electronic device, and then trigger the ultrasonic detection of the environment in which the electronic device is located according to the multi-point trigger information, and can accurately determine the immersion condition of the electronic device Therefore, the touch response function of the touch screen of the electronic device can be turned off in time to prevent accidental touch.
  • FIG. 11 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application. As shown in FIG. 11, after the touch response function of the touch screen of the electronic device is turned off, the water immersion detection method further includes:
  • the processor controls the ultrasonic detection device to perform ultrasonic detection on the environment where the electronic device is located at a preset time interval.
  • the processor extracts the description feature of the ultrasonic signal from the ultrasonic detection result, and determines that the electronic device is not in the water according to the description feature of the ultrasonic signal and a pre-stored parameter table.
  • the processor enables the touch response function of the touch screen of the electronic device.
  • the touch response function of the touch screen of the electronic device is kept turned off.

Abstract

A water immersion detection method, which is used for an electronic device that comprises a touch screen. The method comprises: performing ultrasonic detection in an environment in which the electronic device is located; and extracting a description feature of an ultrasonic signal from the ultrasonic detection result, and if determined that the electronic device is located in water according to the description feature of the ultrasonic signal and a pre-stored parameter table, turning off a touch response function of the touch screen of the electronic device, wherein the parameter table comprises a correspondence between the description feature of the ultrasonic signal and the environment in which the electronic device is located. Thus, when the electronic device is immersed in water, the touch response function of the electronic device may be automatically turned off to prevent accidental touch.

Description

浸水检测方法及电子设备Water immersion detection method and electronic equipment 技术领域Technical field
本申请涉及检测技术领域,尤其涉及一种浸水检测方法及电子设备。This application relates to the field of detection technology, in particular to a water immersion detection method and electronic equipment.
背景技术Background technique
目前,大部分的电子设备都具有防水特性,用户在洗手、洗澡、游泳或者潜水时可以不用取下智能穿戴设备。At present, most electronic devices are waterproof, and users do not need to remove the smart wearable device when washing hands, bathing, swimming or diving.
但是,电子设备采用的电容式触摸屏具有多点触发功能,当电子设备浸水时,水对屏幕的触发效应类似于人体皮肤对屏幕的触发效应,很容易点亮屏幕,从而导致误操作,除此之外,当电子设备掉入水中时,如果长时间开启,可能会导致其主板浸水损坏。However, the capacitive touch screen used in electronic devices has a multi-point trigger function. When the electronic device is immersed in water, the triggering effect of water on the screen is similar to the triggering effect of human skin on the screen. It is easy to light up the screen and cause misoperation. In addition, when an electronic device is dropped into water, if it is turned on for a long time, its main board may be damaged by water.
因此,用户在游泳之前,需要手动设定电子设备进入游泳模式;游泳结束后,需要手动关闭手环或手表游泳模式,操作较为复杂,影响用户体验。Therefore, the user needs to manually set the electronic device to enter the swimming mode before swimming; after the swimming, the wristband or the watch swimming mode needs to be manually turned off, which is complicated and affects the user experience.
发明内容Summary of the invention
本申请实施例提供一种浸水检测方法及电子设备,以检测电子设备的浸水情况,从而及时关闭电子设备的触摸响应功能,提高了用户体验。The embodiments of the present application provide a water immersion detection method and an electronic device to detect the water immersion condition of the electronic device, thereby turning off the touch response function of the electronic device in time, and improving the user experience.
为达到上述目的,本申请的实施例采用如下技术方案:In order to achieve the foregoing objectives, the embodiments of the present application adopt the following technical solutions:
第一方面,本申请实施例提供一种浸水检测方法,所述浸水检测方法用于电子设备,所述电子设备包括触摸屏,所述方法包括:检测所述电子设备的触摸屏的多点触发信息,所述多点触发信息包括所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数;所述N大于或等于2;若确定所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于预设值,则关闭所述电子设备的触摸屏的触摸响应功能。由此,能够自动检测电子设备是否在水中,从而可以及时关闭电子设备的触摸响应功能,防止误触。In a first aspect, an embodiment of the present application provides a submergence detection method, the submergence detection method is used in an electronic device, the electronic device includes a touch screen, and the method includes: detecting multi-point trigger information of the touch screen of the electronic device, The multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered in N different positions within the first preset time; the N is greater than or equal to 2; if it is determined that the touch screen of the electronic device is in the first preset time Assuming that the number of times that N different positions are simultaneously triggered within the time is greater than the preset value, the touch response function of the touch screen of the electronic device is turned off. In this way, it can automatically detect whether the electronic device is in the water, so that the touch response function of the electronic device can be turned off in time to prevent accidental touch.
在可选的实现方式中,若所述电子设备的触摸屏在所述第一预设时间内多点被触发的次数小于或等于所述预设值,则重新检测所述电子设备的触摸屏的多点触发信息。由此,通过多次检测能够更加准确的判断电子设备是否在水中。In an optional implementation manner, if the number of times that the touch screen of the electronic device is triggered by multiple points within the first preset time is less than or equal to the preset value, then the touch screen of the electronic device is re-detected. Click the trigger information. Therefore, it is possible to more accurately determine whether the electronic device is in the water through multiple detections.
第二方面,本申请实施例提供一种浸水检测方法,所述浸水检测方法用于电子设备,所述电子设备包括触摸屏,所述方法包括:对所述电子设备所处环境进行超声波检测;从超声波检测结果中提取超声波信号的描述特征,若根据所述超声波信号的描述特征和预先存储的参数表判断所述电子设备位于水中,则关闭所述电子设备的触摸屏的触摸响应功能;其中,所述参数表包括所述超声波信号描述特征与所述电子设备所处环境之间的对应关系。由此,能够自动关闭电子设备的触摸响应功能,防止误触。In a second aspect, an embodiment of the present application provides a water immersion detection method. The water immersion detection method is used in an electronic device, the electronic device includes a touch screen, and the method includes: ultrasonic detection of the environment in which the electronic device is located; The descriptive features of the ultrasonic signal are extracted from the ultrasonic detection results. If it is determined that the electronic device is in the water based on the descriptive features of the ultrasonic signal and the pre-stored parameter table, the touch response function of the touch screen of the electronic device is turned off; The parameter table includes the correspondence between the description characteristics of the ultrasonic signal and the environment in which the electronic device is located. As a result, the touch response function of the electronic device can be automatically turned off to prevent accidental touches.
在可选的实现方式中,所述对所述电子设备所处环境进行超声波检测之前,所述方法还包括:检测所述电子设备的触摸屏的多点触发信息,所述多点触发信息包括所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数;所述N大于或等于2;相应的;所述对所述电子设备所处环境进行超声波检测包括:若确定所述 电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于预设值,开始对所述电子设备所处环境进行超声波检测。由此,能够自动检测电子设备是否在水中,从而可以及时关闭电子设备的触摸响应功能,防止误触。In an optional implementation manner, before the ultrasonic detection of the environment in which the electronic device is located, the method further includes: detecting multi-point trigger information of the touch screen of the electronic device, where the multi-point trigger information includes all The number of times that the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time; the N is greater than or equal to 2; correspondingly; the ultrasonic detection of the environment in which the electronic device is located includes: if determined The number of times that the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time is greater than the preset value, and ultrasonic detection of the environment in which the electronic device is located is started. In this way, it can automatically detect whether the electronic device is in the water, so that the touch response function of the electronic device can be turned off in time to prevent accidental touch.
在可选的实现方式中,若所述电子设备的触摸屏在所述第一预设时间内多点被触发的次数小于或等于所述预设值,则重新检测所述电子设备的触摸屏的多点触发信息。由此,通过多次检测能够更加准确的判断电子设备是否在水中。In an optional implementation manner, if the number of times that the touch screen of the electronic device is triggered by multiple points within the first preset time is less than or equal to the preset value, then the touch screen of the electronic device is re-detected. Click the trigger information. Therefore, it is possible to more accurately determine whether the electronic device is in the water through multiple detections.
在可选的实现方式中,若根据所述超声波信号的描述特征和预先存储的参数表确定所述电子设备不在水中,则停止对所述电子设备所处环境进行超声波检测,并重新检测所述电子设备的触摸屏的多点触发信息。由此,能够降低电子设备的超声波功耗。In an optional implementation manner, if it is determined that the electronic device is not in the water according to the descriptive characteristics of the ultrasonic signal and the pre-stored parameter table, the ultrasonic detection of the environment in which the electronic device is located is stopped, and the detection is performed again. Multi-point trigger information of the touch screen of the electronic device. As a result, the ultrasonic power consumption of the electronic device can be reduced.
在可选的实现方式中,所述关闭所述电子设备的触摸屏的触摸响应功能后,所述方法还包括:以预设时间间隔对所述电子设备所处的环境进行超声波检测;根据超声波检测结果中提取的超声波信号的描述特征和所述参数表,确定所述电子设备位于水中,则保持关闭所述电子设备的触摸屏的触摸响应功能的状态;若确定所述电子设备不在水中,则开启所述电子设备的触摸屏的触摸响应功能。由此,能够在电子设备离开水之后自动开启电子设备的触摸响应功能,无需人工操作,提高了用户体验。In an optional implementation manner, after the touch response function of the touch screen of the electronic device is turned off, the method further includes: performing ultrasonic detection on the environment in which the electronic device is located at a preset time interval; The descriptive features of the ultrasonic signal extracted from the result and the parameter table, if it is determined that the electronic device is in water, the touch response function of the touch screen of the electronic device is kept off; if it is determined that the electronic device is not in water, it is turned on The touch response function of the touch screen of the electronic device. In this way, the touch response function of the electronic device can be automatically turned on after the electronic device leaves the water, without manual operation, and the user experience is improved.
第三方面,本申请实施例提供一种电子设备,所述电子设备包括:触摸屏,超声波检测装置,以及与所述超声波检测装置连接的处理器,所述超声波检测装置用于对所述电子设备所处环境进行超声波检测,并将超声波检测结果发送给所述处理器;所述处理器用于从超声波检测结果中提取超声波信号的描述特征;所述处理器还用于,若根据所述超声波信号的描述特征和预先存储的参数表判断所述电子设备位于水中,则关闭所述电子设备的触摸屏的触摸响应功能,所述参数表包括所述超声波信号描述特征与所述电子设备所处环境之间的对应关系。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes: a touch screen, an ultrasonic detection device, and a processor connected to the ultrasonic detection device, the ultrasonic detection device is used to Ultrasonic detection is performed in the environment, and the ultrasonic detection result is sent to the processor; the processor is used to extract the descriptive features of the ultrasonic signal from the ultrasonic detection result; the processor is also used to: If it is determined that the electronic device is in the water, the touch response function of the touch screen of the electronic device is turned off, and the parameter table includes the description characteristics of the ultrasonic signal and the environment in which the electronic device is located. Correspondence between.
在可选的实现方式中,所述处理器还用于,若根据所述超声波信号的描述特征和预先存储的参数表确定所述电子设备不在水中,则关闭所述超声波检测装置。由此,能够降低电子设备的超声波功耗。In an optional implementation manner, the processor is further configured to, if it is determined that the electronic device is not in the water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table, turn off the ultrasonic detection device. As a result, the ultrasonic power consumption of the electronic device can be reduced.
在可选的实现方式中,所述处理器还用于,关闭所述电子设备的触摸屏的触摸响应功能后,控制所述超声波检测装置以预设时间间隔对所述电子设备所处的环境进行超声波检测;超声波检测结果中的超声波信号的描述特征和所述参数表,确定所述电子设备位于水中,则保持关闭所述电子设备的触摸屏的触摸响应功能的状态;若确定所述电子设备不在水中,则开启所述电子设备的触摸屏的触摸响应功能。In an optional implementation manner, the processor is further configured to, after turning off the touch response function of the touch screen of the electronic device, control the ultrasonic detection device to perform an inspection on the environment in which the electronic device is located at preset time intervals. Ultrasonic detection; the description characteristics of the ultrasonic signal in the ultrasonic detection result and the parameter table, it is determined that the electronic device is in the water, then the touch response function of the touch screen of the electronic device is kept off; if it is determined that the electronic device is not Under water, the touch response function of the touch screen of the electronic device is turned on.
第四方面,本申请实施例提供一种电子设备,所述电子设备包括:触摸屏,设置在所述电子设备的屏幕中的传感器,以及与所述传感器连接的处理器;所述传感器用于检测所述电子设备的触摸屏的多点触发信息,并将所述多点触发信息发送给所述处理器;所述多点触发信息包括所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数;所述N大于或等于2;相应的;所述处理器还用于,若确定所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于预设值,则关闭所述电子设备的触摸屏的触摸响应功能。In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device includes: a touch screen, a sensor provided in the screen of the electronic device, and a processor connected to the sensor; the sensor is used for detecting Multi-point trigger information of the touch screen of the electronic device, and send the multi-point trigger information to the processor; the multi-point trigger information includes N different information of the touch screen of the electronic device within a first preset time The number of times the position is triggered at the same time; the N is greater than or equal to 2; correspondingly; the processor is also used for determining the number of times the touch screen of the electronic device is triggered at the same time in N different positions within the first preset time If it is greater than the preset value, the touch response function of the touch screen of the electronic device is turned off.
在可选的实现方式中,所述处理器还用于,若所述电子设备的触摸屏在所述第一预设时间内多点被触发的次数小于或等于所述预设值,则重新控制所述传感器检测所 述电子设备的触摸屏的多点触发信息。In an optional implementation manner, the processor is further configured to: if the number of times that the touch screen of the electronic device is triggered at multiple points within the first preset time is less than or equal to the preset value, re-control The sensor detects multi-point trigger information of the touch screen of the electronic device.
第五方面,本申请实施例提供一种电子设备,所述电子设备包括:触摸屏,超声波检测装置,以及与所述超声波检测装置连接的处理器,所述超声波检测装置用于对所述电子设备所处环境进行超声波检测,并将超声波检测结果发送给所述处理器;所述处理器用于从超声波检测结果中提取超声波信号的描述特征;所述处理器还用于,若根据所述超声波信号的描述特征和预先存储的参数表判断所述电子设备位于水中,则关闭所述电子设备的触摸屏的触摸响应功能,所述参数表包括所述超声波信号描述特征与所述电子设备所处环境之间的对应关系。In a fifth aspect, an embodiment of the present application provides an electronic device, the electronic device includes: a touch screen, an ultrasonic detection device, and a processor connected to the ultrasonic detection device, the ultrasonic detection device is used for the electronic equipment Ultrasonic detection is performed in the environment, and the ultrasonic detection result is sent to the processor; the processor is used to extract the descriptive features of the ultrasonic signal from the ultrasonic detection result; the processor is also used to: If it is determined that the electronic device is in the water, the touch response function of the touch screen of the electronic device is turned off, and the parameter table includes the description characteristics of the ultrasonic signal and the environment in which the electronic device is located. Correspondence between.
在可选的实现方式中,所述电子设备还包括:设置在所述电子设备的屏幕中的传感器,所述传感器与所述处理器连接;所述传感器用于检测所述电子设备的触摸屏的多点触发信息,并将所述多点触发信息发送给所述处理器;所述多点触发信息包括所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数;所述N大于或等于2;相应的;所述处理器还用于,若确定所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于预设值,则控制所述超声波检测装置开始对所述电子设备所处环境进行超声波检测。In an optional implementation manner, the electronic device further includes: a sensor provided in a screen of the electronic device, the sensor is connected to the processor; the sensor is used to detect the touch screen of the electronic device Multi-point trigger information, and send the multi-point trigger information to the processor; the multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered in N different positions within a first preset time; The N is greater than or equal to 2; correspondingly; the processor is further configured to, if it is determined that the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time is greater than a preset value, control The ultrasonic detection device starts ultrasonic detection of the environment in which the electronic device is located.
在可选的实现方式中,所述处理器还用于,若所述电子设备的触摸屏在所述第一预设时间内多点被触发的次数小于或等于所述预设值,则重新控制所述传感器检测所述电子设备的触摸屏的多点触发信息。In an optional implementation manner, the processor is further configured to: if the number of times that the touch screen of the electronic device is triggered at multiple points within the first preset time is less than or equal to the preset value, re-control The sensor detects multi-point trigger information of the touch screen of the electronic device.
在可选的实现方式中,所述处理器还用于,若根据所述超声波信号的描述特征和预先存储的参数表确定所述电子设备不在水中,则关闭所述超声波检测装置,并则重新控制所述传感器检测所述电子设备的触摸屏的多点触发信息。In an optional implementation manner, the processor is further configured to: if it is determined that the electronic device is not in the water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table, turn off the ultrasonic detection device, and restart Control the sensor to detect multi-point trigger information of the touch screen of the electronic device.
在可选的实现方式中,所述处理器还用于,关闭所述电子设备的触摸屏的触摸响应功能后,控制所述超声波检测装置以预设时间间隔对所述电子设备所处的环境进行超声波检测;根据超声波检测结果中提取的超声波信号的描述特征和所述参数表,若确定所述电子设备位于水中,则保持关闭所述电子设备的触摸屏的触摸响应功能的状态;若确定所述电子设备不在水中,则开启所述电子设备的触摸屏的触摸响应功能。In an optional implementation manner, the processor is further configured to, after turning off the touch response function of the touch screen of the electronic device, control the ultrasonic detection device to perform an inspection on the environment in which the electronic device is located at preset time intervals. Ultrasonic detection; according to the descriptive features of the ultrasonic signal extracted from the ultrasonic detection result and the parameter table, if it is determined that the electronic device is in the water, the touch response function of the touch screen of the electronic device is kept closed; if it is determined that the If the electronic device is not in the water, the touch response function of the touch screen of the electronic device is turned on.
在可选的实现方式中,所述超声波检测装置包括:超声波发送单元和超声波接收单元。In an optional implementation manner, the ultrasonic detection device includes: an ultrasonic transmitting unit and an ultrasonic receiving unit.
在可选的实现方式中,所述超声波发送单元为扬声器,所述超声波接收单元为麦克风。由此,能够复用电子设备的扬声器和麦克风,无需额外增加新的部件,便于生产。In an optional implementation manner, the ultrasonic transmitting unit is a speaker, and the ultrasonic receiving unit is a microphone. As a result, the speakers and microphones of the electronic device can be reused without adding new components, which is convenient for production.
在可选的实现方式中,所述超声波信号的描述特征包括:超声波波形、超声波频率或超声波波幅。In an optional implementation manner, the descriptive characteristics of the ultrasonic signal include: ultrasonic waveform, ultrasonic frequency, or ultrasonic wave amplitude.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the application will be more concise and understandable in the description of the following embodiments.
附图说明Description of the drawings
图1为本申请实施例提供的一种电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the application;
图2为本申请实施例提供的一种浸水检测方法的流程示意图;FIG. 2 is a schematic flow chart of a water immersion detection method provided by an embodiment of the application;
图3为本申请实施例提供的超声波检测装置的结构示意图;FIG. 3 is a schematic structural diagram of an ultrasonic detection device provided by an embodiment of the application;
图4为本申请实施例提供的智能手表的结构示意图;FIG. 4 is a schematic structural diagram of a smart watch provided by an embodiment of the application;
图5为本申请实施例提供的智能手表的使用场景示意图;FIG. 5 is a schematic diagram of a usage scenario of a smart watch provided by an embodiment of the application;
图6为本申请实施例提供的另一种浸水检测方法的流程示意图;FIG. 6 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application;
图7为本申请实施例提供的另一种电子设备的结构示意图;FIG. 7 is a schematic structural diagram of another electronic device provided by an embodiment of the application;
图8为本申请实施例提供的另一种浸水检测方法的流程示意图;FIG. 8 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application;
图9为本申请实施例提供的另一种电子设备的结构示意图;9 is a schematic structural diagram of another electronic device provided by an embodiment of the application;
图10为本申请实施例提供的另一种浸水检测方法的流程示意图;FIG. 10 is a schematic flow chart of another water immersion detection method provided by an embodiment of the application;
图11为本申请实施例提供的另一种浸水检测方法的流程示意图。FIG. 11 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the application, in order to clearly describe the technical solutions of the embodiments of the application, in the embodiments of the application, the words "first", "second" and the like are used, which are basically the same in function and effect. Items or similar items. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and order of execution, and words such as "first" and "second" do not limit the difference.
本申请实施例提供一种电子设备。该电子设备例如具有防水功能,该电子设备可以是智能穿戴设备或手机,智能穿戴设备可以包括:智能手环或智能手表等。该电子设备包括具有多点触发功能的触摸屏,该触摸屏例如可以是电容式触摸屏,电容式触摸屏是利用人体的电流感应进行工作的。例如可以是一块四层复合玻璃屏,玻璃屏的内表面和夹层各涂有一层氧化铟锡(Indium tin oxide,简写为ITO),最外层是一薄层矽土玻璃保护层,夹层ITO涂层作为工作面,四个角上引出四个电极,内层ITO为屏蔽层以保证良好的工作环境。当用户手指触摸在金属层上时,由于人体电场,用户和触摸屏表面形成以一个耦合电容,对于高频电流来说,电容是直接导体,于是手指从接触点吸走一个很小的电流。这个电流分从别触摸屏的四角上的电极中流出,并且流经这四个电极的电流与手指到四角的距离成正比,通过对这四个电流比例的精确计算,得出触摸点的位置。当电子设备浸水时,水对触摸屏的冲击产生的触发效应类似于人体皮肤对屏幕的触发效应,很容易点亮屏幕。The embodiment of the application provides an electronic device. The electronic device has, for example, a waterproof function. The electronic device may be a smart wearable device or a mobile phone. The smart wearable device may include a smart bracelet or a smart watch. The electronic device includes a touch screen with a multi-point trigger function. The touch screen may be, for example, a capacitive touch screen. The capacitive touch screen works by using current induction of the human body. For example, it can be a four-layer composite glass screen. The inner surface and the interlayer of the glass screen are each coated with a layer of indium tin oxide (ITO), the outermost layer is a thin layer of silica glass protective layer, and the interlayer ITO coating The layer is used as the working surface, four electrodes are drawn on the four corners, and the inner ITO is a shielding layer to ensure a good working environment. When the user's finger touches the metal layer, due to the human body electric field, the user and the touch screen surface form a coupling capacitor. For high-frequency current, the capacitor is a direct conductor, so the finger draws a small current from the contact point. This current flows from the electrodes on the four corners of the touch screen, and the current flowing through these four electrodes is proportional to the distance from the finger to the four corners. The position of the touch point can be obtained by accurately calculating the ratio of these four currents. When the electronic device is immersed in water, the triggering effect of the impact of water on the touch screen is similar to the triggering effect of human skin on the screen, and it is easy to light up the screen.
图1为本申请实施例提供的一种电子设备的结构示意图。如图1所示,电子设备10包括:触摸屏2、处理器101和超声波检测装置102,超声波检测装置102用于对电子设备所处环境进行超声波检测,并将超声波检测结果发送给处理器101。处理器101用于从超声波检测结果中提取超声波信号的描述特征。处理器101还用于:若根据超声波信号的描述特征和预先存储的参数表判断电子设备位于水中,则关闭电子设备的触摸屏的触摸响应功能。FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of this application. As shown in FIG. 1, the electronic device 10 includes a touch screen 2, a processor 101 and an ultrasonic detection device 102. The ultrasonic detection device 102 is used to perform ultrasonic detection on the environment in which the electronic device is located, and send the ultrasonic detection result to the processor 101. The processor 101 is configured to extract descriptive features of the ultrasonic signal from the ultrasonic detection result. The processor 101 is further configured to: if it is determined that the electronic device is in the water according to the description characteristics of the ultrasonic signal and the pre-stored parameter table, turn off the touch response function of the touch screen of the electronic device.
对此,本申请实施例提供一种电子设备的浸水检测方法,图2为本申请实施例提供的一种浸水检测方法的流程示意图,图2所示的浸水检测方法用于图1所示的电子设备。如图2所示,该浸水检测方法包括如下步骤:In this regard, an embodiment of the present application provides a water immersion detection method for an electronic device. FIG. 2 is a schematic flowchart of a water immersion detection method provided by an embodiment of the application. The water immersion detection method shown in FIG. 2 is used for the method shown in FIG. Electronic equipment. As shown in Figure 2, the water immersion detection method includes the following steps:
S101、超声波检测装置对电子设备所处环境进行超声波检测。S101. The ultrasonic detection device performs ultrasonic detection on the environment where the electronic equipment is located.
超声波是一种频率高于20000HZ的声波。图3为本申请实施例提供的超声波检测装置的结构示意图。如图3所示,超声波检测装置102包括:超声波发送单元11和超声波接收单元12,其中,超声波发送单元11和超声波接收单元12均与处理器101连 接。超声波发送单元11用于向电子设备所处环境中发射超声波信号,超声波接收单元12用于接收由超声波发射单元发出的经过直达或反射的超声波信号,并将接收到的超声波信号发送给处理器101,从而实现对电子设备所处环境的超声波检测。Ultrasound is a sound wave with a frequency higher than 20000HZ. FIG. 3 is a schematic structural diagram of an ultrasonic detection device provided by an embodiment of the application. As shown in FIG. 3, the ultrasonic detection device 102 includes: an ultrasonic transmitting unit 11 and an ultrasonic receiving unit 12, wherein both the ultrasonic transmitting unit 11 and the ultrasonic receiving unit 12 are connected to the processor 101. The ultrasonic transmitting unit 11 is used to transmit ultrasonic signals to the environment in which the electronic device is located, and the ultrasonic receiving unit 12 is used to receive the direct or reflected ultrasonic signals sent by the ultrasonic transmitting unit, and send the received ultrasonic signals to the processor 101 , So as to realize the ultrasonic detection of the environment in which the electronic equipment is located.
举例来说,电子设备例如可以是智能手表,图4为本申请实施例提供的智能手表的结构示意图。如图4所示,智能手表1包括:触摸屏2、超声波发送单元11和超声波接收单元12,其中,超声波发送单元11例如可以是设置在电子设备上的扬声器或者换能器,超声波接收单元12例如可以是设置在电子设备上的麦克风,该麦克风和扬声器上例如还贴有防水膜。由此,可以复用电子设备的扬声器作为超声波发送单元,并将麦克风作为超声波接收单元,无需额外增加新的部件,便于生产。For example, the electronic device may be a smart watch, for example, FIG. 4 is a schematic structural diagram of a smart watch provided in an embodiment of the application. As shown in FIG. 4, the smart watch 1 includes a touch screen 2, an ultrasonic transmitting unit 11, and an ultrasonic receiving unit 12. The ultrasonic transmitting unit 11 may be, for example, a speaker or a transducer provided on an electronic device, and the ultrasonic receiving unit 12 may be, for example, It may be a microphone provided on an electronic device, and a waterproof membrane is attached to the microphone and the speaker, for example. As a result, the speaker of the electronic device can be reused as the ultrasonic transmitting unit, and the microphone can be used as the ultrasonic receiving unit, without adding new components, which is convenient for production.
图5为本申请实施例提供的智能手表的使用场景示意图。如图5所示,该超声波信号例如可以传播预设距离,当距离超声波发射位置超过该预设距离时,则不会接收到该超声波信号。举例来说,该智能手表的超声波发送单元11发送的超声波信号的传播距离大于超声波发送单元11和超声波接收单元12之间的直线距离,以使得超声波接收单元能够接收到该超声波信号,且该超声波信号的传播距离小于穿戴该智能手表的用户和其他穿戴该智能手表的用户之间的距离,因此,当不同用户穿戴该智能手表游泳时,多台该智能手表即使同时发送超声波信号,也不会相互干扰。其中,该预设距离D例如可以是20cm。Fig. 5 is a schematic diagram of a usage scenario of a smart watch provided by an embodiment of the application. As shown in FIG. 5, the ultrasonic signal can propagate a preset distance, for example, when the distance from the ultrasonic transmitting position exceeds the preset distance, the ultrasonic signal will not be received. For example, the propagation distance of the ultrasonic signal sent by the ultrasonic transmitter unit 11 of the smart watch is greater than the linear distance between the ultrasonic transmitter unit 11 and the ultrasonic receiver unit 12, so that the ultrasonic receiver unit can receive the ultrasonic signal, and the ultrasonic The signal propagation distance is less than the distance between the user wearing the smart watch and other users wearing the smart watch. Therefore, when different users wear the smart watch for swimming, even if multiple smart watches send ultrasonic signals at the same time, they will not Interfere with each other. Wherein, the preset distance D may be 20 cm, for example.
S102、处理器从超声波检测结果中提取超声波信号的描述特征,根据超声波信号的描述特征和预先存储的参数表确定电子设备位于水中。S102. The processor extracts the description feature of the ultrasonic signal from the ultrasonic detection result, and determines that the electronic device is located in the water according to the description feature of the ultrasonic signal and a pre-stored parameter table.
超声波发送单元发送的超声波信号经过该电子设备所处环境之后,超声波信号的波形特征、频率以及幅值发生变化,超声波接收单元12能够接收经过电子设备所处环境的超声波信号,作为超声波检测结果。超声波接收单元12将该超声波检测结果发送给电子设备的处理器后,该电子设备的处理器能够从超声波检测结果中提取超声波信号的描述特征,提取超声波信号的描述特征例如可以包括:从接收到的超声波检测结果中获取其波形特征、频率值,以及幅值。After the ultrasonic signal sent by the ultrasonic transmitting unit passes through the environment of the electronic device, the waveform characteristics, frequency and amplitude of the ultrasonic signal change, and the ultrasonic receiving unit 12 can receive the ultrasonic signal passing through the environment of the electronic device as the ultrasonic detection result. After the ultrasonic receiving unit 12 sends the ultrasonic detection result to the processor of the electronic device, the processor of the electronic device can extract the descriptive feature of the ultrasonic signal from the ultrasonic detection result. The descriptive feature of the ultrasonic signal can be extracted, for example, including: Obtain the waveform characteristics, frequency value, and amplitude value from the ultrasonic detection results.
其中,电子设备10还包括存储器103,存储器103可以是ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM或者可存储信息和指令的其他类型的动态存储设备,也可以是EEPROM、CD-ROM或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器103可以是独立存在,通过通信总线与处理器101相连接。存储器103也可以和处理器101集成在一起。其中,存储器103用于存储执行本申请方案的软件程序,并由处理器101来控制执行。The electronic device 10 further includes a memory 103, which may be ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, or EEPROM, CD-ROM or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store instructions or data structures The form of desired program code and any other medium that can be accessed by the computer, but not limited to this. The memory 103 may exist independently and is connected to the processor 101 through a communication bus. The memory 103 may also be integrated with the processor 101. Among them, the memory 103 is used to store a software program for executing the solution of the present application, and the processor 101 controls the execution.
存储器103中还存储有参数表等,处理器101可以通过运行或执行存储在存储器103内的软件程序,以及调用存储在存储器103中的参数表,以确定电子设备所处环境。其中,参数表包括超声波信号的各描述特征与电子设备所处环境之间的对应关系,电子设备所处的一种环境例如可以对应一个或多个超声波信号的描述特征。当处理器101接收到超声波检测结果后,可以根据超声波检测结果中的一个或多个超声波信号的描述特征确定当前电子设备所处环境。The memory 103 also stores a parameter table, etc., and the processor 101 can run or execute a software program stored in the memory 103 and call the parameter table stored in the memory 103 to determine the environment of the electronic device. The parameter table includes the corresponding relationship between each description feature of the ultrasonic signal and the environment in which the electronic device is located. For example, an environment in which the electronic device is located may correspond to one or more description characteristics of the ultrasonic signal. After the processor 101 receives the ultrasonic detection result, it can determine the environment where the current electronic device is located according to the descriptive characteristics of one or more ultrasonic signals in the ultrasonic detection result.
超声波信号的描述特征具体可以是:超声波波形、超声波频率以及超声波的幅值等,电子设备所处环境例如可以是:水中、空气中,以及其他环境,该电子设备所处环境例如可以表示为00,01,10,也可以为1,2,3,还可以为A,B,C等。该参数表的超声波信号描述特征与电子设备所处环境之间的对应关系可采用卷积神经网络的方式训练获得。首先,可以大量采集水中,空气以及其他场景中经过电子设备所处环境的超声波信号,并从超声波信号中提取描述特征,确定提取出的每个描述特征与设备所处环境之间的对应关系,接着通过卷积神经网络对描述特征和电子设备所处环境的对应关系进行卷积运算以建立模型,并提取模型中的相关参数建立该参数表。The description characteristics of the ultrasonic signal can specifically be: ultrasonic wave, ultrasonic frequency, and ultrasonic amplitude. The environment of the electronic device can be, for example, water, air, and other environments. The environment of the electronic device can be expressed as 00 , 01, 10, can also be 1, 2, 3, or A, B, C, etc. The corresponding relationship between the ultrasonic signal description feature of the parameter table and the environment in which the electronic device is located can be obtained by training using a convolutional neural network. First, a large number of ultrasonic signals passing through the environment of the electronic device in water, air, and other scenes can be collected, and description features can be extracted from the ultrasonic signals, and the corresponding relationship between each extracted description feature and the environment of the device can be determined. Then, a convolution operation is performed on the corresponding relationship between the description feature and the environment of the electronic device through the convolutional neural network to establish a model, and the relevant parameters in the model are extracted to establish the parameter table.
S103、处理器关闭电子设备的触摸屏的触摸响应功能。S103. The processor turns off the touch response function of the touch screen of the electronic device.
电子设备的触摸屏是利用人体的电流感应进行工作的,能够对用户的触发产生响应,水对触摸屏的冲击效果类似于用户的触碰。当电子设备的触摸屏的触摸响应功能处于开启状态时,电子设备的触摸屏会对用户的触摸或水流的冲击产生响应。当电子设备的触摸屏的触摸响应功能处于关闭状态时,电子设备的触摸屏不会对用户的触发或水流的冲击产生响应。正常情况下,电子设备,特别是手表或手环的触摸屏的触摸响应功能处于开启状态,当电子设备位于水中时,为了避免水流的冲击引起误操作,需要用户手动关闭。The touch screen of the electronic device works by using the current induction of the human body, and can respond to the user's trigger. The impact effect of water on the touch screen is similar to the user's touch. When the touch response function of the touch screen of the electronic device is turned on, the touch screen of the electronic device will respond to the user's touch or the impact of water flow. When the touch response function of the touch screen of the electronic device is turned off, the touch screen of the electronic device will not respond to the user's trigger or the impact of the water flow. Under normal circumstances, the touch response function of the touch screen of an electronic device, especially a watch or a bracelet, is turned on. When the electronic device is in the water, in order to avoid misoperation caused by the impact of the water flow, the user needs to manually turn it off.
本实施例中处理器101能够在确定该电子设备位于水中时,关闭电子设备的触摸屏的触摸响应功能。其中,关闭电子设备的触摸屏的触摸响应功能包括:处理器101控制电子设备的触摸屏中的传感器不进行数据采集,或者控制触摸屏在接收用户的触发或水流的冲击后将触发信息发送给处理器101,处理器101对用户的触发或水流的冲击不作响应,从而可以防止水对电子设备的触摸屏的误触发。In this embodiment, the processor 101 can turn off the touch response function of the touch screen of the electronic device when it is determined that the electronic device is located in the water. Wherein, turning off the touch response function of the touch screen of the electronic device includes: the processor 101 controls the sensor in the touch screen of the electronic device not to collect data, or controls the touch screen to send trigger information to the processor 101 after receiving a user's trigger or the impact of water flow The processor 101 does not respond to the user's trigger or the impact of the water flow, thereby preventing the water from erroneously triggering the touch screen of the electronic device.
当然,为了避免该电子设备的主板进水,也可以关闭该电子设备。Of course, in order to prevent water from entering the main board of the electronic device, the electronic device can also be turned off.
本申请实施例提供的浸水检测方法,能够通过超声波检测确定电子设备所处环境,当电子设备在水中时,可以及时关闭电子设备的触摸屏的触摸响应功能,避免了水对电子设备的触摸屏的误触发,该过程无需人工操作,提高了用户体验。The water immersion detection method provided by the embodiments of the present application can determine the environment of the electronic device through ultrasonic detection. When the electronic device is in water, the touch response function of the touch screen of the electronic device can be turned off in time, thereby avoiding water's error on the touch screen of the electronic device. Triggered, the process does not require manual operation, which improves user experience.
该浸水检测方法例如还包括:若处理器根据超声波信号的描述特征和预先存储的参数表确定电子设备不在水中,则停止对电子设备所处环境进行超声波检测。The water immersion detection method further includes, for example, if the processor determines that the electronic device is not in the water according to the descriptive characteristics of the ultrasonic signal and the pre-stored parameter table, stopping the ultrasonic detection of the environment in which the electronic device is located.
用户穿戴该电子设备洗手、洗澡、游泳或者潜水时,该电子设备可能一段时间在水中,一段时间不在水中,当用户结束洗手、洗澡、游泳或者潜水时,可以选择停止对该电子设备所处环境进行超声波检测,为确保用户已经结束洗澡或者游泳,则检测用户不在水中的时间至少达到第一阈值,第一阈值例如可以是用户一个游泳动作或洗澡动作的周期。当检测用户不在水中的时间大于或等于该动作周期时,可以认为用户已经结束洗澡或者游泳,此时可以停止对该电子设备所处环境进行超声波检测。When the user wears the electronic device to wash his hands, bathe, swim or dive, the electronic device may be in the water for a period of time and not in the water for a period of time. When the user finishes washing his hands, bathing, swimming or diving, he can choose to stop the environment where the electronic device is located Ultrasonic detection is performed to ensure that the user has finished bathing or swimming, and the time that the user is not in the water is detected to at least reach a first threshold. The first threshold may be, for example, a cycle of a swimming action or a bathing action of the user. When it is detected that the time that the user is not in the water is greater than or equal to the action period, it can be considered that the user has finished bathing or swimming, and the ultrasonic detection of the environment in which the electronic device is located can be stopped at this time.
上述根据超声波信号的描述特征和预先存储的参数表确定电子设备不在水中,则关闭超声波检测装置,还可以包括:根据超声波信号的描述特征和预先存储的参数表确定电子设备不在水中的时间达到第一阈值时,停止对所述电子设备所处环境进行超声波检测。Turning off the ultrasonic detection device based on the descriptive characteristics of the ultrasonic signal and the pre-stored parameter table determines that the electronic device is not in the water. It may also include: determining that the electronic device is not in the water for the first time according to the descriptive characteristics of the ultrasonic signal and the pre-stored parameter table When a threshold is reached, the ultrasonic detection of the environment in which the electronic device is located is stopped.
本申请实施例提供的浸水检测方法,通过超声波检测确定电子设备不在水中时,可以停止对电子设备所处环境进行超声波检测,能够解决超声波检测功耗过大的问题。In the water immersion detection method provided by the embodiments of the present application, when it is determined through ultrasonic detection that the electronic device is not in the water, the ultrasonic detection of the environment in which the electronic device is located can be stopped, which can solve the problem of excessive power consumption of the ultrasonic detection.
当用户结束洗手、洗澡、游泳或者潜水时,可重新开启电子设备的触摸屏的触摸响应功能。图6为本申请实施例提供的另一种浸水检测方法的流程示意图。如图6所述,关闭电子设备的触摸屏的触摸响应功能后,该浸水检测方法还包括:When the user finishes washing hands, bathing, swimming or diving, the touch response function of the touch screen of the electronic device can be restarted. FIG. 6 is a schematic flow chart of another water immersion detection method provided by an embodiment of the application. As shown in Figure 6, after turning off the touch response function of the touch screen of the electronic device, the water immersion detection method further includes:
S201、处理器控制超声波检测装置以预设时间间隔对电子设备所处的环境进行超声波检测。S201: The processor controls the ultrasonic detection device to perform ultrasonic detection on the environment where the electronic device is located at a preset time interval.
预设时间间隔例如可以是1s,1min或其他值,本申请实施例对预设时间间隔的具体值不作限制,用户洗手、洗澡、游泳或者潜水所需时间不同,为及时检测到电子设备所处环境的改变情况,本领域技术人员可根据实际情况设置合适的时间间隔,这些均属于本申请的保护范围。The preset time interval can be, for example, 1s, 1min, or other values. The embodiment of the present application does not limit the specific value of the preset time interval. The time required for the user to wash hands, bathe, swim, or dive is different, so that the electronic device is detected in time. For changes in the environment, those skilled in the art can set a suitable time interval according to the actual situation, which all fall within the protection scope of this application.
以预设时间间隔对电子设备所处的环境进行超声波检测,与一直进行超声波检测相比,能够降低超声波功耗。Ultrasonic detection of the environment in which the electronic device is located at preset time intervals can reduce ultrasonic power consumption compared with always performing ultrasonic detection.
S202、处理器从超声波检测结果中提取超声波信号的描述特征,根据超声波信号的描述特征和参数表,确定电子设备不在水中。S202. The processor extracts the descriptive characteristics of the ultrasonic signal from the ultrasonic detection result, and determines that the electronic device is not in the water according to the descriptive characteristics and parameter table of the ultrasonic signal.
当超声波检测结果中提取的超声波信号的描述特征对应该参数表中空气中或其他环境时,可以确定电子设备不在水中,认为用户洗手、洗澡、游泳或者潜水结束。When the descriptive features of the ultrasonic signal extracted from the ultrasonic detection result correspond to the air or other environments in the parameter table, it can be determined that the electronic device is not in the water, and the user is considered to have finished washing hands, bathing, swimming or diving.
S203、处理器开启电子设备的触摸屏的触摸响应功能。S203. The processor enables the touch response function of the touch screen of the electronic device.
确定电子设备不在水中时,可自动开启电子设备的触摸屏的触摸响应功能,不需要用户手动操作,提高了用户体验。When it is determined that the electronic device is not in the water, the touch response function of the touch screen of the electronic device can be automatically turned on without manual operation by the user, which improves the user experience.
本申请实施例提供的浸水检测方法,能够在电子设备离开水之后自动开启电子设备的触摸屏的触摸响应功能,无需人工操作,提高了用户体验。The water immersion detection method provided by the embodiment of the present application can automatically start the touch response function of the touch screen of the electronic device after the electronic device leaves the water, without manual operation, and improves the user experience.
该浸水检测方法还包括:若根据超声波信号的描述特征和参数表,确定电子设备位于水中,则保持关闭电子设备的触摸屏的触摸响应功能的状态。The immersion detection method further includes: if it is determined that the electronic device is located in the water according to the descriptive characteristics and parameter table of the ultrasonic signal, maintaining the state of turning off the touch response function of the touch screen of the electronic device.
当超声波检测结果中提取的超声波信号的描述特征对应该参数表中水中的状态时,可以确定电子设备仍位于水中,认为用户还在洗手、洗澡、游泳或者潜水,可保持关闭电子设备的触摸屏的触摸响应功能的状态。When the descriptive characteristics of the ultrasonic signal extracted from the ultrasonic detection result correspond to the state of the water in the parameter table, it can be determined that the electronic device is still in the water, and the user is considered to be washing hands, bathing, swimming or diving, and the touch screen of the electronic device can be kept closed. The status of the touch response function.
本申请实施例还提供一种电子设备,图7为本申请实施例提供的另一种电子设备的结构示意图。如图7所示,电子设备10包括:触摸屏2,存储器103,处理器101,以及设置在电子设备的触摸屏2中的传感器104。An embodiment of the present application also provides an electronic device. FIG. 7 is a schematic structural diagram of another electronic device provided by an embodiment of the application. As shown in FIG. 7, the electronic device 10 includes: a touch screen 2, a memory 103, a processor 101, and a sensor 104 provided in the touch screen 2 of the electronic device.
传感器104用于检测电子设备的触摸屏的多点触发信息,并将多点触发信息发送给处理器101。其中,多点触发信息包括电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数,N大于或等于2。相应的,处理器101还用于,若确定电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于存储器103中预先存储的预设值,则关闭电子设备10的触摸屏的触摸响应功能。The sensor 104 is used to detect the multi-point trigger information of the touch screen of the electronic device, and send the multi-point trigger information to the processor 101. Wherein, the multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time, and N is greater than or equal to 2. Correspondingly, the processor 101 is further configured to turn off the touch screen of the electronic device 10 if it is determined that the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time is greater than the preset value pre-stored in the memory 103 The touch response function.
该触摸屏例如可以是电容式触摸屏,电容式触摸屏能检测到该多点触发信息。The touch screen may be, for example, a capacitive touch screen, and the capacitive touch screen can detect the multi-point trigger information.
在可选的实现方式中,处理器还用于,若电子设备的触摸屏在第一预设时间内多点被触发的次数小于或等于预设值,则重新控制传感器检测电子设备的触摸屏的多点触发信息。In an optional implementation manner, the processor is further configured to, if the number of times that the touch screen of the electronic device is triggered by multiple points within the first preset time is less than or equal to the preset value, re-control the sensor to detect the multiple points of the touch screen of the electronic device. Click the trigger information.
对此,图8为本申请实施例提供的另一种浸水检测方法的流程示意图。图8中的浸水检测方法用于如图7所示的电子设备,如图8所示,该浸水检测方法包括如下步 骤:In this regard, FIG. 8 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application. The water immersion detection method in FIG. 8 is used for the electronic equipment shown in FIG. 7. As shown in FIG. 8, the water immersion detection method includes the following steps:
S301、传感器检测电子设备的触摸屏的多点触发信息。S301. The sensor detects multi-point trigger information of the touch screen of the electronic device.
其中,多点触发信息包括电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数;N大于或等于2。Wherein, the multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time; N is greater than or equal to 2.
举例来说,电子设备的触摸屏的触摸响应功能常处于开启状态,可以随时检测到电子设备的触摸屏的多点触发信息。第一预设时间可以为100ms,1s或2s;N个不同位置可以是随机位置,也可以为固定位置。本申请对第一预设时间、N个不同位置的位置信息的具体值不作限制,本领域技术人员可根据实际情况采样获取,这些均属于本申请的保护范围。For example, the touch response function of the touch screen of the electronic device is often turned on, and the multi-point trigger information of the touch screen of the electronic device can be detected at any time. The first preset time can be 100ms, 1s or 2s; the N different positions can be random positions or fixed positions. This application does not limit the specific values of the location information at the first preset time and N different locations, and those skilled in the art can sample and obtain them according to actual conditions, and these all fall within the protection scope of this application.
S302、处理器确定电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于预设值。S302. The processor determines that the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within a first preset time is greater than a preset value.
举例来说,用户对电子设备的触摸屏的多点触发频率小于水对电子设备的触摸屏的多点触发频率,因此,当电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于预设值,可以确定该电子设备位于水中。该预设值可以为1、2或6,本申请对该预设值的具体取值不作限定,本领域技术人员可根据实际情况采样获取,这些均属于本申请的保护范围。For example, the multi-point trigger frequency of the touch screen of the electronic device by the user is less than the multi-point trigger frequency of the touch screen of the electronic device by water. Therefore, when the touch screen of the electronic device is triggered at the same time in N different positions within the first preset time If the number of times is greater than the preset value, it can be determined that the electronic device is located in the water. The preset value can be 1, 2 or 6. This application does not limit the specific value of the preset value, and those skilled in the art can sample and obtain it according to actual conditions, and these all fall within the protection scope of this application.
S302、处理器关闭电子设备的触摸屏的触摸响应功能。S302. The processor turns off the touch response function of the touch screen of the electronic device.
确定该电子设备位于水中后,可关闭该电子设备的触摸屏的触摸响应功能,从而可以防止水对电子设备的触摸屏的误触发。After it is determined that the electronic device is located in the water, the touch response function of the touch screen of the electronic device can be turned off, thereby preventing the water from erroneously triggering the touch screen of the electronic device.
本申请实施例提供的浸水检测方法,通过检测电子设备的触摸屏的多点触发信息,能够自动检测电子设备是否在水中,从而可以及时关闭电子设备的触摸响应功能,防止误触。The water immersion detection method provided by the embodiments of the present application can automatically detect whether the electronic device is in the water by detecting the multi-point trigger information of the touch screen of the electronic device, so that the touch response function of the electronic device can be turned off in time to prevent accidental touch.
该浸水检测方法还可包括:若确定电子设备的触摸屏在第一预设时间内多点被触发的次数小于或等于预设值,则重新检测电子设备的触摸屏的多点触发信息。The water immersion detection method may further include: if it is determined that the number of times the touch screen of the electronic device is triggered by multiple points within the first preset time is less than or equal to a preset value, redetecting the multi-point trigger information of the touch screen of the electronic device.
举例来说,若检测到该电子设备的触摸屏在第一预设时间内多点被触发的次数小于或等于预设值,可以确定该电子设备不在水中,以及,该多点触发信息属于用户的正常触发操作,因此,可以保持开启该电子设备的触摸屏的触摸响应功能的状态,并重新检测电子设备的触摸屏的多点触发信息。For example, if it is detected that the number of times that the touch screen of the electronic device is triggered by multiple points within the first preset time is less than or equal to the preset value, it can be determined that the electronic device is not in the water, and the multi-point trigger information belongs to the user. The normal trigger operation, therefore, it is possible to maintain the state of enabling the touch response function of the touch screen of the electronic device, and re-detect the multi-point trigger information of the touch screen of the electronic device.
本申请实施例提供的浸水检测方法,可以持续检测电子设备的触摸屏的多点触发信息,能够更加准确的判断电子设备是否在水中。The water immersion detection method provided in the embodiments of the present application can continuously detect the multi-point trigger information of the touch screen of the electronic device, and can more accurately determine whether the electronic device is in the water.
本申请实施例还提供一种电子设备,图9为本申请实施例提供的另一种电子设备的结构示意图。如图9所示,电子设备10包括:触摸屏2,存储器103,超声波检测装置102,处理器101,以及设置在电子设备的触摸屏2中的传感器104。An embodiment of the present application also provides an electronic device. FIG. 9 is a schematic structural diagram of another electronic device provided by an embodiment of the application. As shown in FIG. 9, the electronic device 10 includes: a touch screen 2, a memory 103, an ultrasonic detection device 102, a processor 101, and a sensor 104 provided in the touch screen 2 of the electronic device.
本申请实施例还提供一种浸水检测方法,该浸水检测方法用于电子设备,图10为本申请实施例提供的另一种浸水检测方法的流程示意图。图10中示出的浸水检测方法用于图9所示的电子设备。如图10所示,该浸水检测方法包括如下步骤:The embodiment of the present application also provides a water immersion detection method, which is used in an electronic device. FIG. 10 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application. The water immersion detection method shown in FIG. 10 is used in the electronic device shown in FIG. 9. As shown in Fig. 10, the water immersion detection method includes the following steps:
S401、传感器检测电子设备的触摸屏的多点触发信息。其中,多点触发信息包括电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数;N大于或等于2。S401. The sensor detects multi-point trigger information of the touch screen of the electronic device. Wherein, the multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time; N is greater than or equal to 2.
S402、处理器确定电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于预设值。S402. The processor determines that the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within a first preset time is greater than a preset value.
若电子设备的触摸屏在第一预设时间内多点被触发的次数小于或等于预设值,则重新检测电子设备的触摸屏的多点触发信息。由此,通过多次检测能够更加准确的判断电子设备是否在水中。If the number of times that the touch screen of the electronic device is triggered by multiple points within the first preset time is less than or equal to the preset value, the multi-point trigger information of the touch screen of the electronic device is detected again. Therefore, it is possible to more accurately determine whether the electronic device is in the water through multiple detections.
S403、超声波检测装置对电子设备所处环境进行超声波检测;S403. The ultrasonic detection device performs ultrasonic detection on the environment where the electronic equipment is located;
S404、处理器从超声波检测结果中提取超声波信号的描述特征,根据超声波信号的描述特征和预先存储的参数表确定电子设备位于水中。其中,参数表包括超声波信号描述特征与电子设备所处环境之间的对应关系。S404. The processor extracts the description feature of the ultrasonic signal from the ultrasonic detection result, and determines that the electronic device is located in the water according to the description feature of the ultrasonic signal and a pre-stored parameter table. Among them, the parameter table includes the correspondence between the ultrasonic signal description characteristics and the environment in which the electronic device is located.
S405、处理器关闭电子设备的触摸屏的触摸响应功能。S405. The processor turns off the touch response function of the touch screen of the electronic device.
若根据超声波信号的描述特征和预先存储的参数表确定电子设备不在水中,则关闭超声波检测装置,并重新检测电子设备的触摸屏的多点触发信息。由此,能够降低电子设备的超声波功耗。If it is determined that the electronic device is not in the water according to the description characteristics of the ultrasonic signal and the pre-stored parameter table, the ultrasonic detection device is turned off, and the multi-point trigger information of the touch screen of the electronic device is detected again. As a result, the ultrasonic power consumption of the electronic device can be reduced.
本申请实施例提供的浸水检测方法,能自动检测电子设备的触摸屏的多点触发信息,接着根据该多点触发信息触发对电子设备所处环境的超声波检测,可准确判断出电子设备的浸水情况,从而能及时关闭电子设备的触摸屏的触摸响应功能,防止误触。The immersion detection method provided in the embodiments of the application can automatically detect the multi-point trigger information of the touch screen of the electronic device, and then trigger the ultrasonic detection of the environment in which the electronic device is located according to the multi-point trigger information, and can accurately determine the immersion condition of the electronic device Therefore, the touch response function of the touch screen of the electronic device can be turned off in time to prevent accidental touch.
图11为本申请实施例提供的另一种浸水检测方法的流程示意图。如图11所述,关闭电子设备的触摸屏的触摸响应功能后,该浸水检测方法还包括:FIG. 11 is a schematic flowchart of another water immersion detection method provided by an embodiment of the application. As shown in FIG. 11, after the touch response function of the touch screen of the electronic device is turned off, the water immersion detection method further includes:
S501、处理器控制超声波检测装置以预设时间间隔对电子设备所处的环境进行超声波检测。S501: The processor controls the ultrasonic detection device to perform ultrasonic detection on the environment where the electronic device is located at a preset time interval.
S502、处理器从超声波检测结果中提取超声波信号的描述特征,根据超声波信号的描述特征和预先存储的参数表确定电子设备不在水中。S502. The processor extracts the description feature of the ultrasonic signal from the ultrasonic detection result, and determines that the electronic device is not in the water according to the description feature of the ultrasonic signal and a pre-stored parameter table.
S503、处理器开启电子设备的触摸屏的触摸响应功能。S503. The processor enables the touch response function of the touch screen of the electronic device.
若根据超声波信号的描述特征和预先存储的参数表确定电子设备位于水中,则保持关闭电子设备的触摸屏的触摸响应功能的状态。If it is determined that the electronic device is located in the water according to the descriptive characteristics of the ultrasonic signal and the pre-stored parameter table, the touch response function of the touch screen of the electronic device is kept turned off.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Although the application has been described in combination with specific features and embodiments, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the application. Accordingly, this specification and drawings are merely exemplary descriptions of the application defined by the appended claims, and are deemed to have covered any and all modifications, changes, combinations or equivalents within the scope of the application. Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application also intends to include these modifications and variations.

Claims (13)

  1. 一种浸水检测方法,其特征在于,所述浸水检测方法用于电子设备,所述电子设备包括触摸屏,所述方法包括:A water immersion detection method, characterized in that the water immersion detection method is used in an electronic device, the electronic device includes a touch screen, and the method includes:
    对所述电子设备所处环境进行超声波检测;Ultrasonic detection of the environment in which the electronic device is located;
    从超声波检测结果中提取超声波信号的描述特征,若根据所述超声波信号的描述特征和预先存储的参数表判断所述电子设备位于水中,则关闭所述电子设备的触摸屏的触摸响应功能;其中,所述参数表包括所述超声波信号描述特征与所述电子设备所处环境之间的对应关系。Extract the descriptive features of the ultrasonic signal from the ultrasonic detection results, and if it is determined that the electronic device is in the water according to the descriptive features of the ultrasonic signal and the pre-stored parameter table, turn off the touch response function of the touch screen of the electronic device; wherein, The parameter table includes the corresponding relationship between the ultrasonic signal description feature and the environment in which the electronic device is located.
  2. 根据权利要求1所述的浸水检测方法,其特征在于,所述对所述电子设备所处环境进行超声波检测之前,所述方法还包括:The water immersion detection method according to claim 1, wherein before the ultrasonic detection of the environment in which the electronic device is located, the method further comprises:
    检测所述电子设备的触摸屏的多点触发信息,所述多点触发信息包括所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数;所述N大于或等于2;相应的;Detect multi-point trigger information of the touch screen of the electronic device, where the multi-point trigger information includes the number of times the touch screen of the electronic device is simultaneously triggered in N different positions within a first preset time; the N is greater than or equal to 2 ;corresponding;
    所述对所述电子设备所处环境进行超声波检测包括:The ultrasonic detection of the environment in which the electronic device is located includes:
    若确定所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于预设值,开始对所述电子设备所处环境进行超声波检测。If it is determined that the number of times the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time is greater than the preset value, start ultrasonic detection of the environment in which the electronic device is located.
  3. 根据权利要求2所述的浸水检测方法,其特征在于,若所述电子设备的触摸屏在所述第一预设时间内多点被触发的次数小于或等于所述预设值,则重新检测所述电子设备的触摸屏的多点触发信息。The flooding detection method according to claim 2, wherein if the number of times that the touch screen of the electronic device is triggered at multiple points within the first preset time is less than or equal to the preset value, re-detect all The multi-point trigger information of the touch screen of the electronic device is described.
  4. 根据权利要求2或3所述的浸水检测方法,其特征在于,若根据所述超声波信号的描述特征和预先存储的参数表确定所述电子设备不在水中,则停止对所述电子设备所处环境进行超声波检测,并重新检测所述电子设备的触摸屏的多点触发信息。The submergence detection method according to claim 2 or 3, wherein if it is determined that the electronic device is not in the water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table, stop monitoring the environment where the electronic device is located. Perform ultrasonic detection, and re-detect the multi-point trigger information of the touch screen of the electronic device.
  5. 根据权利要求1-4任一项所述的浸水检测方法,其特征在于,所述关闭所述电子设备的触摸屏的触摸响应功能后,所述方法还包括:The water immersion detection method according to any one of claims 1 to 4, wherein after the touch response function of the touch screen of the electronic device is turned off, the method further comprises:
    以预设时间间隔对所述电子设备所处的环境进行超声波检测;Ultrasonic detection of the environment in which the electronic device is located at preset time intervals;
    根据超声波检测结果中提取的超声波信号的描述特征和所述参数表,若确定所述电子设备位于水中,则保持关闭所述电子设备的触摸屏的触摸响应功能的状态;若确定所述电子设备不在水中,则开启所述电子设备的触摸屏的触摸响应功能。According to the descriptive features of the ultrasonic signal extracted from the ultrasonic detection result and the parameter table, if it is determined that the electronic device is in the water, keep the touch response function of the touch screen of the electronic device turned off; if it is determined that the electronic device is not present Under water, the touch response function of the touch screen of the electronic device is turned on.
  6. 一种电子设备,其特征在于,所述电子设备包括:触摸屏,超声波检测装置,以及与所述超声波检测装置连接的处理器,An electronic device, characterized in that the electronic device includes a touch screen, an ultrasonic detection device, and a processor connected to the ultrasonic detection device,
    所述超声波检测装置用于对所述电子设备所处环境进行超声波检测,并将超声波检测结果发送给所述处理器;The ultrasonic detection device is used to perform ultrasonic detection on the environment in which the electronic equipment is located, and send the ultrasonic detection result to the processor;
    所述处理器用于从超声波检测结果中提取超声波信号的描述特征;The processor is used to extract the descriptive features of the ultrasonic signal from the ultrasonic detection result;
    所述处理器还用于,若根据所述超声波信号的描述特征和预先存储的参数表确定所述电子设备位于水中,则关闭所述电子设备的触摸屏的触摸响应功能,所述参数表包括所述超声波信号描述特征与所述电子设备所处环境之间的对应关系。The processor is further configured to, if it is determined that the electronic device is located in the water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table, turn off the touch response function of the touch screen of the electronic device, and the parameter table includes all The corresponding relationship between the ultrasonic signal description feature and the environment in which the electronic device is located.
  7. 根据权利要求6所述的电子设备,其特征在于,所述电子设备还包括:设置在所述电子设备的屏幕中的传感器,所述传感器与所述处理器连接;The electronic device according to claim 6, wherein the electronic device further comprises: a sensor provided in a screen of the electronic device, the sensor being connected to the processor;
    所述传感器用于检测所述电子设备的触摸屏的多点触发信息,并将所述多点触发信息发送给所述处理器;所述多点触发信息包括所述电子设备的触摸屏在第一预设时间内N个 不同位置同时被触发的次数;所述N大于或等于2;相应的;The sensor is used to detect the multi-point trigger information of the touch screen of the electronic device, and send the multi-point trigger information to the processor; the multi-point trigger information includes the touch screen of the electronic device in the first preview Set the number of times that N different positions are triggered at the same time within the time; said N is greater than or equal to 2; corresponding;
    所述处理器还用于,若确定所述电子设备的触摸屏在第一预设时间内N个不同位置同时被触发的次数大于预设值,则控制所述超声波检测装置对所述电子设备所处环境进行超声波检测。The processor is further configured to, if it is determined that the number of times that the touch screen of the electronic device is simultaneously triggered at N different positions within the first preset time is greater than a preset value, then control the ultrasonic detection device to control the electronic device Ultrasonic testing in the environment.
  8. 根据权利要求7所述的电子设备,其特征在于,所述处理器还用于,若所述电子设备的触摸屏在所述第一预设时间内多点被触发的次数小于或等于所述预设值,则重新控制所述传感器检测所述电子设备的触摸屏的多点触发信息。The electronic device according to claim 7, wherein the processor is further configured to: if the number of times the touch screen of the electronic device is triggered by multiple points within the first preset time is less than or equal to the preset If the value is set, the sensor is re-controlled to detect the multi-point trigger information of the touch screen of the electronic device.
  9. 根据权利要求7或8所述的电子设备,其特征在于,所述处理器还用于,若根据所述超声波信号的描述特征和预先存储的参数表确定所述电子设备不在水中,则关闭所述超声波检测装置,并控制所述传感器重新检测所述电子设备的触摸屏的多点触发信息。The electronic device according to claim 7 or 8, wherein the processor is further configured to, if it is determined that the electronic device is not in the water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table, turn off the The ultrasonic detection device and control the sensor to re-detect the multi-point trigger information of the touch screen of the electronic device.
  10. 根据权利要求6-9任一项所述的电子设备,其特征在于,所述处理器还用于,关闭所述电子设备的触摸屏的触摸响应功能后,控制所述超声波检测装置以预设时间间隔对所述电子设备所处的环境进行超声波检测;The electronic device according to any one of claims 6-9, wherein the processor is further configured to, after turning off the touch response function of the touch screen of the electronic device, control the ultrasonic detection device to set a preset time Perform ultrasonic detection of the environment in which the electronic device is located at intervals;
    并根据超声波检测结果中提取的超声波信号的描述特征和所述参数表,若确定所述电子设备位于水中,则保持关闭所述电子设备的触摸屏的触摸响应功能的状态;若确定所述电子设备不在水中,则开启所述电子设备的触摸屏的触摸响应功能。According to the descriptive characteristics of the ultrasonic signal extracted from the ultrasonic detection result and the parameter table, if it is determined that the electronic device is located in the water, the state of turning off the touch response function of the touch screen of the electronic device is maintained; if the electronic device is determined If it is not in the water, the touch response function of the touch screen of the electronic device is turned on.
  11. 根据权利要求6-10任一项所述的电子设备,其特征在于,所述超声波检测装置包括:超声波发送单元和超声波接收单元。The electronic device according to any one of claims 6-10, wherein the ultrasonic detection device comprises: an ultrasonic transmitting unit and an ultrasonic receiving unit.
  12. 根据权利要求11所述的电子设备,其特征在于,所述超声波发送单元为扬声器,所述超声波接收单元为麦克风。11. The electronic device according to claim 11, wherein the ultrasonic transmitting unit is a speaker, and the ultrasonic receiving unit is a microphone.
  13. 根据权利要求6-12任一项所述的电子设备,其特征在于,所述超声波信号的描述特征包括:超声波波形、超声波频率或超声波波幅。The electronic device according to any one of claims 6-12, wherein the descriptive characteristics of the ultrasonic signal include: ultrasonic waveform, ultrasonic frequency, or ultrasonic wave amplitude.
PCT/CN2019/076060 2019-02-25 2019-02-25 Water immersion detection method and electronic device WO2020172771A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/076060 WO2020172771A1 (en) 2019-02-25 2019-02-25 Water immersion detection method and electronic device
CN201980056930.XA CN112639459B (en) 2019-02-25 2019-02-25 Immersion detection method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/076060 WO2020172771A1 (en) 2019-02-25 2019-02-25 Water immersion detection method and electronic device

Publications (1)

Publication Number Publication Date
WO2020172771A1 true WO2020172771A1 (en) 2020-09-03

Family

ID=72238820

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/076060 WO2020172771A1 (en) 2019-02-25 2019-02-25 Water immersion detection method and electronic device

Country Status (2)

Country Link
CN (1) CN112639459B (en)
WO (1) WO2020172771A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420117A (en) * 2007-10-26 2009-04-29 比亚迪股份有限公司 Water immersion protection device and water-proof electricity supply system for the device
US20090158822A1 (en) * 2007-12-20 2009-06-25 General Electric Company Devices, methods and systems for measuring one or more characteristics of a biomaterial in a suspension
CN201440086U (en) * 2009-04-23 2010-04-21 北京宝力马传感技术有限公司 Water immersion detecting device
CN102003951B (en) * 2009-09-01 2013-01-02 黄石新兴管业有限公司 All-pipe water immersion type ultrasonic automatic detector for nodular cast iron pipes
JP2013170943A (en) * 2012-02-21 2013-09-02 Denso Corp Water immersion detection apparatus
CN105869357A (en) * 2016-05-06 2016-08-17 东莞文胜鼎电子科技有限公司 Soaking alarm device and system
CN107705605A (en) * 2017-09-29 2018-02-16 北京新能源汽车股份有限公司 Electric vehicle immersion method for early warning and device

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS599555A (en) * 1982-07-08 1984-01-18 Toshiba Corp Ultrasonic flaw detector
CN101522003B (en) * 2008-02-28 2011-11-09 鸿富锦精密工业(深圳)有限公司 Portable electronic device and drowning protection method thereof
CN104007868A (en) * 2010-08-12 2014-08-27 上海科斗电子科技有限公司 Touch screen system using Bluetooth communication
CN202068171U (en) * 2011-03-15 2011-12-07 中兴通讯股份有限公司 Protective device for electronic equipment in water
KR101496168B1 (en) * 2014-04-28 2015-02-26 주식회사 힐세리온 Ultrasonic Diagnostic System for Mobile having various resolution and Method thereof
JP6482922B2 (en) * 2015-03-27 2019-03-13 京セラ株式会社 Electronics
JP6140217B2 (en) * 2015-05-12 2017-05-31 京セラ株式会社 Electronic device, control method, and control program
JP6484129B2 (en) * 2015-06-29 2019-03-13 京セラ株式会社 Electronic device, image display method, and image display program
CN105224127B (en) * 2015-09-23 2019-03-29 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106921788B (en) * 2015-12-28 2020-05-12 青岛海信移动通信技术股份有限公司 Mobile terminal control method and mobile terminal
GB201602319D0 (en) * 2016-02-09 2016-03-23 Elliptic Laboratories As Proximity detection
KR20180094290A (en) * 2017-02-15 2018-08-23 삼성전자주식회사 Electronic device and method for determining underwater shooting
CN109085940B (en) * 2017-06-14 2022-09-23 江西欧迈斯微电子有限公司 Touch terminal and touch method and device thereof
CN107395803A (en) * 2017-07-26 2017-11-24 上海展扬通信技术有限公司 Soak protection system, device and method
CN110221720A (en) * 2019-04-29 2019-09-10 华为技术有限公司 A kind of touch method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420117A (en) * 2007-10-26 2009-04-29 比亚迪股份有限公司 Water immersion protection device and water-proof electricity supply system for the device
US20090158822A1 (en) * 2007-12-20 2009-06-25 General Electric Company Devices, methods and systems for measuring one or more characteristics of a biomaterial in a suspension
CN201440086U (en) * 2009-04-23 2010-04-21 北京宝力马传感技术有限公司 Water immersion detecting device
CN102003951B (en) * 2009-09-01 2013-01-02 黄石新兴管业有限公司 All-pipe water immersion type ultrasonic automatic detector for nodular cast iron pipes
JP2013170943A (en) * 2012-02-21 2013-09-02 Denso Corp Water immersion detection apparatus
CN105869357A (en) * 2016-05-06 2016-08-17 东莞文胜鼎电子科技有限公司 Soaking alarm device and system
CN107705605A (en) * 2017-09-29 2018-02-16 北京新能源汽车股份有限公司 Electric vehicle immersion method for early warning and device

Also Published As

Publication number Publication date
CN112639459B (en) 2022-04-12
CN112639459A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
US11507267B2 (en) Force sensing system and method
US20210075634A1 (en) Electronic device and method for controlling thereof
CN111210021B (en) Audio signal processing method, model training method and related device
CN107422915B (en) Response control mehtod, device, storage medium and the terminal of touch screen
CN108681440A (en) A kind of smart machine method for controlling volume and system
KR20160137240A (en) Environment recognition method and electronic device thereof
CN104246877A (en) Systems and methods for audio signal processing
CN107734523A (en) A kind of signal intensity reminding method, terminal device and computer-readable medium
CN104751852A (en) Method and device for processing sounds
WO2021008000A1 (en) Voice wakeup method and apparatus, electronic device and storage medium
EP2736233A1 (en) Method for controlling portable device by using humidity sensor and portable device thereof
US9582121B2 (en) Signal processing for acoustic user input
CN109478409A (en) For calculating the microphone noise suppressed of equipment
JP6139765B1 (en) Detection device, alarm system, detection method, and program
CN104683696A (en) Method for realizing fast and accurate self-snapshooting of camera based on ultrasonic measurement
CN109616098A (en) Voice endpoint detection method and device based on frequency domain energy
CN109524018A (en) A kind of echo processing method and equipment
JP6294747B2 (en) Notification sound sensing device, notification sound sensing method and program
CN113674761A (en) Device determination method and device determination system
WO2020172771A1 (en) Water immersion detection method and electronic device
CN104217728A (en) Audio processing method and electronic device
CN113241085B (en) Echo cancellation method, device, equipment and readable storage medium
CN109345773A (en) A kind of overboard detection method and intelligent wearable device
CN110085264B (en) Voice signal detection method, device, equipment and storage medium
Hashimoto et al. Improvement of interruptibility estimation during PC work by reflecting conversation status

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19917105

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19917105

Country of ref document: EP

Kind code of ref document: A1