CN112639459A - Immersion detection method and electronic device - Google Patents

Immersion detection method and electronic device Download PDF

Info

Publication number
CN112639459A
CN112639459A CN201980056930.XA CN201980056930A CN112639459A CN 112639459 A CN112639459 A CN 112639459A CN 201980056930 A CN201980056930 A CN 201980056930A CN 112639459 A CN112639459 A CN 112639459A
Authority
CN
China
Prior art keywords
electronic device
ultrasonic
touch screen
electronic equipment
ultrasonic detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201980056930.XA
Other languages
Chinese (zh)
Other versions
CN112639459B (en
Inventor
廖松妹
刘浩东
张亮
沈晔星
杨波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN112639459A publication Critical patent/CN112639459A/en
Application granted granted Critical
Publication of CN112639459B publication Critical patent/CN112639459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

A submersion detection method for an electronic device that includes a touch screen, the method comprising: carrying out ultrasonic detection on the environment where the electronic equipment is located; extracting description characteristics of ultrasonic signals from ultrasonic detection results, and if the electronic equipment is judged to be positioned in water according to the description characteristics of the ultrasonic signals and a pre-stored parameter table, closing a touch response function of a touch screen of the electronic equipment; the parameter table comprises the corresponding relation between the ultrasonic signal description characteristics and the environment where the electronic equipment is located. Therefore, when the electronic equipment is immersed in water, the touch response function of the electronic equipment can be automatically closed, and the error touch can be prevented.

Description

Immersion detection method and electronic device Technical Field
The application relates to the technical field of detection, in particular to a water immersion detection method and electronic equipment.
Background
At present, most electronic equipment all have waterproof characteristic, and the user can need not take off intelligent wearing equipment when washing hand, bathing, swimming or dive.
However, the capacitive touch screen adopted by the electronic device has a multi-point trigger function, when the electronic device is immersed in water, the trigger effect of water on the screen is similar to the trigger effect of human skin on the screen, and the screen is easily lightened, so that misoperation is caused, and besides, when the electronic device falls into water, if the electronic device is opened for a long time, a main board of the electronic device can be damaged by immersion.
Therefore, before swimming, the user needs to manually set the electronic device to enter a swimming mode; after swimming, the hand ring or the watch swimming mode needs to be manually closed, the operation is complex, and the user experience is influenced.
Disclosure of Invention
The embodiment of the application provides a water immersion detection method and electronic equipment, so that the water immersion condition of the electronic equipment is detected, the touch response function of the electronic equipment is timely closed, and the user experience is improved.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a water immersion detection method, where the water immersion detection method is used for an electronic device, where the electronic device includes a touch screen, and the method includes: detecting multi-point trigger information of a touch screen of the electronic equipment, wherein the multi-point trigger information comprises the number of times that the touch screen of the electronic equipment is simultaneously triggered at N different positions within a first preset time; said N is greater than or equal to 2; if the number of times that the touch screen of the electronic equipment is simultaneously triggered at the N different positions within the first preset time is determined to be greater than a preset value, closing the touch response function of the touch screen of the electronic equipment. Therefore, whether the electronic equipment is in water or not can be automatically detected, so that the touch response function of the electronic equipment can be timely closed, and the error touch is prevented.
In an optional implementation manner, if the number of times that the touch screen of the electronic device is multi-point triggered 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 re-detected. Therefore, whether the electronic equipment is in water can be judged more accurately through multiple detections.
In a second aspect, an embodiment of the present application provides a water immersion detection method, where the water immersion detection method is used for an electronic device, where the electronic device includes a touch screen, and the method includes: carrying out ultrasonic detection on the environment where the electronic equipment is located; extracting description characteristics of ultrasonic signals from ultrasonic detection results, and if the electronic equipment is judged to be positioned in water according to the description characteristics of the ultrasonic signals and a pre-stored parameter table, closing a touch response function of a touch screen of the electronic equipment; the parameter table comprises the corresponding relation between the ultrasonic signal description characteristics and the environment where the electronic equipment is located. Therefore, the touch response function of the electronic equipment can be automatically closed, and the false touch can be prevented.
In an optional implementation manner, before performing ultrasonic detection on the environment where the electronic device is located, the method further includes: detecting multi-point trigger information of a touch screen of the electronic equipment, wherein the multi-point trigger information comprises the number of times that the touch screen of the electronic equipment is simultaneously triggered at N different positions within a first preset time; said N is greater than or equal to 2; correspondingly; the ultrasonic detection of the environment where the electronic equipment is located comprises: and if the number of times that the touch screen of the electronic equipment is simultaneously triggered at the N different positions within the first preset time is determined to be larger than a preset value, starting to perform ultrasonic detection on the environment where the electronic equipment is located. Therefore, whether the electronic equipment is in water or not can be automatically detected, so that the touch response function of the electronic equipment can be timely closed, and the error touch is prevented.
In an optional implementation manner, if the number of times that the touch screen of the electronic device is multi-point triggered 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 re-detected. Therefore, whether the electronic equipment is in water can be judged more accurately through multiple detections.
In an optional implementation manner, if it is determined that the electronic device is not in water according to the descriptive characteristics of the ultrasonic signal and the pre-stored parameter table, the ultrasonic detection of the environment where the electronic device is located is stopped, and the multi-point trigger information of the touch screen of the electronic device is re-detected. This can reduce the ultrasonic power consumption of the electronic device.
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: carrying out ultrasonic detection on the environment where the electronic equipment is located at preset time intervals; according to the description characteristics of the ultrasonic signals extracted from the ultrasonic detection result and the parameter table, if the electronic equipment is determined to be positioned in water, the state of closing the touch response function of the touch screen of the electronic equipment is kept; and if the electronic equipment is determined not to be in water, starting a touch response function of a touch screen of the electronic equipment. Therefore, the touch response function of the electronic equipment can be automatically started after the electronic equipment leaves water, manual operation is not needed, and user experience is improved.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a touch screen, an ultrasonic detection device and a processor connected with the ultrasonic detection device, wherein the ultrasonic detection device is used for carrying out ultrasonic detection on the environment where the electronic equipment is located and sending an ultrasonic detection result to the processor; the processor is used for extracting the description characteristics of the ultrasonic signals from the ultrasonic detection result; the processor is further configured to close a touch response function of a touch screen of the electronic device if the electronic device is judged to be located in water according to the description features of the ultrasonic signals and a pre-stored parameter table, where the parameter table includes a correspondence between the description features of the ultrasonic signals and an environment where the electronic device is located.
In an alternative implementation, the processor is further configured to turn off the ultrasonic detection device if it is determined that the electronic device is not in water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table. This can reduce the ultrasonic power consumption of the electronic device.
In an optional implementation manner, the processor is further configured to control the ultrasonic detection device to perform ultrasonic detection on an environment where the electronic device is located at preset time intervals after the touch response function of the touch screen of the electronic device is turned off; the description characteristics of ultrasonic signals in the ultrasonic detection result and the parameter table are used for determining that the electronic equipment is positioned in water, and the state of closing the touch response function of the touch screen of the electronic equipment is kept; and if the electronic equipment is determined not to be in water, starting a touch response function of a touch screen of the electronic equipment.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: the electronic equipment comprises a touch screen, a sensor arranged in a screen of the electronic equipment and a processor connected with the sensor; the sensor is used for detecting multi-point trigger information of a touch screen of the electronic equipment and sending the multi-point trigger information to the processor; the multi-point trigger information comprises the number of times that a touch screen of the electronic equipment is simultaneously triggered at N different positions within a first preset time; said N is greater than or equal to 2; correspondingly; the processor is further configured to close the touch response function of the touch screen of the electronic device if it is determined that the number of times that the touch screen of the electronic device is simultaneously triggered at the N different positions within a first preset time is greater than a preset value.
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 multi-point triggered within the first preset time is less than or equal to the preset value, re-control the sensor to detect 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, including: the system comprises a touch screen, an ultrasonic detection device and a processor connected with the ultrasonic detection device, wherein the ultrasonic detection device is used for carrying out ultrasonic detection on the environment where the electronic equipment is located and sending an ultrasonic detection result to the processor; the processor is used for extracting the description characteristics of the ultrasonic signals from the ultrasonic detection result; the processor is further configured to close a touch response function of a touch screen of the electronic device if the electronic device is judged to be located in water according to the description features of the ultrasonic signals and a pre-stored parameter table, where the parameter table includes a correspondence between the description features of the ultrasonic signals and an environment where the electronic device is located.
In an optional implementation manner, the electronic device further includes: a sensor disposed in a screen of the electronic device, the sensor connected to the processor; the sensor is used for detecting multi-point trigger information of a touch screen of the electronic equipment and sending the multi-point trigger information to the processor; the multi-point trigger information comprises the number of times that a touch screen of the electronic equipment is simultaneously triggered at N different positions within a first preset time; said N is greater than or equal to 2; correspondingly; the processor is further configured to control the ultrasonic detection device to start ultrasonic detection on the environment where the electronic device is located if it is determined that the number of times that the touch screen of the electronic device is simultaneously triggered at the N different positions within a first preset time is greater than a preset value.
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 multi-point triggered within the first preset time is less than or equal to the preset value, re-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, if it is determined that the electronic device is not in water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table, turn off the ultrasonic detection device, and then control the sensor to detect multipoint trigger information of the touch screen of the electronic device again.
In an optional implementation manner, the processor is further configured to control the ultrasonic detection device to perform ultrasonic detection on an environment where the electronic device is located at preset time intervals after the touch response function of the touch screen of the electronic device is turned off; according to the description characteristics of the ultrasonic signals extracted from the ultrasonic detection result and the parameter table, if the electronic equipment is determined to be located in water, the state of closing the touch response function of the touch screen of the electronic equipment is kept; and if the electronic equipment is determined not to be in water, starting a touch response function of a touch screen of the electronic equipment.
In an alternative implementation, the ultrasonic detection apparatus includes: an ultrasonic wave transmitting unit and an ultrasonic wave receiving unit.
In an alternative implementation manner, the ultrasonic wave transmitting unit is a speaker, and the ultrasonic wave receiving unit is a microphone. Therefore, the loudspeaker and the microphone of the electronic equipment can be multiplexed, no additional new component is needed, and the production is convenient.
In an alternative implementation, the described features of the ultrasonic signal include: ultrasonic waveform, ultrasonic frequency, or ultrasonic amplitude.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of a water immersion detection method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an ultrasonic detection apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a smart watch provided in an embodiment of the present application;
fig. 5 is a schematic view of a usage scenario of a smart watch according to an embodiment of the present application;
FIG. 6 is a schematic flow chart of another immersion detection method provided in the embodiments of the present application;
fig. 7 is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
FIG. 8 is a schematic flow chart of another immersion detection method provided in the embodiments of the present application;
fig. 9 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
FIG. 10 is a schematic flow chart of another immersion detection method provided in the embodiments of the present application;
fig. 11 is a schematic flow chart of another immersion detection method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the present application, for convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first", "second", and the like are used to distinguish the same items or similar items with basically the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
The embodiment of the application provides electronic equipment. This electronic equipment has waterproof function for example, and this electronic equipment can be intelligent wearing equipment or cell-phone, and intelligent wearing equipment can include: smart band or smart watch, etc. The electronic device comprises a touch screen with a multi-point triggering function, and the touch screen can be a capacitive touch screen, for example, and the capacitive touch screen works by utilizing current induction of a human body. For example, the glass screen can be a four-layer composite glass screen, the inner surface and the interlayer of the glass screen are respectively coated with a layer of Indium Tin Oxide (ITO), the outermost layer is a thin silica glass protective layer, the interlayer ITO coating is used as a working surface, four electrodes are led out from four corners, and the inner layer ITO is used as a shielding layer to ensure a good working environment. When a user's finger touches the metal layer, the user and the touch screen surface form a coupling capacitance due to the electric field of the human body, and for high frequency currents, the capacitance is a direct conductor, so that the finger draws a small current from the contact point. The current flows from the electrodes on the four corners of the touch screen respectively, the current flowing through the four electrodes is in proportion to the distance from the finger to the four corners, and the position of the touch point is obtained through accurate calculation of the proportion of the four currents. When the electronic equipment is soaked in water, the trigger effect generated by the impact of the water on the touch screen is similar to the trigger effect of human skin on the screen, and the screen is easy to light.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 1, the electronic device 10 includes: the system comprises a touch screen 2, a processor 101 and an ultrasonic detection device 102, wherein the ultrasonic detection device 102 is used for carrying out ultrasonic detection on the environment where the electronic equipment is located and sending 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: and if the electronic equipment is judged to be positioned in the water according to the description characteristics of the ultrasonic signals and the prestored parameter table, closing the touch response function of the touch screen of the electronic equipment.
In view of the above, an embodiment of the present application provides a method for detecting water immersion of an electronic device, fig. 2 is a schematic flow diagram of the method for detecting water immersion provided in the embodiment of the present application, and the method for detecting water immersion shown in fig. 2 is applied to the electronic device shown in fig. 1. As shown in fig. 2, the submergence detecting method includes the steps of:
s101, ultrasonic detection is carried out on the environment where the electronic equipment is located by the ultrasonic detection device.
Ultrasonic waves are sound waves with a frequency higher than 20000 HZ. Fig. 3 is a schematic structural diagram of an ultrasonic detection apparatus according to an embodiment of the present application. As shown in fig. 3, the ultrasonic detection device 102 includes: an ultrasonic wave transmitting unit 11 and an ultrasonic wave receiving unit 12, wherein the ultrasonic wave transmitting unit 11 and the ultrasonic wave receiving unit 12 are both connected to the processor 101. The ultrasonic wave transmitting unit 11 is configured to transmit an ultrasonic wave signal to an environment where the electronic device is located, and the ultrasonic wave receiving unit 12 is configured to receive a direct or reflected ultrasonic wave signal transmitted by the ultrasonic wave transmitting unit and transmit the received ultrasonic wave signal to the processor 101, so that ultrasonic detection of the environment where the electronic device is located is achieved.
For example, the electronic device may be a smart watch, and fig. 4 is a schematic structural diagram of the smart watch provided in the embodiment of the present application. As shown in fig. 4, the smart watch 1 includes: the ultrasonic monitoring device comprises a touch screen 2, an ultrasonic transmitting unit 11 and an ultrasonic receiving unit 12, wherein the ultrasonic transmitting unit 11 can be a loudspeaker or a transducer arranged on the electronic equipment, for example, the ultrasonic receiving unit 12 can be a microphone arranged on the electronic equipment, for example, a waterproof film is further attached to the microphone and the loudspeaker. Therefore, the loudspeaker of the electronic equipment can be reused as the ultrasonic wave sending unit, the microphone can be used as the ultrasonic wave receiving unit, no additional new component is needed, and the production is convenient.
Fig. 5 is a schematic view of a usage scenario of the smart watch according to the embodiment of the present application. As shown in fig. 5, the ultrasonic signal may propagate for a preset distance, for example, and when the preset distance is exceeded from the ultrasonic wave emitting position, the ultrasonic signal is not received. For example, the propagation distance of the ultrasonic signal sent by the ultrasonic sending unit 11 of the smart watch is greater than the linear distance between the ultrasonic sending unit 11 and the ultrasonic receiving unit 12, so that the ultrasonic receiving unit can receive the ultrasonic signal, and the propagation distance of the ultrasonic signal is smaller 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 to swim, even if the ultrasonic signals are sent by multiple smart watches at the same time, the ultrasonic signals do not interfere with each other. Wherein the preset distance D may be, for example, 20 cm.
S102, the processor extracts the description characteristics of the ultrasonic signals from the ultrasonic detection results, and determines that the electronic equipment is located in the water according to the description characteristics of the ultrasonic signals and a pre-stored parameter table.
After the ultrasonic signal transmitted 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 an ultrasonic detection result. After the ultrasonic wave receiving unit 12 sends the ultrasonic wave detection result to the processor of the electronic device, the processor of the electronic device can extract the descriptive characteristics of the ultrasonic wave signal from the ultrasonic wave detection result, and the extracting the descriptive characteristics of the ultrasonic wave signal may include, for example: and acquiring the waveform characteristics, the frequency value and the amplitude value of the ultrasonic wave from the received ultrasonic detection result.
Electronic device 10 further includes memory 103, where memory 103 may be, but is not limited to, ROM or other types of static storage devices that may store static information and instructions, RAM or other types of dynamic storage devices that may store information and instructions, EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 103 may be self-contained and coupled to the processor 101 via a communication bus. The memory 103 may also be integrated with the processor 101. The memory 103 is used for storing software programs for executing the scheme of the application, and is controlled by the processor 101 to execute.
The memory 103 further stores a parameter table, etc., and the processor 101 may determine the environment of the electronic device by running or executing a software program stored in the memory 103 and calling the parameter table stored in the memory 103. The parameter table includes a corresponding relationship between each descriptive feature of the ultrasonic signal and an environment in which the electronic device is located, and the environment in which the electronic device is located may correspond to one or more descriptive features of the ultrasonic signal, for example. When the processor 101 receives the ultrasonic detection result, it may determine the current environment of the electronic device according to the description features of one or more ultrasonic signals in the ultrasonic detection result.
The description of the ultrasonic signal may specifically be: the ultrasonic waveform, the ultrasonic frequency, the ultrasonic amplitude, and the like, and the environment in which the electronic device is located may be, for example: in water, in air, and other environments, the environment of the electronic device may be represented as 00, 01, 10, 1, 2, 3, a, B, C, and the like. The corresponding relation between the ultrasonic signal description characteristics of the parameter table and the environment where the electronic equipment is located can be obtained by training in a convolutional neural network mode. Firstly, ultrasonic signals passing through the environment where the electronic equipment is located in water, air and other scenes can be collected in a large quantity, description features are extracted from the ultrasonic signals, the corresponding relation between each extracted description feature and the environment where the electronic equipment is located is determined, then, convolution operation is carried out on the corresponding relation between the description features and the environment where the electronic equipment is located through a convolution neural network to establish a model, and relevant parameters in the model are extracted to establish a parameter table.
S103, the processor closes the touch response function of the touch screen of the electronic equipment.
The touch screen of the electronic equipment works by utilizing current induction of a human body, response can be generated to the triggering of a user, and the impact effect of water on the touch screen is similar to the touch of the user. When the touch response function of the touch screen of the electronic device is in an on state, the touch screen of the electronic device may respond to a user's touch or impact of water flow. When the touch response function of the touch screen of the electronic device is in an off state, the touch screen of the electronic device does not respond to the triggering of a user or the impact of water flow. Under normal conditions, the touch response function of the touch screen of electronic equipment, especially wrist-watch or bracelet is in the open mode, and when electronic equipment was located the aquatic, in order to avoid the impact of rivers to cause the maloperation, required the user to close manually.
In this embodiment, the processor 101 is capable of turning off the touch response function of the touch screen of the electronic device when it is determined that the electronic device is located in water. Wherein, the touch response function of closing the touch screen of the electronic device comprises: the processor 101 controls a sensor in a touch screen of the electronic device not to acquire data, or controls the touch screen to send trigger information to the processor 101 after receiving trigger of a user or impact of water flow, and the processor 101 does not respond to the trigger of the user or the impact of the water flow, so that false triggering of water on the touch screen of the electronic device can be prevented.
Of course, the electronic device may be turned off to avoid water from entering the main board of the electronic device.
The submergence detecting method provided by the embodiment of the application can determine the environment of the electronic equipment through ultrasonic detection, when the electronic equipment is in water, the touch response function of the touch screen of the electronic equipment can be closed in time, the false triggering of the touch screen of the electronic equipment by water is avoided, manual operation is not needed in the process, and the user experience is improved.
The submergence detecting method, for example, further includes: and if the processor determines that the electronic equipment is not in the water according to the description characteristics of the ultrasonic signals and the prestored parameter table, stopping ultrasonic detection on the environment where the electronic equipment is located.
When a user wears the electronic device to wash hands, bath, swim or dive, the electronic device may be in water for a period of time and not in water for a period of time, when the user finishes washing hands, bath, swim or dive, the ultrasonic detection of the environment where the electronic device is located may be selected to be stopped, and in order to ensure that the user finishes bathing or swim, the time when the user does not in water is detected to at least reach a first threshold, which may be, for example, a cycle of a swimming action or a bathing action of the user. When the time for detecting that the user is not in the water is longer than or equal to the action period, the user can be considered to have finished bathing or swimming, and the ultrasonic detection of the environment where the electronic equipment is located can be stopped.
If the electronic device is determined not to be in 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 method further comprises the following steps: and when the time that the electronic equipment is not in the water is determined to reach a first threshold value according to the description characteristics of the ultrasonic signals and a pre-stored parameter table, stopping ultrasonic detection on the environment where the electronic equipment is located.
According to the submergence detecting method provided by the embodiment of the application, when the electronic equipment is determined not to be in water through ultrasonic detection, the ultrasonic detection of the environment where the electronic equipment is located can be stopped, and the problem of overlarge power consumption of the ultrasonic detection can be solved.
When the user finishes washing hands, bathing, swimming, or diving, the touch response function of the touch screen of the electronic device may be turned on again. Fig. 6 is a schematic flow chart of another immersion detection method according to an embodiment of the present disclosure. As shown in fig. 6, after the touch response function of the touch screen of the electronic device is turned off, the flooding detection method further includes:
s201, the processor controls the ultrasonic detection device to perform ultrasonic detection on the environment where the electronic equipment is located at preset time intervals.
The preset time interval may be, for example, 1s, 1min or other values, the specific value of the preset time interval is not limited in the embodiment of the present application, the time required for a user to wash hands, take a bath, swim or dive is different, and in order to detect the change of the environment where the electronic device is located in time, a person skilled in the art may set an appropriate time interval according to the actual situation, which all belong to the protection scope of the present application.
Ultrasonic detection is performed on the environment where the electronic device is located at preset time intervals, and compared with the ultrasonic detection which is performed all the time, the ultrasonic power consumption can be reduced.
S202, the processor extracts the description characteristics of the ultrasonic signals from the ultrasonic detection results, and determines that the electronic equipment is not in water according to the description characteristics of the ultrasonic signals and the parameter table.
When the description features of the ultrasonic signals 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 water, and the user is considered to wash hands, take a bath, swim or dive to be finished.
S203, the processor starts a touch response function of a touch screen of the electronic equipment.
When the electronic equipment is determined not to be in water, the touch response function of the touch screen of the electronic equipment can be automatically started, manual operation of a user is not needed, and user experience is improved.
The immersion detection method provided by the embodiment of the application can automatically start the touch response function of the touch screen of the electronic equipment after the electronic equipment leaves water, does not need manual operation, and improves user experience.
The immersion detection method further comprises: and if the electronic equipment is determined to be positioned in the water according to the description characteristics and the parameter table of the ultrasonic signal, keeping the state of closing the touch response function of the touch screen of the electronic equipment.
When the description features of the ultrasonic signals extracted from the ultrasonic detection result correspond to the state in the water in the parameter table, it can be determined that the electronic device is still located in the water, and the state of turning off the touch response function of the touch screen of the electronic device can be maintained when the user is considered to be still washing hands, bathing, swimming or diving.
An embodiment of the present application further provides an electronic device, and fig. 7 is a schematic structural diagram of another electronic device provided in the embodiment of the present 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 disposed in the touch screen 2 of the electronic device.
The sensor 104 is configured to detect multi-touch information of a touch screen of the electronic device and send the multi-touch information to the processor 101. The multipoint trigger information comprises the number of times that a touch screen of the electronic equipment is simultaneously triggered at N different positions within a first preset time, wherein N is greater than or equal to 2. Correspondingly, the processor 101 is further configured to turn off the touch response function of the touch screen of the electronic device 10 if it is determined that the number of times that the touch screen of the electronic device is simultaneously triggered at the N different positions within the first preset time is greater than the preset value pre-stored in the memory 103.
The touch screen may be, for example, a capacitive touch screen, which is capable of detecting the multi-touch 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 multi-triggered within the first preset time is less than or equal to a preset value, re-control the sensor to detect multi-point triggering information of the touch screen of the electronic device.
In contrast, fig. 8 is a schematic flow chart of another immersion detection method according to an embodiment of the present disclosure. The submergence detecting method in fig. 8 is used for the electronic apparatus shown in fig. 7, and as shown in fig. 8, the submergence detecting method includes the steps of:
s301, the sensor detects multipoint trigger information of a touch screen of the electronic equipment.
The multipoint trigger information comprises the number of times that a touch screen of the electronic equipment is simultaneously triggered at N different positions within a first preset time; n is greater than or equal to 2.
For example, the touch response function of the touch screen of the electronic device is always in an on state, and the multi-point trigger information of the touch screen of the electronic device can be detected at any time. The first preset time may be 100ms, 1s or 2 s; the N different positions may be random positions or fixed positions. The specific values of the position information of the first preset time and the N different positions are not limited in the present application, and those skilled in the art can sample and obtain the position information according to the actual situation, which all belong to the protection scope of the present application.
S302, the processor determines that the number of times that the touch screen of the electronic device is simultaneously triggered at N different positions within a first preset time is larger than a preset value.
For example, the frequency of multipoint triggering of the touch screen of the electronic device by the user is less than the frequency of multipoint triggering of the touch screen of the electronic device by water, and therefore, when the number of times that 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, it can be determined that the electronic device is located in water. The preset value may be 1, 2, or 6, and the specific value of the preset value is not limited in the present application, and those skilled in the art may sample and obtain the preset value according to the actual situation, which all belong to the protection scope of the present application.
S302, the processor closes the touch response function of the touch screen of the electronic equipment.
After the electronic equipment is determined to be positioned in the water, the touch response function of the touch screen of the electronic equipment can be closed, so that the false triggering of the touch screen of the electronic equipment by water can be prevented.
The submergence detecting method provided by the embodiment of the application can automatically detect whether the electronic equipment is in water or not by detecting the multipoint trigger information of the touch screen of the electronic equipment, so that the touch response function of the electronic equipment can be closed in time, and the mistaken touch is prevented.
The immersion detection method may further include: if the number of times that the touch screen of the electronic equipment is triggered at the multiple points within the first preset time is determined to be smaller than or equal to the preset value, the multiple-point triggering information of the touch screen of the electronic equipment is detected again.
For example, if it is detected that the number of times that the touch screen of the electronic device is multi-triggered within the first preset time is less than or equal to the preset value, it may be determined that the electronic device is not in water, and the multi-point trigger information belongs to the normal trigger operation of the user, so that the state of turning on the touch response function of the touch screen of the electronic device may be maintained, and the multi-point trigger information of the touch screen of the electronic device may be re-detected.
The submergence detecting method provided by the embodiment of the application can continuously detect the multi-point trigger information of the touch screen of the electronic equipment, and can judge whether the electronic equipment is in water more accurately.
An embodiment of the present application further provides an electronic device, and fig. 9 is a schematic structural diagram of another electronic device provided in the embodiment of the present application. As shown in fig. 9, the electronic device 10 includes: the touch screen 2, the memory 103, the ultrasonic detection device 102, the processor 101, and the sensor 104 provided in the touch screen 2 of the electronic apparatus.
An embodiment of the present application further provides a water immersion detection method, where the water immersion detection method is used for an electronic device, and fig. 10 is a schematic flow diagram of another water immersion detection method provided in the embodiment of the present application. The flooding detection method shown in fig. 10 is applied to the electronic apparatus shown in fig. 9. As shown in fig. 10, the submergence detecting method includes the steps of:
s401, the sensor detects multipoint trigger information of a touch screen of the electronic equipment. The multipoint trigger information comprises the number of times that a touch screen of the electronic equipment is simultaneously triggered at N different positions within a first preset time; n is greater than or equal to 2.
S402, the processor determines that the number of times that the touch screen of the electronic device is simultaneously triggered at N different positions within a first preset time is larger than a preset value.
If the number of times of multipoint triggering of the touch screen of the electronic equipment in the first preset time is smaller than or equal to a preset value, the multipoint triggering information of the touch screen of the electronic equipment is detected again. Therefore, whether the electronic equipment is in water can be judged more accurately through multiple detections.
S403, performing ultrasonic detection on the environment where the electronic equipment is located by the ultrasonic detection device;
s404, the processor extracts the description characteristics of the ultrasonic signals from the ultrasonic detection results, and determines that the electronic equipment is located in the water according to the description characteristics of the ultrasonic signals and the prestored parameter table. The parameter table comprises the corresponding relation between the ultrasonic signal description characteristics and the environment where the electronic equipment is located.
S405, the processor closes the touch response function of the touch screen of the electronic equipment.
And if the electronic equipment is determined not to be in water according to the description characteristics of the ultrasonic signals and the pre-stored parameter table, closing the ultrasonic detection device, and re-detecting the multi-point trigger information of the touch screen of the electronic equipment. This can reduce the ultrasonic power consumption of the electronic device.
The submergence detecting method provided by the embodiment of the application can automatically detect the multi-point trigger information of the touch screen of the electronic equipment, and then trigger the ultrasonic detection of the environment where the electronic equipment is located according to the multi-point trigger information, so that the submergence condition of the electronic equipment can be accurately judged, the touch response function of the touch screen of the electronic equipment can be timely closed, and the false touch can be prevented.
Fig. 11 is a schematic flow chart of another immersion detection method according to an embodiment of the present application. As shown in fig. 11, after the touch response function of the touch screen of the electronic device is turned off, the flooding detection method further includes:
s501, the processor controls the ultrasonic detection device to perform ultrasonic detection on the environment where the electronic equipment is located at preset time intervals.
S502, the processor extracts the description characteristics of the ultrasonic signals from the ultrasonic detection results, and determines that the electronic equipment is not in water according to the description characteristics of the ultrasonic signals and a pre-stored parameter table.
S503, the processor starts a touch response function of the touch screen of the electronic equipment.
And if the electronic equipment is determined to be positioned in the water according to the description characteristics of the ultrasonic signals and the pre-stored parameter table, keeping the state of closing the touch response function of the touch screen of the electronic equipment.
Although the present application has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and figures are merely exemplary of the present application as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application. It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (13)

  1. A submersion detection method for an electronic device including a touch screen, the method comprising:
    carrying out ultrasonic detection on the environment where the electronic equipment is located;
    extracting description characteristics of ultrasonic signals from ultrasonic detection results, and if the electronic equipment is judged to be positioned in water according to the description characteristics of the ultrasonic signals and a pre-stored parameter table, closing a touch response function of a touch screen of the electronic equipment; the parameter table comprises the corresponding relation between the ultrasonic signal description characteristics and the environment where the electronic equipment is located.
  2. The submersion detection method of claim 1, wherein prior to the ultrasonic detection of the environment in which the electronic device is located, the method further comprises:
    detecting multi-point trigger information of a touch screen of the electronic equipment, wherein the multi-point trigger information comprises the number of times that the touch screen of the electronic equipment is simultaneously triggered at N different positions within a first preset time; said N is greater than or equal to 2; correspondingly;
    the ultrasonic detection of the environment where the electronic equipment is located comprises:
    and if the number of times that the touch screen of the electronic equipment is simultaneously triggered at the N different positions within the first preset time is determined to be larger than a preset value, starting to perform ultrasonic detection on the environment where the electronic equipment is located.
  3. The submergence detecting method according to claim 2, wherein if the number of times that the touch screen of the electronic device is multi-point triggered 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 re-detected.
  4. The submergence detecting method according to claim 2 or 3, wherein if the electronic device is determined not to be submerged according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table, the ultrasonic detection of the environment where the electronic device is located is stopped, and the multi-point trigger information of the touch screen of the electronic device is re-detected.
  5. The submersion 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:
    carrying out ultrasonic detection on the environment where the electronic equipment is located at preset time intervals;
    according to the description characteristics of the ultrasonic signals extracted from the ultrasonic detection result and the parameter table, if the electronic equipment is determined to be located in water, the state of closing the touch response function of the touch screen of the electronic equipment is kept; and if the electronic equipment is determined not to be in water, starting a touch response function of a touch screen of the electronic equipment.
  6. An electronic device, characterized in that the electronic device comprises: a touch screen, an ultrasonic detection device and a processor connected with the ultrasonic detection device,
    the ultrasonic detection device is used for carrying out ultrasonic detection on the environment where the electronic equipment is located and sending an ultrasonic detection result to the processor;
    the processor is used for extracting the description characteristics of the ultrasonic signals from the ultrasonic detection result;
    the processor is further configured to close a touch response function of a touch screen of the electronic device if the electronic device is determined to be located in water according to the description features of the ultrasonic signals and a pre-stored parameter table, where the parameter table includes a correspondence between the description features of the ultrasonic signals and an environment in which the electronic device is located.
  7. The electronic device of claim 6, further comprising: a sensor disposed in a screen of the electronic device, the sensor connected to the processor;
    the sensor is used for detecting multi-point trigger information of a touch screen of the electronic equipment and sending the multi-point trigger information to the processor; the multi-point trigger information comprises the number of times that a touch screen of the electronic equipment is simultaneously triggered at N different positions within a first preset time; said N is greater than or equal to 2; correspondingly;
    the processor is further configured to control the ultrasonic detection device to perform ultrasonic detection on the environment where the electronic device is located if it is determined that the number of times that the touch screen of the electronic device is simultaneously triggered at the N different positions within a first preset time is greater than a preset value.
  8. The electronic device according to claim 7, wherein the processor is further configured to, if the number of times that the touch screen of the electronic device is multi-triggered within the first preset time is less than or equal to the preset value, re-control the sensor to detect multi-trigger information of the touch screen of the electronic device.
  9. The electronic device of claim 7 or 8, wherein the processor is further configured to turn off the ultrasonic detection device and control the sensor to re-detect the multi-point trigger information of the touch screen of the electronic device if the electronic device is determined not to be in water according to the descriptive characteristics of the ultrasonic signal and a pre-stored parameter table.
  10. The electronic device according to any one of claims 6 to 9, wherein the processor is further configured to control the ultrasonic detection device to perform ultrasonic detection on the environment in which the electronic device is located at preset time intervals after the touch response function of the touch screen of the electronic device is turned off;
    according to the description characteristics of the ultrasonic signals extracted from the ultrasonic detection result and the parameter table, if the electronic equipment is determined to be located in water, the state of closing the touch response function of the touch screen of the electronic equipment is kept; and if the electronic equipment is determined not to be in water, starting a touch response function of a touch screen of the electronic equipment.
  11. The electronic device according to any one of claims 6 to 10, wherein the ultrasonic detection means includes: an ultrasonic wave transmitting unit and an ultrasonic wave receiving unit.
  12. The electronic device according to claim 11, wherein the ultrasonic wave transmitting unit is a speaker, and the ultrasonic wave receiving unit is a microphone.
  13. The electronic device of any of claims 6-12, wherein the descriptive characteristics of the ultrasonic signal include: ultrasonic waveform, ultrasonic frequency, or ultrasonic amplitude.
CN201980056930.XA 2019-02-25 2019-02-25 Immersion detection method and electronic device Active CN112639459B (en)

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 (2)

Publication Number Publication Date
CN112639459A true CN112639459A (en) 2021-04-09
CN112639459B CN112639459B (en) 2022-04-12

Family

ID=72238820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980056930.XA Active CN112639459B (en) 2019-02-25 2019-02-25 Immersion detection method and electronic device

Country Status (2)

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

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4545251A (en) * 1982-07-08 1985-10-08 Tokyo Shibaura Denki Kabushiki Kaisha Electronic scanning type ultrasonic non-destructive testing apparatus
CN101420117A (en) * 2007-10-26 2009-04-29 比亚迪股份有限公司 Water immersion protection device and water-proof electricity supply system for the device
CN101522003A (en) * 2008-02-28 2009-09-02 鸿富锦精密工业(深圳)有限公司 Portable electronic device and drowning protection method thereof
CN202068171U (en) * 2011-03-15 2011-12-07 中兴通讯股份有限公司 Protective device for electronic equipment in water
CN202217254U (en) * 2010-08-12 2012-05-09 上海科斗电子科技有限公司 Bluetooth ultrasonic touch screen
JP2013170943A (en) * 2012-02-21 2013-09-02 Denso Corp Water immersion detection apparatus
CN105224127A (en) * 2015-09-23 2016-01-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
US20160284192A1 (en) * 2015-03-27 2016-09-29 Kyocera Corporation Electronic device
US20160334295A1 (en) * 2015-05-12 2016-11-17 Kyocera Corporation Electronic device, control method, and control program
JP2017016270A (en) * 2015-06-29 2017-01-19 京セラ株式会社 Electronic apparatus, image display method, and image display program
JP2017511732A (en) * 2014-04-28 2017-04-27 ヒールセリオン カンパニー リミテッド Ultrasonic diagnostic system and diagnostic method applicable to wireless communication terminals having various resolutions
CN106921788A (en) * 2015-12-28 2017-07-04 青岛海信移动通信技术股份有限公司 A kind of method for controlling mobile terminal and mobile terminal
CN107395803A (en) * 2017-07-26 2017-11-24 上海展扬通信技术有限公司 Soak protection system, device and method
CN108427533A (en) * 2017-02-15 2018-08-21 三星电子株式会社 The method of electronic equipment and environment for determining electronic equipment
CN108603931A (en) * 2016-02-09 2018-09-28 椭圆实验室股份有限公司 Proximity detection
CN109085940A (en) * 2017-06-14 2018-12-25 南昌欧菲生物识别技术有限公司 Touch control terminal and its touch control method and device
CN110221720A (en) * 2019-04-29 2019-09-10 华为技术有限公司 A kind of touch method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105869357B (en) * 2016-05-06 2018-02-09 东莞文胜鼎电子科技有限公司 Soak alarm device and immersion warning system
CN107705605A (en) * 2017-09-29 2018-02-16 北京新能源汽车股份有限公司 Electric vehicle immersion method for early warning and device

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4545251A (en) * 1982-07-08 1985-10-08 Tokyo Shibaura Denki Kabushiki Kaisha Electronic scanning type ultrasonic non-destructive testing apparatus
CN101420117A (en) * 2007-10-26 2009-04-29 比亚迪股份有限公司 Water immersion protection device and water-proof electricity supply system for the device
CN101522003A (en) * 2008-02-28 2009-09-02 鸿富锦精密工业(深圳)有限公司 Portable electronic device and drowning protection method thereof
CN202217254U (en) * 2010-08-12 2012-05-09 上海科斗电子科技有限公司 Bluetooth ultrasonic touch screen
CN202068171U (en) * 2011-03-15 2011-12-07 中兴通讯股份有限公司 Protective device for electronic equipment in water
JP2013170943A (en) * 2012-02-21 2013-09-02 Denso Corp Water immersion detection apparatus
JP2017511732A (en) * 2014-04-28 2017-04-27 ヒールセリオン カンパニー リミテッド Ultrasonic diagnostic system and diagnostic method applicable to wireless communication terminals having various resolutions
US20160284192A1 (en) * 2015-03-27 2016-09-29 Kyocera Corporation Electronic device
US20160334295A1 (en) * 2015-05-12 2016-11-17 Kyocera Corporation Electronic device, control method, and control program
JP2017016270A (en) * 2015-06-29 2017-01-19 京セラ株式会社 Electronic apparatus, image display method, and image display program
CN105224127A (en) * 2015-09-23 2016-01-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106921788A (en) * 2015-12-28 2017-07-04 青岛海信移动通信技术股份有限公司 A kind of method for controlling mobile terminal and mobile terminal
CN108603931A (en) * 2016-02-09 2018-09-28 椭圆实验室股份有限公司 Proximity detection
CN108427533A (en) * 2017-02-15 2018-08-21 三星电子株式会社 The method of electronic equipment and environment for determining electronic equipment
CN109085940A (en) * 2017-06-14 2018-12-25 南昌欧菲生物识别技术有限公司 Touch control terminal and its touch control method and device
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

Also Published As

Publication number Publication date
WO2020172771A1 (en) 2020-09-03
CN112639459B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN103632666B (en) Audio recognition method, speech recognition apparatus and electronic equipment
CA2909567C (en) Adjusting mobile device state based on user intentions and/or identity
CN110384495A (en) A kind of ECG detection method and wearable device
CN102411425B (en) Method and device for controlling function of touch screen
CN107422915B (en) Response control mehtod, device, storage medium and the terminal of touch screen
CN104243701A (en) Method for answering call and call answering device
CN107644642A (en) Method for recognizing semantics, device, storage medium and electronic equipment
CN105843400A (en) Somatosensory interaction method and device and wearable equipment
CN108172242B (en) Improved Bluetooth intelligent cloud sound box voice interaction endpoint detection method
CN103325386A (en) Method and system for signal transmission control
CN107703779B (en) Method and device for controlling opening and closing of function by identifying whether wearable equipment is worn or not
CN104683584B (en) A kind of convenient call method of mobile terminal and system
CN110865710B (en) Terminal control method and device, mobile terminal and storage medium
US9857879B2 (en) Finger gesture sensing device
CN109240639A (en) Acquisition methods, device, storage medium and the terminal of audio data
CN103837910B (en) Method and terminal that a kind of proximity transducer threshold value is determined
CN110519450A (en) Ultrasonic processing method, device, electronic equipment and computer-readable medium
CN112639459B (en) Immersion detection method and electronic device
CN109524018A (en) A kind of echo processing method and equipment
CN109710142A (en) A kind of method and terminal for controlling terminal screen light on and off
CN113674761A (en) Device determination method and device determination system
CN106921788A (en) A kind of method for controlling mobile terminal and mobile terminal
CN106354380A (en) Reading prompting method and device
CN109036410A (en) Audio recognition method, device, storage medium and terminal
CN108897517A (en) A kind of information processing method and electronic equipment

Legal Events

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