Touch screen control method and device, terminal and storage medium
By receiving and analyzing operation data on the touch screen of the smart terminal, determining whether the operation is a predetermined operation, and blocking the corresponding area based on the judgment, the problem of high error operation rate in the prior art is solved, and the detection accuracy and user experience of the touch screen are improved.
Patent Information
- Application Number
- CN202010611587.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-29
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2040-06-29
AI Technical Summary
The existing touch screen anti-touch method of smart terminals cannot completely distinguish between user error operations and real click operations, resulting in a high error operation rate.
By receiving the operation in the first area of the touch screen, it is determined whether the operation is a predetermined operation, and if it is a predetermined operation, the second area is blocked. The specific method includes determining the operation type based on the touch coordinates, and deciding whether to block the second area in combination with the operation duration.
Through the combination of position and touch gestures, it effectively reduces the error touch caused by brief contact at the root of the user's palm, reduces the error touch rate of the touch screen, and improves the accuracy of touch detection.
Smart Images

Figure CN113934313B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic equipment, and in particular to a touch screen control method and device, a terminal and a storage medium. Background Art
[0002] With the development of electronic technology, the functions of electronic devices such as terminals are becoming increasingly enhanced and have become one of the essential products in people's daily lives.
[0003] Generally, electronic devices (such as mobile phones and tablet computers) support touch operation, so that users can control the electronic devices by touching the display screen. However, the edge area is prone to misoperation when the user holds the device, resulting in a high misoperation rate.
[0004] Many current smart terminals support touch operation, and edge touch prevention is a must-have feature for current mobile phones, which can reduce user misoperations and improve user experience. However, the current anti-misoperation method still has some defects, and it is impossible to completely distinguish whether it is a user misoperation or a real click operation, resulting in a high misoperation rate. Summary of the invention
[0005] The present invention provides a touch screen control method and device, a terminal and a storage medium.
[0006] According to a first aspect of an embodiment of the present disclosure, a touch screen control method is provided, including:
[0007] Receiving a first operation performed in a first area of the touch screen;
[0008] determining whether the first operation is a predetermined operation;
[0009] If the first operation is the predetermined operation, a second area of the touch screen is shielded; wherein the first area and the second area are different areas on the touch screen.
[0010] Optionally, determining whether the first operation is a predetermined operation includes:
[0011] Determine, according to the touch coordinates of the first operation acting on the first area of the touch screen, whether a distance between two touch coordinates is greater than a preset threshold;
[0012] When there is a distance between at least two touch coordinates that is greater than the preset threshold, the first operation is determined to be a predetermined operation acting on the first area.
[0013] Optionally, the determining whether a distance between two touch coordinates is greater than a preset threshold includes:
[0014] Record the first touch coordinate to the 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.
[0015] Optionally, the method further includes:
[0016] If the first operation is not the predetermined operation, it is determined whether to shield the second area according to the duration of the second operation acting on the second area.
[0017] Optionally, if the first operation is the predetermined operation, shielding the second area of the touch screen includes:
[0018] Determining whether the effect duration of the predetermined operation reaches a first preset duration;
[0019] If the effect duration of the predetermined operation does not reach the first preset time duration, shielding the second area within the effect duration of the predetermined operation;
[0020] If the duration of the predetermined operation reaches the first preset duration, the second area is shielded during the first preset duration of the predetermined operation.
[0021] Optionally, if the effect duration of the predetermined operation reaches the first preset duration, shielding the second area predetermined operation within the first preset duration of the effect of the predetermined operation includes:
[0022] If the duration of the predetermined operation reaches the first preset duration, and a second operation acts on the second area after the first preset duration of the predetermined operation, it is determined to shield the second area according to the duration of the second operation acting on the second area.
[0023] Optionally, the determining to shield the second area according to the duration of the second operation acting on the second area includes:
[0024] If the duration of the second operation acting on the second area reaches a second preset duration, the second area is shielded.
[0025] According to a second aspect of an embodiment of the present disclosure, there is provided an information control device, including:
[0026] A receiving module configured to receive a first operation performed in a first area of the touch screen;
[0027] A first determining module, configured to determine whether the first operation is a predetermined operation;
[0028] The shielding module is configured to shield a second area of the touch screen if the first operation is the predetermined operation; wherein the first area and the second area are different areas on the touch screen.
[0029] Optionally, the first determination module is configured to determine whether there is a distance between two touch coordinates greater than a preset threshold based on the touch coordinates of the first operation acting on the first area of the touch screen; when there is a distance between at least two touch coordinates greater than the preset threshold, determine that the first operation is a predetermined operation acting on the first area.
[0030] Optionally, the first determination module is configured to record the first touch coordinate to the last touch coordinate acting on the first area within the duration of the first operation, and determine whether the distance between two touch coordinates is greater than the preset threshold based on the first touch coordinate to the last touch coordinate.
[0031] Optionally, the device further comprises:
[0032] The second determination module is configured to determine whether to shield the second area according to the duration of the second operation acting on the second area if the first operation is not the predetermined operation.
[0033] Optionally, the first determination module is configured to determine whether the duration of the predetermined operation reaches a first preset duration; if the duration of the predetermined operation does not reach the first preset duration, the second area is shielded during the duration of the predetermined operation; if the duration of the predetermined operation reaches the first preset duration, the second area is shielded during the first preset duration of the predetermined operation.
[0034] Optionally, the first determination module is configured to determine to shield the second area according to the duration of the second operation acting on the second area if the 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.
[0035] Optionally, the first determination module is configured to shield the second area if the duration of the second operation acting on the second area reaches a second preset duration.
[0036] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, including:
[0037] processor;
[0038] a memory for storing processor-executable instructions;
[0039] Wherein, the processor is configured to execute the touch screen control method as described in the first aspect above.
[0040] According to a fourth aspect of an embodiment of the present disclosure, there is provided a storage medium, including:
[0041] When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to execute the touch screen control method as described in the first aspect above.
[0042] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0043] In the embodiment of the present disclosure, it is first determined whether the first operation acting on the first area of the touch screen is a predetermined operation, and if the first operation is a predetermined operation, the second area of the touch screen is shielded. It can be understood that by combining the position (first area) and the touch gesture (predetermined operation) to determine whether to shield the anti-false touch area, it can reduce the false touch caused by the base of the palm touching the second area when the user holds the terminal with one hand and uses the thumb to operate in the middle of the touch screen in a predetermined manner, thereby improving the anti-false touch scenario, reducing the false touch rate of the touch screen, and improving the touch detection accuracy of the touch screen.
[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] 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 present disclosure.
[0046] Figure 1 It is a flow chart of a touch screen control method shown in an embodiment of the present disclosure.
[0047] Figure 2 This is an example diagram of area division in a touch screen in an embodiment of the present disclosure.
[0048] Figure 3 This is an example diagram of an accidental touch action in an embodiment of the present disclosure.
[0049] Figure 4 This is a diagram showing an example of a structure in which a first area and a second area are divided in a mobile phone.
[0050] Figure 5 This is an example flow chart of a touch screen control method applied to a mobile phone shown in an embodiment of the present disclosure.
[0051] Figure 6 A timing control diagram for preventing accidental touch operation in an embodiment of the present disclosure.
[0052] Figure 7 The figure is a diagram of a touch screen control device according to an exemplary embodiment.
[0053] Figure 8 It is a block diagram of a terminal shown in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0054] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0055] Figure 1 is a flow chart of a touch screen control method shown in an embodiment of the present disclosure, such as Figure 1 As shown, the touch screen control method applied to the terminal includes the following steps:
[0056] S11, receiving a first operation performed in a first area of the touch screen;
[0057] S12, determining whether the first operation is a predetermined operation;
[0058] S13: If the first operation is the predetermined operation, shielding a second area of the touch screen; wherein the first area and the second area are different areas on the touch screen.
[0059] In an embodiment of the present disclosure, the terminal includes: a mobile phone or a tablet computer, etc. The touch screen included in the terminal can be various types of narrow-border screens or borderless screens, for example, a full-screen or curved screen.
[0060] The terminal can detect touch operations on the edge area of a narrow-border screen or a borderless screen and give a response. For example, when a click operation is detected in the edge area, the terminal can display a notepad application on the touch screen to facilitate the user to take notes.
[0061] In the implementation of the present disclosure, the terminal may receive a first operation acting on a first area of the touch screen, and determine whether the first operation is a predetermined operation. If the first operation is a predetermined operation, the second area of the touch screen is shielded.
[0062] The predetermined operation may be a sliding operation or a continuous clicking operation with a predetermined interval, etc. The predetermined operation is a conventional operation (non-accidental touch operation) performed by the user on the first area. In addition, the second area and the first area of the present disclosure are different areas on the touch screen. In one embodiment, the second area is located at the edge of the first area, and the second area is an anti-accidental touch area.
[0063] It should be noted that, in the embodiment of the present disclosure, shielding the second area of the touch screen includes:
[0064] Stopping touch detection of the second area;
[0065] and / or,
[0066] The touch operation of stopping the detection of the second area is reported to the system side that responds to the predetermined operation. The system side includes: a central processing unit (CPU), an application processor (AP) or a micro control unit (MCU).
[0067] Figure 2 FIG. 1 is an example diagram of area division in a touch screen in an embodiment of the present disclosure. Figure 2 As shown in FIG. 1 , the grayscale area marked by L is the second area (the false touch prevention area), and the area outside L is the first area. Figure 2 It can be seen that the second area is located at the edge of the first area.
[0068] Usually, when the user's finger falls on the second area, the terminal will determine whether the second operation is a click action or an accidental touch action of the user based on the detected duration of the second operation. For example, when the duration of the second operation is less than the duration threshold, it is considered to be a normal quick click action, and the second area needs to be detected normally and the touch point coordinates reported. When the duration of the second operation reaches the duration threshold, the second operation is considered to be an accidental touch action, and the touch point coordinates are not reported.
[0069] However, when the user holds the terminal with one hand and the user's thumb operates in the middle of the touch screen, the base of the palm often contacts the second area for a short time, which is a false touch. Figure 3 This is an example diagram of an accidental touch action in an embodiment of the present disclosure. In this scenario, if the aforementioned solution based on comparing the action duration of the second operation with the duration threshold is still adopted, a large number of accidental touches will be caused.
[0070] In this regard, the present disclosure first determines whether the first operation acting on the first area of the touch screen is a predetermined operation, and if the first operation is a predetermined operation, the second area of the touch screen is shielded. It can be understood that by combining the position (first area) and the touch gesture (predetermined operation) to determine whether to shield the anti-false touch area, the anti-false touch scenario is further improved, thereby reducing the false touch rate of the touch screen and improving the touch detection accuracy of the touch screen.
[0071] In one embodiment, determining whether the first operation is a predetermined operation includes:
[0072] Determine, according to the touch coordinates of the first operation acting on the first area of the touch screen, whether a distance between two touch coordinates is greater than a preset threshold;
[0073] When there is a distance between at least two touch coordinates that is greater than the preset threshold, the first operation is determined to be a predetermined operation acting on the first area.
[0074] In this embodiment, the predetermined operation includes a sliding operation, and the terminal determines whether it is a sliding operation according to the touch coordinates of the first operation. When the distance between two coordinates in the track coordinates of the first operation is greater than a preset threshold, the first operation is determined to be a sliding operation.
[0075] In one case, when the sliding trajectory of the user's sliding operation on the touch screen is a non-arc trajectory (for example, a straight line trajectory), the terminal forms a non-arc trajectory based on the touch coordinates detected by the user's first operation, and the distance between the first touch coordinates and the last touch coordinates of the first operation may be greater than a preset threshold, thereby determining that the first operation is a sliding operation.
[0076] In another case, when the sliding track of the user's sliding operation on the touch screen is an arc track, the terminal forms an arc track based on the touch coordinates detected by the user's first operation, and although the distance between the first touch coordinate and the last touch coordinate on the arc track may be less than the preset threshold, there are still two touch coordinates on the arc track whose distance is greater than the preset threshold. Therefore, in this case, the first operation is still a sliding operation.
[0077] It should be noted that when the sliding track is an arc track, the terminal needs to determine in advance whether the track 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 greater than a preset threshold.
[0078] In addition, it should be noted that in the embodiment of the present disclosure, the touch coordinates of the first operation can be used not only to determine whether the first operation is a predetermined operation, but also to determine whether the first operation is an operation acting within the first area. It can be understood that in the embodiment of the present disclosure, the touch gesture is determined according to the touch coordinates, that is, whether the first operation is a sliding operation, and the solution is simple and effective.
[0079] It should be noted that, in the embodiment of the present disclosure, when the predetermined operation is a continuous click operation with a predetermined interval length, it can be determined whether the first operation is the predetermined operation based on the time corresponding to each detected touch.
[0080] In one embodiment, determining whether a distance between two touch coordinates is greater than a preset threshold comprises:
[0081] Record the first touch coordinate to the 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.
[0082] In this embodiment, the terminal needs to record in advance the first (first) touch coordinate to the last (last) touch coordinate within the duration of the first operation, so as to determine whether the first operation is a sliding operation.
[0083] As mentioned above, when the trajectory of the user's 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. Therefore, in the embodiment of the present disclosure, by recording all touch coordinates within the duration of the first operation, the comprehensiveness of the sliding operation detection can be improved.
[0084] In one embodiment, the method further comprises:
[0085] If the first operation is not the predetermined operation, it is determined whether to shield the second area according to the duration of the second operation acting on the second area.
[0086] In this embodiment, when the first operation is not a predetermined operation, whether to shield the second area is determined according to the duration of the second operation acting on the second area.
[0087] In addition, in another embodiment of the present disclosure, if the terminal does not detect the first operation acting on the first area, it determines whether to shield the second area according to the duration of the second operation acting on the second area.
[0088] In this embodiment, when no touch signal is detected in the first area but a touch signal is detected in the second area, it is determined whether to shield the second area according to the duration of the second operation in the second area to reduce the false touch rate of the touch screen.
[0089] In this embodiment, if the duration of the first operation on the first area is not a predetermined operation, it means that the action in the second area may not be caused by a false touch caused by the base of the palm of the user's thumb briefly touching the second area when the user's thumb is in the middle of the touch screen with a predetermined gesture. At this time, it is necessary to determine whether to shield the second area based on the duration of the second operation on the anti-false touch area (second area). In addition, when no operation is detected in the first area, it is also necessary to determine whether to shield the second area based on the duration of the second operation.
[0090] When determining whether to block the second area based on the duration 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, while a long operation is usually a false touch. Therefore, whether to block the second area can be determined based on the duration of the second operation.
[0091] In one embodiment, determining to shield the second area according to the duration of the second operation acting on the second area includes:
[0092] If the duration of the second operation acting on the second area reaches a second preset duration, the second area is shielded.
[0093] In this embodiment, if the duration of the second operation on the second area reaches the second preset duration, it means that the second operation on the anti-touch area is not a normal click operation, and the second operation needs to be shielded.
[0094] As mentioned above, the normal operation that the second area can respond to is a short click operation, while a long operation is usually an accidental touch. Therefore, assuming that the normal operation duration that the second area can respond to is T, if the duration t of the second operation in the second area is greater than or equal to T, it means that the second operation is an accidental touch and the second area needs to be shielded.
[0095] In one embodiment, if the first operation is the predetermined operation, shielding the second area of the touch screen includes:
[0096] Determining whether the effect duration of the predetermined operation reaches a first preset duration;
[0097] If the effect duration of the predetermined operation does not reach the first preset time duration, shielding the second area within the effect duration of the predetermined operation;
[0098] If the duration of the predetermined operation reaches the first preset duration, the second area is shielded during the first preset duration of the predetermined operation.
[0099] In this embodiment, when the second area is blocked when the first operation is determined to be a predetermined operation, the duration of the predetermined operation may be combined. When the duration of the predetermined operation does not reach the first preset duration, the second area is blocked during the rental duration of the predetermined operation; and if the duration of the predetermined operation reaches the first preset duration, the second area is blocked during the first preset duration of the predetermined operation.
[0100] Exemplarily, the first preset duration is 400 milliseconds (ms). If the duration of the predetermined operation is 300ms, the second area is shielded within 300ms; and if the duration of the predetermined operation is 500ms, the second area is shielded within 400ms.
[0101] It should be noted that when the duration of the predetermined operation reaches the first preset duration, this embodiment does not limit whether the second area is shielded beyond the first preset duration.
[0102] In one embodiment, if the effect duration of the predetermined operation reaches the first preset duration, shielding the second area predetermined operation within the first preset duration of the effect of the predetermined operation includes:
[0103] If the duration of the predetermined operation reaches the first preset duration, and a second operation acts on the second area after the first preset duration of the predetermined operation, it is determined to shield the second area according to the duration of the second operation acting on the second area.
[0104] In this embodiment, if the duration of the predetermined operation reaches the first preset duration, it is determined whether to shield the second area according to the duration of the second operation on the second area. As mentioned above, if the duration of the second operation on the second area reaches the second preset duration, it means that the second operation on the anti-touch area is not a normal click operation, and it is necessary to stop the touch operation detected in the second area from being reported to the system side, that is, shield the second area.
[0105] It can be understood that in this embodiment, if the duration of the predetermined operation reaches the first preset duration, whether to shield the second area is determined based on the duration of the second operation in the second area, that is, whether to shield the second area is determined by the duration of operations in different areas at different time sequences, which can improve the comprehensiveness of the touch screen's anti-mistouch function and reduce the touch screen's mistouch rate.
[0106] Let’s take a mobile phone as an example. Figure 4This is a diagram showing an example of a structure in which a first area and a second area are divided in a mobile phone. Figure 4 As shown, the area shown in the identification box K on the touch screen of the mobile phone is the monitoring area, which is located in the middle of the mobile phone, that is, the first area of the present application; the area outside the identification box K is the edge area, that is, the second area of the present application. Figure 5 FIG. 1 is a flow chart of a touch screen control method applied to a mobile phone shown in an embodiment of the present disclosure. Figure 5 As shown, the touch screen control method includes the following steps:
[0107] S101, determine whether there is any action in the monitoring area; if so, execute step S101; if not, execute step S107.
[0108] In this embodiment, whether the monitoring area has an action, that is, whether there is a predetermined operation acting on the first area, the predetermined operation may be a sliding operation.
[0109] S102: If there is any movement in the monitoring area, the monitoring state is entered.
[0110] S103A, determine whether there is a contact signal in the edge area; if so, execute step S104.
[0111] In this embodiment, whether there is a contact signal in the edge area means whether there is a second operation acting on the second area.
[0112] S103B, the duration of the action in the monitoring area is less than 400ms, and the touch control in the monitoring area is cancelled (for example, the touch control is cancelled due to the finger leaving the monitoring area). If the touch control in the monitoring area is not cancelled, execute step S104; if the finger leaves the monitoring area, execute step S106.
[0113] In this embodiment, the touch cancellation of the monitoring area refers to whether the predetermined operation is ended, and the action of the monitoring area is less than 400ms, that is, the effect duration of the predetermined operation is less than the first preset duration.
[0114] S104, performing “AND logic” on the contact signal in the edge area and the finger in the monitoring area not leaving.
[0115] In this embodiment, the presence of a contact signal in the edge area and the presence of the finger in the monitoring area are subjected to an "AND logic", that is, the second area has the second operation and the first area has the predetermined operation.
[0116] S105: If there is a contact signal in the edge area and the finger in the monitoring area has not left, suppress the edge point.
[0117] In this embodiment, if the effect duration of the predetermined operation in the first area is less than the first preset duration, and there is a second operation acting on the second area, the second operation in the second area is shielded.
[0118] S106. End the current monitoring and enter the normal suppression process.
[0119] In this embodiment, the conventional suppression process determines whether to shield the second operation of the second area according to the duration of the second operation of the second area.
[0120] S107: If there is no action in the monitoring area, the conventional edge suppression process is entered.
[0121] In this embodiment, the monitoring area has no action, that is, the first operation is not applied to the first area. When the first operation is not applied to the first area, it is determined whether to shield the second operation of the second area according to the duration of the second operation of the second area.
[0122] Figure 6 is a timing control diagram of an anti-mistouch operation in an embodiment of the present disclosure, such as Figure 6 As shown, when the finger slides in the middle of the screen (i.e., there is a predetermined operation acting on the first area), if within the monitoring time (first preset duration) and before the finger leaves the monitoring area, if there is a contact signal in the edge area (i.e., there is a second operation acting on the second area), then the edge area is suppressed according to the duration of the first operation in the monitoring area. When the finger is lifted or exceeds the monitoring time, the monitoring method of suppressing the edge area according to the duration of the first operation ends. At this time, the edge area can be suppressed according to the duration of the second operation acting on the second area.
[0123] It is understandable that in this embodiment, different solutions are used to suppress the second area according to whether there is a predetermined operation in the first area, and when there is an interactive operation in the first area, different solutions are used to suppress the second area in combination with the duration of the predetermined operation. In this way, the comprehensiveness of the false touch monitoring is improved and the false touch rate of the touch screen is reduced.
[0124] Figure 7 FIG. 1 is a diagram showing a touch screen control device according to an exemplary embodiment. Figure 7 In an optional embodiment, the device further comprises:
[0125] A receiving module 101, configured to receive a first operation performed in a first area of the touch screen;
[0126] A first determining module 102, configured to determine whether the first operation is a predetermined operation;
[0127] The shielding module 103 is configured to shield a second area of the touch screen if the first operation is the predetermined operation; wherein the first area and the second area are different areas on the touch screen.
[0128] Optionally, the first determination module 102 is configured to determine whether there is a distance between two touch coordinates greater than a preset threshold based on the touch coordinates of the first operation acting on the first area of the touch screen; when there is a distance between at least two touch coordinates greater than the preset threshold, determine that the first operation is a predetermined operation acting on the first area.
[0129] Optionally, the first determination module 102 is configured to record the first touch coordinate to the last touch coordinate acting on the first area within the duration of the first operation; and determine whether the distance between two touch coordinates is greater than the preset threshold based on the first touch coordinate to the last touch coordinate.
[0130] Optionally, the device further comprises:
[0131] The second determination module 104 is configured to determine whether to shield the second area according to the duration of the second operation acting on the second area if the first operation is not the predetermined operation.
[0132] Optionally, the first determination module 102 is configured to determine whether the duration of the predetermined operation reaches a first preset duration; if the duration of the predetermined operation does not reach the first preset duration, shielding the second area during the duration of the predetermined operation; if the duration of the predetermined operation reaches the first preset duration, shielding the second area during the first preset duration of the predetermined operation.
[0133] Optionally, the first determination module 102 is configured to determine to shield the second area according to the duration of the second operation acting on the second area if the 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.
[0134] Optionally, the first determining module 102 is configured to shield the second area if the duration of the second operation acting on the second area reaches a second preset duration.
[0135] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0136] Figure 8 8 is a block diagram of a terminal device 800 according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a mobile computer, etc.
[0137] Reference Figure 8, the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0138] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0139] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.
[0140] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0141] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the 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 boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or predetermined operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0142] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0143] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as 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.
[0144] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The 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 an optical 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 accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0145] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can 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 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0146] 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, microcontrollers, microprocessors or other electronic components to perform the above method.
[0147] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0148] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a terminal, enables the terminal to execute a method for controlling a touch screen, the method comprising:
[0149] Receiving a first operation performed in a first area of the touch screen;
[0150] determining whether the first operation is a predetermined operation;
[0151] If the first operation is the predetermined operation, a second area of the touch screen is shielded; wherein the first area and the second area are different areas on the touch screen.
[0152] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0153] It should be understood that the present disclosure is not limited to the exact structures that have been 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
1. A touch screen control method, characterized in that: The method comprises: Receiving a first operation performed in a first area of the touch screen; determining whether the first operation is a predetermined operation; If the first operation is the predetermined operation, shielding a second area of the touch screen, wherein the first area and the second area are different areas on the touch screen; If the first operation is not the predetermined operation, determining whether to shield the second area according to the duration of the second operation acting on the second area; Wherein, if the first operation is the predetermined operation, shielding the second area of the touch screen includes: Determining whether the effect duration of the predetermined operation reaches a first preset duration; If the duration of the predetermined operation reaches the first preset duration, and a second operation acts on the second area after the first preset duration of the predetermined operation, it is determined to shield the second area according to the duration of the second operation acting on the second area.
2. The method according to claim 1, characterized in that The determining whether the first operation is a predetermined operation includes: Determine, according to the touch coordinates of the first operation acting on the first area of the touch screen, whether a distance between two touch coordinates is greater than a preset threshold; When there is a distance between at least two touch coordinates that is greater than the preset threshold, the first operation is determined to be a predetermined operation acting on the first area.
3. The method according to claim 2, characterized in that The determining whether the distance between two touch coordinates is greater than a preset threshold comprises: Recording the first touch coordinates to the last touch coordinates acting on the first area during the duration of the first operation; It is determined based on the first touch coordinate to the last touch coordinate whether a distance between two touch coordinates is greater than the preset threshold.
4. The method according to claim 1, characterized in that: If the first operation is the predetermined operation, shielding the second area of the touch screen includes: If the duration of the predetermined operation does not reach the first preset duration, the second area is shielded within the duration of the predetermined operation.
5. The method according to claim 1, characterized in that: The determining to shield the second area according to the duration of the second operation acting on the second area includes: If the duration of the second operation acting on the second area reaches a second preset duration, the second area is shielded.
6. A touch screen control device, characterized in that: The device comprises: A receiving module configured to receive a first operation performed in a first area of the touch screen; A first determining module, configured to determine whether the first operation is a predetermined operation; The shielding module is configured to, if the first operation is the predetermined operation, determine whether the duration of the predetermined operation reaches a first preset duration; if the duration of the predetermined operation reaches the first preset duration, and there is a second operation acting on a second area after the first preset duration of the predetermined operation, determine to shield the second area according to the duration of the second operation acting on the second area; if the first operation is not the predetermined operation, determine whether to shield the second area according to the duration of the second operation acting on the second area; wherein the first area and the second area are different areas on the touch screen.
7. The device according to claim 6, characterized in that The first determination module is configured to determine whether there is a distance between two touch coordinates greater than a preset threshold based on the touch coordinates of the first operation acting on the first area of the touch screen; when there is a distance between at least two touch coordinates greater than the preset threshold, determine that the first operation is a predetermined operation acting on the first area.
8. The device according to claim 7, characterized in that The first determination module is configured to record the first touch coordinate to the last touch coordinate acting on the first area within the duration of the first operation; and determine whether the distance between two touch coordinates is greater than the preset threshold based on the first touch coordinate to the last touch coordinate.
9. The device according to claim 6, characterized in that The first determining module is configured to shield the second area within the duration of the predetermined operation if the duration of the predetermined operation does not reach the first preset duration.
10. The device according to claim 6, characterized in that The first determining module is configured to shield the second area if the duration of the second operation acting on the second area reaches a second preset duration.
11. A terminal, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the touch screen control method as claimed in any one of claims 1 to 5.
12. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of the terminal, the terminal is enabled to execute the touch screen control method as claimed in any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for shielding touch messages
CN104598076A
Terminal operation method and device
CN108307044A
Terminal control method, terminal and computer-readable storage medium
CN108595106A