CN114690924A - False touch prevention locking method, terminal device and computer readable storage medium - Google Patents

False touch prevention locking method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN114690924A
CN114690924A CN202011613731.5A CN202011613731A CN114690924A CN 114690924 A CN114690924 A CN 114690924A CN 202011613731 A CN202011613731 A CN 202011613731A CN 114690924 A CN114690924 A CN 114690924A
Authority
CN
China
Prior art keywords
touch
terminal device
illumination intensity
terminal equipment
unlocking
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
Application number
CN202011613731.5A
Other languages
Chinese (zh)
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
Priority to CN202011613731.5A priority Critical patent/CN114690924A/en
Publication of CN114690924A publication Critical patent/CN114690924A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/316User authentication by observing the pattern of computer usage, e.g. typical user behaviour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0421Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means by interrupting or reflecting a light beam, e.g. optical touch-screen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2135Metering

Abstract

The application is applicable to the technical field of terminals, and particularly relates to a false touch prevention locking method, terminal equipment and a computer readable storage medium. According to the method, when the terminal equipment is not unlocked in N times of unlocking operations, the terminal equipment can obtain the illumination intensity of the environment where the terminal equipment is located when the N times of unlocking operations are executed. When the illumination intensity is located in the preset illumination intensity interval, the terminal equipment can determine that N times of unlocking operation is mistaken touch operation, the terminal equipment can not start the locking function of the terminal equipment at the moment, and whether the current N times of unlocking operation is mistaken touch operation or not is determined through the illumination intensity interval constructed in advance, so that the determination accuracy of the mistaken touch operation can be effectively improved, the long-time locking of the terminal equipment caused by the mistaken touch operation is reduced, the normal use of the terminal equipment is ensured, and the user experience is improved.

Description

False touch prevention locking method, terminal device and computer readable storage medium
Technical Field
The application belongs to the technical field of terminals, and particularly relates to a false touch prevention locking method, terminal equipment and a computer readable storage medium.
Background
At present, terminal equipment is provided with a touch display screen, and a user can operate the terminal equipment through the touch display screen, so that the terminal equipment is greatly convenient for the user to use. However, the sensitivity of the touch display screen is prone to misoperation, for example, when the terminal device is in a pocket or a backpack, a human body can touch the touch display screen due to the fact that the pocket or the backpack is close to the skin, so that unlocking operation of the terminal device is performed, and the unlocking operation is often incorrect, so that the terminal device is touched by mistake many times to start a locking function, normal use of the terminal device is affected, and user experience is affected.
Disclosure of Invention
The embodiment of the application provides a false touch prevention locking method, terminal equipment and a computer readable storage medium, which can effectively solve the problems that the locking function of the terminal equipment is started by false touch and the normal use of the terminal equipment is influenced.
In a first aspect, an embodiment of the present application provides a false touch prevention locking method, which is applied to a terminal device, and the method includes:
when the terminal equipment is not unlocked in N times of unlocking operations, acquiring the illumination intensity of the environment where the terminal equipment is located when the N times of unlocking operations are executed, wherein N is an integer greater than or equal to 1;
and when the illumination intensity is within a preset illumination intensity interval, determining that the N times of unlocking operation is false touch operation, and not starting the locking function of the terminal equipment, wherein the illumination intensity interval is established according to the illumination intensity corresponding to the false touch operation before the N times of unlocking operation.
Optionally, the method further comprises:
and when the illumination intensity which is not positioned in the illumination intensity interval exists, determining that the N times of unlocking operation is not mistaken touch operation, and starting the locking function of the terminal equipment.
By the aid of the anti-false-touch locking method, when the terminal equipment is not unlocked in N times of unlocking operations, the terminal equipment can acquire the illumination intensity of the environment where the terminal equipment is located when the N times of unlocking operations are executed. When the illumination intensity is located in the preset illumination intensity interval, the terminal device can determine that N times of unlocking operation is mistaken touch operation, the terminal device can not start the locking function of the terminal device at the moment, and whether the current N times of unlocking operation is mistaken touch operation or not is determined through the previously constructed illumination intensity interval, so that the determination accuracy of the mistaken touch operation can be effectively improved, long-time locking of the terminal device caused by the mistaken touch operation is reduced, normal use of the terminal device is ensured, and user experience is improved.
In a possible implementation manner of the first aspect, when the illumination intensity is within a preset illumination intensity interval, determining that the N times of unlocking operations are mistaken touch operations includes:
when the illumination intensity is in the illumination intensity interval, acquiring a touch area of a touch point corresponding to the N times of unlocking operations in a display interface of the terminal equipment;
determining the touch accuracy of the N times of unlocking operations according to the touch area;
and when the touch accuracy is smaller than or equal to a preset threshold value, determining that the N times of unlocking operation is false touch operation.
Optionally, after the determining, according to the touch area, the touch correctness of the N unlocking operations includes:
and when the touch accuracy is larger than the preset threshold, determining that the N times of unlocking operation is not mistaken touch operation, and starting a locking function of the terminal equipment.
In the method for preventing the false touch, the determination of the false touch operation can be performed by combining the touch area corresponding to the unlocking operation. That is, when the terminal device is not unlocked in N times of unlocking operations, the terminal device may obtain the illumination intensity of the environment where the terminal device is located when the N times of unlocking operations are performed. When the illumination intensity is within a preset illumination intensity interval, the terminal device can acquire a touch area of a touch point in the display interface corresponding to the unlocking operation for N times, and can determine the touch accuracy of the unlocking operation for N times according to the touch area. When the touch accuracy is smaller than or equal to the preset threshold, the terminal device can determine that the N times of unlocking operation is false touch operation, at the moment, the terminal device can not start the locking function of the terminal device, so that the determination of the false touch operation is determined by combining the illumination intensity interval and the touch accuracy, the accuracy of the determination of the false touch operation can be effectively improved, the long-time locking of the terminal device caused by the false touch operation is reduced, the normal use of the terminal device is ensured, and the use experience of a user is improved.
Specifically, the determining the touch accuracy of the N unlocking operations according to the touch area includes:
acquiring the number of first touch points of a touch area in a first preset area and the number of second touch points of the touch area in a second preset area, wherein the first preset area is an area where a character or fingerprint input frame in the display interface is located, and the second preset area is an area except the first preset area in the display interface;
and determining the touch accuracy of the N times of unlocking operations according to the number of the first touch points and the number of the second touch points.
In a possible implementation manner of the first aspect, after the obtaining of the illumination intensity of the environment where the terminal device is located when the N unlocking operations are performed, the method includes:
when the locking function of the terminal equipment is triggered for the first time within the preset duration of the N times of unlocking operations, displaying confirmation information in a display interface of the terminal equipment, wherein the confirmation information is used for a user to confirm whether the N times of unlocking operations are mistaken touch operations;
and responding to the confirmation operation of the confirmation information, and constructing the illumination intensity interval according to the illumination intensity.
Illustratively, the displaying the confirmation information in the display interface of the terminal device includes:
starting a locking function of the terminal equipment;
and when the terminal equipment is unlocked, displaying the confirmation information in a display interface of the terminal equipment.
It is to be understood that the method further comprises:
and when the N times of unlocking operations are not within the preset time length and the locking function of the terminal equipment is triggered for the first time, determining whether the illumination intensity is in the illumination intensity interval.
In the method for preventing the false touch, the preset illumination intensity interval can be constructed according to the illumination intensity corresponding to the false touch operation in the unlocking process of the terminal device. The illumination intensity interval can be constructed according to the illumination intensity corresponding to the false touch operation determined by the user in the unlocking process, so that the construction accuracy of the illumination intensity interval is ensured, and the determination accuracy of the false touch operation is improved. Meanwhile, the terminal equipment can also periodically update the illumination intensity interval so as to ensure that the constructed illumination intensity interval meets the scene requirement of real-time change and improve the accuracy of determining the false touch operation.
In a second aspect, an embodiment of the present application provides a false touch prevention locking device, which is applied to a terminal device, and the device includes:
the illumination intensity acquisition module is used for acquiring the illumination intensity of the environment where the terminal equipment is located when the terminal equipment is not unlocked in N times of unlocking operations, wherein N is an integer greater than or equal to 1;
and the false touch prevention locking module is used for determining that the N times of unlocking operation is false touch operation and does not start the locking function of the terminal equipment when the illumination intensity is within a preset illumination intensity interval, and the illumination intensity interval is constructed according to the illumination intensity corresponding to the false touch operation before the N times of unlocking operation.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the terminal device is caused to implement the method of any one of the first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a computer to make the computer implement the method of any one of the above first aspects.
In a fifth aspect, the present application provides a computer program product, which when run on a terminal device, causes the terminal device to execute the method of any one of the above first aspects.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device to which a false touch prevention locking method provided in an embodiment of the present application is applied;
FIG. 2 is a diagram illustrating a software architecture for a method for preventing false touch locking according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an interface to be unlocked according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a false touch prevention locking method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an application scenario provided by an embodiment of the present application;
FIG. 6 is a schematic flow chart illustrating a method for preventing false touch locking according to another embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a false touch prevention locking device according to an embodiment of the present application.
Detailed Description
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In addition, the references to "a plurality" in the embodiments of the present application should be interpreted as two or more.
The steps involved in the anti-false-touch locking method provided in the embodiment of the present application are merely examples, and not all the steps are necessarily executed steps, or the content in each information or message is not necessary, and may be increased or decreased as needed in the using process. The same steps or messages with the same functions in the embodiments of the present application may be referred to with each other between different embodiments.
The service scenario described in the embodiment of the present application is for more clearly illustrating the technical solution of the embodiment of the present application, and does not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows that along with the evolution of a network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
At present, terminal equipment is provided with a touch display screen, and a user can operate the terminal equipment through the touch display screen, so that the terminal equipment is greatly convenient for the user to use. However, the sensitivity of the touch display screen is prone to cause misoperation, for example, when the terminal device is in a pocket or a backpack, a human body can touch the touch display screen due to the fact that the pocket or the backpack is close to the skin, so that unlocking operation of the terminal device is performed, and the unlocking operation is often incorrect, so that the terminal device is mistakenly touched many times to start a locking function, normal use of the terminal device is affected, and user experience is affected.
In order to solve the above problem, embodiments of the present application provide a false touch prevention locking method, a terminal device, and a computer-readable storage medium. According to the method, when the terminal equipment is not unlocked in N times of unlocking operations, the terminal equipment can obtain the illumination intensity of the environment where the terminal equipment is located when the N times of unlocking operations are executed. When this illumination intensity is located predetermined illumination intensity interval, illumination intensity interval is according to the illumination intensity that the operation corresponds is touched to the mistake before N unblock operations and is found, terminal equipment can confirm N unblock operations and touch the operation as the mistake, at this moment, terminal equipment can not start terminal equipment's locking function, it touches the operation to confirm whether current N unblock operations are touched the operation for the mistake to touch the illumination intensity interval that the operation was found through the mistake before, can effectively improve the accuracy that the operation was confirmed to the mistake, reduce the mistake and touch the long-time locking that the operation caused terminal equipment, ensure terminal equipment's normal use, improve user experience, have stronger ease for use and practicality.
The terminal device related to the embodiment of the application may be a mobile phone, a tablet computer, a wearable device, an Augmented Reality (AR)/Virtual Reality (VR) device, a Personal Digital Assistant (PDA), and other terminal devices having a touch display screen.
The following first describes a terminal device according to an embodiment of the present application. Referring to fig. 1, fig. 1 shows a schematic structural diagram of a terminal device 100.
The terminal device 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 key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation to the terminal device 100. In other embodiments of the present application, terminal device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the terminal device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture function of terminal device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the terminal device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal device 100, and may also be used to transmit data between the terminal device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other terminal devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is only an exemplary illustration, and does not constitute a limitation on the structure of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the terminal device 100. The charging management module 140 may also supply power to the terminal device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the terminal device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in terminal device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied on the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the terminal device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150 and the antenna 2 is coupled to the wireless communication module 160 so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The terminal device 100 implements a display function by the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
The terminal device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a user takes a picture, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, an optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and converting into an image visible to the naked eye. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the terminal device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform fourier transform or the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record video in a plurality of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can implement applications such as intelligent recognition of the terminal device 100, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the terminal device 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, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, a phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 110 executes various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The terminal device 100 determines the intensity of the pressure from the change in the capacitance. When a touch operation is applied to the display screen 194, the terminal device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The terminal device 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light to the outside through the light emitting diode. The terminal device 100 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100. The terminal device 100 can utilize the proximity light sensor 180G to detect that the user holds the terminal device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocking and locking the screen.
The ambient light sensor 180L is used to sense the ambient light level. The terminal device 100 may adaptively adjust the brightness of the display screen 194 according to the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket, in order to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The terminal device 100 can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on the surface of the terminal device 100, different from the position of the display screen 194.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The terminal device 100 may receive a key input, and generate a key signal input related to user setting and function control of the terminal device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the terminal device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The terminal device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the terminal device 100 employs eSIM, namely: an embedded SIM card. The eSIM card may be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
The software system of the terminal device 100 may adopt a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the terminal device 100.
Fig. 2 is a block diagram of a software configuration of the terminal device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide the communication function of the terminal device 100. Such as management of call status (including connection, hangup, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal device vibrates, an indicator light flickers, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes exemplary workflow of the software and hardware of the terminal device 100 in connection with capturing a photo scene.
When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 193.
The method for preventing false touch and locking provided by the embodiment of the application will be described in detail below with reference to the accompanying drawings.
The false touch prevention locking method provided by the embodiment of the application is applied to a scene that the terminal equipment is in a screen locking state. The screen locking state can be a screen locking state when the screen is on or a screen locking state when the screen is off. For example, when the terminal device is in a screen-locked state when the terminal device is in a bright screen, the terminal device may enter the interface to be unlocked shown in fig. 3 when detecting a click operation or a touch operation in the display interface. When the terminal device is in a screen locking state during screen turnoff, the terminal device can switch the screen turnoff of the display interface of the terminal device to the screen turnoff when detecting the first click or touch operation in the display interface. Then, when a second click or touch operation in the display interface is detected, the terminal device may enter the interface to be unlocked shown in fig. 3. As shown in fig. 3, a password input box, characters such as numbers and symbols may be displayed in the interface to be unlocked for a user to input a password, and a fingerprint input box may be displayed for a user to input a fingerprint. The terminal equipment can be triggered to unlock according to a password or a fingerprint input by a user in an interface to be unlocked.
The current terminal equipment generally has a locking function, and the locking function enables the terminal equipment to be locked when the terminal equipment detects N times of wrong unlocking operations within preset time, so that a user can not operate the terminal equipment within a certain time, and the safety of the terminal equipment is ensured. The preset time, the N and the certain duration can be respectively determined according to actual conditions. For example, the preset time may be determined as 10 minutes, N may be determined as 5, and the certain time period may be determined as 15 minutes. That is, when the terminal device detects 5 times of wrong unlocking operations within 10 minutes, the terminal device may lock the terminal device for 15 minutes, so that the user may not operate the terminal device within the 15 minutes. The N unlocking operations described below are all N unlocking operations within a preset time.
However, when the existing terminal device detects N times of wrong unlocking operations within the preset time, the locking function of the terminal device is directly started. In actual operation, many wrong unlocking operations are usually not manually and actively input but caused by wrong touch operations, and at this time, if the locking function of the terminal device is directly started, normal use of the terminal device is greatly influenced, and user experience is influenced. Therefore, the embodiment of the application provides a false touch prevention locking method, which can reduce long-time locking of terminal equipment caused by false touch operation, ensure normal use of the terminal equipment and improve user experience.
[ EXAMPLES one ]
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a method for preventing false touch locking according to an embodiment of the present disclosure. The method may be applied to the terminal device shown in fig. 1. As shown in fig. 4, the method for preventing false touch locking may include:
s401, when the terminal device is not unlocked in N times of unlocking operations, obtaining the illumination intensity of the environment where the terminal device is located when the N times of unlocking operations are executed, wherein N is an integer greater than or equal to 1.
In this embodiment, when the terminal device detects N times of incorrect unlocking operations within the preset time, that is, when the terminal device is not unlocked in the N times of unlocking operations, the terminal device may obtain the illumination intensity corresponding to each unlocking operation, so as to determine whether the terminal device is in a pocket or a backpack or the like according to the illumination intensity, thereby determining whether the N times of unlocking operations are incorrect touch operations or not, and whether the locking function of the terminal device needs to be started or not. The illumination intensity corresponding to each unlocking operation refers to the illumination intensity of the environment where the terminal device is located when each unlocking operation is executed.
Specifically, when each unlocking operation is performed, the terminal device may obtain the illumination intensity of the environment where the terminal device is located through an ambient light sensor in the terminal device, and may store the obtained illumination intensity and the current unlocking operation in the terminal device in a correlated manner. Subsequently, the terminal device may directly obtain, from the stored illumination intensity, the illumination intensity of the environment where the terminal device is located when each unlocking operation is performed.
S402, when the illumination intensity is in a preset illumination intensity interval, determining that N times of unlocking operation are mistaken touch operation, and not starting a locking function of the terminal equipment, wherein the illumination intensity interval is constructed according to the illumination intensity corresponding to the mistaken touch operation before the N times of unlocking operation.
In this embodiment, the preset illumination intensity interval may be constructed according to the illumination intensity corresponding to the mis-touch operation in the terminal device unlocking process. Specifically, please refer to fig. 5, where fig. 5 illustrates an application scenario diagram provided in the embodiment of the present application. As shown in fig. 5 (a), when a certain N-time unlocking operation first triggers the locking function of the terminal device, that is, when the locking function of the terminal device is first triggered, the terminal device may display a confirmation window 500 in the interface to be unlocked, may display confirmation information of "whether the N-time unlocking operation is a false touch operation" in the confirmation window 500, and may display a "yes" button 501 and a "no" button 502. When the user clicks or touches the "yes" button 501, the terminal device may determine that the N unlocking operations are mistouch operations, and at this time, the terminal device may not start the locking function of the terminal device, for example, the interface to be unlocked shown in fig. 3 may be continuously displayed for the user to input a password or a fingerprint. Meanwhile, the terminal device can also construct a preset illumination intensity interval according to the illumination intensity corresponding to the N unlocking operations. Subsequently, when the terminal device detects N times of unlocking operations for triggering the locking function of the terminal device again, the terminal device may determine whether the N times of unlocking operations are mistaken touch operations directly according to whether each illumination intensity corresponding to the N times of unlocking operations is in the illumination intensity interval, so as to determine whether the locking function of the terminal device needs to be started. When the user clicks or touches the "no" button 502, it may indicate that the N unlocking operations are manually active input operations, and not mistakenly touching operations, at this time, the terminal device may start the locking function of the terminal device to enter the screen locking interface shown in (b) in fig. 5, where a prompt message "a password is input incorrectly, please try again after waiting for 15 minutes" may be displayed in the screen locking interface.
In one example, when the locking function of the terminal device is triggered for the first time by N times of unlocking operations, the terminal device may start the locking function of the terminal device first, so as to lock the terminal device for a certain period of time, prevent the terminal device from being tried to perform the unlocking operation for multiple times, and ensure the security of the terminal device. Then, the terminal device may display the confirmation window 500 when the terminal device is successfully unlocked, that is, the confirmation window 500 may be displayed in a display interface (e.g., a main interface) after the terminal device is unlocked. In the confirmation window 500, confirmation information of "whether or not the N-time unlocking operation is the false touch operation" may be displayed, and a "yes" button 501 and a "no" button 502 may be displayed. When the user clicks or touches the yes button 501, the terminal device may construct an illumination intensity interval according to the illumination intensity corresponding to the N unlocking operations, so that the display of the confirmation information in the terminal device after the successful unlocking can effectively improve the possibility that the confirmation information is viewed by the user, improve the validity of the confirmation information display, facilitate the accurate determination of the mis-touch operation, and facilitate the construction of an accurate and effective illumination intensity interval.
In another example, to ensure that the constructed illumination intensity interval conforms to the scene requirement changing in real time, the terminal device may periodically perform an update of the illumination intensity interval. Namely, the terminal device can reconstruct the illumination intensity interval every preset time. The preset time period may be determined according to specific situations, for example, the preset time period may be determined to be any value such as 3 days, 5 days, or 10 days. The following is an exemplary description taking the preset time period as 10 days. Therefore, when the lock function of the terminal device is first triggered within the first 10 days, the terminal device may display a confirmation window in which confirmation information of "whether the N unlocking operations are the false touch operations" may be displayed, and a "yes" button and a "no" button may be displayed. When the user clicks or touches the "yes" button, the terminal device may construct an illumination intensity interval according to each illumination intensity corresponding to the N unlocking operations, so that in the first 10 days of subsequent time, the terminal device may directly perform a judgment of a false touch operation according to the illumination intensity interval, thereby determining whether a locking function of the terminal device needs to be started. And when the terminal equipment enters the second 10 days, the terminal equipment can rebuild the illumination intensity interval, namely N times of false touch operations which trigger the locking function of the terminal equipment for the first time in the second 10 days can be obtained again, and the construction of the illumination intensity interval can be rebuilt according to the illumination intensities corresponding to the N times of false touch operations, so that in the subsequent time of the second 10 days, the terminal equipment can directly judge the false touch operations according to the rebuilt illumination intensity interval, and whether the locking function of the terminal equipment needs to be started or not is determined. The third 10 days, the fourth 10 days, the fifth 10 days, and so on, the update of the light intensity interval may be performed with reference to the above.
In this embodiment, the terminal device may calculate a mean μ and a variance σ of the illumination intensity corresponding to the N unlocking operations, and may construct a preset illumination intensity interval according to μ and σ. For example, the terminal device may determine the illumination intensity interval as [ mu-N σ, mu + N σ ].
Therefore, after obtaining the illumination intensity corresponding to a certain N times of unlocking operations, the terminal device may first determine whether the N times of unlocking operations trigger the locking function of the terminal device for the first time. When the N times of unlocking operations do not trigger the locking function of the terminal device for the first time, the terminal device may further determine whether each illumination intensity corresponding to the N times of unlocking operations is within a preset illumination intensity interval. When the illumination intensity corresponding to the N times of unlocking operation is within the illumination intensity interval, the terminal device can determine that the terminal device is in a pocket or a backpack when the N times of unlocking operation is performed, and at the moment, the terminal device can determine that the N times of unlocking operation is mistaken touch operation, that is, the locking function of the terminal device can not be started, so that the user can still normally use the terminal device, and the use experience of the user is improved. When the N unlocking operations are to trigger the locking function of the terminal device for the first time, the terminal device may perform processing of the terminal device and construct the illumination intensity interval according to the foregoing manner.
And S403, when the illumination intensity which is not in the illumination intensity interval exists, determining that the N times of unlocking operation is not error touch operation, and starting the locking function of the terminal equipment.
It can be understood that, when there is an illumination intensity that is not located in the illumination intensity interval in the illumination intensity corresponding to a certain N times of unlocking operations, the terminal device may consider that the N times of unlocking operations are performed, the terminal device may not be in a pocket or a backpack, that is, it may be considered that the N times of unlocking operations may not be a false touch operation, therefore, to ensure the security of the terminal device, the terminal device may directly determine that the N times of unlocking operations are not false touch operations, and start the locking function of the terminal device, so as to lock the terminal device for a certain duration.
In this embodiment, when the terminal device is not unlocked in N times of unlocking operations, the terminal device may obtain the illumination intensity of the environment where the terminal device is located when the N times of unlocking operations are performed. When the illumination intensity is located a preset illumination intensity interval, the terminal device can determine that the N times of unlocking operation is false touch operation, the terminal device can not start the locking function of the terminal device at the moment, and whether the current N times of unlocking operation is false touch operation is determined through the previously constructed illumination intensity interval, so that the determination accuracy of the false touch operation can be effectively improved, long-time locking of the terminal device caused by the false touch operation is reduced, normal use of the terminal device is ensured, and user experience is improved.
It should be noted that the false touch prevention locking method provided by the present embodiment can also be used in combination with the existing pocket mode to improve the accuracy of determining the pocket mode. Specifically, when it is determined that the terminal device is in a pocket or a backpack, i.e., it is determined that the N times of unlocking operations are the false touch operations, according to the false touch prevention locking method provided by the embodiment, the terminal device may start a pocket mode of the terminal device. Or, when the terminal device detects each unlocking operation, the illumination intensity of the environment where the terminal device is located when the unlocking operation is executed may be obtained, and whether the unlocking operation is a false touch operation may be determined according to whether the illumination intensity is within the illumination intensity interval constructed in this embodiment, so as to determine whether the terminal device is currently located in a pocket or a backpack, and thus determine whether a pocket mode of the terminal device needs to be started.
[ example two ]
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating a false touch prevention locking method according to a second embodiment of the present application. The method may be applied to the terminal device shown in fig. 1. As shown in fig. 6, the method for preventing false touch locking may include:
s601, when the terminal device is not unlocked in N times of unlocking operations, obtaining the illumination intensity of the environment where the terminal device is located when the N times of unlocking operations are executed.
S601 is similar to S401 in the first embodiment, and has the same basic principle, and for specific contents, reference may be made to S401 in the first embodiment, and for brevity, details are not repeated herein.
S602, determining whether the illumination intensity is in a preset illumination intensity interval.
And S603, when the illumination intensity is in the illumination intensity interval, acquiring a touch area of a touch point corresponding to the N times of unlocking operations in a display interface of the terminal equipment.
And S604, determining the touch accuracy of the N times of unlocking operations according to the touch area.
It can be understood that, when the terminal device is unlocked by actively inputting a password or a fingerprint by a human, the user generally clicks or touches an area where characters such as numbers or symbols shown in fig. 3 are located, or touches an area where a fingerprint input box is located. Due to uncertainty of the false touch, the probability that the area where the character or the fingerprint is located is clicked or touched every time in the false touch operation is low, that is, the area where the character or the fingerprint input box is located may be accurately clicked or touched by the false touch operation often requiring multiple clicks or touches in the display interface. Therefore, in this embodiment, a preset threshold may be set in advance, where the preset threshold may be the minimum accuracy rate at which the user clicks or touches the character or fingerprint input box in N correct unlocking operations, and thus whether the N unlocking operations are mistaken touch operations may be determined according to the touch accuracy rate corresponding to the N unlocking operations and the preset threshold.
The preset threshold value can be specifically set by the terminal device according to actual conditions, and can also be set by a user in a self-defined manner. For example, the terminal device may set the preset threshold to any one of values such as 0.7 or 0.8 according to the correct unlocking operation of the user history. For example, the user may also set the preset threshold to any value such as 0.6 or 0.75 according to actual conditions.
Specifically, in the process of executing the N times of unlocking operations, the terminal device may obtain a touch area of a touch point in the display interface corresponding to the N times of unlocking operations, and may determine the touch accuracy of the N times of unlocking operations according to the touch area, so that the determination of the false touch operation may be performed according to the touch accuracy. The touch point corresponding to the unlocking operation may include a first touch point clicked or touched to the first preset area, or may include a second touch point clicked or touched to the second preset area. The first preset area is an area where a character or fingerprint input box is located in the display interface, and the second preset area is an area except the area where the character or fingerprint input box is located in the display interface, namely the second preset area is a blank area in the display interface.
In this embodiment, the terminal device may respectively count touch points corresponding to each unlocking operation, and may obtain all touch points corresponding to the N unlocking operations according to the touch points corresponding to each unlocking operation. Or, in order to facilitate statistics of the touch points, in this embodiment, the terminal device may directly determine the statistical time of the touch points as a period of time from a time when the character or fingerprint input box is first clicked or touched to the area where the character or fingerprint input box is located to a time when the N times of unlocking operation recognition ends. That is, the terminal device may start to acquire the first touch point or the second touch point when detecting that the character or the fingerprint input box is clicked or touched for the first time, until the N times of unlocking operation identification is finished, and obtain all touch points corresponding to the N times of unlocking operation.
For example, the terminal device may obtain the number of first touch points and the number of second touch points, and may determine the touch accuracy of the N unlocking operations according to the number of first touch points/(the number of first touch points + the number of second touch points).
For example, in a certain N times of unlocking operations, when the terminal device acquires that the number of first touch points in an area where a character or fingerprint input box is clicked or touched is 21, and the number of second touch points in a blank area in the click or fingerprint input box is 29, the terminal device may determine that the touch accuracy of the N times of unlocking operations is 21/(21+29) ═ 0.42.
And S605, determining whether the touch accuracy is greater than a preset threshold value.
And S606, when the touch accuracy is smaller than or equal to the preset threshold, determining that the N unlocking operations are mistaken touch operations, and not starting the locking function of the terminal equipment.
S607, when the touch accuracy is larger than the preset threshold value or when the illumination intensity which is not in the illumination intensity interval exists, determining that the N times of unlocking operation is not error touch operation, and starting the locking function of the terminal equipment.
For the above S605 and S607, when the touch accuracy of the N times of unlocking operations is less than or equal to the preset threshold, the terminal device may determine that the N times of unlocking operations are not manually and actively input operations, that is, may determine that the N times of unlocking operations are mistouch operations, so as not to start the locking function of the terminal device, so as to facilitate the user to continue to operate the terminal device, and improve the user experience. When the touch accuracy of the N unlocking operations is greater than the preset threshold, the terminal device may determine that the N unlocking operations may be active input operations, and at this time, the terminal device may determine that the N unlocking operations are not false touch operations, and start a locking function of the terminal device to lock the terminal device for a certain duration, so that the user may not perform the operation of the terminal device within the duration.
It can be understood that, when there is an illumination intensity that is not located in an illumination intensity interval in each illumination intensity corresponding to a certain N times of unlocking operations, the terminal device may also consider that the N times of unlocking operations are performed, the terminal device may not be in a pocket or a backpack, that is, it may be considered that the N times of unlocking operations may not be a false touch operation, and at this time, the terminal device may directly determine that the N times of unlocking operations are not false touch operations, and start a locking function of the terminal device.
In this embodiment, when the terminal device is not unlocked in N times of unlocking operations, the terminal device may obtain the illumination intensity of the environment where the terminal device is located when the N times of unlocking operations are performed. When the illumination intensity is within the preset illumination intensity interval, the terminal device may acquire a touch area of a touch point in the display interface corresponding to the N times of unlocking operations, and determine the touch accuracy of the N times of unlocking operations according to the touch area. When the touch accuracy is smaller than or equal to the preset threshold, the terminal device can determine that the N times of unlocking operation is false touch operation, at the moment, the terminal device can not start the locking function of the terminal device, so that the determination of the false touch operation is determined by combining the illumination intensity interval and the touch accuracy, the accuracy of the determination of the false touch operation can be effectively improved, the long-time locking of the terminal device caused by the false touch operation is reduced, the normal use of the terminal device is ensured, and the use experience of a user is improved.
It should be noted that the false touch prevention locking method provided by the present embodiment can also be used in combination with the existing pocket mode to improve the accuracy of determining the pocket mode. Specifically, when it is determined that the terminal device is in a pocket or a backpack, i.e., it is determined that the N times of unlocking operations are the false touch operations, according to the false touch prevention locking method provided by the embodiment, the terminal device may start a pocket mode of the terminal device. Or, when the terminal device detects each unlocking operation, the illumination intensity of the environment where the terminal device is located and the touch area of the touch point corresponding to the unlocking operation in the display interface when the unlocking operation is executed can be acquired, and the touch accuracy of the unlocking operation can be determined according to the touch area, so that whether the unlocking operation is a false touch operation can be determined according to whether the illumination intensity is in the illumination intensity interval constructed in the embodiment and whether the touch accuracy is smaller than or equal to a preset threshold value, and therefore whether the terminal device is currently located in a pocket or a backpack or not is determined, and whether a pocket mode of the terminal device needs to be started or not is determined.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by functions and internal logic of the process, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 7 shows a block diagram of the structure of the false touch prevention locking device provided in the embodiment of the present application, corresponding to the false touch prevention locking method described in the above embodiment, and only the relevant parts to the embodiment of the present application are shown for convenience of description. The anti-false touch locking device can be applied to terminal equipment.
Referring to fig. 7, the mis-touch prevention locking device may include:
an illumination intensity obtaining module 701, configured to obtain, when the terminal device is not unlocked in N times of unlocking operations, an illumination intensity of an environment where the terminal device is located when the N times of unlocking operations are performed, where N is an integer greater than or equal to 1;
and the false touch prevention locking module 702 is configured to determine that the N-time unlocking operation is a false touch operation when the illumination intensity is within a preset illumination intensity interval, and not start the locking function of the terminal device, where the illumination intensity interval is established according to the illumination intensity corresponding to the false touch operation before the N-time unlocking operation.
Illustratively, the anti-false-touch locking device may further include:
and the locking module is used for determining that the N times of unlocking operation is not mistaken touch operation when the illumination intensity which is not positioned in the illumination intensity interval exists, and starting the locking function of the terminal equipment.
In a possible implementation manner, the anti-false-touch locking module 702 may include:
the touch area acquisition unit is used for acquiring a touch area of a touch point corresponding to the N times of unlocking operations in a display interface of the terminal equipment when the illumination intensity is in the illumination intensity interval;
the touch accuracy determining unit is used for determining the touch accuracy of the N times of unlocking operations according to the touch area;
and the false touch operation determining unit is used for determining that the N times of unlocking operation is false touch operation when the touch accuracy is smaller than or equal to a preset threshold value.
Illustratively, the anti-false-touch locking module 702 may further include:
and the locking unit is used for determining that the N times of unlocking operation is not mistaken touch operation when the touch accuracy is greater than the preset threshold value, and starting a locking function of the terminal equipment.
Specifically, the touch accuracy determining unit is specifically configured to obtain the number of first touch points of a touch area located in a first preset area and the number of second touch points of the touch area located in a second preset position, where the first preset area is an area where a character or fingerprint input frame in the display interface is located, and the second preset area is an area of the display interface except for the first preset area; and determining the touch accuracy of the N times of unlocking operations according to the number of the first touch points and the number of the second touch points.
In a possible implementation manner, the anti-false-touch locking device may further include:
the confirmation information display module is used for displaying confirmation information in a display interface of the terminal equipment when the locking function of the terminal equipment is triggered for the first time within the preset duration of the N times of unlocking operation, and the confirmation information is used for a user to confirm whether the N times of unlocking operation is mistaken touch operation or not;
and the intensity interval construction module is used for responding to the confirmation operation of the confirmation information and constructing the illumination intensity interval according to the illumination intensity.
Optionally, the confirmation information display module is specifically configured to start a locking function of the terminal device; and when the terminal equipment is unlocked, displaying the confirmation information in a display interface of the terminal equipment.
Illustratively, the anti-false-touch locking device may further include:
and the illumination intensity judging module is used for determining whether the illumination intensity is in the illumination intensity interval or not when the locking function of the terminal equipment is triggered for the first time when the N times of unlocking operations are not within the preset time length.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiment of the present application further provides a terminal device, where the terminal device includes at least one memory, at least one processor, and a computer program that is stored in the at least one memory and is executable on the at least one processor, and when the processor executes the computer program, the terminal device is enabled to implement the steps in any of the method embodiments. Illustratively, the structure of the terminal device may be as shown in fig. 1.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a computer, the computer is enabled to implement the steps in any of the method embodiments described above.
Embodiments of the present application provide a computer program product, which, when running on a terminal device, enables the terminal device to implement the steps in any of the above method embodiments.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include at least: any entity or device capable of carrying computer program code to an apparatus/terminal device, recording medium, computer memory, read-only memory (ROM), Random Access Memory (RAM), electrical carrier signals, telecommunications signals, and software distribution medium. Such as a usb-drive, a removable hard drive, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable storage media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and proprietary practices.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A false touch prevention locking method is applied to terminal equipment and is characterized by comprising the following steps:
when the terminal equipment is not unlocked in N times of unlocking operations, acquiring the illumination intensity of the environment where the terminal equipment is located when the N times of unlocking operations are executed, wherein N is an integer greater than or equal to 1;
and when the illumination intensity is within a preset illumination intensity interval, determining that the N times of unlocking operation is false touch operation, and not starting the locking function of the terminal equipment, wherein the illumination intensity interval is established according to the illumination intensity corresponding to the false touch operation before the N times of unlocking operation.
2. The method of claim 1, further comprising:
and when the illumination intensity which is not positioned in the illumination intensity interval exists, determining that the N times of unlocking operation is not mistaken touch operation, and starting the locking function of the terminal equipment.
3. The method according to claim 1 or 2, wherein the determining that the N unlocking operations are false touch operations when the illumination intensity is within a preset illumination intensity interval comprises:
when the illumination intensity is in the illumination intensity interval, acquiring a touch area of a touch point corresponding to the N times of unlocking operations in a display interface of the terminal equipment;
determining the touch accuracy of the N times of unlocking operations according to the touch area;
and when the touch accuracy is smaller than or equal to a preset threshold value, determining that the N times of unlocking operation is false touch operation.
4. The method according to claim 3, wherein after determining the touch correctness of the N unlocking operations according to the touch area, the method comprises:
and when the touch accuracy is larger than the preset threshold, determining that the N times of unlocking operation is not mistaken touch operation, and starting a locking function of the terminal equipment.
5. The method according to claim 3 or 4, wherein the determining the touch correctness of the N unlocking operations according to the touch area comprises:
acquiring the number of first touch points of a touch area in a first preset area and the number of second touch points of the touch area in a second preset area, wherein the first preset area is an area where a character or fingerprint input frame in the display interface is located, and the second preset area is an area except the first preset area in the display interface;
and determining the touch accuracy of the N times of unlocking operations according to the number of the first touch points and the number of the second touch points.
6. The method according to any one of claims 1 to 5, wherein, after the obtaining of the illumination intensity of the environment in which the terminal device is located when the N unlocking operations are performed, the method includes:
when the N times of unlocking operation are within a preset duration, and the locking function of the terminal equipment is triggered for the first time, displaying confirmation information in a display interface of the terminal equipment, wherein the confirmation information is used for a user to confirm whether the N times of unlocking operation is mistaken touch operation or not;
and responding to the confirmation operation of the confirmation information, and constructing the illumination intensity interval according to the illumination intensity.
7. The method according to claim 6, wherein the displaying the confirmation information in the display interface of the terminal device comprises:
starting a locking function of the terminal equipment;
and when the terminal equipment is unlocked, displaying the confirmation information in a display interface of the terminal equipment.
8. The method according to claim 6 or 7, characterized in that the method further comprises:
and when the N times of unlocking operations are not within the preset time length and the locking function of the terminal equipment is triggered for the first time, determining whether the illumination intensity is in the illumination intensity interval.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, causes the terminal device to carry out the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored, which, when executed by a computer, causes the computer to carry out the method according to any one of claims 1 to 8.
CN202011613731.5A 2020-12-29 2020-12-29 False touch prevention locking method, terminal device and computer readable storage medium Pending CN114690924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011613731.5A CN114690924A (en) 2020-12-29 2020-12-29 False touch prevention locking method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011613731.5A CN114690924A (en) 2020-12-29 2020-12-29 False touch prevention locking method, terminal device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114690924A true CN114690924A (en) 2022-07-01

Family

ID=82132035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011613731.5A Pending CN114690924A (en) 2020-12-29 2020-12-29 False touch prevention locking method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114690924A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116521018A (en) * 2023-07-04 2023-08-01 荣耀终端有限公司 False touch prompting method, terminal equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116521018A (en) * 2023-07-04 2023-08-01 荣耀终端有限公司 False touch prompting method, terminal equipment and storage medium
CN116521018B (en) * 2023-07-04 2023-10-20 荣耀终端有限公司 False touch prompting method, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112130742B (en) Full screen display method and device of mobile terminal
CN113885759B (en) Notification message processing method, device, system and computer readable storage medium
CN113645351A (en) Application interface interaction method, electronic device and computer-readable storage medium
CN113573390B (en) Antenna power adjusting method, terminal device and storage medium
CN114115512B (en) Information display method, terminal device, and computer-readable storage medium
CN113805487B (en) Control instruction generation method and device, terminal equipment and readable storage medium
WO2022111665A1 (en) Application management method and apparatus, and device and storage medium
CN114079893A (en) Bluetooth communication method, terminal device and computer readable storage medium
CN113778641B (en) Method for controlling camera, electronic device and computer readable storage medium
WO2021218429A1 (en) Method for managing application window, and terminal device and computer-readable storage medium
CN113170019A (en) Caller identification method based on application and terminal equipment
CN112751954A (en) Operation prompting method and electronic equipment
CN113438366B (en) Information notification interaction method, electronic device and storage medium
WO2020192716A1 (en) System language switching method and related apparatus
CN114201738A (en) Unlocking method and electronic equipment
CN114690924A (en) False touch prevention locking method, terminal device and computer readable storage medium
EP4273687A1 (en) Picture sharing method and electronic device
CN114691248B (en) Method, device, equipment and readable storage medium for displaying virtual reality interface
CN116450259A (en) Service abnormality reminding method, electronic equipment and storage medium
CN115373957A (en) Application killing method and device
CN116048831B (en) Target signal processing method and electronic equipment
CN116389884B (en) Thumbnail display method and terminal equipment
CN114006976B (en) Interface display method and terminal equipment
EP4239464A1 (en) Method for invoking capabilities of other devices, electronic device, and system
CN113973152A (en) Unread message quick reply 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