CN114185444A - Method and device for preventing mistaken touch of touch screen and storage medium - Google Patents

Method and device for preventing mistaken touch of touch screen and storage medium Download PDF

Info

Publication number
CN114185444A
CN114185444A CN202010858637.XA CN202010858637A CN114185444A CN 114185444 A CN114185444 A CN 114185444A CN 202010858637 A CN202010858637 A CN 202010858637A CN 114185444 A CN114185444 A CN 114185444A
Authority
CN
China
Prior art keywords
touch
area
target
control
suppression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010858637.XA
Other languages
Chinese (zh)
Inventor
郑金增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010858637.XA priority Critical patent/CN114185444A/en
Publication of CN114185444A publication Critical patent/CN114185444A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • 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
    • G06F3/0488Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction 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 using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Abstract

The disclosure relates to a method and a device for preventing false touch of a touch screen and a storage medium, which solve the problem of low flexibility of touch operation in the edge region of the touch screen. The method comprises the following steps: determining a page to be displayed in a currently running application program on a touch screen of the terminal equipment; determining a target control in the page to be displayed, wherein the target control refers to a control of which the touch position is located in a touch suppression area of the touch screen; predicting to obtain a target area according to the position information of the target control in the touch control inhibition area and the operation information of the user, wherein the target area comprises a predicted area of the user operation and/or a predicted mistaken touch area of the user; and adjusting the suppression range of the touch suppression area according to the target area.

Description

Method and device for preventing mistaken touch of touch screen and storage medium
Technical Field
The present disclosure relates to the field of touch screen technologies, and in particular, to a method and an apparatus for preventing a touch screen from being touched by mistake, and a storage medium.
Background
With the development of touch screens, full-screen screens, curved-surface screens and folding screens become mainstream screens, and meanwhile, false touch events are easy to happen at the edges of the touch screens, so that a lot of misoperation is caused.
In the related art, a method for defining a fixed suppression area is adopted, that is, an edge area of a touch screen is used as the suppression area, and a touch event occurring in the suppression area is filtered.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method, an apparatus, and a storage medium for preventing a touch screen from being touched by mistake.
According to a first aspect of the embodiments of the present disclosure, a method for preventing a touch screen from being touched by mistake is provided, which includes:
determining a page to be displayed in a currently running application program on a touch screen of the terminal equipment;
determining a target control in the page to be displayed, wherein the target control refers to a control of which the touch position is located in a touch suppression area of the touch screen;
predicting to obtain a target area according to the position information of the target control in the touch control inhibition area and the operation information of the user, wherein the target area comprises a predicted area of the user operation and/or a predicted mistaken touch area of the user;
and adjusting the suppression range of the touch suppression area according to the target area.
Optionally, the determining a page to be displayed in an application currently running on a touch screen of the terminal device includes:
determining whether the type of the application program is a target type, wherein the target type is a social type or a game type;
and determining a page to be displayed in the currently running application program on a touch screen of the terminal equipment under the condition that the type of the application program is the target type.
Optionally, the determining whether the type of the application is a target type includes:
acquiring a current display image of the touch screen;
inputting the display image into a classification model to obtain result information which is output by the classification model and represents the category of the application program;
and determining whether the type of the application program is the target type or not according to the result information.
Optionally, the acquiring the current display image of the touch screen includes:
acquiring N continuous frames of display images of the touch screen, wherein N is an integer greater than 1, and the Nth frame of image of the N continuous frames of display images is the current display image of the touch screen;
inputting the display image into a classification model to obtain result information which is output by the classification model and represents the category of the application program, wherein the result information comprises:
and under the condition that every two adjacent frames of images in the N frames of images have the same image content, inputting the display image of the Nth frame into the classification model to obtain result information which is output by the classification model and represents the category of the application program.
Optionally, the operation information includes historical touch operation position information, and accordingly, predicting a target area according to the position information of the target control in the touch suppression area and the operation information of the user includes:
counting historical touch operation position information of the user aiming at the touch screen;
inputting the historical touch operation position information and the position information of the target control in the touch inhibition area to a first prediction model to obtain a target area output by the first prediction model;
the adjusting the suppression range of the touch suppression area according to the target area includes:
releasing the touch suppression of the area in the same position as the target area in the touch suppression area, and maintaining the touch suppression of the other areas except the area in the same position as the target area in the touch suppression area.
Optionally, the operation information includes terminal holding information of the user, and accordingly, predicting a target area according to the position information of the target control in the touch-control suppression area and the operation information of the user includes:
acquiring terminal holding information of the user;
judging the terminal holding posture of the user according to the terminal holding information;
under the condition that the terminal holding posture is held by one hand, inputting the position information of the target control in the touch control inhibition area and the terminal holding information into a second prediction model to obtain a target area output by the second prediction model;
the adjusting the suppression range of the touch suppression area according to the target area includes:
and performing touch suppression on an area in the touch suppression area, which is at the same position as the target area, and releasing the touch suppression on other areas except the area at the same position as the target area.
Optionally, the method further includes:
for the touch control inhibition area after the inhibition range is adjusted, when the touch control position of the control is located on the boundary of the touch control inhibition area after the inhibition range is adjusted, which is close to one side of the center of the terminal equipment, judging whether the current touch control position of the control can cover the center of the touch control position corresponding to the control;
and when the current touch position cannot cover the center of the touch position of the control, inhibiting the touch operation corresponding to the current touch position.
Optionally, before determining a page to be displayed in an application currently running on a touch screen of the terminal device, the method further includes:
acquiring a user portrait using the terminal equipment;
determining that the type of the user is a target type by judging the user portrait;
enabling a touch control inhibition area dynamic adjustment function of the terminal equipment under the condition that the type of the user is the target type;
the method further comprises the following steps:
and closing the touch control suppression area dynamic adjustment function of the terminal equipment under the condition that the type of the user is not the target type.
According to a second aspect of the embodiments of the present disclosure, there is provided a touch screen false touch prevention device, including:
the terminal equipment comprises a first determining module, a second determining module and a display module, wherein the first determining module is configured to determine a page to be displayed in an application program currently running on a touch screen of the terminal equipment;
the second determining module is configured to determine a target control in the page to be displayed, wherein the target control is a control of which the touch position is located in a touch suppression area of the touch screen;
the prediction module is configured to predict a target area according to position information of the target control in the touch control inhibition area and operation information of a user, wherein the target area comprises a predicted area of the user operation and/or a predicted mistaken touch area of the user;
an adjusting module configured to adjust a suppression range of the touch suppression area according to the target area.
According to a third aspect of the embodiments of the present disclosure, there is provided a touch screen false touch prevention device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps of the method for preventing the touch screen from being touched mistakenly provided by the first aspect of the disclosure.
According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, and the program instructions, when executed by a processor, implement the steps of the method for preventing a touch screen from being touched by mistake provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: determining a page to be displayed in a currently running application program on a touch screen of the terminal equipment; determining a target control in the page to be displayed, wherein the target control refers to a control of which the touch position is located in a touch suppression area of the touch screen; predicting to obtain a target area according to the position information of the target control in the touch control inhibition area and the operation information of the user, wherein the target area comprises a predicted area of the user operation and/or a predicted mistaken touch area of the user; and adjusting the suppression range of the touch suppression area according to the target area. In the process of using the application program, the range of the touch control inhibition area is dynamically adjusted, so that the purpose of flexibly inhibiting touch control operation occurring in the touch control inhibition area of the touch control screen is achieved, and the user experience is further 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 present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method for preventing a touch screen from being touched by mistake according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating step S11 according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating step S111 according to an exemplary embodiment.
Fig. 4 is another flowchart illustrating a method for preventing a touch screen from being touched by mistake according to an exemplary embodiment.
Fig. 5 is a schematic diagram illustrating a structure of a touch screen according to an exemplary embodiment.
Fig. 6 is another flowchart illustrating a method for preventing a touch screen from being touched by mistake according to an exemplary embodiment.
Fig. 7 is another flowchart illustrating a method for preventing a touch screen from being touched by mistake according to an exemplary embodiment.
Fig. 8 is another flowchart illustrating a method for preventing a touch screen from being touched by mistake according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating an apparatus for preventing a touch screen from being touched by mistake according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a touch screen anti-false touch apparatus according to an exemplary 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 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 present disclosure, as detailed in the appended claims.
Before introducing the method, the device and the storage medium for preventing the touch screen from being touched mistakenly provided by the disclosure, an application scenario of the disclosure is introduced first. The method for preventing the touch screen from being touched mistakenly can be applied to terminal equipment, wherein the terminal equipment comprises the touch screen, and can be a smart phone, a tablet personal computer, a smart watch and the like.
In the related art, an edge area of a terminal device is usually set as a touch suppression area, applications that need to suppress the edge are added to a white list, and in the process of using the applications, all touch operations occurring in the touch suppression area are suppressed, that is, the touch operations are not responded. The method needs to maintain the white lists, the number of the white lists is limited, and only part of application programs can be prevented from being touched by mistake under the condition that more application programs exist. The flexibility of the fixed inhibition area is low, the use scene of the terminal device is complex, and if the method is adopted all the time to realize false touch prevention, the phenomenon of excessive inhibition occurs, and the use experience of a user is influenced.
In order to solve the above technical problem, the present disclosure provides a touch screen false touch prevention method, and fig. 1 is a flowchart of a touch screen false touch prevention method according to an exemplary embodiment, and as shown in fig. 1, the touch screen false touch prevention method is used in a terminal device, and includes the following steps:
in step S11, determining a page to be displayed in an application currently running on a touch screen of the terminal device;
in step S12, determining a target control in the page to be displayed, where the target control is a control whose touch position is located in a touch suppression area of the touch screen;
in step S13, a target area is predicted according to the position information of the target control in the touch-control suppression area and the operation information of the user;
in step S14, the suppression range of the touch suppression area is adjusted according to the target area.
It should be noted that the touch suppression area is an area located at an edge of the touch screen of the terminal device. The touch operation of the touch position in the area is inhibited. The target area includes a predicted area of the user's operation and/or a predicted area of the user's mis-touch. It is understood that the predicted region of the user's operation is opposite to the predicted region of the user's mis-touch.
The method comprises the steps of determining a to-be-displayed page of a currently running application program on a touch screen, obtaining a predicted operation area of the user in a touch inhibition area and/or a predicted mistaken touch area of the user in the touch inhibition area according to a target control and operation information of the user in the to-be-displayed page, and dynamically adjusting the inhibition range of the touch inhibition area according to the obtained predicted area (namely the target area) so as to dynamically re-determine an area needing to be subjected to inhibition release and/or an area needing to be subjected to inhibition maintenance in an area at the edge of the touch screen of the application program in the using process, so that the condition of excessive inhibition is avoided, and the flexibility of mistaken touch prevention of the touch screen is improved.
In one possible implementation manner, referring to fig. 2, in step S11, determining a page to be displayed in an application currently running on a touch screen of a terminal device may be implemented by:
in step S111, it is determined whether the type of the application is a target type;
in step S112, when the type of the application is the target type, a page to be displayed in the currently running application on the touch screen of the terminal device is determined.
The target type is a social type or a game type, and the application programs have the characteristic of complex use scenes.
Specifically, in order to take power consumption and benefit of the terminal device into account, the suppression range of the touch suppression area is dynamically adjusted in the use process of the application program with a complex use scene; and directly suppressing or not suppressing the application programs of the non-target type according to the suppression range of the original touch suppression area.
In one possible implementation manner, referring to fig. 3, determining whether the type of the application is the target type in step S111 may be implemented by:
in step S1111, acquiring a current display image of the touch screen;
in step S1112, inputting the display image into a classification model, and obtaining result information, which is output by the classification model and represents a category of the application program;
in step S1113, it is determined whether the type of the application is the target type according to the result information.
And the result information corresponds to the target type one by one. Further, the classification model is pre-trained. Specifically, the method comprises the following steps:
firstly, obtaining a plurality of image samples, wherein each image sample carries category information; secondly, inputting each image sample into a first initial convolutional neural network model to obtain an analog result output by the first initial convolutional neural network model, and adjusting model parameters of the initial convolutional neural network model according to the analog result and class information until a preset condition is met; and thirdly, outputting the classification model.
In a possible implementation manner, acquiring a current display image of the touch screen in step S1111 includes the following steps:
and acquiring continuous N frames of display images of the touch screen.
Further, in step S1112, inputting the display image into a classification model to obtain result information, which is output by the classification model and characterizes the category of the application program, including the following steps:
and under the condition that every two adjacent frames of images in the N frames of images have the same image content, inputting the display image of the Nth frame into the classification model to obtain result information which is output by the classification model and represents the category of the application program.
Optionally, N is an integer greater than 1, and an nth frame image of the consecutive N frame display images is a current display image of the touch screen.
According to the method and the device, the operation area of the application program and/or the mistaken touch area of the user are predicted by the user within a future preset time period after the current time according to the operation information of the user in the currently running application program, and if the currently running application program of the touch screen of the terminal device changes, the follow-up prediction has no specific significance. For example, 100 frames of display images are acquired, the application scene corresponding to the first 50 frames is a game type, the application scene of the last 50 frames is a non-target type application program with a simple scene, the application program with a simple scene does not need to adjust the suppression range of the touch suppression area, and further, the prediction of the target area at this time is meaningless.
Therefore, the content of each two adjacent frames in the acquired N-frame image is determined, and step S1113 is executed again when the same image content exists in each two adjacent frames in the N-frame image. Therefore, the situation that the target area predicted subsequently has no application significance to the switched application program is avoided, and the purpose of reducing the power consumption of the terminal equipment is further achieved.
In a possible implementation manner, in a case that the operation information includes historical touch operation position information, fig. 4 is another flowchart of a method for preventing a touch screen from being touched by mistake according to an exemplary embodiment, as shown in fig. 4, the method includes the following steps:
in step S111, it is determined whether the type of the application is a target type;
in step S112, determining a page to be displayed in the currently running application on the touch screen of the terminal device when the type of the application is the target type;
in step S12, determining a target control in the page to be displayed, where the target control is a control whose touch position is located in a touch suppression area of the touch screen;
in step S41, counting historical touch operation position information of the user for the touch screen;
in step S42, inputting the historical touch operation position information and the position information of the target control in the touch suppression area to a first prediction model, so as to obtain a target area output by the first prediction model;
in step S43, the touch suppression of the area at the same position as the target area in the touch-suppressed area is released, and the touch suppression of the other areas except the area at the same position as the target area in the touch-suppressed area is maintained.
And the historical touch operation position information is the touch operation position information in the previous historical time period adjacent to the current moment. The previous historical period of time may be, for example, 2 seconds.
It is understood that, in the case where the target area includes an area of the predicted user operation and the area is a certain area of the touch-control suppressed area, accordingly, the area in the touch-control suppressed area where the area of the predicted user operation is located is released and the touch-control suppression of the other areas of the touch-control suppressed area than the area of the predicted user operation is maintained in the next preset time period adjacent to the current time. The next preset time period adjacent to the current time may be 2S, for example.
It is further understood that, when the target area includes the predicted operation area of the user and the predicted false touch area of the user, the step S43 may be: and releasing the touch inhibition of an area, which is in the same position as the predicted user operation area, in the touch inhibition area, and maintaining the touch inhibition of an area, which is in the same position as the predicted user mis-touch area, in the touch inhibition area.
The steps shown in fig. 4 will be further described by taking the target type as the game type as an example. Referring to fig. 5, fig. 5 is a schematic structural diagram of a touch screen of a terminal device. Specifically, the touch positions corresponding to the target control include a position 1, a position 2, a position 3, and a position 4, the counted historical touch operation position information of the user for the touch screen includes touch operations for a position 11, a position 22, and a position 55, and the predicted target area is an area including the operation for the position 2. Therefore, according to the area, the suppression of the touch operation occurring in the area where the position 2 is located in the touch operation area is released, and the suppression of the touch operation occurring in the area other than the area where the position 2 is located in the touch operation area is maintained.
Further, the first predictive model is pre-trained. Specifically, the method comprises the following steps: firstly, obtaining a plurality of touch data samples, wherein each touch data sample carries sample touch operation position information, sample position information of a control and a first sample area; secondly, inputting each touch data sample into a second initial convolutional neural network model to obtain a prediction region output by the second initial convolutional neural network model, and adjusting model parameters of the initial convolutional neural network model according to the prediction region and the first sample region until a preset condition is met; third, the first prediction model is output.
In a possible implementation manner, fig. 6 shows another flowchart of a touch screen false touch prevention method according to an exemplary embodiment, as shown in fig. 6, the method includes the following steps:
in step S11, determining a page to be displayed in an application currently running on a touch screen of the terminal device;
in step S12, determining a target control in the page to be displayed, where the target control is a control whose touch position is located in a touch suppression area of the touch screen;
in step S61, terminal holding information of the user is acquired;
in step S62, determining the terminal holding posture of the user according to the terminal holding information;
in step S63, when the terminal holding posture is held by one hand, inputting the position information of the target control in the touch suppression area and the terminal holding information to a second prediction model to obtain a target area output by the second prediction model;
in step S64, touch suppression is performed on an area of the touch suppression area that is at the same position as the target area, and touch suppression is released for areas other than the area at the same position as the target area.
The terminal holding information may be acquired by a motion sensor provided at an edge of the terminal device, for example. The motion sensor may be a gyroscope, for example. The gyroscope can detect the inclination angle information (including the inclination direction and the inclination angle) of the terminal equipment, and judge the terminal holding posture of the user according to the inclination angle information. Generally, the inclination angle of a single-hand operated mobile phone is larger. In addition, the tilt orientation differs between the right-hand and left-hand single-handed operation. Therefore, according to the inclination direction and the inclination angle of the terminal holding information, the user can judge which hand is currently used for operating the terminal equipment.
It is understood that, in the case where the target area includes the predicted user mis-touch area, and the area is a certain area in the touch suppression area, accordingly, the area in the touch suppression area where the predicted user mis-touch area is located is maintained and the touch suppression of the other areas except the area of the predicted user operation in the touch suppression area is released in the next preset time period adjacent to the current time.
It is further understood that, the target area includes the predicted operation area of the user and the predicted touch error area of the user, and accordingly, the step S64 may be: and releasing the touch inhibition of the area, which is positioned at the same position as the predicted user operation area, in the touch inhibition area, and maintaining the touch inhibition of the area, which is positioned at the same position as the predicted user mistaken touch area, in the touch inhibition area.
The steps shown in fig. 6 will be further explained by taking the target type as the chat type. Specifically, the currently running application is WeChat, and the interface to be displayed is a chat interface, and because the chat frame exists, in the case that the terminal device is operated by one hand with the left hand, the lower left area is easily touched by mistake in the operation process of the user, and accordingly, the predicted target area may be the lower left area (the predicted user mistakenly-touched area). Further, the touch suppression of the other areas (for example, the right area of the touch suppression area, the upper side of the touch suppression area, and the like) except the area at the same position as the lower left area in the touch suppression area may be released, and the touch suppression of the area at the same position as the lower left area in the touch suppression area may be maintained, so that the suppression area may coincide with a portion where the user is likely to make a false touch when holding the terminal device.
Further, the second predictive model is pre-trained. Specifically, the method comprises the following steps: firstly, obtaining a plurality of holding posture data samples, wherein each holding posture data sample carries sample terminal holding information, sample position information of a control and a second sample region; secondly, inputting each touch data sample into a second initial convolutional neural network model to obtain a prediction region output by the second initial convolutional neural network model, and adjusting model parameters of the initial convolutional neural network model according to the prediction region and the second sample region until a preset condition is met; third, the first prediction model is output.
In the above embodiment, the preset condition of the classification model, the first prediction model, and the second prediction model may be, for example, the number of iterations of the model.
In a possible implementation manner, fig. 7 is another flowchart illustrating a method for preventing a touch screen from being touched by mistake according to an exemplary embodiment, and as shown in fig. 7, the method includes the following steps:
in step S71, for the touch-control suppression area after the suppression range is adjusted, when the touch-control position of the control is located on the boundary of the touch-control suppression area after the suppression range is adjusted, the center of the touch-control position corresponding to the control is determined to be covered by the current touch-control position of the control;
in step S72, when the current touch position cannot cover the center of the touch position of the control, the touch operation corresponding to the current touch position is suppressed.
When a control exists on the boundary of the touch suppression area (particularly, the boundary close to the center side of the terminal device and the area for releasing suppression in the touch suppression area) after the suppression range is adjusted, if the current touch position of the user cannot accurately cover the center of the control, it can be considered that the user is a false touch at this time, and the touch operation corresponding to the current touch position is suppressed.
In a possible implementation manner, fig. 8 is another flowchart illustrating a method for preventing a touch screen from being touched by mistake according to an exemplary embodiment, and as shown in fig. 8, the method includes the following steps:
in step S81, a user profile using the terminal device is acquired;
in step S82, determining the user representation determines that the user type is a target type;
in step S83, if the type of the user is the target type, enabling a touch-control suppression area dynamic adjustment function of the terminal device;
in step S11, determining a page to be displayed in an application currently running on a touch screen of the terminal device;
in step S12, determining a target control in the page to be displayed, where the target control is a control whose touch position is located in a touch suppression area of the touch screen;
in step S13, a target area is predicted according to the position information of the target control in the touch-control suppression area and the operation information of the user;
in step S14, the suppression range of the touch suppression area is adjusted according to the target area.
In step S84, in a case that the type of the user is not the target type, the touch-control suppression area dynamic adjustment function of the terminal device is turned off.
The user portrait is an effective tool for outlining target users and connecting user appeal and design direction, and is widely applied to various fields. It can be understood that the young users have greater requirements for the application programs, and the used application program scenes and functions are richer. In contrast, the elderly user has less demand for the application program, and the usage scenario of the application program is single, in which case, it is not practical to dynamically adjust the suppression range of the touch suppression area.
In combination with the above, in the above embodiment, the target user may be a young user. On the premise of considering the power consumption of the terminal equipment, when the user portrait determines that the type of the user is a young user, the dynamic adjustment function of the touch control inhibition area of the terminal equipment is enabled, and the inhibition range of the touch control inhibition area is further adjusted, so that the purpose of flexibly inhibiting touch control operation occurring in the touch control inhibition area of the touch control screen is achieved, and the user experience is further improved; and when the target type is not a young user, closing the touch control inhibition area dynamic adjustment function of the terminal equipment, and further reducing the use power consumption of the terminal equipment under the condition.
Referring to fig. 9, fig. 9 is a block diagram of a touch screen false touch prevention device according to an exemplary embodiment, where the touch screen false touch prevention device includes a detection module 901, a determination module 902, and a conversion module 903.
The first determining module 901 is configured to determine a page to be displayed in an application currently running on a touch screen of the terminal device.
The second determining module 902 is configured to determine a target control in the page to be displayed, where the target control is a control whose touch position is located in a touch suppression area of the touch screen.
The predicting module 903 is configured to predict a target area according to the position information of the target control in the touch control suppression area and the operation information of the user.
The adjusting module 904 is configured to predict a target area according to the position information of the target control in the touch-control suppression area and the operation information of the user.
Optionally, the first determining module includes:
a target type determination submodule configured to determine whether the type of the application program is a target type.
And the page determining submodule is configured to determine a page to be displayed in the currently running application program on the touch screen of the terminal equipment under the condition that the type of the application program is the target type.
Optionally, the target type determining sub-module includes:
the acquisition subunit is configured to acquire a current display image of the touch screen;
a category prediction subunit configured to input the display image to a classification model, and obtain result information output by the classification model and representing a category of the application program
A target type determining subunit configured to determine whether the type of the application is the target type according to the result information.
Optionally, the acquiring subunit is specifically configured to acquire N consecutive frames of display images of the touch screen.
Optionally, the category prediction subunit is specifically configured to, when two adjacent frames of images in the N frames of images have the same image content, input the nth frame of display image to the classification model, and obtain result information, output by the classification model, that represents a category of the application program.
Optionally, the prediction module includes:
the statistic submodule is configured to count historical touch operation position information of the user for the touch screen.
The first prediction sub-module is configured to input the historical touch operation position information and the position information of the target control in the touch suppression area into a first prediction model, and obtain a target area output by the first prediction model.
The adjustment module is specifically configured to release the touch suppression of an area in the touch suppression area, the area being at the same position as the target area, and maintain the touch suppression of other areas in the touch suppression area except for the area at the same position as the target area.
Optionally, the prediction module includes:
an obtaining sub-module configured to obtain terminal holding information of the user.
And the judging sub-module is configured to judge the terminal holding posture of the user according to the terminal holding information.
And the second prediction sub-module is configured to input the position information of the target control in the touch control inhibition area and the terminal holding information into a second prediction model under the condition that the terminal holding posture is held by one hand, so as to obtain a target area output by the second prediction model.
The adjusting module is specifically configured to perform touch suppression on an area in the touch suppression area, the area being at the same position as the target area, and release the touch suppression on areas other than the area at the same position as the target area.
Optionally, the touch screen false touch prevention device 700 further includes:
and the first judging module is configured to judge whether the current touch position of the control can cover the center of the touch position corresponding to the control when the touch position of the control is located on the boundary of one side, close to the center of the terminal equipment, of the touch inhibition area after the inhibition range is adjusted.
The suppression module is configured to suppress the touch operation corresponding to the current touch position when the current touch position cannot cover the center of the touch position of the control.
Optionally, the touch screen false touch prevention device 700 further includes:
a user representation acquisition module configured to acquire a user representation using the terminal device.
A second determination module configured to determine that the user representation determines that the type of the user is a target type.
An enabling module configured to enable a touch-control suppression area dynamic adjustment function of the terminal device if the type of the user is the target type.
A closing module configured to close a touch-control suppression area dynamic adjustment function of the terminal device when the type of the user is not the target type.
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.
The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the touch screen false touch prevention method provided by the present disclosure.
The present disclosure further provides a device for preventing a touch screen from being touched by mistake, including:
a processor;
a memory for storing processor executable instructions, wherein the processor is configured to implement the steps of the touch screen anti-false touch method provided by the present disclosure.
Referring to fig. 10, fig. 10 is a block diagram illustrating an apparatus 1000 for preventing a touch screen from being touched by mistake according to an exemplary embodiment. For example, the apparatus 1000 may be a smartphone, a gaming console, a tablet device, a medical device, and the like. Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1200 executing instructions to perform all or some of the steps of the above-described touchscreen false touch prevention method. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the apparatus 1000. Examples of such data include instructions for any application or method operating on device 1000. The memory 1004 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 components 1006 provide power to the various components of device 1000. Power components 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). 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 1008 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 1000 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 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 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 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
Input/output interface 1012 provides an interface between processing component 1002 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 assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of device 1000, the change in position of device 1000 or a component of device 1000, the presence or absence of user contact with device 1000, the orientation or acceleration/deceleration of device 1000, and the change in temperature of device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 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 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 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 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 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 1000 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 touch screen anti-false touch method.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1200 of the device 1000 to perform the above-described touchscreen 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.
In another exemplary embodiment, a computer program product is also provided, which contains a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned touchscreen false touch prevention method when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application 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 (11)

1. A method for preventing mistaken touch of a touch screen is characterized by comprising the following steps:
determining a page to be displayed in a currently running application program on a touch screen of the terminal equipment;
determining a target control in the page to be displayed, wherein the target control refers to a control of which the touch position is located in a touch suppression area of the touch screen;
predicting to obtain a target area according to the position information of the target control in the touch control inhibition area and the operation information of the user, wherein the target area comprises a predicted area of the user operation and/or a predicted mistaken touch area of the user;
and adjusting the suppression range of the touch suppression area according to the target area.
2. The method according to claim 1, wherein the determining a page to be displayed in an application currently running on a touch screen of the terminal device comprises:
determining whether the type of the application program is a target type, wherein the target type is a social type or a game type;
and determining a page to be displayed in the currently running application program on a touch screen of the terminal equipment under the condition that the type of the application program is the target type.
3. The method of claim 2, wherein determining whether the type of the application is a target type comprises:
acquiring a current display image of the touch screen;
inputting the display image into a classification model to obtain result information which is output by the classification model and represents the category of the application program;
and determining whether the type of the application program is the target type or not according to the result information.
4. The method of claim 3, wherein the obtaining of the current display image of the touch screen comprises:
acquiring N continuous frames of display images of the touch screen, wherein N is an integer greater than 1, and the Nth frame of image of the N continuous frames of display images is the current display image of the touch screen;
inputting the display image into a classification model to obtain result information which is output by the classification model and represents the category of the application program, wherein the result information comprises:
and under the condition that every two adjacent frames of images in the N frames of images have the same image content, inputting the display image of the Nth frame into the classification model to obtain result information which is output by the classification model and represents the category of the application program.
5. The method according to any one of claims 1 to 4, wherein the operation information includes historical touch operation position information, and accordingly, predicting a target area according to the position information of the target control in the touch suppression area and the operation information of the user comprises:
counting historical touch operation position information of the user aiming at the touch screen;
inputting the historical touch operation position information and the position information of the target control in the touch inhibition area to a first prediction model to obtain a target area output by the first prediction model;
the adjusting the suppression range of the touch suppression area according to the target area includes:
releasing the touch suppression of the area in the same position as the target area in the touch suppression area, and maintaining the touch suppression of the other areas except the area in the same position as the target area in the touch suppression area.
6. The method according to any one of claims 1 to 4, wherein the operation information includes terminal holding information of the user, and accordingly, predicting a target area according to the position information of the target control in the touch-control suppression area and the operation information of the user includes:
acquiring terminal holding information of the user;
judging the terminal holding posture of the user according to the terminal holding information;
under the condition that the terminal holding posture is held by one hand, inputting the position information of the target control in the touch control inhibition area and the terminal holding information into a second prediction model to obtain a target area output by the second prediction model;
the adjusting the suppression range of the touch suppression area according to the target area includes:
and performing touch suppression on an area in the touch suppression area, which is at the same position as the target area, and releasing the touch suppression on other areas except the area at the same position as the target area.
7. The method according to any one of claims 1 to 4, further comprising:
for the touch control inhibition area after the inhibition range is adjusted, when the touch control position of the control is located on the boundary of the touch control inhibition area after the inhibition range is adjusted, which is close to one side of the center of the terminal equipment, judging whether the current touch control position of the control can cover the center of the touch control position corresponding to the control;
and when the current touch position cannot cover the center of the touch position of the control, inhibiting the touch operation corresponding to the current touch position.
8. The method according to any one of claims 1 to 4, wherein before determining a page to be displayed in an application currently running on a touch screen of the terminal device, the method further comprises:
acquiring a user portrait using the terminal equipment;
determining that the type of the user is a target type by judging the user portrait;
enabling a touch control inhibition area dynamic adjustment function of the terminal equipment under the condition that the type of the user is the target type;
the method further comprises the following steps:
and closing the touch control suppression area dynamic adjustment function of the terminal equipment under the condition that the type of the user is not the target type.
9. The utility model provides a touch screen prevents mistake and touches device which characterized in that includes:
the terminal equipment comprises a first determining module, a second determining module and a display module, wherein the first determining module is configured to determine a page to be displayed in an application program currently running on a touch screen of the terminal equipment;
the second determining module is configured to determine a target control in the page to be displayed, wherein the target control is a control of which the touch position is located in a touch suppression area of the touch screen;
the prediction module is configured to predict a target area according to position information of the target control in the touch control inhibition area and operation information of a user, wherein the target area comprises a predicted area of the user operation and/or a predicted mistaken touch area of the user;
an adjusting module configured to adjust a suppression range of the touch suppression area according to the target area.
10. The utility model provides a touch screen prevents mistake and touches device which characterized in that includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1-8.
11. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 8.
CN202010858637.XA 2020-08-24 2020-08-24 Method and device for preventing mistaken touch of touch screen and storage medium Pending CN114185444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010858637.XA CN114185444A (en) 2020-08-24 2020-08-24 Method and device for preventing mistaken touch of touch screen and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010858637.XA CN114185444A (en) 2020-08-24 2020-08-24 Method and device for preventing mistaken touch of touch screen and storage medium

Publications (1)

Publication Number Publication Date
CN114185444A true CN114185444A (en) 2022-03-15

Family

ID=80600669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010858637.XA Pending CN114185444A (en) 2020-08-24 2020-08-24 Method and device for preventing mistaken touch of touch screen and storage medium

Country Status (1)

Country Link
CN (1) CN114185444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237327A (en) * 2022-07-25 2022-10-25 Oppo广东移动通信有限公司 False touch prevention method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445238A (en) * 2016-10-17 2017-02-22 北京小米移动软件有限公司 Edge touch inhibiting method and device
CN106855785A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 Method, device and the mobile terminal of screen false-touch prevention are realized during a kind of hands grasping
WO2018107849A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Method for controlling touch operation on mobile terminal, and related product
CN108667999A (en) * 2017-03-28 2018-10-16 上海传英信息技术有限公司 A kind of mobile terminal false-touch prevention method, apparatus, mobile terminal and touch screen
CN110471606A (en) * 2019-07-25 2019-11-19 华为技术有限公司 Input method and electronic equipment
CN111309179A (en) * 2020-02-10 2020-06-19 北京小米移动软件有限公司 Touch screen control method and device, terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445238A (en) * 2016-10-17 2017-02-22 北京小米移动软件有限公司 Edge touch inhibiting method and device
EP3309672A1 (en) * 2016-10-17 2018-04-18 Beijing Xiaomi Mobile Software Co., Ltd. Method and device for restraining edge touches
CN106855785A (en) * 2016-12-16 2017-06-16 广东欧珀移动通信有限公司 Method, device and the mobile terminal of screen false-touch prevention are realized during a kind of hands grasping
WO2018107849A1 (en) * 2016-12-16 2018-06-21 广东欧珀移动通信有限公司 Method for controlling touch operation on mobile terminal, and related product
CN108667999A (en) * 2017-03-28 2018-10-16 上海传英信息技术有限公司 A kind of mobile terminal false-touch prevention method, apparatus, mobile terminal and touch screen
CN110471606A (en) * 2019-07-25 2019-11-19 华为技术有限公司 Input method and electronic equipment
CN111309179A (en) * 2020-02-10 2020-06-19 北京小米移动软件有限公司 Touch screen control method and device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115237327A (en) * 2022-07-25 2022-10-25 Oppo广东移动通信有限公司 False touch prevention method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US10102361B2 (en) Method and apparatus for implementing touch key and fingerprint identification, and terminal device
US20170344192A1 (en) Method and device for playing live videos
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
EP3163411A1 (en) Method, device and apparatus for application switching
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
CN106357934B (en) Screen locking control method and device
CN107102772B (en) Touch control method and device
US10318069B2 (en) Method for controlling state of touch screen, and electronic device and medium for implementing the same
EP3232301A1 (en) Mobile terminal and virtual key processing method
CN107656694B (en) Display control method and device of user interface
CN107132983B (en) Split-screen window operation method and device
CN106980409B (en) Input control method and device
CN111880681A (en) Touch screen sampling rate adjusting method and device and computer storage medium
CN108874450B (en) Method and device for waking up voice assistant
CN114185444A (en) Method and device for preventing mistaken touch of touch screen and storage medium
CN107844257B (en) Information display method, device, terminal and storage medium
CN108877742A (en) Luminance regulating method and device
CN111104001A (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
CN112181265B (en) Touch signal processing method, device and medium
CN108804009B (en) Gesture recognition method and device
CN112363647A (en) Touch operation method and device and storage medium
CN107515694B (en) Terminal control method and device and terminal
CN108334762B (en) Terminal unlocking method and device
CN106843691B (en) Operation control method and device of mobile terminal
CN106325724B (en) Touch response method and device

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