CN113934313A - Touch screen control method and device, terminal and storage medium - Google Patents
Touch screen control method and device, terminal and storage medium Download PDFInfo
- Publication number
- CN113934313A CN113934313A CN202010611587.5A CN202010611587A CN113934313A CN 113934313 A CN113934313 A CN 113934313A CN 202010611587 A CN202010611587 A CN 202010611587A CN 113934313 A CN113934313 A CN 113934313A
- Authority
- CN
- China
- Prior art keywords
- area
- preset
- duration
- touch
- action
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000009471 action Effects 0.000 claims description 106
- 230000000873 masking effect Effects 0.000 claims description 4
- 230000002829 reductive effect Effects 0.000 abstract description 6
- 238000001514 detection method Methods 0.000 abstract description 5
- 238000012544 monitoring process Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 210000003811 finger Anatomy 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000002265 prevention Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 210000003813 thumb Anatomy 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000001629 suppression Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000452 restraining effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
- G06F3/04186—Touch location disambiguation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04886—Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure relates to a touch screen control method and device, a terminal and a storage medium. The method comprises the following steps: receiving a first operation acting in a first area of the touch screen; determining whether the first operation is a predetermined operation; if the first operation is the preset operation, shielding a second area of the touch screen; the first area and the second area are different areas on the touch screen. By the method, the false touch rate of the touch screen can be reduced, and the touch detection precision of the touch screen is improved.
Description
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a touch screen control method and apparatus, a terminal, and a storage medium.
Background
With the development of electronic technology, the functions of electronic devices such as terminals are gradually enhanced, and the functions have become one of the necessary products in daily life of people.
Generally, an electronic device (e.g., a mobile phone or a tablet computer) supports touch operation, so that a user can control the electronic device through the touch operation on a display screen. However, the edge area is easy to cause misoperation in the process of being held by a user, so that the misoperation rate is high.
Many current intelligent terminal all support touch operation, and the edge is prevented touching by mistake and is a necessary function of current cell-phone, can reduce user's maloperation, promotes user experience. However, the existing method for preventing the false touch has some defects, and the user misoperation or the real click operation cannot be completely distinguished, so that the false operation rate is high.
Disclosure of Invention
The disclosure provides a touch screen control method and device, a terminal and a storage medium.
According to a first aspect of the embodiments of the present disclosure, a touch screen control method is provided, including:
receiving a first operation acting in a first area of the touch screen;
determining whether the first operation is a predetermined operation;
if the first operation is the preset operation, shielding a second area of the touch screen; the first area and the second area are different areas on the touch screen.
Optionally, the determining whether the first operation is a predetermined operation includes:
determining whether a distance between two touch coordinates is larger than a preset threshold value according to the touch coordinates of a first operation acting in the first area of the touch screen;
and when the distance between at least two touch coordinates is larger than the preset threshold, determining that the first operation is a preset operation acting on the first area.
Optionally, the determining whether a distance between the two touch coordinates is greater than a preset threshold includes:
recording a first touch coordinate to a last touch coordinate acting on the first area within the continuous action time of the first operation, and determining whether a distance between the two touch coordinates is larger than the preset threshold value or not based on the first touch coordinate to the last touch coordinate.
Optionally, the method further includes:
and if the first operation is not the preset operation, determining whether to shield the second area according to the acting time of the second operation acting on the second area.
Optionally, if the first operation is the predetermined operation, shielding the second area of the touch screen, including:
determining whether the action time length of the preset operation reaches a first preset time length;
if the action duration of the preset operation does not reach the first preset duration, shielding the second area within the action duration of the preset operation;
and shielding the second area within the first preset duration of the preset operation action if the action duration of the preset operation reaches the first preset duration.
Optionally, if the action duration of the predetermined operation reaches the first preset duration, shielding the predetermined operation in the second area within the first preset duration of the action of the predetermined operation, including:
and if the action duration of the preset operation reaches the first preset duration and a second operation acting on the second area is available after the first preset duration of the preset operation action, determining to shield the second area according to the action duration of the second operation acting on the second area.
Optionally, the determining to shield the second region according to an action duration of a second operation acting on the second region includes:
and shielding the second area if the action duration of the second operation acting on the second area reaches a second preset duration.
According to a second aspect of the embodiments of the present disclosure, there is provided an information control apparatus including:
the receiving module is configured to receive a first operation acting in a first area of the touch screen;
a first determination module configured to determine whether the first operation is a predetermined operation;
the shielding module is configured to shield a second area of the touch screen if the first operation is the predetermined operation; the first area and the second area are different areas on the touch screen.
Optionally, the first determining module is configured to determine whether a distance between two touch coordinates is greater than a preset threshold according to the touch coordinates of a first operation applied to the first area of the touch screen; and when the distance between at least two touch coordinates is larger than the preset threshold, determining that the first operation is a preset operation acting on the first area.
Optionally, the first determining module is configured to record a first touch coordinate to a last touch coordinate acting on the first area within the duration of the first operation, and determine whether a distance between two touch coordinates is greater than the preset threshold based on the first touch coordinate to the last touch coordinate.
Optionally, the apparatus further comprises:
and the second determining module is configured to determine whether to shield the second area according to the acting time of the second operation acting on the second area if the first operation is not the predetermined operation.
Optionally, the first determining module is configured to determine whether the action duration of the predetermined operation reaches a first preset duration; if the action duration of the preset operation does not reach the first preset duration, shielding the second area within the action duration of the preset operation; and shielding the second area within the first preset duration of the preset operation action if the action duration of the preset operation reaches the first preset duration.
Optionally, the first determining module is configured to determine to shield the second area according to an action duration of the second operation acting on the second area if the action duration of the predetermined operation reaches the first preset duration and there is a second operation acting on the second area after the first preset duration of the predetermined operation action.
Optionally, the first determining module is configured to shield the second area if an action duration of a second operation acting on the second area reaches a second preset duration.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the touch screen control method as described in the first aspect above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium including:
the instructions in said storage medium, when executed by a processor of a terminal, enable the terminal to perform the touchscreen control method as described in the first aspect above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, it is determined whether a first operation applied to a first area of a touch screen is a predetermined operation, and if the first operation is the predetermined operation, a second area of the touch screen is masked. It can be understood that whether the mistaken touch prevention area is shielded or not is determined in a mode of combining the position (the first area) and the touch gesture (the preset operation), so that the mistaken touch caused by the fact that the root position of the palm contacts the second area when a user holds the terminal with one hand and operates the terminal in the preset mode in the middle of the touch screen by using the thumb can be reduced, the scene of the mistaken touch prevention is perfected, the mistaken touch rate of the touch screen is reduced, and the touch detection precision of the touch screen 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 present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a touch screen control method according to an embodiment of the disclosure.
Fig. 2 is an exemplary diagram illustrating region division in a touch screen according to an embodiment of the disclosure.
Fig. 3 is an exemplary diagram of a false touch action according to an embodiment of the disclosure.
Fig. 4 is a diagram illustrating a structure of dividing a first area and a second area in a mobile phone.
Fig. 5 is a flowchart illustrating a flow of a touch screen control method applied to a mobile phone according to an embodiment of the disclosure.
Fig. 6 is a timing control diagram of a false touch prevention operation according to an embodiment of the disclosure.
FIG. 7 is a diagram illustrating a touch screen control device, according to an exemplary embodiment.
Fig. 8 is a block diagram of a terminal shown in an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart of a touch screen control method shown in an embodiment of the present disclosure, and as shown in fig. 1, the touch screen control method applied in a terminal includes the following steps:
s11, receiving a first operation acting in a first area of the touch screen;
s12, determining whether the first operation is a preset operation;
s13, if the first operation is the preset operation, shielding a second area of the touch screen; the first area and the second area are different areas on the touch screen.
In an embodiment of the present disclosure, a terminal includes: a mobile phone or a tablet computer, etc. The touch screen included in the terminal can be various types of narrow-frame screens or frameless screens, such as full-screen screens or curved screens.
The terminal can detect touch operation of the edge area of the narrow-frame screen or the frameless screen and give a response. For example, when the edge area detects a click operation, the terminal may display a notepad application on the touch screen to facilitate recording by the user.
In the implementation of the present disclosure, the terminal may receive a first operation applied to a first area of the touch screen, determine whether the first operation is a predetermined operation, and shield a second area of the touch screen if the first operation is the predetermined operation.
The predetermined operation may be a sliding operation, a continuous clicking operation with a predetermined interval duration, or the like, and the predetermined operation is a normal operation (non-false touch operation) performed by the user with respect to the first area. In addition, the second area and the first area of the present disclosure are different areas on the touch screen, and in an embodiment, the second area is located at an edge of the first area, and the second area is an anti-false touch area.
It should be noted that, in an embodiment of the present disclosure, the shielding the second area of the touch screen includes:
stopping touch detection of the second area;
and/or the presence of a gas in the gas,
and stopping reporting the touch operation detected in the second area to a system side responding to the preset operation. The system side includes: a Central Processing Unit (CPU), an Application Processor (AP), or a Micro Control Unit (MCU).
Fig. 2 is an exemplary diagram illustrating region division in a touch screen according to an embodiment of the disclosure. As shown in fig. 2, the gray scale region identified by L is the second region (anti-false touch region), and the region outside L is the first region. As can be seen from fig. 2, the second area is located at the edge of the first area.
Generally, when the finger of the user falls in the second area, the terminal determines whether the second operation is the clicking action or the mistaken touch action of the user according to the action duration of the detected second operation. For example, when the action duration of the second operation is less than the duration threshold, it is considered as a normal quick click action, and the second area needs to normally detect and report the coordinates of the touch point. And when the action duration of the second operation reaches the duration threshold, the second operation is considered as a false touch action, and the coordinates of the touch point are not reported.
However, when the user holds the terminal with one hand and operates the thumb in the middle of the touch screen, the root of the palm of the user often touches the second area, and the second area is a short contact action, which is a false touch. Fig. 3 is an exemplary diagram of a false touch action according to an embodiment of the disclosure, in such a scenario, if the scheme of comparing the acting time length based on the second operation with the time length threshold is still adopted, a large number of false touches may be caused.
In this regard, the present disclosure first determines whether a first operation applied to a first area of the touch screen is a predetermined operation, and if the first operation is the predetermined operation, shields a second area of the touch screen. It can be understood that whether the mistaken touch prevention area is shielded or not is determined in a mode of combining the position (the first area) and the touch gesture (the predetermined operation), and a mistaken touch prevention scene is further improved, so that the mistaken touch rate of the touch screen is reduced, and the touch detection precision of the touch screen is improved.
In one embodiment, the determining whether the first operation is a predetermined operation comprises:
determining whether a distance between two touch coordinates is larger than a preset threshold value according to the touch coordinates of a first operation acting in the first area of the touch screen;
and when the distance between at least two touch coordinates is larger than the preset threshold, determining that the first operation is a preset operation acting on the first area.
In this embodiment, the predetermined operation includes a sliding operation, and the terminal determines whether the operation is a sliding operation according to the touch coordinates of the first operation. And when the distance between two coordinates in the track coordinates of the first operation is larger than a preset threshold value, determining that the first operation is a sliding operation.
In one case, when a sliding track of a sliding operation of a user on the touch screen is a non-circular-arc track (e.g., a straight-line track), the terminal forms the non-circular-arc track based on touch coordinates detected by a first operation of the user, and a distance between a first touch coordinate and a last touch coordinate of the first operation may be greater than a preset threshold, so as to determine that the first operation is the sliding operation.
In another case, when the sliding track of the sliding operation of the user on the touch screen is an arc track, the terminal forms the arc track based on the touch coordinates detected by the first operation of the user, and although the distance between the first touch coordinate and the last touch coordinate on the arc track may be smaller than the preset threshold, the distance between the two touch coordinates on the arc track is still larger than the preset threshold. Therefore, in this case, the first operation still belongs to the sliding operation.
When the sliding trajectory is a circular arc trajectory, the terminal determines in advance whether the trajectory is formed by a continuous sliding operation. If the formed arc track is a continuous track, the terminal detects whether the distance between any two touch coordinates in the arc track is larger than a preset threshold value.
In addition, it should be noted that, in the embodiment of the present disclosure, the touch coordinate of the first operation may be used to determine whether the first operation is a predetermined operation, and may also be used to determine whether the first operation is an operation acting in the first area. It can be understood that, in the embodiment of the present disclosure, the determination of the touch gesture according to the touch coordinate, that is, the determination of whether the first operation is a sliding operation, is simple and effective.
It should be noted that, in the embodiment of the present disclosure, when the predetermined operation is a continuous click operation of a predetermined interval duration, whether the first operation is the predetermined operation may be determined according to a time corresponding to each detected touch.
In one embodiment, the determining whether a distance between two touch coordinates is greater than a preset threshold includes:
recording a first touch coordinate to a last touch coordinate acting on the first area within the continuous action time of the first operation; and determining whether the distance between the two touch coordinates is larger than the preset threshold value or not based on the first touch coordinate to the last touch coordinate.
In this embodiment, the terminal needs to record the first (first) touch coordinate to the last (last) touch coordinate within the duration of the first operation in advance, so as to determine whether the first operation is a sliding operation.
As described above, when the track of the user sliding on the touch screen forms a circle, the distance between the first touch coordinate and the last touch coordinate may be smaller than the preset threshold, and therefore in the embodiment of the present disclosure, by recording all touch coordinates within the first operation action duration, the comprehensiveness of the detection of the sliding operation can be improved.
In one embodiment, the method further comprises:
and if the first operation is not the preset operation, determining whether to shield the second area according to the acting time of the second operation acting on the second area.
In this embodiment, when the first operation is not the predetermined operation, whether to mask the second area is determined in accordance with the action period of the second operation acting on the second area.
In addition, in another embodiment of the present disclosure, if the terminal does not detect the first operation acting on the first area, it is determined whether to shield the second area according to an acting time period of the second operation acting on the second area.
In this embodiment, that is, when no touch signal is detected in the first area but a touch signal is present in the second area, whether to shield the second area is determined according to the action duration of the second operation of the second area, so as to reduce the false touch rate of the touch screen.
In this embodiment, if the acting duration of the first operation acting on the first area is not the predetermined operation, it indicates that the action of the second area may not be a false touch caused by the root position of the palm briefly contacting the second area when the thumb of the user operates in the middle of the touch screen with the predetermined gesture. At this time, it is necessary to determine whether to shield the second region according to the action time period of the second operation of the anti-false touch region (second region). In addition, when the first area does not detect any operation, whether to shield the second area is also determined according to the action time length of the second operation.
When determining whether to shield the second area according to the acting time length of the second operation, because the second area is located at the edge of the touch screen, the normal operation that the second area can respond to is usually a short click operation, and the long-time operation is usually a false touch, it can be determined whether to shield the second area according to the acting time length of the second operation.
In one embodiment, the determining to mask the second area according to an action duration of a second operation acting on the second area includes:
and shielding the second area if the action duration of the second operation acting on the second area reaches a second preset duration.
In this embodiment, if the action duration of the second operation acting on the second area reaches a second preset duration, it indicates that the second operation acting on the touch-prevention area is not a normal click operation, and the second operation needs to be masked.
As mentioned above, the normal operation to which the second area can respond is a short click operation, while a long operation is usually a false touch. Therefore, if the time length of the normal operation that the second area can respond to is T, if the action time length T of the second operation of the second area is greater than or equal to T, it indicates that the second operation is a false touch, and the second area needs to be masked.
In an embodiment, the masking the second area of the touch screen if the first operation is the predetermined operation includes:
determining whether the action time length of the preset operation reaches a first preset time length;
if the action duration of the preset operation does not reach the first preset duration, shielding the second area within the action duration of the preset operation;
and shielding the second area within the first preset duration of the preset operation action if the action duration of the preset operation reaches the first preset duration.
In this embodiment, further, when the second region is masked in the case where the first operation is determined to be the predetermined operation, the action time period of the predetermined operation may be also combined. When the action duration of the preset operation does not reach a first preset duration, shielding a second area within the lease duration of the preset operation; and if the action duration of the preset operation reaches the first preset duration, shielding the second area within the first preset duration of the preset operation action.
Illustratively, the first preset duration is 400 milliseconds (ms), and if the action duration of the preset operation is 300ms, the second area is shielded within the 300ms duration; and if the action time of the predetermined operation is 500ms, the second area is masked within 400 ms.
It should be noted that, when the action time length of the predetermined operation reaches the first preset time length, whether to shield the second area outside the first preset time length is not limited in this embodiment.
In an embodiment, the masking the predetermined operation of the second region within the first preset duration of the predetermined operation action if the action duration of the predetermined operation reaches the first preset duration includes:
and if the action duration of the preset operation reaches the first preset duration and a second operation acting on the second area is available after the first preset duration of the preset operation action, determining to shield the second area according to the action duration of the second operation acting on the second area.
In this embodiment, if the action duration of the predetermined operation reaches the first preset duration, it is determined whether to shield the second region according to the action duration of the second operation in the second region. As described above, if the action duration of the second operation acting on the second area reaches the second preset duration, it indicates that the second operation acting on the touch-prevention area is not a normal click operation, and the touch operation detected in the second area needs to be stopped and reported to the system side, that is, the second area is shielded.
It can be understood that, in this embodiment, if the action duration of the predetermined operation reaches the first preset duration, whether to shield the second area is determined according to the action duration of the second operation in the second area, that is, whether to shield the second area is determined according to the action durations of the operations in different areas in different time sequences, so that the coverage of preventing the touch screen from being touched by mistake can be improved, and the false touch rate of the touch screen is reduced.
Taking a mobile phone as an example, fig. 4 is a structural example diagram of dividing a first area and a second area in the mobile phone, and as shown in fig. 4, an area shown in an identification frame K on a touch screen of the mobile phone is a monitoring area and located in the middle of the mobile phone, that is, the first area of the present application; the area outside the mark frame K is an edge area, which is the second area of the present application. Fig. 5 is a flowchart illustrating a flow of a touch screen control method applied to a mobile phone according to an embodiment of the disclosure, and as shown in fig. 5, the touch screen control method includes the following steps:
s101, determining whether the monitored area has action; if yes, executing step S101; if not, go to step S107.
In this embodiment, it is monitored whether the area has an action, i.e., whether there is a predetermined operation acting on the first area, and the predetermined operation may be a slide operation.
And S102, if the monitored area has action, entering a monitoring state.
S103, 103A, determining whether the edge area has a contact signal; if yes, go to step S104.
In this embodiment, the edge area is free of a touch signal, i.e., free of a second operation acting on the second area.
S103B, if the duration of the motion in the monitoring area is less than 400ms, and the touch in the monitoring area is cancelled (for example, the touch caused by the finger being away from the monitoring area is cancelled), executing step S104; if so, go to step S106.
In this embodiment, the touch cancellation in the monitoring area is to determine whether the predetermined operation is finished, and the action of the monitoring area is less than 400ms, that is, the action duration of the predetermined operation is less than the first preset duration.
S104, the contact signal of the edge area and the finger of the monitoring area are not separated to carry out AND logic.
In this embodiment, the touch signal in the edge area is AND-logically'd' with the finger in the monitoring area not being separated, that is, the second operation in the second area and the predetermined operation in the first area are simultaneously satisfied.
And S105, if the edge area has the contact signal and the finger in the monitoring area does not leave, inhibiting the edge point.
In this embodiment, if the action duration of the predetermined operation of the first area is less than the first preset duration and there is a second operation acting on the second area, the second operation of the second area is masked.
And S106, ending the current monitoring and entering a conventional inhibition flow.
In this embodiment, the conventional suppression procedure determines whether to mask the second operation of the second area according to the acting time of the second operation of the second area.
And S107, if the monitored area does not act, entering a conventional edge suppression flow.
In this embodiment, the monitoring area has no action, i.e. no first operation acting on the first area. When there is no first operation acting on the first area, it is also determined whether to mask a second operation of the second area according to the acting time period of the second operation of the second area.
Fig. 6 is a timing control diagram of a false touch prevention operation in an embodiment of the disclosure, as shown in fig. 6, when a finger slides in the middle of a screen (i.e., there is a predetermined operation applied to a first area), if the finger in the monitored area moves away within a monitoring time (a first preset time), if there is a touch signal in the edge area (i.e., there is a second operation applied to a second area), the edge area is suppressed according to the time duration of the first operation applied to the monitored area. And when the finger is lifted or exceeds the monitoring time, ending the monitoring mode of restraining the edge area according to the action duration of the first operation. At this time, the edge region may be suppressed according to the acting time period of the second operation acting on the second region.
It is understood that, in this embodiment, the second area is suppressed by using different schemes according to whether the first area has the predetermined operation, and when the first area has the interactive operation, the second area is also suppressed by using different schemes in combination with the action duration of the predetermined operation. Through this mode, promoted the comprehensive nature of touching the control to the mistake, reduced the mistake of touch screen and touched the rate.
FIG. 7 is a diagram illustrating a touch screen control device, according to an exemplary embodiment. Referring to fig. 7, in an alternative embodiment, the apparatus further comprises:
the receiving module 101 is configured to receive a first operation acting in a first area of the touch screen;
a first determination module 102 configured to determine whether the first operation is a predetermined operation;
the shielding module 103 is configured to shield the second area of the touch screen if the first operation is the predetermined operation; the first area and the second area are different areas on the touch screen.
Optionally, the first determining module 102 is configured to determine, according to a touch coordinate of a first operation applied to the first area of the touch screen, whether a distance between two touch coordinates is greater than a preset threshold; and when the distance between at least two touch coordinates is larger than the preset threshold, determining that the first operation is a preset operation acting on the first area.
Optionally, the first determining module 102 is configured to record a first touch coordinate to a last touch coordinate of the first area during the duration of the first operation; and determining whether the distance between the two touch coordinates is larger than the preset threshold value or not based on the first touch coordinate to the last touch coordinate.
Optionally, the apparatus further comprises:
the second determining module 104 is configured to determine whether to mask the second area according to an action duration of a second operation acting on the second area if the first operation is not the predetermined operation.
Optionally, the first determining module 102 is configured to determine whether the action duration of the predetermined operation reaches a first preset duration; if the action duration of the preset operation does not reach the first preset duration, shielding the second area within the action duration of the preset operation; and shielding the second area within the first preset duration of the preset operation action if the action duration of the preset operation reaches the first preset duration.
Optionally, the first determining module 102 is configured to determine to shield the second area according to an action duration of the second operation acting on the second area if the action duration of the predetermined operation reaches the first preset duration and there is a second operation acting on the second area after the first preset duration of the predetermined operation action.
Optionally, the first determining module 102 is configured to shield the second area if an action duration of a second operation acting on the second area reaches a second preset duration.
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. 8 is a block diagram illustrating a terminal apparatus 800 according to an example embodiment. For example, the device 800 may be a mobile phone, a mobile computer, etc.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 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.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or a sliding motion, but also detect the duration and pressure associated with the touch or a predetermined operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 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 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 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 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 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 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 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 800 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 804 comprising instructions, executable by the processor 820 of the device 800 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 in which instructions, when executed by a processor of a terminal, enable the terminal to perform a control method of a touch screen, the method comprising:
receiving a first operation acting in a first area of the touch screen;
determining whether the first operation is a predetermined operation;
if the first operation is the preset operation, shielding a second area of the touch screen; the first area and the second area are different areas on the touch screen.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (16)
1. A touch screen control method is characterized by comprising the following steps:
receiving a first operation acting in a first area of the touch screen;
determining whether the first operation is a predetermined operation;
and if the first operation is the preset operation, shielding a second area of the touch screen, wherein the first area and the second area are different areas on the touch screen.
2. The method of claim 1, wherein determining whether the first operation is a predetermined operation comprises:
determining whether a distance between two touch coordinates is larger than a preset threshold value according to the touch coordinates of a first operation acting in the first area of the touch screen;
and when the distance between at least two touch coordinates is larger than the preset threshold, determining that the first operation is a preset operation acting on the first area.
3. The method of claim 2, wherein the determining whether the distance between the two touch coordinates is greater than a preset threshold value comprises:
recording a first touch coordinate to a last touch coordinate acting on the first area within the continuous action time of the first operation;
and determining whether the distance between the two touch coordinates is larger than the preset threshold value or not based on the first touch coordinate to the last touch coordinate.
4. The method of claim 1, further comprising:
and if the first operation is not the preset operation, determining whether to shield the second area according to the acting time of the second operation acting on the second area.
5. The method of claim 1, wherein the masking the second area of the touch screen if the first operation is the predetermined operation comprises:
determining whether the action time length of the preset operation reaches a first preset time length;
if the action duration of the preset operation does not reach the first preset duration, shielding the second area within the action duration of the preset operation;
and shielding the second area within the first preset duration of the preset operation action if the action duration of the preset operation reaches the first preset duration.
6. The method of claim 5, wherein masking the second region for the first predetermined duration of the predetermined operation action if the duration of the predetermined operation action reaches the first predetermined duration comprises:
and if the action duration of the preset operation reaches the first preset duration and a second operation acting on the second area is available after the first preset duration of the preset operation action, determining to shield the second area according to the action duration of the second operation acting on the second area.
7. The method according to claim 4 or 6, wherein the determining to mask the second area according to the acting time of the second operation acting on the second area comprises:
and shielding the second area if the action duration of the second operation acting on the second area reaches a second preset duration.
8. A touch screen control device, the device comprising:
the receiving module is configured to receive a first operation acting in a first area of the touch screen;
a first determination module configured to determine whether the first operation is a predetermined operation;
the shielding module is configured to shield a second area of the touch screen if the first operation is the predetermined operation; the first area and the second area are different areas on the touch screen.
9. The apparatus of claim 8,
the first determining module is configured to determine whether a distance between two touch coordinates is larger than a preset threshold value according to the touch coordinates of a first operation acting in the first area of the touch screen; and when the distance between at least two touch coordinates is larger than the preset threshold, determining that the first operation is a preset operation acting on the first area.
10. The apparatus of claim 9,
the first determining module is configured to record a first touch coordinate to a last touch coordinate acting on the first area within the continuous acting time of the first operation; and determining whether the distance between the two touch coordinates is larger than the preset threshold value or not based on the first touch coordinate to the last touch coordinate.
11. The apparatus of claim 8, further comprising:
and the second determining module is configured to determine whether to shield the second area according to the acting time of the second operation acting on the second area if the first operation is not the predetermined operation.
12. The apparatus of claim 8,
the first determining module is configured to determine whether the action duration of the predetermined operation reaches a first preset duration; if the action duration of the preset operation does not reach the first preset duration, shielding the second area within the action duration of the preset operation; and shielding the second area within the first preset duration of the preset operation action if the action duration of the preset operation reaches the first preset duration.
13. The apparatus of claim 12,
the first determining module is configured to determine to shield the second area according to an action duration of a second operation acting on the second area if the action duration of the predetermined operation reaches the first preset duration and the second operation acting on the second area is performed after the first preset duration of the predetermined operation action.
14. The apparatus of claim 10 or 13,
the first determining module is configured to shield the second area if an action duration of a second operation acting on the second area reaches a second preset duration.
15. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the touch screen control method of any one of claims 1 to 7.
16. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal, enable the terminal to perform the touch screen control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010611587.5A CN113934313A (en) | 2020-06-29 | 2020-06-29 | Touch screen control method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010611587.5A CN113934313A (en) | 2020-06-29 | 2020-06-29 | Touch screen control method and device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113934313A true CN113934313A (en) | 2022-01-14 |
Family
ID=79272857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010611587.5A Pending CN113934313A (en) | 2020-06-29 | 2020-06-29 | Touch screen control method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113934313A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598076A (en) * | 2015-01-14 | 2015-05-06 | 小米科技有限责任公司 | Method and device for shielding touch messages |
CN104714691A (en) * | 2015-01-30 | 2015-06-17 | 深圳市中兴移动通信有限公司 | Accidental touch preventing method and device for mobile terminal |
WO2016161986A1 (en) * | 2015-04-09 | 2016-10-13 | 努比亚技术有限公司 | Operation recognition method and apparatus, mobile terminal and computer storage medium |
CN106406633A (en) * | 2016-12-16 | 2017-02-15 | 广东欧珀移动通信有限公司 | Touch screen edge error touch prevention method and device and mobile terminal |
CN106569707A (en) * | 2016-10-21 | 2017-04-19 | 深圳众思科技有限公司 | Touch control screen-based touch control shielding method and terminal |
CN106648233A (en) * | 2016-12-16 | 2017-05-10 | 广东欧珀移动通信有限公司 | Touch screen control method and device of mobile terminal and mobile terminal |
CN106775084A (en) * | 2016-12-16 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of false-touch prevention method of touch-screen, device and mobile terminal |
CN106855783A (en) * | 2016-12-16 | 2017-06-16 | 广东欧珀移动通信有限公司 | A kind of method of false-touch prevention, device and mobile terminal |
CN108021259A (en) * | 2016-11-03 | 2018-05-11 | 华为技术有限公司 | A kind of false-touch prevention method and terminal |
CN108307044A (en) * | 2018-01-08 | 2018-07-20 | 平安科技(深圳)有限公司 | A kind of terminal operation method and equipment |
CN108595106A (en) * | 2018-04-28 | 2018-09-28 | 努比亚技术有限公司 | terminal control method, terminal and computer readable storage medium |
CN109669580A (en) * | 2018-12-28 | 2019-04-23 | 努比亚技术有限公司 | False-touch prevention operating method, mobile terminal and computer readable storage medium |
-
2020
- 2020-06-29 CN CN202010611587.5A patent/CN113934313A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598076A (en) * | 2015-01-14 | 2015-05-06 | 小米科技有限责任公司 | Method and device for shielding touch messages |
CN104714691A (en) * | 2015-01-30 | 2015-06-17 | 深圳市中兴移动通信有限公司 | Accidental touch preventing method and device for mobile terminal |
WO2016161986A1 (en) * | 2015-04-09 | 2016-10-13 | 努比亚技术有限公司 | Operation recognition method and apparatus, mobile terminal and computer storage medium |
CN106569707A (en) * | 2016-10-21 | 2017-04-19 | 深圳众思科技有限公司 | Touch control screen-based touch control shielding method and terminal |
CN108021259A (en) * | 2016-11-03 | 2018-05-11 | 华为技术有限公司 | A kind of false-touch prevention method and terminal |
CN106406633A (en) * | 2016-12-16 | 2017-02-15 | 广东欧珀移动通信有限公司 | Touch screen edge error touch prevention method and device and mobile terminal |
CN106648233A (en) * | 2016-12-16 | 2017-05-10 | 广东欧珀移动通信有限公司 | Touch screen control method and device of mobile terminal and mobile terminal |
CN106775084A (en) * | 2016-12-16 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of false-touch prevention method of touch-screen, device and mobile terminal |
CN106855783A (en) * | 2016-12-16 | 2017-06-16 | 广东欧珀移动通信有限公司 | A kind of method of false-touch prevention, device and mobile terminal |
CN108307044A (en) * | 2018-01-08 | 2018-07-20 | 平安科技(深圳)有限公司 | A kind of terminal operation method and equipment |
CN108595106A (en) * | 2018-04-28 | 2018-09-28 | 努比亚技术有限公司 | terminal control method, terminal and computer readable storage medium |
CN109669580A (en) * | 2018-12-28 | 2019-04-23 | 努比亚技术有限公司 | False-touch prevention operating method, mobile terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3046017A1 (en) | Unlocking method, device and terminal | |
US20170060320A1 (en) | Method for controlling a mobile terminal using a side touch panel | |
CN111695382B (en) | Fingerprint acquisition area determining method and fingerprint acquisition area determining device | |
CN107390932B (en) | Edge false touch prevention method and device and computer readable storage medium | |
EP3232301B1 (en) | Mobile terminal and virtual key processing method | |
CN110413148B (en) | False touch prevention detection method, device, equipment and storage medium | |
CN109862169B (en) | Electronic equipment control method, device and storage medium | |
EP3509012A1 (en) | Fingerprint recognition method and device | |
CN112905136A (en) | Screen projection control method and device and storage medium | |
CN111104001B (en) | Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium | |
CN107132983B (en) | Split-screen window operation method and device | |
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 | |
CN107402677B (en) | Method and device for recognizing finger lifting in touch operation and terminal | |
CN106990893B (en) | Touch screen operation processing method and device | |
CN108877742A (en) | Luminance regulating method and device | |
CN111353427B (en) | Fingerprint unlocking signal processing method, device and medium | |
CN112416155B (en) | Report point output control method, report point output control device and storage medium | |
CN113934313A (en) | Touch screen control method and device, terminal and storage medium | |
US20160195992A1 (en) | Mobile terminal and method for processing signals generated from touching virtual keys | |
CN108804009B (en) | Gesture recognition method and device | |
CN114724196A (en) | False touch prevention method and device, electronic equipment and storage medium | |
CN109976563B (en) | Misoperation determining method and device and touch operation response method and device | |
CN107621990B (en) | Control method and device of terminal key and terminal | |
CN113253969A (en) | Volume adjusting method and device and computer readable 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 |