CN110647281A - False touch prevention method and device and storage medium - Google Patents

False touch prevention method and device and storage medium Download PDF

Info

Publication number
CN110647281A
CN110647281A CN201910894355.2A CN201910894355A CN110647281A CN 110647281 A CN110647281 A CN 110647281A CN 201910894355 A CN201910894355 A CN 201910894355A CN 110647281 A CN110647281 A CN 110647281A
Authority
CN
China
Prior art keywords
notification bar
floating window
display area
false touch
notification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910894355.2A
Other languages
Chinese (zh)
Other versions
CN110647281B (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 CN201910894355.2A priority Critical patent/CN110647281B/en
Publication of CN110647281A publication Critical patent/CN110647281A/en
Application granted granted Critical
Publication of CN110647281B publication Critical patent/CN110647281B/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The disclosure relates to a false touch prevention method, a false touch prevention device and a storage medium. The false touch prevention method comprises the following steps: when a designated application on a terminal is in a running process, responding to application operation of a user on the designated application; when a sliding gesture for drawing out the notification bar is received, shielding the drawing out of the notification bar; upon receipt of a notification message, the notification message is displayed in a floating window. Through the method and the device, the notification bar can be prevented from being drawn out by the mistaken touch of the sliding gesture of the user, and the notification message can be displayed based on the floating window, so that important information is not omitted, and the user experience is improved.

Description

False touch prevention method and device and storage medium
Technical Field
The present disclosure relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for preventing a false touch and a storage medium.
Background
With the continuous progress of science and technology, more and more application operations can be realized by terminals such as mobile phones and tablet computers. For example, the application operation that the user can perform with the mobile phone may be playing a game, listening to music, watching a video, and the like.
At present, when a user performs application operation on a terminal, a false touch action often occurs. For example, when a user plays a game on a mobile phone, a false touch behavior often occurs due to a high-density clicking operation of the user.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, an apparatus, and a storage medium for preventing a false touch.
According to a first aspect of the embodiments of the present disclosure, there is provided a false touch prevention method, including: when the designated application on the terminal is in the running process, responding to the application operation of the designated application by a user; when a sliding gesture for drawing out the notification bar is received, shielding the drawing out of the notification bar; upon receipt of the notification message, the notification message is displayed in a floating window.
In one example, the anti-false touch method further comprises: a floating window is preset in a notification bar display area of the terminal.
In one example, the method for presetting the floating window in the display area of the notification bar of the terminal comprises the following steps: when the designated application is in the running process, adding the floating window to the display area of the notification bar, and floating the floating window in the display area of the notification bar; based on the floating window floating in the display area of the notification bar, the sliding gesture which is drawn by the trigger notification bar is shielded.
In one example, the floating window is a transparent floating window and is similar in shape to the notification bar display area, and the size of the floating window is less than or equal to the size of the notification bar display area, and the size of the floating window covers the display area that triggers the drawing of the notification bar.
In one example, the anti-false touch method further comprises: and when the designated application exits the running process, removing the preset floating window.
In an example, before the masking notification bar is scribed, the anti-false touch method further comprises: and confirming that the function of marking out the shielding notification bar is opened.
In an example, the specified application includes one or more of a game, video, and audio.
In an example, the swipe gesture includes a downslide gesture or a upslide gesture.
According to a second aspect of the embodiments of the present disclosure, there is provided a false touch prevention device, including: the execution unit is configured to respond to application operation of a user on a specified application when the specified application on the terminal is in a running process; a shielding unit configured to shield the notification bar from being drawn out when a slide gesture for drawing out the notification bar is received; a display unit configured to display the notification message in a floating window form when the notification message is received.
In one example, the false touch prevention device further includes: and the setting unit is configured to preset a floating window in a notification bar display area of the terminal.
In one example, the setting unit presets a floating window in a notification bar display area of the terminal in the following manner: when the designated application is in the running process, adding the floating window to the display area of the notification bar, and floating the floating window in the display area of the notification bar; the shielding unit is configured to: based on the floating window floating in the display area of the notification bar, the sliding gesture which is drawn by the trigger notification bar is shielded.
In one example, the floating window is a transparent floating window and is similar in shape to the notification bar display area, and the size of the floating window is less than or equal to the size of the notification bar display area, and the size of the floating window covers the display area that triggers the drawing of the notification bar.
In an example, the setting unit is further configured to: and when the designated application exits the running process, removing the preset floating window.
In an example, the shielding unit is further configured to: before the shielding notification bar is marked out, the opening of the marking-out function of the shielding notification bar is confirmed.
In an example, the specified application includes one or more of a game, video, and audio.
In an example, the swipe gesture includes a downslide gesture or a upslide gesture.
According to a third aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform any one of the aforementioned methods.
According to a fourth aspect of the present disclosure, there is provided an electronic apparatus including: a memory configured to store instructions; and a processor configured to invoke the instructions to perform any of the foregoing methods.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the designated application is in the running process, the user can be prevented from mistakenly touching by marking out the shielding notification bar. When the notification message is received, the notification message is displayed in a floating window mode, so that important information is not missed, and the user experience is improved.
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 invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart illustrating a false touch prevention method according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a false touch prevention method according to an example embodiment.
FIG. 3 is a flow chart illustrating a false touch prevention method according to an example embodiment.
FIG. 4 is a flow chart illustrating a false touch prevention method according to an example embodiment.
Fig. 5 is a block diagram illustrating a false touch prevention method apparatus according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an apparatus in accordance with an example embodiment.
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The technical solution of the exemplary embodiment of the present disclosure may be applied to an application scenario in which an application operation is performed on a terminal. In the exemplary embodiments described below, a terminal is sometimes also referred to as an intelligent terminal device, where the terminal may be a Mobile terminal, also referred to as a User Equipment (UE), a Mobile Station (MS), etc., and the terminal is a device providing voice and/or data connection for a User, or a chip disposed in the device, such as a handheld device with a wireless connection function, a vehicle-mounted device, etc. Examples of terminals may include, for example: the Mobile terminal comprises a Mobile phone, a tablet computer, a notebook computer, a palm computer, Mobile Internet Devices (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in remote operation, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home and the like.
When a user performs application operation on a terminal, false touch behavior often occurs. For example, when a user plays a game on a mobile phone, and operates an application using a swipe gesture with respect to a game application, it is easy to draw out a notification bar. The drawn notification bar can block the sight of the user, influence the operation of the user on the game and further influence the user experience.
In the related art, in order to avoid a false touch behavior of the notification bar drawn by the sliding gesture, the notification bar is shielded by using an interface for shielding the notification bar provided by the terminal operating system. However, this method also masks the floating notification message while masking the scratch-out notification bar, so that the user may miss important information.
In view of the above, the present disclosure provides a method for preventing a false touch, which can block an operation that can cause a notification bar to be drawn without affecting a user receiving a notification message.
Fig. 1 is a flowchart illustrating a false touch prevention method according to an exemplary embodiment, where the false touch prevention method is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S11, when the specified application on the terminal is in the process of running, the application operation performed on the specified application by the user is responded.
The designated application in the present disclosure may be one or several of the application programs. For example, the application may be one of a game application, a video application, and an audio application, or several of the game application, the video application, and the audio application, which may be specified based on actual requirements.
In the present disclosure, a specific application is in a running process, which may be understood as that the specific application is being displayed on a terminal display interface, and an operation instruction of the application is being executed.
In the present disclosure, the application operation performed by the user on the specified application may be an application operation performed by the user on the specified application based on one or a combination of a gesture operation command, a biometric identification operation command, and a key trigger command. For example, a click operation, a slide operation, or the like based on the gesture operation command may be performed. For example, the application is designated as a game, and the application operation for the game is a high-density click operation.
In step S12, upon receiving a slide gesture for drawing out the notification bar, the shield notification bar is drawn out.
In the disclosure, when a gesture for drawing out a notification bar is received, a sliding event based on the drawing gesture is intercepted, and the drawing out of the notification bar can be shielded.
In the present disclosure, the masking notification bar is marked out, for example, as follows:
and when the specified application is in the running process, adding the floating window to the display area of the notification bar, and floating the floating window in the display area of the notification bar. If the user performs sliding operation in the notification bar display area, after a sliding gesture is detected by a suspension window suspended in the notification bar display area, a sliding event triggered based on the sliding gesture is intercepted, and then the notification bar is shielded from being drawn out due to the triggering of the sliding gesture. And the user can continue other application operations based on the operation on the application, such as single-click operation, double-click operation and the like based on the gesture operation command.
In step S13, upon receiving the notification message, the notification message is displayed in the form of a floating window.
In the present disclosure, when a notification message is received, the notification message is displayed through a floating window floating in a notification bar display area. In the present disclosure, the notification message is displayed through the floating window, and if an important notification message needs to be processed or viewed, the notification message can be processed or viewed based on an application operation performed on a specific application by a user. For example, when the specified application is in a running process and important notification messages are received and need to be viewed, the user can view the notification messages based on the operation instruction of the click gesture.
In the exemplary embodiment of the present disclosure, when the specified application is in the running process, by blocking the notification bar, it is possible to prevent a user from mistakenly touching. When the notification message is received, the notification message is displayed in a floating window mode, so that important information is not missed, and the user experience is improved.
Fig. 2 is a flowchart illustrating a false touch prevention method according to an exemplary embodiment, where the false touch prevention method is used in a terminal, as shown in fig. 2, and includes the following steps.
In step S21, a floating window is preset in the notification bar display area of the terminal, and the preset floating window is used for displaying the notification message and for blocking the notification bar.
In the present disclosure, a floating window may be preset in a notification bar display area of a terminal. The preset floating window can be used for displaying the notification message and can also be used for shielding the notification bar from being drawn. The preset floating window can be a transparent floating window, so that the floating window cannot influence a display interface for running the application when the specified application is in the running process, a user can feel that the interface of the running application is still complete, and the sight of the user cannot be shielded. The shape of the preset floating window may be similar to the shape of the notification bar display area, for example, the shape of the notification bar display area may be a bar shape, and the shape of the floating window may also be a bar shape. In order not to affect the application operation of the designated application, the size of the preset floating window may be equal to or smaller than the size of the notification bar display area. Also, the minimum size of the floating window needs to cover the display area where the notification bar can be drawn in response to a trigger. When the notification message is received and displayed on the floating window, in order to reduce interference to the running specified application, the size of the floating window can be reduced on the basis of covering the display area of the trigger marking-out notification bar. For example, the size of the floating window may be 5 pixels, or adjusted in real-time based on the size of the terminal notification bar display interface.
In step S22, when the specified application on the terminal is in the process of running, the application operation performed on the specified application by the user is responded.
In step S23, upon receiving a gesture for drawing out the notification bar, the mask notification bar is drawn out.
In step S24, upon receiving the notification message, the notification message is displayed in the form of a floating window.
In the exemplary embodiment of the disclosure, the suspension window is preset in the notification bar display area of the terminal, the notification bar display area can be better adapted based on the preset suspension window, the added suspension window does not shield the sight of a user, and the user experience is good.
Fig. 3 is a flowchart illustrating a false touch prevention method according to an exemplary embodiment, where the false touch prevention method is used in a terminal, as shown in fig. 3, and includes the following steps.
In step S31, when the specified application on the terminal is in the process of running, the application operation performed on the specified application by the user is responded.
In step S32, upon receiving a slide gesture for drawing out the notification bar, the shield notification bar is drawn out.
In step S33, upon receiving the notification message, the notification message is displayed in the form of a floating window.
In step S34, when the designated application exits the running process, the preset floating window is removed.
In the present disclosure, the condition that the designated application exits from the running process may be understood as a condition that the designated application is closed or an operation instruction of the designated application is not executed and is not displayed on the terminal display interface.
In the exemplary embodiment of the disclosure, when the designated application exits from the running process, the notification bar can be triggered and drawn out based on the sliding gesture by removing the preset floating window, so that the application operation of the terminal application is more flexible, and the use experience of a user is further improved.
Fig. 4 is a flowchart illustrating a false touch prevention method according to an exemplary embodiment, where the false touch prevention method is used in a terminal, as shown in fig. 4, and includes the following steps.
In step S41, when the specified application on the terminal is in the process of running, the application operation performed on the specified application by the user is responded.
In step S42, the confirmation mask notification bar marking function is turned on.
In the present disclosure, on the one hand, the shield notification bar marking function can be confirmed to be turned on based on a preset mode, and on the other hand, the shield notification bar marking function can also be confirmed to be turned on based on a real-time adding mode.
And confirming the opening of the shielding notification bar marking function based on a preset mode, wherein the shielding notification bar marking function can be added and opened in the setting of the appointed application. Through the shielding notification bar marking function, the shielding notification bar marking function can be automatically operated when the specified application is in the running process, and the preset floating window is removed when the specified application exits the running process.
And confirming the marking-out function of the shielding notification bar to be opened based on a real-time adding mode, and confirming the marking-out function of the shielding notification bar to be opened through the real-time adding mode. And when the application running on the terminal is determined to be the designated application and a gesture for drawing the notification bar is received, adding and running a shielding notification bar drawing function.
The mask notification bar marking function can be realized, for example, as follows:
adding a floating window to the notification bar display area by using a window manager (windowmanager) in the terminal operating system, and floating the floating window in the notification bar display area. After a sliding gesture is detected by a suspension window suspended in a display area of the notification bar, a sliding event triggered based on the sliding gesture is intercepted, and the notification bar is shielded and triggered to be drawn out by the sliding gesture. And when the specified application exits from the running process, removing the floating window added by the windows manager.
As an example, the following describes in detail confirmation of the shield notification bar marking-out function opening based on a preset manner, taking the application as a game application as an example.
In the setting of the game or in an acceleration mode, a shielding notification bar marking-out function is added and started, when the game application is in the running process, the shielding notification bar marking-out function is automatically run, and when the game application exits the running process, a preset floating window is removed. Therefore, the user can be prevented from mistakenly touching and drawing the notification bar due to high-density clicking operation in the game, so that the sight of the user is shielded, and the user operation is prevented from being interfered.
As an example, the following description will be made in detail on confirmation of the shield notification bar marking-out function opening based on a real-time addition manner, taking an application as a game application as an example.
And when determining that the application running on the terminal is a game application and receiving a gesture for drawing the notification bar, adding and running a shielding notification bar drawing function. Therefore, the user can be prevented from mistakenly touching and drawing the notification bar due to high-density clicking operation in the game, so that the sight of the user is shielded, and the user operation is prevented from being interfered.
In step S43, upon receiving a gesture for drawing out the notification bar, the mask notification bar is drawn out.
In step S44, upon receiving the notification message, the notification message is displayed in the form of a floating window.
In the exemplary embodiment of the disclosure, the shielding notification bar marking function is determined to be started in a preset or real-time adding mode, so that the personalized requirements of the user can be met based on actual needs, and the use experience of the user is further improved.
Fig. 5 is a block diagram illustrating a false touch prevention device 100 according to an exemplary embodiment. Referring to fig. 5, the anti-false touch apparatus includes an execution unit 101, a shielding unit 102, and a display unit 103.
The execution unit 101 is configured to respond to an application operation performed on a specified application by a user while the specified application on the terminal is in a running process.
The masking unit 102 is configured to mask the notification bar stroke when a swipe gesture for stroking the notification bar is received.
The display unit 103 is configured to display the notification message in the form of a floating window when receiving the notification message.
In an example, the anti-false touch device further includes a setting unit 104, and the setting unit 104 is configured to preset a floating window in a notification bar display area of the terminal.
In one example, the setting unit 104 presets a floating window in a notification bar display area of the terminal in the following manner: when the designated application is in the running process, adding the floating window to the display area of the notification bar, and floating the floating window in the display area of the notification bar; the shielding unit 102 is configured to: based on the floating window floating in the display area of the notification bar, the sliding gesture which is drawn by the trigger notification bar is shielded.
In one example, the floating window is a transparent floating window and is similar in shape to the notification bar display area, and the size of the floating window is less than or equal to the size of the notification bar display area, and the size of the floating window covers the display area that triggers the drawing of the notification bar.
In an example, the setting unit 104 is further configured to: and when the designated application exits the running process, removing the preset floating window.
In an example, the masking unit 102 is further configured to confirm that the masking notification bar marking-out function is turned on before the masking notification bar marking-out.
In an example, the specified application includes one or more of a game, video, and audio.
In an example, the swipe gesture includes a downslide gesture or a upslide gesture.
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.
Fig. 6 is a block diagram illustrating an apparatus 600 for preventing false touches, according to an example embodiment. For example, the apparatus 600 may be a mobile phone, 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: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and 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 620 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 operation at the device 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 supplies for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and the 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 an open/closed state of the device 600, the relative positioning of the components, such as a display and keypad of the apparatus 600, the sensor component 614 may also detect a change in position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in temperature of the apparatus 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 WiFi, 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. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
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 620 of the apparatus 600 to perform the above-described 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 non-transitory computer readable storage medium having instructions therein that, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a false touch prevention method.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention 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 invention is limited only by the appended claims.

Claims (18)

1. A method of preventing false touches, the method comprising:
when a designated application on a terminal is in a running process, responding to application operation of a user on the designated application;
when a sliding gesture for drawing out the notification bar is received, shielding the drawing out of the notification bar;
upon receipt of a notification message, the notification message is displayed in a floating window.
2. The false touch prevention method of claim 1, further comprising:
and presetting the floating window in a notification bar display area of the terminal.
3. The method according to claim 2, wherein the step of presetting the floating window in a display area of a notification bar of the terminal comprises:
when the specified application is in a running process, adding the floating window to the notification bar display area, and floating the floating window in the notification bar display area;
based on the floating window floating in the notification bar display area, masking the sliding gesture triggering the notification bar to be drawn.
4. The method according to claim 2, wherein the floating window is a transparent floating window and has a shape similar to the notification bar display area, and the size of the floating window is smaller than or equal to the size of the notification bar display area, and the size of the floating window covers the display area of the trigger marking-out notification bar.
5. The false touch prevention method of claim 2, further comprising:
and removing the preset floating window when the specified application exits the running process.
6. The method of claim 1, wherein prior to the masking notification bar being marked out, the method further comprises:
and confirming that the function of marking out the shielding notification bar is opened.
7. The false touch protection method of claim 1, wherein the designated application comprises one or more of a game, video, and audio.
8. The false touch prevention method according to claim 1, wherein the swipe gesture comprises a downslide gesture or a upslide gesture.
9. An anti-false touch device, the device comprising:
the execution unit is configured to respond to application operation of a user on a specified application when the specified application on the terminal is in a running process;
a shielding unit configured to shield the notification bar from being drawn out when a slide gesture for drawing out the notification bar is received;
a display unit configured to display the notification message in a floating window form when the notification message is received.
10. The false touch prevention device of claim 9, further comprising:
a setting unit configured to preset the floating window in a notification bar display area of the terminal.
11. The false touch prevention device according to claim 10, wherein the setting unit presets the floating window in a notification bar display area of the terminal in the following manner:
when the specified application is in a running process, adding the floating window to the notification bar display area, and floating the floating window in the notification bar display area;
the shielding unit is configured to:
based on the floating window floating in the notification bar display area, masking the sliding gesture triggering the notification bar to be drawn.
12. The device of claim 10, wherein the floating window is a transparent floating window and is similar in shape to the notification bar display area, and wherein the size of the floating window is smaller than or equal to the size of the notification bar display area, and wherein the size of the floating window covers the display area where the trigger bar is drawn.
13. The false touch prevention device according to claim 10, wherein the setting unit is further configured to:
and removing the preset floating window when the specified application exits the running process.
14. The false touch prevention device of claim 9, wherein the shielding unit is further configured to:
before the shielding notification bar is marked out, the opening of the marking-out function of the shielding notification bar is confirmed.
15. The anti-false touch device of claim 9, wherein the designated application comprises one or more of games, video, and audio.
16. The false touch protection device of claim 9, wherein the swipe gesture comprises a downslide gesture or a upslide gesture.
17. A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the method of any of claims 1-8.
18. An electronic device, characterized in that the electronic device comprises:
a memory configured to store instructions; and
a processor configured to invoke the instructions to perform the method of any one of claims 1-8.
CN201910894355.2A 2019-09-20 2019-09-20 False touch prevention method and device and storage medium Active CN110647281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910894355.2A CN110647281B (en) 2019-09-20 2019-09-20 False touch prevention method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910894355.2A CN110647281B (en) 2019-09-20 2019-09-20 False touch prevention method and device and storage medium

Publications (2)

Publication Number Publication Date
CN110647281A true CN110647281A (en) 2020-01-03
CN110647281B CN110647281B (en) 2021-11-16

Family

ID=69010914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910894355.2A Active CN110647281B (en) 2019-09-20 2019-09-20 False touch prevention method and device and storage medium

Country Status (1)

Country Link
CN (1) CN110647281B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160317915A1 (en) * 2015-04-28 2016-11-03 Bandai Namco Entertainment Inc. Terminal device
CN106095401A (en) * 2016-05-26 2016-11-09 深圳天珑无线科技有限公司 Informing message treatment method and device
CN107831966A (en) * 2017-10-27 2018-03-23 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the storage medium of false-touch prevention
CN108111675A (en) * 2017-12-13 2018-06-01 维沃移动通信有限公司 Processing method, device and the mobile terminal of notification message
CN108509278A (en) * 2018-03-30 2018-09-07 努比亚技术有限公司 Message screening method, message screening device and computer readable storage medium
CN108762554A (en) * 2018-05-18 2018-11-06 北京硬壳科技有限公司 touch event response method and device
CN108833677A (en) * 2018-05-18 2018-11-16 珠海格力电器股份有限公司 Shield method, apparatus, storage medium and the mobile phone of message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160317915A1 (en) * 2015-04-28 2016-11-03 Bandai Namco Entertainment Inc. Terminal device
CN106095401A (en) * 2016-05-26 2016-11-09 深圳天珑无线科技有限公司 Informing message treatment method and device
CN107831966A (en) * 2017-10-27 2018-03-23 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the storage medium of false-touch prevention
CN108111675A (en) * 2017-12-13 2018-06-01 维沃移动通信有限公司 Processing method, device and the mobile terminal of notification message
CN108509278A (en) * 2018-03-30 2018-09-07 努比亚技术有限公司 Message screening method, message screening device and computer readable storage medium
CN108762554A (en) * 2018-05-18 2018-11-06 北京硬壳科技有限公司 touch event response method and device
CN108833677A (en) * 2018-05-18 2018-11-16 珠海格力电器股份有限公司 Shield method, apparatus, storage medium and the mobile phone of message

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ALLYFIRESHEN: ""【Android】:关于App开机自启动和禁止状态栏下拉的愚解"", 《HTTPS://BLOG.CSDN.NET/U010839420/ARTICLE/DETAILS/89086882》 *
AMOOUR: ""安卓开发之禁止下拉通知栏(悬浮窗口解决方案4.2系统 6.0以上)"", 《HTTPS://BLOG.CSDN.NET/QQ_35867494/ARTICLE/DETAILS/99289024》 *
花好爱科技: ""魅族手机设置下拉菜单栏的开启和关闭, 喜欢游戏的设置一下吧!"", 《HTTPS://V.YOUKU.COM/V_SHOW/ID_XMZG3NJA3MJU0OA==.HTML?SPM=A2HBT.13141534.APP.5~5!2~5!2~5~5~5!2~5~5!2~5!2~5!2~5~5!6~A》 *

Also Published As

Publication number Publication date
CN110647281B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN107908351B (en) Application interface display method and device and storage medium
EP3136216A1 (en) Method for controlling mobile terminal and mobile terminal
EP3309672A1 (en) Method and device for restraining edge touches
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
EP3232301B1 (en) Mobile terminal and virtual key processing method
CN111610912B (en) Application display method, application display device and storage medium
CN111611034A (en) Screen display adjusting method and device and storage medium
CN106547462B (en) Photographing control method and device and mobile terminal
CN107132983B (en) Split-screen window operation method and device
CN107656616B (en) Input interface display method and device and electronic equipment
CN108874450B (en) Method and device for waking up voice assistant
CN112423092A (en) Video recording method and video recording device
CN111225111A (en) Function control method, function control device, and storage medium
CN112650437B (en) Cursor control method and device, electronic equipment and storage medium
CN115914721A (en) Live broadcast picture processing method and device, electronic equipment and storage medium
CN110647281B (en) False touch prevention method and device and storage medium
CN112363647A (en) Touch operation method and device and storage medium
US20160195992A1 (en) Mobile terminal and method for processing signals generated from touching virtual keys
CN108804009B (en) Gesture recognition method and device
CN115543064A (en) Interface display control method, interface display control device and storage medium
CN114185444A (en) Method and device for preventing mistaken touch of touch screen and storage medium
CN107515694B (en) Terminal control method and device and terminal
CN112083841A (en) Information input method, device and storage medium
CN112445363A (en) Electronic device, control method and device for electronic device, and storage medium
CN112462963A (en) Non-contact gesture control method and device and storage medium

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