WO2025102835A1 - Procédé de prévention de contacts accidentels, dispositif électronique et support de stockage - Google Patents
Procédé de prévention de contacts accidentels, dispositif électronique et support de stockage Download PDFInfo
- Publication number
- WO2025102835A1 WO2025102835A1 PCT/CN2024/109576 CN2024109576W WO2025102835A1 WO 2025102835 A1 WO2025102835 A1 WO 2025102835A1 CN 2024109576 W CN2024109576 W CN 2024109576W WO 2025102835 A1 WO2025102835 A1 WO 2025102835A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- preset
- touch
- screen
- large object
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
- G06F3/04186—Touch location disambiguation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0346—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
Definitions
- the present application relates to the field of terminal technology, and in particular to an anti-mistouch method, an electronic device and a storage medium.
- electronic devices use touch screens (or touch panels (TP) for short) to interact with users. Users can use tools such as fingers or styluses to perform touch operations on the screen of electronic devices to control electronic devices to achieve various functions.
- touch screens or touch panels (TP) for short
- TP touch panels
- the present application provides an anti-mistouch method, an electronic device, and a storage medium, which can reduce the probability of mistouch occurring in the electronic device when the screen is not locked and is on, thereby improving the user experience.
- a method for preventing accidental touches comprising: when an electronic device is in a non-locked screen and light screen state, the electronic device displays an accidental touch prevention interface in response to a preset accidental touch prevention condition, the accidental touch prevention interface is used to indicate entering an accidental touch prevention mode. In response to a preset exit condition, the electronic device stops displaying the accidental touch prevention interface.
- electronic devices can prevent the occurrence of accidental touch events, reduce the probability of accidental touches when the electronic device is not locked and the screen is on, save power of the electronic device, reduce the impact of accidental touches on applications in the electronic device, and enhance the user experience.
- the preset false touch prevention condition includes: detecting that the electronic device satisfies at least two of the conditions of being in a motion state, a dark light environment, a top facing the direction of gravity, and a touch event. In this implementation, if the electronic device detects that at least two of the conditions of being in a motion state, a dark light environment, a top facing the direction of gravity, and a touch event are met, the electronic device satisfies the preset false touch prevention condition. In this way, the electronic device can comprehensively determine whether the electronic device satisfies the preset false touch prevention condition.
- the electronic device collects acceleration data, and further inputs the acceleration data into a preset neural network model to obtain an output result of the preset neural network model.
- the output result is used to indicate whether the electronic device is in motion. If the output result indicates that the electronic device is in motion, the electronic device detects that it is in motion.
- the electronic device obtains ambient light intensity. If the ambient light intensity is less than a first preset light value, the electronic device detects that the environment meets the dark light condition.
- the electronic device acquires posture information. If it is detected according to the posture information that the orientation of the top or head of the electronic device is consistent with the direction of gravity, the electronic device detects that the top is facing the direction of gravity.
- the preset exit condition includes: detecting that the electronic device satisfies any one of the following conditions: the electronic device is in a non-dark light environment, the top is facing the opposite direction of gravity, the screen-on duration reaches a preset screen-off duration, and a preset touch event.
- the electronic device detects that any one of the following conditions is met: the electronic device is in a non-dark light environment, the top is facing the opposite direction of gravity, the screen-on duration reaches a preset screen-off duration, and a preset touch event, then the electronic device satisfies the preset exit condition.
- the electronic device detects that the environment satisfies a non-dark light environment.
- the electronic device acquires posture information. If it is detected according to the posture information that the orientation of the top or head of the electronic device is consistent with the opposite direction of the gravity direction, the electronic device detects that the top is facing the opposite direction of the gravity direction.
- the electronic device obtains a screen-on duration. If the screen-on duration reaches a preset screen-off duration, the electronic device detects that the screen-on duration reaches the preset screen-off duration.
- the electronic device locks the refresh frequency to a first refresh frequency in the anti-false touch mode.
- the first refresh frequency is a lower refresh frequency.
- the electronic device may have a plurality of different refresh frequencies, such as a lower refresh frequency (which may be referred to as the first refresh frequency, 60 Hz) and a higher refresh frequency (which may be referred to as the second refresh frequency, such as 120 Hz).
- the electronic device locks the refresh frequency of the screen at a lower refresh frequency, which can minimize the power consumption in the anti-false touch mode and improve the battery life of the electronic device.
- the touch event includes a large object event, and the large object event satisfies a preset large object condition.
- the preset large object condition includes: the touch area is greater than a preset touch area threshold; or, the first axis of the touch area is greater than a first preset length, and the first axis is greater than the second axis of the touch area.
- the above-mentioned large object event is a touch event that satisfies the preset large object condition.
- the touch area of the large object event is large, or the axis length of the touch area is long.
- the electronic device can use the large object event as a condition for entering the anti-mistake touch mode.
- the large object event is a large object event in a handheld scenario.
- the large object event in the handheld scenario satisfies a preset large object condition in the handheld scenario.
- the large object event in the handheld scenario is usually triggered by a touch operation of the user.
- the electronic device can identify the large object event in the handheld scenario through the preset large object condition in the handheld scenario.
- the electronic device includes a preset application. If a preset application is set, the anti-mistouch function corresponding to the anti-mistouch mode is turned off. Alternatively, if a preset application is running, the threshold corresponding to the preset anti-mistouch condition is increased, for example, the first preset illumination value corresponding to the dark light environment is increased, and/or the preset touch area threshold or the first preset length corresponding to the large object event is increased. In this way, if the user is using an electronic device to play games, watch videos, type, etc., the electronic device can increase the difficulty of entering the anti-mistouch mode and reduce the impact of the false triggering of the anti-mistouch mode on the user experience.
- the present application provides an electronic device, comprising: a screen, a memory, and one or more processors.
- the memory and the screen are coupled to the processors respectively.
- the screen is used to display an anti-mistouch interface.
- the memory stores a computer program code, and the computer program code includes computer instructions.
- the electronic device executes the method described in the first aspect and any possible implementation thereof.
- the present application provides a computer program product including program instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect and any possible implementation thereof.
- the computer may be the electronic device described above.
- the present application provides a chip system, which is applied to an electronic device.
- the chip system includes an interface circuit and a processor.
- the interface circuit and the processor are interconnected by a line.
- the interface circuit is used to receive a signal from a memory and send a signal to the processor, the signal including a computer instruction stored in the memory.
- the processor executes the computer instruction
- the electronic device executes the method described in the first aspect and any possible implementation thereof.
- FIG1 is a schematic diagram of an electronic device entering an anti-mistouch mode in an always-on display according to an embodiment of the present application
- FIG2 is a flow chart of an example of triggering an anti-mistouch mode provided in an embodiment of the present application
- FIG3 is a hardware structure block diagram of a mobile phone 100, an example of an electronic device provided in an embodiment of the present application;
- FIG4 is a software structure block diagram of an example mobile phone 100 of an electronic device provided in an embodiment of the present application.
- FIG5 is a schematic diagram of a scenario in which a user holds a handheld electronic device and runs, provided in an embodiment of the present application;
- FIG6 is a schematic diagram of an output result of a preset neural network model provided in an embodiment of the present application.
- FIG7 is a schematic diagram of a touch area provided in an embodiment of the present application.
- FIG8 is a schematic diagram of a touch point on a screen provided by an embodiment of the present application.
- FIG9 is a flow chart of a method for preventing accidental touches provided in an embodiment of the present application.
- FIG11 is a flow chart of a second example of an anti-mistouch method provided in an embodiment of the present application.
- FIG12 is a schematic diagram of an anti-mistouch interface provided in an embodiment of the present application.
- FIG13 is a schematic diagram of an anti-mistouch function setting page provided in an embodiment of the present application.
- FIG. 14 is a flowchart of exiting the accidental touch prevention mode provided in an embodiment of the present application.
- Electronic devices have advantages such as portability and are usually carried by users. For example, users can carry electronic devices by hand or by placing them in pockets or backpacks.
- the screens of electronic devices are usually touch screens (or touch screens).
- the electronic devices receive user touch operations through the touch screens and respond to user operations. Respond and provide services to users.
- the electronic devices may be accidentally touched.
- An accidental touch can be understood as the electronic device receiving a touch signal when the user has no intention to operate the electronic device.
- the touch signal may be generated by the user's touch operation or by other objects touching the screen of the electronic device.
- the user's hand when an electronic device is placed in a pocket, the user's hand is also in the same pocket as the electronic device.
- the user's hand touches the screen of the electronic device, causing the screen of the electronic device to light up or unlock. This false touch not only consumes the power of the electronic device, but may also cause the application in the electronic device to be misoperated, seriously affecting the user's experience.
- the electronic device when the electronic device is in a locked screen state, the electronic device can determine whether to enter an anti-mistouch mode based on the posture information of the electronic device, the ambient light of the environment, whether there is an object approaching, etc.
- the lock screen state may refer to the state in which the screen or interface of the electronic device is in a locked state.
- the electronic device needs to receive a password or detect the user's face, fingerprint, etc. before responding to user operations.
- the unlocked screen state the electronic device can respond to user operations without receiving a password or detecting the user's face, fingerprint, etc.
- the lock screen state depending on whether the screen is lit, it can also be divided into a lock screen and light screen state and a lock screen and off screen state.
- the lock screen and light screen state may refer to the lock screen state in which the screen or interface of the electronic device is lit.
- the lock screen and off screen state may refer to the lock screen state in which the screen or interface of the electronic device is off.
- the unlocked screen state depending on whether the screen is lit, it can also be divided into a non-lock screen and light screen state and a non-lock screen and off screen state.
- the false touch prevention mode may refer to a mode in which the electronic device does not respond to other touch events except for preset touch events.
- the electronic device turns on the Always On Display (AOD) function.
- AOD Always On Display
- the electronic device displays information such as time, power, reminder messages, etc. in the lit area of the screen by partially lighting the screen, so that the user can intuitively see the required information.
- the electronic device displays the time, date and power in part of the screen, and the other areas of the screen are off.
- the electronic device can determine whether to enter the anti-mistaken touch mode based on the sensor data obtained by the sensor.
- the proximity sensor is used to determine whether there is an object approaching the interrupt, such as judging whether there is an object approaching the electronic device through the reflection data (such as light reflection data) collected by the proximity sensor (proximity light judgment). If there is an object approaching the electronic device, the electronic device enters the anti-mistaken touch mode. When entering the anti-mistaken touch mode, the electronic device controls the AOD to turn off, and all areas of the screen of the electronic device are in the off state.
- the posture information obtained by the acceleration sensor and the gyroscope sensor can be used to determine whether the electronic device is in an upside-down posture (upside-down posture determination), and the ambient light data collected by the ambient light sensor can be used to determine whether the electronic device is in a dark light environment (ambient light determination). If the electronic device is in an upside-down posture and a dark light environment, the electronic device enters the anti-mistouch mode and turns off the screen.
- anti-mistouch schemes in the locked screen state, electronic devices can reduce the occurrence of mistouch situations in electronic devices to a certain extent.
- these anti-mistouch schemes are all anti-mistouch functions provided when the electronic device is in the locked screen state.
- the electronic device may be mistouched when the screen is not locked, causing the electronic device to be in the bright screen state for a long time. It not only consumes power of electronic devices, affects the normal operation of software programs on electronic devices, or triggers the startup of software programs that have not been started, but may also cause information leakage, seriously affecting the user experience.
- the electronic device when the electronic device is in a non-locked and bright screen state, the user forgets to lock the screen and puts the electronic device in the pocket of the clothes. Since the pocket is easy to come into contact with the screen of the electronic device, the electronic device in the pocket is prone to accidental touches, resulting in the deletion, movement, and opening of the application in the electronic device.
- the electronic device when the user puts the electronic device into the pocket, the electronic device is unlocked because the user accidentally touches the fingerprint unlocking area on the side of the electronic device. After the electronic device is placed in the pocket, it is in a non-locked and bright screen state. Since the pocket comes into contact with the screen of the electronic device, the electronic device is accidentally touched in the pocket.
- the electronic device may make multiple calls without the user's perception.
- the electronic device is mislocked by face recognition and then moved by the user. Since the user's hand touches the screen of the electronic device easily, the electronic device is prone to accidental touches.
- the electronic device may send messages to other users through chat software.
- the electronic device is also prone to accidental touches when it is in a non-locked screen and bright screen state. Moreover, the electronic device has no anti-accidental touch solution in the non-locked screen and bright screen state.
- the method provided in the embodiment of the present application can detect the electronic device for anti-accidental touches by preset anti-accidental touch conditions when the electronic device is in a non-locked screen and bright screen state. If it is detected that the electronic device meets the preset anti-accidental touch conditions, it indicates that the electronic device is likely to be in a non-locked screen and bright screen state due to reasons such as the user forgetting to lock the screen or the user accidentally unlocking the electronic device.
- the electronic device enters the anti-accidental touch mode, displays the anti-accidental touch interface on the screen, and reminds the user that the electronic device enters the anti-accidental touch mode through the anti-accidental touch interface.
- the electronic device does not respond to other touch events other than the preset touch event.
- the anti-accidental touch interface stops displaying. In this way, electronic devices can prevent the occurrence of accidental touch events, reduce the probability of accidental touches when the electronic device is not locked and the screen is on, save power of the electronic device, reduce the impact of accidental touches on applications in the electronic device, and enhance the user experience.
- the electronic device described in the embodiments of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) ⁇ virtual reality (VR) device, a media player, a wearable device, and the like.
- UMPC ultra-mobile personal computer
- PDA personal digital assistant
- AR augmented reality
- VR virtual reality
- the electronic device is a mobile phone 100 as an example, and the hardware structure of the electronic device is introduced through the mobile phone 100.
- the mobile phone 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
- SIM subscriber identification module
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller
- the processor 110 may include a processor, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), a driver processor, etc.
- different processing units may be independent devices or integrated into one or more processors.
- the processor 110 may be the nerve center and command center of the mobile phone 100.
- the processor 110 may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
- the processor 110 may also be provided with a memory for storing instructions and data.
- the memory in the processor 110 is a cache memory.
- the memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100.
- the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.
- the internal memory 121 may be used to store computer executable program codes, which include instructions.
- the processor 110 executes various functional applications and data processing of the mobile phone 100 by running the instructions stored in the internal memory 121.
- the processor 110 may execute the instructions stored in the internal memory 121, and the internal memory 121 may include a program storage area and a data storage area.
- the wireless communication function of the mobile phone 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
- the antenna 1 of the mobile phone 100 is coupled with the mobile communication module 150
- the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
- the sensor module 180 may include sensors such as a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a Hall sensor, a touch sensor, an ambient light sensor, and a proximity sensor.
- the mobile phone 100 may collect various sensor data through the sensor module 180 .
- the gyroscope sensor can be used to determine the posture information of the mobile phone 100.
- the angular velocity of the mobile phone 100 around three axes i.e., the x, y, and z axes of the mobile phone coordinate system
- the gyroscope sensor can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor detects the angle of the shaking of the mobile phone 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the mobile phone 100 through reverse movement to achieve anti-shake.
- Gyroscope sensors can also be used for navigation and somatosensory game scenes.
- the acceleration sensor can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). When the mobile phone 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture information of the electronic device, and is applied to applications such as horizontal and vertical screen switching, pedometers, etc.
- the gyroscope sensor and the acceleration sensor can be integrated into one sensor.
- the mobile phone 100 can determine whether it is in a motion state (or motion state, which may include walking state and running state) through the three-axis acceleration detected by the acceleration sensor. For example, when a user carries the mobile phone 100, the mobile phone 100 can identify whether the user holding the mobile phone 100 is in a stationary state, walking state or running state through the three-axis acceleration obtained by the acceleration sensor. The frequency of the acceleration data collected by the mobile phone 100 through the acceleration sensor can reach 100 Hz.
- the mobile phone 100 can also identify the head-down posture of the mobile phone 100 through the three-axis angular velocity obtained by the gyroscope sensor and the three-axis acceleration obtained by the accelerometer sensor. For example, the mobile phone 100 can perform six-axis fusion (such as using a six-axis fusion algorithm) on the three-axis angular velocity and the three-axis acceleration to determine the posture information of the mobile phone 100.
- the posture information includes pitch, roll and yaw. Further, the mobile phone 100 can determine whether the top of the mobile phone 100 is facing the direction of gravity according to the posture information, that is, recognize the head-down posture of the mobile phone 100.
- the proximity sensor may be an optical proximity sensor, such as a light emitting diode (LED) and a photodetector (such as a photodiode).
- the light emitting diode may be an infrared light emitting diode.
- the mobile phone 100 emits infrared light outward through the light emitting diode.
- the mobile phone 100 uses the photodetector to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the mobile phone 100. When insufficient reflected light is detected, the mobile phone 100 can determine that there is no object near the mobile phone 100.
- the proximity sensor may also be provided in the receiver 170B (or earpiece) and the microphone 170C.
- the receiver 170B is provided with an ultrasonic wave transmitting device
- the microphone 170C is provided with an ultrasonic wave receiving device.
- the mobile phone 100 transmits ultrasonic wave pulses outward through the receiver 170B.
- the ultrasonic wave pulses are reflected after reaching the object.
- the microphone 170C of the mobile phone 100 detects the reflected ultrasonic wave, it can be determined that there is an object near the mobile phone 100.
- the mobile phone 100 can determine that there is no object near the mobile phone 100.
- the mobile phone 100 can use the proximity sensor to detect that the user holds the mobile phone 100 close to the ear to talk, so as to automatically turn off the screen to save power.
- the proximity sensor can also be used for automatic unlocking and locking of the screen in the leather case mode, pocket mode, etc., and can also be used to identify false touches.
- the ambient light sensor is used to sense the brightness of the ambient light.
- the mobile phone 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
- the ambient light sensor can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor can also be used to identify dark light environments. For example, when the ambient light intensity obtained by the mobile phone through the ambient light sensor is less than the first preset light value, it can be considered that the mobile phone is in a dark light environment.
- the ambient light sensor can also cooperate with sensors such as proximity sensors and acceleration sensors to detect whether the mobile phone 100 is in a pocket to prevent accidental touches.
- the touch sensor is also called a "touch panel”.
- the touch sensor can be set inside or on the surface of the display screen 194.
- the touch sensor and the display screen 194 form a touch screen, which is also called a “touch screen” or “touch-sensitive screen”.
- the touch sensor is used to detect touch events acting on or near it.
- the touch sensor can pass the detected touch event to the application processor to determine the type of touch event.
- the mobile phone 100 can provide visual output related to the touch event through the display screen 194.
- the display screen 194 is used to display images, videos, etc.
- the display screen 194 includes a display panel.
- the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), MiniLED, MicroLED, Micro-OLED, quantum dot light-emitting diodes (QLED), etc.
- LCD liquid crystal display
- OLED organic light-emitting diode
- AMOLED active-matrix organic light-emitting diode
- FLED flexible light-emitting diode
- MiniLED MicroLED
- Micro-OLED quantum dot light-emitting diodes
- the interface connection relationship between the modules illustrated in this embodiment is only a schematic illustration and does not constitute a structural limitation on the electronic device.
- the electronic device may also include more or fewer modules than those provided in the above embodiments, and different interface connection methods in the above embodiments may be used between the modules, or a combination of multiple interface connection methods.
- the hardware structure of the electronic device provided in the embodiments of the present application can also refer to the hardware structure of the mobile phone 100 as shown in the figure. The methods in the following embodiments can all be implemented in an electronic device having the above hardware structure.
- the software system of the electronic device can adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
- the Android system of the layered architecture and the electronic device being the mobile phone 100 are taken as an example to illustrate the software structure of the electronic device.
- FIG4 is a software structure diagram of the mobile phone 100 of the embodiment of the present application.
- the layered architecture divides the software into several layers, each layer has a clear role and division of labor.
- the layers communicate with each other through software interfaces.
- the Android system may include an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, a hardware abstraction layer (HAL) and a kernel layer.
- Android runtime Android runtime
- HAL hardware abstraction layer
- the application layer may include a series of application packages.
- the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video and other applications, and the present application embodiment does not impose any restrictions on this.
- the application framework layer provides an application programming interface (API) and a programming framework for the applications of the application layer.
- the application framework layer includes some predefined functions.
- the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and a sensor manager, etc., and the embodiments of the present application do not impose any restrictions on this.
- the Android runtime consists of a core library and a virtual machine.
- the Android runtime is responsible for scheduling and management of the Android system.
- the core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library.
- the application layer and the application framework layer run in the virtual machine.
- the virtual machine executes the Java files of the application layer and the application framework layer as binary files.
- the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
- the HAL layer encapsulates the Linux kernel driver, provides an interface to the upper layer, and shields the implementation details of the underlying hardware.
- the HAL layer can include the camera HAL module, Wi-Fi HAL module, sensor HAL module, touch HAL module, etc.
- the kernel layer is the layer between hardware and software.
- the kernel layer is used to provide drivers and system service programs.
- Drivers include at least display drivers, camera drivers, audio drivers, sensor drivers, touch drivers, etc.
- the mobile phone 100 when the mobile phone 100 is not locked and the screen is on, it collects sensor data (such as acceleration data, angular velocity data, light intensity data and other sensor data) in real time through sensors such as gyroscope sensors, acceleration touch sensors, and ambient light sensors.
- the mobile phone 100 may also include a sensor hub.
- the sensor hub is used to process sensor data from sensors such as gyroscope sensors, acceleration touch sensors, and ambient light sensors.
- the sensor hub detects anti-false touch events based on the sensor data. Anti-false touch events are triggering events for anti-false touch modes. For example, the sensor hub detects anti-false touch events corresponding to the mobile phone 100 being in a moving state based on acceleration data.
- the sensor hub detects anti-false touch events corresponding to the mobile phone 100 being in a head-down posture based on acceleration data and angular velocity data.
- the sensor hub detects anti-false touch events corresponding to the mobile phone 100 being in a dark light environment based on light intensity data. If the touch sensor hub detects any anti-false touch event, the anti-false touch event is reported to the application processor.
- the sensor driver of the kernel layer of the application processor reports the anti-false touch event to the application framework through the sensor HAL module
- the mobile phone 100 can also collect touch data through the touch sensor. If the touch sensor collects touch data, it reports the anti-mistouch event corresponding to the touch data to the application processor of the mobile phone 100.
- the touch driver of the kernel layer of the application processor reports the anti-mistouch event corresponding to the touch data to the sensor manager in the application framework layer through the touch HAL module.
- the sensor manager confirms that the mobile phone 100 meets the preset anti-mistouch conditions based on the anti-mistouch events reported by each sensor, and the sensor manager can instruct the notification manager to generate an anti-mistouch interface.
- the mobile phone 100 can also realize the reporting of anti-false touch events and the response to anti-false touch events through other modes.
- an anti-false touch module can be set in the application architecture layer, and the mobile phone 100 receives the anti-false touch events reported by each sensor through the anti-false touch module, and determines whether to enter the anti-false touch mode according to the anti-false touch events reported by each sensor.
- the embodiment of the present application only exemplifies the reporting process of the anti-false touch event.
- the electronic device when the electronic device is in a non-locked and bright screen state, the electronic device can be detected by a preset anti-false touch condition to prevent the occurrence of false touch events.
- the preset anti-false touch condition can be set according to the actual application scenario or demand.
- the preset false touch prevention condition includes: detecting that the electronic device satisfies at least two of the conditions of being in motion, in a dark light environment, with the top facing the direction of gravity, and a touch event.
- the electronic device can determine whether at least two of the conditions of motion state (the state in which the electronic device and the user holding the electronic device move synchronously), dark light environment, with the top facing the direction of gravity, and a touch event are met. If the electronic device meets at least two of these conditions, the electronic device meets the preset false touch prevention condition.
- the electronic device only needs to determine at least two conditions included in the preset false touch prevention conditions.
- the preset false touch prevention conditions include the two conditions of motion state and touch event, and the electronic device only needs to determine whether the two conditions of motion state and touch event are met. If the electronic device meets these two conditions, the electronic device meets the preset false touch prevention conditions.
- the electronic device can determine whether it is in motion through acceleration data collected by an acceleration sensor.
- the electronic device collects three-axis acceleration data in real time through an acceleration sensor.
- the three-axis acceleration data is the acceleration data of the x-axis, y-axis and z-axis of the mobile phone coordinate system respectively.
- the mobile phone coordinate system can be a world coordinate system or a self-defined coordinate system.
- the electronic device inputs the three-axis acceleration data into a trained preset neural network model to obtain the output result of the preset neural network model.
- the preset neural network model is used to determine whether the electronic device is in motion based on the acceleration data.
- the output result of the preset neural network model indicates whether the electronic device is in motion.
- the output result may include any of two state values. If the output result is a first state value, such as "1", it indicates that the electronic device is in motion. If the output result is a second state value, such as "0", it indicates that the electronic device is in a stationary state. Alternatively, if the output result is a first state value, it indicates that the electronic device is in a stationary state. When the output result is the second state value, it means that the electronic device is in motion and is not restricted.
- the motion state can be divided into a walking state and a running state according to the moving speed. If the user holding the electronic device is in a walking state or a running state, the electronic device can be considered to be in a motion state.
- the output result of the preset neural network model may include at least one of the walking state information and the running state information.
- the walking state information is used to indicate whether the user holding the electronic device is in a walking state. If the output result includes the walking state information, and the walking state information is the first state information, such as "1", it indicates that the user holding the electronic device is in a walking state. If the walking state information is the second state information, such as "0", it indicates that the user holding the electronic device is not in a walking state.
- the running state information is used to indicate whether the user holding the electronic device is in a running state. If the output result includes the running state information, and the running state information is the third state information, such as "1", it indicates that the user holding the electronic device is in a running state. If the running state information is the fourth state information, such as "0", it indicates that the user holding the electronic device is not in a running state.
- the preset neural network model has a powerful recognition function and a high recognition accuracy. For example, the accuracy of the preset neural network model in identifying the running state can reach more than 95%, and the accuracy of the walking state can reach 100%.
- the embodiments of the present application only illustrate the process of determining whether an electronic device is in motion.
- the electronic device may obtain the moving speed of the electronic device, and if the moving speed is greater than a preset speed threshold, it is determined that the electronic device is in motion.
- the above-mentioned dark light environment can be understood as an environment where the ambient light intensity is less than the first preset light value, that is, an environment with low light intensity.
- the first preset light value can be set according to the actual application scenario or demand. For example, the first preset light value can be set to 30 lux. If the electronic device is in a dark light environment, the electronic device may be in a pocket or a backpack. In this case, the user is less likely to use the electronic device. If the electronic device detects a touch event, it may be a false touch. Therefore, the electronic device in a dark light environment can be used as one of the preset anti-false touch conditions.
- the electronic device can determine whether the environment in which the electronic device is located is a dark light environment through the ambient light data collected by the ambient light sensor. For example, the electronic device determines the ambient light intensity through the ambient light data collected in real time by the ambient light sensor. Further, the electronic device compares the ambient light intensity with the first preset light value to determine whether the ambient light intensity is less than the first preset light value. If the ambient light intensity is less than the first preset light value, the electronic device confirms that the environment is a dark light environment. If the ambient light intensity is greater than or equal to the second preset light value, the electronic device confirms that the environment is not a dark light environment.
- the second preset light value can be set according to the actual application scenario or requirements. For example, the second preset light value can be set to 50lux.
- the above-mentioned top facing the direction of gravity can be understood as the posture of the top or head of the electronic device facing down, or called the head-down posture.
- the top of the electronic device or the head is facing opposite to the direction of gravity, or called the head-up posture. If the top of the electronic device faces the direction of gravity, the user is less likely to use the electronic device. If the electronic device detects a touch event, it may be a false touch. Therefore, the top of the electronic device facing the direction of gravity can be used as one of the preset anti-false touch conditions.
- the electronic device can determine the posture information of the electronic device through the angular velocity data collected by the gyroscope sensor and the acceleration data collected by the acceleration sensor.
- the electronic device can determine whether the orientation of the top or head of the electronic device is consistent with the direction of gravity (i.e., determine whether the electronic device is in a head-down posture) based on the posture information. If the orientation of the top or head of the electronic device is consistent with the direction of gravity, it can be determined that the electronic device is in a head-down posture. If the orientation of the top or head of the electronic device is inconsistent with the direction of gravity, it can be determined that the electronic device is in a non-head-down posture.
- the orientation of the top of the electronic device may be the direction in which the geometric center of the screen of the electronic device points to the top center of the screen.
- the orientation of the top may be consistent with the direction of gravity, and the angle between the orientation of the top and the direction of gravity may be less than a preset angle threshold.
- the preset angle threshold may be set according to actual application scenarios or requirements. For example, the preset angle threshold may be set to values such as 60°, 90°, etc. If the angle between the orientation of the top of the electronic device and the direction of gravity is less than the preset angle threshold, the orientation of the top of the electronic device is consistent with the direction of gravity, or it can be considered that the top of the electronic device is facing the direction of gravity.
- the orientation of the top of the electronic device is inconsistent with the direction of gravity, or it can be considered that the top of the electronic device is facing the opposite direction of the direction of gravity.
- the above touch event can be understood as an event triggered by a touch operation or touch received by the electronic device on the touch screen. If the electronic device detects a touch event, it may be a false touch. The electronic device detecting a touch event can be used as one of the preset false touch prevention conditions.
- a touch event is an event triggered by a large object touch, which may be referred to as a large object event.
- a large object event is a touch event with a large touch area. If an electronic device detects a large object event, the electronic device may be placed in a pocket, a backpack, etc. and the touch event is triggered by the pocket, the backpack, etc. In this case, the touch event detected by the electronic device is likely to be a touch event caused by an accidental touch.
- the large object event may satisfy a preset large object condition, which may include at least one of a touch area being greater than a preset touch area threshold and a first axis of the touch area being greater than a first preset length.
- the touch area corresponding to the touch event is greater than the preset touch area threshold, indicating that the touch area of the touch event is large.
- the preset touch area threshold can be set according to actual application scenarios or requirements. For example, the preset touch area threshold can be set to a value such as 400 square millimeters.
- the first axis of the touch area is greater than the second axis of the touch area.
- the first axis of the touch area may be the longest axis of the touch area
- the second axis of the touch area may be the shortest axis of the touch area.
- the touch area of the touch operation received by the electronic device on the screen is an elliptical area.
- the first axis of the elliptical area is the long axis of the elliptical area.
- the second axis of the elliptical area is the short axis of the elliptical area.
- the first axis of the touch area is greater than the first preset length, indicating that the axial direction of the touch area is longer, that is, the touch area is larger.
- the first preset length can be set according to the actual application scenario or requirements. For example, the first preset length can be set to a value such as 30 mm.
- the touch area of the touch region corresponding to the touch event may be compared with a preset touch area threshold. If the touch area corresponding to the touch event is greater than the preset touch area threshold, the touch event may be considered to be a large object event.
- the electronic device may compare the first axis of the touch region corresponding to the touch event with a first preset length. If the first axis of the touch region corresponding to the touch event is greater than the first preset length, the touch event may be considered to be a large object event.
- the above-mentioned preset large object condition may also include that the second axis of the touch area is greater than the second preset length.
- the electronic device detects a touch event
- the first axis of the touch area corresponding to the touch event may be compared with the first preset length
- the second axis of the touch area may be compared with the second preset length. If the first axis of the touch area corresponding to the touch event is greater than the first preset length, and the second axis is greater than the second preset length, the touch event may be considered to be a large object event.
- the second preset length may be set according to the actual application scenario or requirements. For example, the second preset length may be set to a value such as 12 mm.
- the touch event detected by the electronic device may be a touch event in a handheld scenario or a touch event in a non-handheld scenario.
- a touch event in a handheld scenario is a touch event detected by the electronic device when the user holds the electronic device.
- a touch event in a handheld scenario is triggered by a touch operation of the user.
- a touch event in a non-handheld scenario is a touch event detected by the electronic device when the user is not holding the electronic device.
- a touch event is detected when the electronic device is placed in a pocket, a backpack, etc.
- a touch event in a non-handheld scenario is triggered by an object contacting the screen.
- the trigger threshold is a preset touch area threshold set for the touch area in the preset large object condition satisfied by the large object event, or a first preset length set for the first axis of the touch area.
- the electronic device may determine whether the capacitance value (such as the maximum capacitance value) corresponding to the touch event is greater than a preset capacitance value. If the capacitance value corresponding to the touch event is greater than the preset capacitance value, it is determined that the touch event is a touch event in a handheld scenario. Further, the electronic device determines whether the touch event satisfies the preset large object condition in a handheld scenario. If the touch event satisfies the preset large object condition in a handheld scenario, it is indicated that the touch event is a large object event in a handheld scenario.
- the capacitance value such as the maximum capacitance value
- the electronic device determines whether the touch event satisfies the preset large object condition in a non-handheld scenario. If the touch event satisfies the preset large object condition in a non-handheld scenario, it is indicated that the touch event is a large object event in a non-handheld scenario.
- the touch events in the handheld scenario and the touch events in the non-handheld scenario can be distinguished by setting a suitable preset capacitance value.
- the preset capacitance value can be set to 2000.
- the trigger threshold of the large object event in the handheld scenario can also be greater than the trigger threshold of the large object event in the non-handheld scenario.
- the preset large object condition in the handheld scenario is that the touch area corresponding to the touch event is greater than 900 square millimeters (i.e., an example of the preset touch area threshold in the handheld scenario), or the first axis of the touch area corresponding to the touch event is greater than 60 millimeters (i.e., an example of the first preset length in the handheld scenario).
- the preset large object condition in the non-handheld scenario is that the touch area corresponding to the touch event is greater than 400 square millimeters (i.e., an example of the preset touch area threshold in the non-handheld scenario), or the first axis of the touch area corresponding to the touch event is greater than 30 millimeters (i.e., an example of the first preset length in the non-handheld scenario).
- the screen of the electronic device in the embodiment of the present application is a capacitive touch screen.
- the screen of the electronic device may include multiple touch points evenly distributed. Each touch point may be a square with a side length of 4 mm. Each touch point has a corresponding capacitance value.
- the capacitance value of the touch point in the screen will change. Specifically, the capacitance value of the touch point touched on the screen will increase.
- the electronic device can detect a touch event based on the capacitance value of each touch point in the screen. Take the above-mentioned preset capacitance value of 2000 as an example.
- the maximum capacitance value among the capacitance values of each touch point in the figure is 2633, which is greater than the preset capacitance value, indicating that the touch event detected by the electronic device is a touch event in a handheld scenario. Further, the electronic device determines the area formed by the continuous touch points whose capacitance values in each touch point are greater than the preset capacitance value, and the area is the touch area corresponding to the touch event. The electronic device can calculate the area of the touch area or the major axis length, minor axis length, etc. of the touch area according to the side length of each touch point.
- the above capacitance value may be a normalized capacitance value, which is a dimensionless (i.e., unitless) physical quantity.
- the normalized capacitance value is 3000.
- the normalized capacitance value can reduce the impact of different touch sensor designs on the capacitance value obtained by the electronic device. Through normalization, the electronic device can The capacitance value obtained by the control point is normalized to a certain range, such as less than or equal to 3000.
- the screen of the electronic device is a capacitive touch screen as an example to introduce the recognition method of large object events, but the screen of the electronic device is not limited to a capacitive touch screen.
- the screen of the electronic device can also be a resistive touch screen or other forms of touch screen.
- the embodiments of the present application do not limit the form of the touch screen.
- any one of the above-mentioned preset anti-false touch conditions corresponds to a situation where the electronic device may be accidentally touched.
- the combination of multiple conditions in the above-mentioned preset anti-false touch conditions can reduce the possibility of false touches and improve the accuracy of preventing false touch events.
- the electronic device is in a dim environment and is in an upside-down posture. In this case, the electronic device is likely to be in a pocket, backpack, or other scene where false touches are prone to occur.
- a touch event is detected when the electronic device is in motion, upside-down, and in a dim environment. In this case, the electronic device is likely to be in a pocket, backpack, or other scene where false touches are prone to occur, and the touch event detected by the electronic device is likely to be a touch event corresponding to a false touch.
- the electronic device is a mobile phone as an example to introduce the method provided by the embodiment of the present application.
- the method provided by the embodiment of the present application may include:
- the mobile phone is equipped with a lock screen function.
- the lock screen function When the lock screen function is enabled, the mobile phone can be unlocked under the control of the user, such as by fingerprint recognition or face recognition. After being unlocked, the mobile phone is in a non-locked and bright screen state.
- the lock screen function When the lock screen function is not enabled, the mobile phone can light up the screen when receiving user operations, and the screen will remain on for a period of time after the screen is turned on without receiving user operations.
- the mobile phone determines whether a preset accidental touch prevention condition is met.
- the phone collects sensor data in real time through multiple sensors set inside. Further, the phone determines whether the preset anti-mistouch conditions are met based on the collected sensor data. If the phone detects at least two of the following: motion state, dark light environment, top facing the direction of gravity, and touch event, the phone meets the preset anti-mistouch conditions.
- this step can be repeated.
- the mobile phone can determine whether the preset anti-false touch conditions are met in a preset period (such as 2 seconds, 3 seconds, etc.).
- the mobile phone can determine whether any one of the conditions of motion state, dark light environment, top facing the direction of gravity, and touch event is met. If the mobile phone detects that at least two of the conditions of being in motion state, dark light environment, top facing the direction of gravity, and touch event are met, the mobile phone meets the preset anti-false touch conditions. If the mobile phone meets the preset anti-false touch conditions, it can be understood that the mobile phone meets all the conditions of the preset anti-false touch conditions. If the mobile phone does not meet the preset anti-false touch conditions, it can be understood that the mobile phone does not meet one or more of the preset anti-false touch conditions.
- the phone displays the anti-mistouch interface.
- the phone enters the accidental touch prevention mode and displays the accidental touch prevention interface on the screen.
- the accidental touch prevention interface is used to indicate the entry into the accidental touch prevention mode.
- the phone does not respond to other touch events other than the preset touch events. Even if the phone screen is touched, the phone will not respond. In this way, the phone can reduce the impact of accidental touches on the phone and the user in non-lock screen light scenes.
- a touch event is any touch event that can be sensed by the mobile phone.
- a touch event with a small touch area whose touch area is greater than zero and smaller than the above-mentioned preset touch area threshold (which can be called a normal touch event).
- a touch event with a small touch area whose touch area is greater than zero and smaller than the above-mentioned preset touch area threshold (which can be called a normal touch event).
- the mobile phone when the mobile phone is in a unlocked and bright screen state, it can determine whether the mobile phone is in motion, whether the mobile phone is in a dark environment, whether the top of the mobile phone is facing the direction of gravity (i.e., head-down posture), and whether a touch event is detected.
- the mobile phone If the mobile phone detects that at least two of the multiple items of motion, dark environment, head-down posture, and touch event are met at the same time, the mobile phone confirms that the preset anti-false touch conditions are met, enters the anti-false touch mode, and displays the anti-false touch interface on the screen.
- the mobile phone when the mobile phone is in a non-locked and bright screen state, it can be respectively determined whether the mobile phone is in motion, whether the mobile phone is in a dark environment, whether the top of the mobile phone is facing the direction of gravity (i.e., head-down posture), and whether a large object event with a large touch area is detected. If the mobile phone meets at least two of the conditions of motion, dark environment, head-down posture, and large object event, the mobile phone confirms that the preset anti-false touch conditions are met, enters the anti-false touch mode, and displays the anti-false touch interface on the screen.
- the mobile phone can also issue prompts such as prompt sounds and vibrations to remind the user that a mistaken touch has occurred through prompt sounds, vibrations, etc.
- the anti-mistaken touch interface can be a transparent interface.
- the transparency of the anti-mistaken touch interface can be 50%, 70%, etc.
- the anti-mistaken touch interface can be covered above the bright screen interface.
- the bright screen interface is the interface displayed on the mobile phone screen before the mobile phone enters the anti-mistaken touch mode when the mobile phone is not locked and the screen is bright. If the mobile phone meets the preset anti-mistaken touch conditions, the anti-mistaken touch interface pops up on the bright screen interface displayed on the screen.
- the anti-mistouch interface displayed on the screen is shown in Figure 12.
- the mobile phone is in an upside-down posture
- the anti-mistouch interface on the mobile phone screen is also in an inverted state with the upside-down posture of the mobile phone.
- the anti-mistouch interface prompts the user to enter the anti-mistouch mode.
- the anti-mistouch interface also includes a prompt message of "Do not block the top of the screen" and a prompt message of "Slide twice to exit the anti-mistouch mode" to prompt the user how to exit the anti-mistouch mode.
- the operation of sliding twice is the preset operation that triggers the preset touch event.
- the premise for the mobile phone to enter the anti-mistouch mode is that the mobile phone has turned on the anti-mistouch function corresponding to the anti-mistouch mode under the control of the user.
- the options of the anti-mistouch function corresponding to the anti-mistouch mode can be set uniformly with other anti-mistouch functions.
- the anti-mistouch function corresponding to the anti-mistouch mode can have the same options as the anti-mistouch function in the locked screen state.
- the anti-mistouch function corresponding to the anti-mistouch mode can be set with independent options.
- the anti-mistouch function corresponding to the anti-mistouch mode is solidified in the mobile phone and does not require user instructions to turn it on.
- the mobile phone provides gesture control, timed power on/off, and non-lock screen anti-mistouch mode options in the auxiliary functions provided on the settings page.
- the mobile phone can turn on the anti-mistouch function through the option corresponding to the non-lock screen anti-mistouch mode under the control of the user. After turning on the anti-mistouch function, when the screen is not locked and the screen is on, if the mobile phone meets the preset anti-mistouch conditions, it enters the anti-mistouch mode.
- the refresh rate of the screen when the mobile phone enters the anti-mistaken touch mode, can also be locked to the first refresh rate.
- the first refresh rate can be the lowest refresh rate of the screen, such as 60 Hz.
- the refresh rate of the screen will not be too high due to the screen being accidentally touched.
- the power consumption in the anti-mistaken touch mode is reduced as much as possible, such as the optimized power consumption of the mobile phone can be reduced to about 60 mAh to 70 mAh.
- the refresh rate of the mobile phone screen may have multiple gears.
- the refresh rate of the mobile phone may be the first refresh rate or the second refresh rate.
- the first refresh rate is less than the second refresh rate.
- the second refresh rate may be the highest refresh rate of the mobile phone screen, such as 120 Hz.
- the mobile phone can temporarily turn off the anti-mistouch function corresponding to the anti-mistouch mode.
- the mobile phone can increase the satisfaction threshold corresponding to at least one of the above preset anti-mistouch conditions. For example, the mobile phone can increase the first preset illumination value corresponding to the dark light environment, or increase the preset touch area threshold corresponding to the large object event. In this way, if the user is using mobile games, watching videos, typing, etc., the mobile phone can increase the difficulty of entering the anti-mistouch mode and reduce the impact of false triggering of the anti-mistouch mode on the user experience.
- the preset exit conditions include: detecting that the mobile phone meets a non-dark light environment, the top is facing the opposite direction of gravity, the screen-on time reaches the preset screen-off time, and any one of the preset touch events. If the mobile phone detects that the environment is not dark, the top is facing the opposite direction of gravity, the screen-on time reaches the preset screen-off time, and any one of the preset touch events is met, the electronic device meets the preset exit conditions.
- a non-dark light environment is an environment where the ambient light intensity is greater than or equal to the second preset light value, that is, an environment with strong light intensity. If the mobile phone is in a non-dark light environment, it can be considered that the mobile phone may be removed from a dark light environment such as a pocket or a backpack. In this case, the user is more likely to use the mobile phone. If the mobile phone detects that the environment changes from a dark light environment to a non-dark light environment, the mobile phone can exit the anti-false touch mode, such as canceling the display of the anti-false touch interface on the screen and restoring the display interface before entering the anti-false touch mode.
- the anti-false touch mode such as canceling the display of the anti-false touch interface on the screen and restoring the display interface before entering the anti-false touch mode.
- the top facing the opposite direction of gravity can be understood as the top or head facing upward, or head-up posture.
- the top of the phone or the head is facing in the opposite direction of gravity. If the top of the phone faces the direction of gravity, the user is more likely to use the phone. In this case, the phone can exit the anti-mistouch mode. For example, the phone cancels the anti-mistouch interface on the screen and restores the display interface before entering the anti-mistouch mode.
- the screen-on time is the time that the phone screen is on and no user operation is received. If the screen-on time reaches the preset screen-off time, such as 15 seconds, 30 seconds, etc., the phone will exit the accidental touch prevention mode and enter the screen-off state.
- the preset touch event is used to indicate exiting the anti-false touch mode.
- the trigger event is triggered by two sliding operations in the anti-false touch interface. If the mobile phone detects a preset touch event, indicating that the user wants to exit the anti-false touch interface, the mobile phone cancels the anti-false touch interface on the screen and restores the display interface before entering the anti-false touch mode.
- the mobile phone determines whether it is in a non-dark light environment, whether the mobile phone is in an upward posture, whether the screen-on time reaches the preset screen-off time, and whether a preset touch event is detected. If the mobile phone is in a non-dark light environment, or in an upward posture, or the screen-on time reaches the preset screen-off time, or a preset touch event is detected, the preset exit condition is met, and the mobile phone exits the anti-mistaken touch mode and stops displaying the anti-mistaken touch interface on the screen.
- the mobile phone can exit the accidental touch prevention mode in time. After exiting the accidental touch prevention mode, the mobile phone can respond to user operations normally and provide services to the user.
- the personal information used in this application is limited to obtaining individual consent. information, including but not limited to notifying and reminding users to read the relevant user agreement (notification) and sign the agreement (authorization) including authorization of relevant user information before using the function (such as turning on the anti-mistouch function).”
- an electronic device comprising: a screen, a memory and one or more processors.
- the screen and the memory are coupled to the processor respectively.
- the screen is used to display an anti-mistouch interface.
- the memory stores a computer program code, which includes computer instructions.
- the electronic device can perform each function or step in the above method embodiment.
- the electronic device can also include other hardware structures.
- the electronic device also includes hardware structures such as sensors and communication modules.
- the structure of the electronic device can refer to the structure of the electronic device shown in Figure 3.
- the embodiment of the present application also provides a chip system, which is applied to an electronic device.
- the chip system includes at least one processor and at least one interface circuit.
- the processor and the interface circuit can be interconnected by lines.
- the interface circuit can be used to receive signals from other devices (such as memory).
- the interface circuit can be used to send signals to other devices (such as processors).
- the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instruction is executed by the processor, the electronic device can perform the various steps in the above embodiments.
- the chip system can also include other discrete devices, which are not specifically limited in the embodiment of the present application.
- An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions.
- the computer instructions When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step in the above-mentioned method embodiment.
- the present application also provides a computer program product, which, when executed on a computer, enables the computer to perform various functions or steps in the above method embodiment.
- the computer may be the above electronic device.
- the disclosed devices and methods can be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
- Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, It can be stored in a readable storage medium.
- the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application.
- the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
La présente demande a trait au domaine technique des terminaux. Sont divulgués un procédé de prévention de contacts accidentels, un dispositif électronique et un support de stockage. Selon ce procédé : lorsqu'un dispositif électronique se trouve dans un état de déverrouillage et d'activation d'écran, le dispositif électronique affiche une interface de prévention de contacts accidentels en réponse à une condition prédéfinie de prévention de contacts accidentels, l'interface de prévention de contacts accidentels servant à indiquer qu'un mode de prévention de contacts accidentels est activé ; et le dispositif électronique arrête d'afficher l'interface de prévention de contacts accidentels en réponse à une condition de sortie prédéfinie. Ainsi, le dispositif électronique peut réduire la probabilité de contacts accidentels sur le dispositif électronique lorsqu'il se trouve dans un état de déverrouillage et d'activation d'écran.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311533002.2 | 2023-11-15 | ||
| CN202311533002.2A CN120045080A (zh) | 2023-11-15 | 2023-11-15 | 一种防误触方法、电子设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025102835A1 true WO2025102835A1 (fr) | 2025-05-22 |
Family
ID=95742018
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/109576 Pending WO2025102835A1 (fr) | 2023-11-15 | 2024-08-02 | Procédé de prévention de contacts accidentels, dispositif électronique et support de stockage |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN120045080A (fr) |
| WO (1) | WO2025102835A1 (fr) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110140342A (zh) * | 2017-07-14 | 2019-08-16 | 华为技术有限公司 | 锁屏界面处理方法及终端 |
| CN114063806A (zh) * | 2020-07-31 | 2022-02-18 | 华为技术有限公司 | 防误触方法和电子设备 |
| CN116204075A (zh) * | 2021-12-01 | 2023-06-02 | 荣耀终端有限公司 | 防误触的方法和装置 |
| US20230205417A1 (en) * | 2020-05-29 | 2023-06-29 | Huawei Technologies Co., Ltd. | Display Control Method, Electronic Device, and Computer-Readable Storage Medium |
-
2023
- 2023-11-15 CN CN202311533002.2A patent/CN120045080A/zh active Pending
-
2024
- 2024-08-02 WO PCT/CN2024/109576 patent/WO2025102835A1/fr active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110140342A (zh) * | 2017-07-14 | 2019-08-16 | 华为技术有限公司 | 锁屏界面处理方法及终端 |
| US20230205417A1 (en) * | 2020-05-29 | 2023-06-29 | Huawei Technologies Co., Ltd. | Display Control Method, Electronic Device, and Computer-Readable Storage Medium |
| CN114063806A (zh) * | 2020-07-31 | 2022-02-18 | 华为技术有限公司 | 防误触方法和电子设备 |
| CN116204075A (zh) * | 2021-12-01 | 2023-06-02 | 荣耀终端有限公司 | 防误触的方法和装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN120045080A (zh) | 2025-05-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111108506B (zh) | 一种提示信息的显示方法及电子设备 | |
| EP4212999B1 (fr) | Procédé et dispositif de prévention d'erreur de contact | |
| CN110673783A (zh) | 一种触控方法与电子设备 | |
| WO2020103091A1 (fr) | Procédé de verrouillage d'opération tactile et dispositif électronique | |
| US20220206735A1 (en) | Display Method for Side Area of Screen and Electronic Device | |
| EP4589977A1 (fr) | Procédé de détection de geste, dispositif et support de stockage | |
| CN116700585B (zh) | 熄屏控制方法、电子设备及存储介质 | |
| WO2025102835A1 (fr) | Procédé de prévention de contacts accidentels, dispositif électronique et support de stockage | |
| CN116521018B (zh) | 误触提示方法、终端设备及存储介质 | |
| CN120075357A (zh) | 设备控制方法、电子设备及计算机可读存储介质 | |
| JPWO2018020792A1 (ja) | 情報処理装置、情報処理方法及びプログラム | |
| CN116055627B (zh) | 一种熄屏控制方法、电子设备和存储介质 | |
| US12340620B2 (en) | Off-screen display control method, electronic device, and storage medium | |
| CN120743134A (zh) | 屏幕的防误触方法、电子设备及可读存储介质 | |
| CN121037492A (zh) | 设备提醒方法、终端设备及存储介质 | |
| US12481975B2 (en) | Method for displaying two-dimensional code and electronic device | |
| WO2025156636A1 (fr) | Procédé de réalisation d'une détection en poche et dispositif terminal | |
| CN121098981A (zh) | 屏幕保护方法和电子设备 | |
| WO2025195045A1 (fr) | Procédé de commande d'écran d'affichage et dispositif terminal | |
| CN119960618A (zh) | 电子设备及其防误触方法 | |
| CN120255714A (zh) | 触控屏控制方法、芯片、电子设备和可读存储介质 | |
| CN116415951A (zh) | 显示二维码的方法和电子设备 | |
| CN115314590A (zh) | 接近事件的判定方法和电子设备 | |
| CN119544860A (zh) | 一种显示控制方法及相关装置 | |
| CN120832060A (zh) | 锁屏显示方法及电子设备 |
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: 24890199 Country of ref document: EP Kind code of ref document: A1 |