CN111103996B - False touch prevention method and device and readable storage medium - Google Patents

False touch prevention method and device and readable storage medium Download PDF

Info

Publication number
CN111103996B
CN111103996B CN201811251995.3A CN201811251995A CN111103996B CN 111103996 B CN111103996 B CN 111103996B CN 201811251995 A CN201811251995 A CN 201811251995A CN 111103996 B CN111103996 B CN 111103996B
Authority
CN
China
Prior art keywords
sliding
pressure
touch
touch screen
sliding cover
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.)
Active
Application number
CN201811251995.3A
Other languages
Chinese (zh)
Other versions
CN111103996A (en
Inventor
刘楠
王笛
韩玲莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811251995.3A priority Critical patent/CN111103996B/en
Publication of CN111103996A publication Critical patent/CN111103996A/en
Application granted granted Critical
Publication of CN111103996B publication Critical patent/CN111103996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position

Abstract

The disclosure relates to a false touch prevention method, a false touch prevention device and a readable storage medium, and belongs to the field of mobile terminals. The method is applied to a sliding closure type terminal with an upper sliding closure and a lower sliding closure, wherein a pressure sensor is arranged below a touch screen of the upper sliding closure, and the method comprises the following steps: acquiring a pressure value acquired by the pressure sensor; detecting whether the pressure value reaches a pressure threshold value; and when the pressure value reaches a pressure threshold value, shielding the touch event reported by the touch screen. The problem of mistaken touch of the thumb of the user on the control on the touch screen can be avoided in the process that the user slides the up-down sliding cover of the sliding-cover type terminal. Even if the fingers of the user are slippery and dry or carry thin gloves, the sliding process of the user can be smoothly detected under the condition that the friction force between the fingers of the user and the screen is small, and therefore the user can enter a touch shielding state in time.

Description

False touch prevention method and device and readable storage medium
Technical Field
The present disclosure relates to the field of mobile terminals, and in particular, to a method and an apparatus for preventing a false touch, and a readable storage medium.
Background
The touch screen is a main human-computer interaction part on the mobile terminal.
When a user touches the touch screen with no intention of operation, an icon displayed on the touch screen is likely to be touched by mistake.
Disclosure of Invention
The embodiment of the disclosure provides a starting method and equipment for preventing false touch and a readable storage medium, which can solve the problem that a sliding cover type terminal is easily touched by mistake in the sliding process or the sliding process. The technical scheme is as follows:
according to an aspect of the embodiments of the present disclosure, there is provided a method for preventing a false touch, which is applied to a slide terminal having an upper slide and a lower slide, where a pressure sensor is disposed below a touch screen of the upper slide, the method including:
acquiring a pressure value acquired by the pressure sensor below the touch screen;
detecting whether the pressure value reaches a pressure threshold value;
and when the pressure value reaches a pressure threshold value, shielding the touch event reported by the touch screen.
In an optional embodiment, the detecting whether the pressure value reaches a pressure threshold further includes:
acquiring a corresponding touch position of the pressure value on the touch screen;
determining a pressure threshold corresponding to the touch position through a pressure distribution curve, wherein the pressure distribution curve comprises a corresponding relation between the touch position and the pressure threshold;
and detecting whether the pressure value reaches a pressure threshold value corresponding to the touch position.
In an optional embodiment, the determining, by the pressure distribution curve, a pressure threshold corresponding to the touch position includes:
and when the touch position is located in a preset sliding area on the touch screen, determining a pressure threshold corresponding to the touch position through a pressure distribution curve.
In an optional embodiment, a sliding detection assembly is further arranged on the sliding type terminal;
the method further comprises the following steps:
and when the sliding cover detection assembly detects that the sliding distance of the upper sliding cover reaches a sliding threshold value, shielding the touch event reported by the touch screen.
In an optional embodiment, the sliding-cover terminal is further provided with a sliding-cover sliding-aid assembly;
the method further comprises the following steps:
and when the pressure value reaches the pressure threshold value or the sliding distance of the upper sliding cover reaches the sliding threshold value, controlling the sliding-assisted assembly of the sliding cover to perform an automatic sliding cover mode.
According to another aspect of the present disclosure, there is provided a false touch prevention device, which is applied to a slide terminal having an upper slide and a lower slide, wherein a pressure sensor is disposed below a touch screen of the upper slide, and the device includes:
the acquisition module is configured to acquire a pressure value acquired by the pressure sensor below the touch screen;
a detection module configured to detect whether the pressure value reaches a pressure threshold;
the shielding module is configured to shield the touch event reported by the touch screen when the pressure value reaches a pressure threshold value.
In an optional embodiment, the detection module is configured to acquire a corresponding touch position of the pressure value on the touch screen; determining a pressure threshold corresponding to the touch position through a pressure distribution curve, wherein the pressure distribution curve comprises a corresponding relation between the touch position and the pressure threshold; and detecting whether the pressure value reaches a pressure threshold value corresponding to the touch position.
In an optional embodiment, the detection module is further configured to determine, when the touch position is located in a preset sliding operation area on the touch screen, a pressure threshold corresponding to the touch position through a pressure distribution curve.
In an optional embodiment, a sliding detection assembly is further arranged on the sliding type terminal;
the shielding module is further configured to shield the touch event reported by the touch screen when the sliding cover detection assembly detects that the sliding distance of the upper sliding cover reaches a sliding threshold.
In an optional embodiment, the sliding-cover terminal is further provided with a sliding-cover sliding-aid assembly;
the shielding module is further configured to control the sliding cover sliding-assistant assembly to perform an automatic sliding cover mode when the pressure value reaches the pressure threshold value or the sliding distance of the upper sliding cover reaches the sliding threshold value.
According to another aspect of the present disclosure, a slide-type terminal is provided, the slide-type terminal having an upper slide cover and a lower slide cover, a pressure sensor being disposed below a touch screen of the upper slide cover, the slide-type terminal further including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring a pressure value acquired by the pressure sensor below the touch screen;
detecting whether the pressure value reaches a pressure threshold value;
and when the pressure value reaches a pressure threshold value, shielding the touch event reported by the touch screen.
According to another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing executable instructions for implementing the anti-false touch method as described above when the executable instructions are executed by a processor.
The technical scheme provided by the embodiment of the disclosure at least comprises the following beneficial effects:
by acquiring a pressure value of a pressure sensor below the touch screen, when the pressure value reaches a pressure threshold value, shielding a touch event reported by the touch screen; therefore, the problem of mistaken touch of the thumb of the user on the control on the touch screen can be avoided in the process that the user slides the up-down sliding cover of the sliding cover type terminal. Even if the fingers of the user are slippery and dry or carry thin gloves, the sliding process of the user can be smoothly detected under the condition that the friction force between the fingers of the user and the screen is small, and therefore the user can enter a touch shielding state in time.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is an external view schematically illustrating a slide type terminal according to an exemplary embodiment of the present disclosure;
fig. 2 is a schematic structural view of a slide type terminal according to another exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a false touch protection method provided by an exemplary embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a false touch prevention method provided by another exemplary embodiment of the present disclosure;
FIG. 5 is a block diagram of a false touch prevention device provided by an exemplary embodiment of the present disclosure;
FIG. 6 is a block diagram of a false touch prevention device provided by an exemplary embodiment of the present disclosure;
fig. 7 is a block diagram of a slide type terminal provided in an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
The full-face screen is the development trend of the mobile terminal. The realization difficulty of the full-screen is how to cancel or hide devices such as a front camera, a distance sensor, a microphone, a fingerprint sensor, a physical key and the like on the front side of the terminal, so that the proportion of the display screen is increased as much as possible.
Fig. 1 schematically shows an external view of a slide type terminal 100. The slide type terminal 100 includes: the sliding device comprises an upper sliding cover 101 and a lower sliding cover 102, wherein the upper sliding cover 101 is connected with the lower sliding cover 102 through a sliding rail. The upper slide cover 101 and the lower slide cover 102 are switchable between a slide-open state and a slide-closed state.
The slide-open state is a state in which the relative sliding distance between the upper slider 101 and the lower slider 102 is greater than a predetermined value. In the slide-open state, the front camera 12 located on the front surface of the lower slide 102 is in an exposed state.
The sliding state refers to a state in which the relative sliding distance between the upper sliding cover 101 and the lower sliding cover 102 is zero, that is, the front positions of the upper sliding cover 102 and the lower sliding cover 102 are coincident. In the slide-closed state, front camera 12 located on the front surface of lower slide cover 102 is in an unexposed state.
Optionally, a sliding detection assembly and a sliding aid assembly are disposed between the upper sliding cover 101 and the lower sliding cover 102, and the sliding detection assembly is configured to detect whether a relative sliding distance between the upper sliding cover 102 and the lower sliding cover 102 reaches a threshold value when a user starts to slide the upper sliding cover and the lower sliding cover, and report a sliding event when the relative sliding distance reaches the threshold value. The sliding cover sliding-assistant component is used for controlling the upper sliding cover 101 and the lower sliding cover 102 to automatically slide according to the sliding event until the sliding state is completely switched to the sliding open state or the sliding open state is completely switched to the sliding closed state.
Fig. 2 schematically shows a configuration diagram of a slide type terminal 100. A touch display screen is disposed on the upper cover 101 of the slide type terminal 100. When a user uses a finger, a pressure sensor 16 is disposed below the touch display screen, and the pressure sensor 16 is disposed below or at the side of the sliding region 14. The slide area 14 is the area where the user's thumb may be located when the user starts sliding the up and down slides. The pressure sensor 16 is connected to a processor of the slide type terminal 100.
In the design stage of the slider-type terminal 100, the inventor finds that, in the process of sliding the upper slider 101 and the lower slider 102 open or closed by a user, a thumb of the user touches an icon on the display screen, and particularly, when the sliding distance is not enough to trigger the sliding detection assembly to report a sliding event to the operating system, a false touch phenomenon is very easy to occur, so the following technical scheme is provided.
Fig. 3 shows a flowchart of a false touch prevention method provided by an exemplary embodiment of the present application. The method can be applied to the sliding terminal shown in fig. 1 and 2, the sliding terminal is provided with an upper sliding cover and a lower sliding cover, and a pressure sensor is arranged below a touch screen of the upper sliding cover, and the method comprises the following steps:
step 301, acquiring a pressure value acquired by a pressure sensor below a touch screen;
on one hand, because the damping exists between the upper sliding cover and the lower sliding cover, when a user slides the upper sliding cover and the lower sliding cover manually, the user can slide normally only by applying larger pressure; on the other hand, when the user clicks the icon on the touch screen, only a small pressure needs to be applied.
And a processor in the sliding-cover terminal monitors the pressure value acquired by the pressure sensor. Optionally, the processor periodically monitors the pressure value collected by the pressure sensor.
Step 302, detecting whether the pressure value reaches a pressure threshold value;
the processor detects whether the pressure value reaches a pressure threshold. Optionally, the pressure threshold is an empirical value.
And step 303, shielding the touch event reported by the touch screen when the pressure value reaches the pressure threshold value.
And when the pressure value reaches the pressure threshold value, the processor judges that the sliding cover is in the sliding process at present, and shields the touch event reported by the touch screen. That is, when a touch event reported by the touch screen is received, no response is made.
In summary, in the method for preventing false touch provided by this embodiment, by obtaining a pressure value of a pressure sensor below a touch screen, when the pressure value reaches a pressure threshold, a touch event reported by the touch screen is shielded; therefore, the problem of mistaken touch of the thumb of the user on the control on the touch screen can be avoided in the process that the user slides the up-down sliding cover of the sliding cover type terminal. Even if the fingers of the user are slippery and dry or carry thin gloves, the sliding process of the user can be smoothly detected under the condition that the friction force between the fingers of the user and the screen is small, and therefore the user can enter a touch shielding state in time.
Fig. 4 shows a flowchart of a false touch prevention method provided by another exemplary embodiment of the present application. The method can be applied to the sliding terminal shown in fig. 1 and 2, the sliding terminal is provided with an upper sliding cover and a lower sliding cover, and a pressure sensor is arranged below a touch screen of the upper sliding cover, and the method comprises the following steps:
step 401, acquiring a pressure value acquired by a pressure sensor below a touch screen;
the processor acquires a pressure value acquired by the pressure sensor. Optionally, the processor receives the pressure value collected by the pressure sensor at predetermined time intervals.
Step 402, acquiring a corresponding touch position of a pressure value on a touch screen;
meanwhile, the processor also receives a touch event reported by the touch screen, where the touch event may be a touch start event. The touch start event carries touch coordinates.
Step 403, determining a pressure threshold corresponding to the touch position through the pressure distribution interval, wherein the pressure distribution curve includes a corresponding relationship between the touch position and the pressure threshold;
the memory of the sliding type terminal is also stored with a pressure distribution curve in advance, and the pressure distribution curve comprises the corresponding relation between at least one touch position and at least one pressure threshold value. Optionally, the touch positions in different areas correspond to different pressure thresholds one to one.
That is, when the thumb of the user presses different areas and then manually slides the upper and lower sliding covers, the mechanical structures of the upper and lower sliding covers are fixed, so that the upper and lower sliding covers need to be slid at different areas with different pressing force levels. Therefore, for different touch areas, different pressure thresholds are prestored in the slider terminal.
Optionally, the relationship between the touch position and the pressure position is represented by a pressure distribution curve. The pressure profile may be determined by a developer based on test or empirical values.
In an alternative embodiment, the area in which the thumb is positioned during the sliding process is relatively fixed, and is located approximately in the center area of the touch screen, such as the sliding area 14 in fig. 2. The terminal can detect whether the touch position is located in a preset sliding area on the touch screen; when the touch position is located in the sliding area, determining a pressure threshold corresponding to the touch position through a pressure distribution curve; when the touch position is outside the sliding area, no processing is performed.
In another embodiment, the pressure sensor includes a plurality of pressure sensors arranged in an array, each pressure sensor corresponding to a respective pressure threshold. The processor acquires the identifier of the pressure sensor corresponding to the pressure value, inquires the pressure threshold corresponding to the pressure sensor according to the identifier of the pressure sensor, and detects whether the pressure value reaches the pressure threshold corresponding to the pressure sensor.
Step 404, detecting whether the pressure value reaches a pressure threshold value corresponding to the touch position;
when the pressure value reaches the pressure threshold corresponding to the touch position, go to step 405; and when the pressure value does not reach the pressure threshold value corresponding to the touch position, no processing is performed.
Step 405, when the pressure value reaches a pressure threshold value, shielding a touch event reported by the touch screen;
and when the pressure value reaches the pressure threshold value, the processor judges that the sliding cover is in the sliding process at present, and shields the touch event reported by the touch screen. That is, when a touch event reported by the touch screen is received, no response is made.
Step 406, detecting whether the sliding distance of the upper sliding cover reaches a sliding threshold value through the sliding cover detection assembly;
as a step parallel to step 401 to step 405, the slide terminal further detects whether the sliding distance of the upper slide with respect to the lower slide reaches a sliding threshold through the slide detection assembly.
Optionally, the sliding cover detection assembly includes a magnet and a hall device, and the magnet and the hall device are respectively located at corresponding positions of the upper sliding cover and the lower sliding cover. When the upper and lower sliders are triggered to slide relatively by the fingers of a user, the magnetic lines of force generated by the magnets change the level output by the Hall device. For example, when the sliding distance of the upper sliding cover relative to the lower sliding cover reaches a sliding threshold, the level output by the hall device is changed from a high level to a low level.
When the processor monitors the level change of the Hall device, the sliding distance of the upper sliding cover relative to the lower sliding cover is determined to reach the sliding threshold value, and the step 405 is executed; when the processor monitors the level change of the Hall device, the processing is not carried out.
Step 405, when the sliding cover detection component monitors that the sliding distance of the upper sliding cover reaches a sliding threshold, shielding a touch event reported by the touch screen;
when the processor monitors that the sliding distance of the upper sliding cover reaches a sliding threshold value through the sliding cover detection assembly, the processor judges that the sliding cover is currently in the sliding process, and the touch event reported by the touch screen is shielded. That is, when a touch event reported by the touch screen is received, no response is made.
Step 407, when the pressure value reaches the pressure threshold, or the sliding distance of the upper sliding cover reaches the sliding threshold, controlling the sliding-assisted assembly of the sliding cover to enter the automatic sliding-cover mode.
In one embodiment, a sliding cover sliding-assistant assembly is further arranged in the sliding-cover type terminal, the sliding cover sliding-assistant assembly comprises a motor and a transmission device, a control end of the motor is connected with the processor, and the motor drives the transmission device to enable the upper sliding cover and the lower sliding cover to enter an automatic sliding state.
And when the pressure value reaches the pressure threshold value or the sliding distance of the upper sliding cover reaches the sliding threshold value, the processor sends a control signal to the sliding-assisted assembly of the sliding cover, wherein the control signal is used for controlling the sliding-assisted assembly of the sliding cover to enter an automatic sliding-cover mode.
Optionally, in the automatic sliding cover mode, if the upper sliding cover and the lower sliding cover are completely switched from the sliding-closed state to the sliding-open state (or completely switched from the sliding-open state to the sliding-closed state), the automatic sliding cover mode is exited and shielding of the touch event reported by the touch screen is cancelled.
In summary, in the method for preventing false touch provided by this embodiment, by obtaining a pressure value of a pressure sensor below a touch screen, when the pressure value reaches a pressure threshold, a touch event reported by the touch screen is shielded; therefore, the problem of mistaken touch of the thumb of the user on the control on the touch screen can be avoided in the process that the user slides the up-down sliding cover of the sliding cover type terminal. Even if the fingers of the user are slippery and dry or carry thin gloves, the sliding process of the user can be smoothly detected under the condition that the friction force between the fingers of the user and the screen is small, and therefore the user can enter a touch shielding state in time.
In one example, when the friction between the finger of the user and the touch screen is sufficient, and the relative sliding distance of the user sliding the upper and lower sliding covers reaches a distance threshold, the sliding cover detection assembly is triggered to enter a touch event shielding state in the sliding process when the level reported to the processor changes; however, when the friction between the user's finger and the touch screen is insufficient, for example, the user's finger is dry, slippery or wearing a thin glove, it is difficult for the user to reach a distance threshold value when sliding the upper and lower sliding covers relative to each other, but the pressure generated by the user's finger on the touch screen is greater than that in a common touch scene, and the processor can also enter a touch event shielding state during the sliding process when the pressure value is greater than the pressure threshold value. According to the false touch prevention method provided by the embodiment, the sliding process of the user is detected in parallel through two detection modes, so that a false touch event is not easy to generate when the user uses the sliding cover type state in daily life, and unnecessary redundant operation and calculation are avoided.
The following are apparatus embodiments of the present disclosure, and reference may be made to the above-described method embodiments for details not described in detail in the apparatus embodiments.
Fig. 5 shows a block diagram of a false touch prevention device according to an exemplary embodiment of the present disclosure. This prevent mistake and touch device and can realize becoming all or some of slip cover type terminal, this slip cover type terminal has the sliding closure and slides down the lid, and the touch-sensitive screen below of going up the sliding closure is provided with pressure sensor, and the device includes:
an obtaining module 520 configured to obtain a pressure value collected by a pressure sensor below the touch screen;
a detection module 540 configured to detect whether the pressure value reaches a pressure threshold;
and a shielding module 560 configured to shield the touch event reported by the touch screen when the pressure value reaches the pressure threshold.
In an optional embodiment, the detecting module 540 is configured to obtain a corresponding touch position of the pressure value on the touch screen; determining a pressure threshold corresponding to the touch position through a pressure distribution curve, wherein the pressure distribution curve comprises a corresponding relation between the touch position and the pressure threshold; and detecting whether the pressure value reaches a pressure threshold value corresponding to the touch position.
In an optional embodiment, the detecting module 540 is further configured to determine a pressure threshold corresponding to the touch position through the pressure distribution curve when the touch position is located in a preset sliding operation area on the touch screen.
In an optional embodiment, a sliding detection assembly is further arranged on the sliding type terminal;
the shielding module 560 is further configured to shield the touch event reported by the touch screen when the sliding cover detection assembly detects that the sliding distance of the upper sliding cover reaches the sliding threshold.
In an optional embodiment, the sliding-cover terminal is further provided with a sliding-cover sliding-aid component; the device still includes: a slider module 580, fig. 6;
the sliding cover module 580 is further configured to control the sliding cover sliding assistance assembly to perform the automatic sliding cover mode when the pressure value reaches the pressure threshold value or the sliding distance of the upper sliding cover reaches the sliding threshold value.
In summary, in the false touch prevention device provided in this embodiment, by obtaining a pressure value of the pressure sensor below the touch screen, when the pressure value reaches a pressure threshold, a touch event reported by the touch screen is shielded; therefore, the problem of mistaken touch of the thumb of the user on the control on the touch screen can be avoided in the process that the user slides the up-down sliding cover of the sliding cover type terminal. Even if the fingers of the user are slippery and dry or carry thin gloves, the sliding process of the user can be smoothly detected under the condition that the friction force between the fingers of the user and the screen is small, and therefore the user can enter a touch shielding state in time.
In one example, when the friction between the finger of the user and the touch screen is sufficient, and the relative sliding distance of the user sliding the up-down sliding cover reaches a distance threshold value, the sliding cover detection assembly is triggered to enter a touch event shielding state in the sliding process when the level change reported to the processor is performed; however, when the friction between the user's finger and the touch screen is insufficient, for example, the user's finger is dry, slippery or wearing a thin glove, it is difficult for the relative sliding distance between the upper and lower sliding covers to reach a distance threshold, but the pressure generated by the user's finger on the touch screen is greater than that in a common touch scene, and the processor can also enter a touch event shielding state during the sliding process when the pressure value is greater than the pressure threshold. According to the false touch prevention method provided by the embodiment, the sliding process of the user is detected in parallel through two detection modes, so that a false touch event is not easy to generate when the user uses the sliding cover type state in daily life, and unnecessary redundant operation and calculation are avoided.
It should be noted that, when the device provided in the foregoing embodiment is used for preventing false touch, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to actual needs, that is, the content structure of the device is divided into different functional modules, so as to complete all or part of the above described functions.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure also provides a false touch prevention device. The device includes: a processor, and a memory for storing executable instructions for the processor. Wherein the processor is configured to execute the executable instructions to implement the false touch prevention method as in the above method embodiments.
Fig. 6 is a block diagram illustrating a false touch prevention device 600 according to an example embodiment. For example, the apparatus 600 may be a slide-type terminal, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect the open/closed status of the device 600, the relative positioning of the components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 920 of the apparatus 600 to perform the above-described false touch prevention method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A computer-readable storage medium, in which a computer program is stored which, when executed by a processor of an apparatus 600, enables the apparatus 600 to perform a false touch protection method.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. The method for preventing the false touch is characterized by being applied to a sliding closure type terminal with an upper sliding closure and a lower sliding closure, wherein a pressure sensor is arranged below a touch screen of the upper sliding closure, and the method comprises the following steps:
acquiring a pressure value acquired by the pressure sensor below the touch screen, wherein the pressure value is generated when a user manually slides the upper sliding cover and the lower sliding cover;
detecting whether the pressure value reaches a pressure threshold value;
and when the pressure value reaches a pressure threshold value, shielding the touch event reported by the touch screen.
2. The method of claim 1, wherein said detecting whether the pressure value reaches a pressure threshold value further comprises:
acquiring a corresponding touch position of the pressure value on the touch screen;
determining a pressure threshold corresponding to the touch position through a pressure distribution curve, wherein the pressure distribution curve comprises a corresponding relation between the touch position and the pressure threshold;
and detecting whether the pressure value reaches a pressure threshold value corresponding to the touch position.
3. The method of claim 2, wherein determining the pressure threshold corresponding to the touch location from the pressure profile comprises:
and when the touch position is located in a preset sliding area on the touch screen, determining a pressure threshold corresponding to the touch position through a pressure distribution curve.
4. The method according to any one of claims 1 to 3, wherein a slide detection assembly is further provided on the slide type terminal;
the method further comprises the following steps:
and when the sliding detection component detects that the sliding distance of the upper sliding cover reaches a sliding threshold value, shielding the touch event reported by the touch screen.
5. The method of claim 4, wherein the slide-type terminal is further provided with a slide-type sliding assistance assembly;
the method further comprises the following steps:
and when the pressure value reaches the pressure threshold value or the sliding distance of the upper sliding cover reaches the sliding threshold value, controlling the sliding-assisted assembly of the sliding cover to perform an automatic sliding cover mode.
6. The utility model provides a prevent mistake and touch device which characterized in that is applied to in the sliding closure formula terminal that has last sliding closure and lower sliding closure, the touch-sensitive screen below of going up the sliding closure is provided with pressure sensor, the device includes:
an acquisition module configured to acquire a pressure value acquired by the pressure sensor below the touch screen, the pressure value being generated when a user manually slides the upper sliding cover and the lower sliding cover;
a detection module configured to detect whether the pressure value reaches a pressure threshold;
the shielding module is configured to shield the touch event reported by the touch screen when the pressure value reaches a pressure threshold value.
7. The apparatus of claim 6,
the detection module is configured to acquire a corresponding touch position of the pressure value on the touch screen; determining a pressure threshold corresponding to the touch position through a pressure distribution curve, wherein the pressure distribution curve comprises a corresponding relation between the touch position and the pressure threshold; and detecting whether the pressure value reaches a pressure threshold value corresponding to the touch position.
8. The apparatus of claim 7,
the detection module is further configured to determine a pressure threshold corresponding to the touch position through a pressure distribution curve when the touch position is located in a preset sliding operation area on the touch screen.
9. The device according to any one of claims 6 to 8, wherein a sliding detection component is further arranged on the sliding type terminal;
the shielding module is further configured to shield the touch event reported by the touch screen when the sliding detection assembly detects that the sliding distance of the upper sliding cover reaches a sliding threshold.
10. The device of claim 9, wherein the slide-type terminal is further provided with a slide-type sliding-aid assembly;
the device further comprises a sliding cover module:
the sliding cover module is further configured to control the sliding cover sliding-assistant assembly to perform an automatic sliding cover mode when the pressure value reaches the pressure threshold value or the sliding distance of the upper sliding cover reaches the sliding threshold value.
11. The utility model provides a sliding closure formula terminal, its characterized in that, sliding closure formula terminal has last sliding closure and gliding lid, the touch-sensitive screen below of going up the sliding closure is provided with pressure sensor, sliding closure formula terminal still includes:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring a pressure value acquired by the pressure sensor below the touch screen, wherein the pressure value is generated when a user manually slides the upper sliding cover and the lower sliding cover;
detecting whether the pressure value reaches a pressure threshold value;
and when the pressure value reaches a pressure threshold value, shielding the touch event reported by the touch screen.
12. A computer-readable storage medium storing executable instructions for implementing the false touch protection method of any one of claims 1 to 5 when executed by a processor.
CN201811251995.3A 2018-10-25 2018-10-25 False touch prevention method and device and readable storage medium Active CN111103996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811251995.3A CN111103996B (en) 2018-10-25 2018-10-25 False touch prevention method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811251995.3A CN111103996B (en) 2018-10-25 2018-10-25 False touch prevention method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111103996A CN111103996A (en) 2020-05-05
CN111103996B true CN111103996B (en) 2022-08-26

Family

ID=70418117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811251995.3A Active CN111103996B (en) 2018-10-25 2018-10-25 False touch prevention method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111103996B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2755874Y (en) * 2004-10-15 2006-02-01 康佳集团股份有限公司 Automatic skip cover mobile
CN106681505A (en) * 2016-12-22 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for dual-screen display control
CN106681638A (en) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 Method, device and mobile terminal for controlling touch screen
CN107870724A (en) * 2017-11-07 2018-04-03 广东欧珀移动通信有限公司 Display screen method of deploying, device and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2755874Y (en) * 2004-10-15 2006-02-01 康佳集团股份有限公司 Automatic skip cover mobile
CN106681638A (en) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 Method, device and mobile terminal for controlling touch screen
CN106681505A (en) * 2016-12-22 2017-05-17 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for dual-screen display control
CN107870724A (en) * 2017-11-07 2018-04-03 广东欧珀移动通信有限公司 Display screen method of deploying, device and terminal

Also Published As

Publication number Publication date
CN111103996A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN106570442B (en) Fingerprint identification method and device
EP3046017A1 (en) Unlocking method, device and terminal
US10284773B2 (en) Method and apparatus for preventing photograph from being shielded
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
EP3098701A1 (en) Method and apparatus for managing terminal application
EP3046016A1 (en) Method and apparatus for switching display mode
CN108255369B (en) Method and device for displaying fingerprint icon in screen and computer readable storage medium
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
CN107992257B (en) Screen splitting method and device
EP3232301B1 (en) Mobile terminal and virtual key processing method
US20170344184A1 (en) Method, electronic device, and medium for controlling state of touch screen
CN112905136A (en) Screen projection control method and device and storage medium
CN111103997B (en) False touch prevention method and device and readable storage medium
CN111104001B (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
CN107844257B (en) Information display method, device, terminal and storage medium
CN111103996B (en) False touch prevention method and device and readable storage medium
CN106990893B (en) Touch screen operation processing method and device
CN106843691B (en) Operation control method and device of mobile terminal
US20160195992A1 (en) Mobile terminal and method for processing signals generated from touching virtual keys
CN112363647A (en) Touch operation method and device and storage medium
CN108804009B (en) Gesture recognition method and device
CN114724196A (en) False touch prevention method and device, electronic equipment and storage medium
CN114185444A (en) Method and device for preventing mistaken touch of touch screen and storage medium
CN111107262B (en) Quick shooting method, equipment and readable storage medium
CN112689047A (en) Display control method and device and electronic equipment

Legal Events

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