CN107402712B - Touch operation response method and device, storage medium and terminal - Google Patents

Touch operation response method and device, storage medium and terminal Download PDF

Info

Publication number
CN107402712B
CN107402712B CN201710620130.9A CN201710620130A CN107402712B CN 107402712 B CN107402712 B CN 107402712B CN 201710620130 A CN201710620130 A CN 201710620130A CN 107402712 B CN107402712 B CN 107402712B
Authority
CN
China
Prior art keywords
touch
preset
display area
touch operation
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710620130.9A
Other languages
Chinese (zh)
Other versions
CN107402712A (en
Inventor
汪昊
韩通
张强
石仁栋
郭明强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710620130.9A priority Critical patent/CN107402712B/en
Publication of CN107402712A publication Critical patent/CN107402712A/en
Application granted granted Critical
Publication of CN107402712B publication Critical patent/CN107402712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

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 embodiment of the invention discloses a response method and device of touch operation, a storage medium and a terminal. The method comprises the following steps: detecting that a display picture contains preset anti-false touch content; determining a target display area corresponding to the preset false touch prevention content; and the control terminal adjusts a response strategy for the touch operation acted in the target display area so as to enhance the difficulty of the response of the touch operation in the target display area. By adopting the technical scheme, the embodiment of the invention can carry out targeted anti-false touch processing on the content displayed on the screen, and can improve the pertinence and flexibility of the anti-false touch function of the terminal.

Description

Touch operation response method and device, storage medium and terminal
Technical Field
The embodiment of the invention relates to the technical field of touch control, in particular to a touch operation response method, a touch operation response device, a storage medium and a terminal.
Background
Currently, a touch screen is a standard configuration of most terminals, and a terminal user can easily and quickly implement various operations on the terminal through the touch screen.
There are many common touch operations based on a touch screen, such as a click operation, a long-press operation, a slide operation, a drag operation, and the like, and different events or display contents can be triggered by different touch operations. However, the user may easily make a wrong touch during the use of the terminal including the touch screen, thereby affecting the normal use of the user. Therefore, the existing touch operation response scheme needs to be further optimized to reduce the occurrence of the false touch condition.
Disclosure of Invention
The embodiment of the invention provides a touch operation response method, a touch operation response device, a storage medium and a terminal, which can optimize a touch operation response scheme based on a touch screen.
In a first aspect, an embodiment of the present invention provides a response method for a touch operation, including:
detecting that a display picture contains preset anti-false touch content;
determining a target display area corresponding to the preset false touch prevention content;
and the control terminal adjusts a response strategy for the touch operation acted in the target display area so as to enhance the difficulty of the response of the touch operation in the target display area.
In a second aspect, an embodiment of the present invention provides a touch operation response apparatus, including:
the content detection module is used for detecting whether the display picture contains preset anti-false touch content or not;
the display area determining module is used for determining a target display area corresponding to preset false touch prevention content when the content detecting module detects that the display picture contains the preset false touch prevention content;
and the response strategy adjusting module is used for controlling the terminal to adjust a response strategy for the touch operation acted in the target display area so as to enhance the difficulty of the response of the touch operation in the target display area.
In a third aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement a response method of a touch operation according to the present invention.
In a fourth aspect, an embodiment of the present invention provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement a response method for a touch operation according to an embodiment of the present invention.
According to the response scheme of the touch operation provided by the embodiment of the invention, when the display picture is detected to contain the preset mistaken touch prevention content, the target display area corresponding to the preset mistaken touch prevention content is determined, and the terminal is controlled to adjust the response strategy of the touch operation acting on the target display area, so that the difficulty of the response of the touch operation in the target display area is enhanced. By adopting the technical scheme, the content displayed on the screen can be subjected to targeted false touch prevention processing, and the pertinence and flexibility of the terminal false touch prevention function can be improved.
Drawings
Fig. 1 is a schematic flowchart of a response method of a touch operation according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another touch operation response method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a window advertisement according to an embodiment of the present invention;
FIG. 4 is a diagram of a full-screen advertisement provided by an embodiment of the present invention;
fig. 5 is a flowchart illustrating another response method for touch operation according to an embodiment of the present invention;
fig. 6 is a block diagram of a touch-operation response device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart illustrating a touch operation response method according to an embodiment of the present invention, where the method may be executed by a touch operation response device, where the device may be implemented by software and/or hardware, and may be generally integrated in a terminal. As shown in fig. 1, the method includes:
step 101, detecting that the display picture contains preset false touch prevention content.
For example, the terminal in the embodiment of the present invention may include a device provided with a touch screen, such as a mobile phone, a tablet computer, a media player, and a personal computer.
In the embodiment of the present invention, the display screen may be an interface currently displayed on the touch screen, for example, a desktop, a page of an application, or the like. The page of the application program can be a video playing page, a web browsing page, a chat interface, a payment interface, and the like.
For example, the preset false touch prevention content may be preset content that may be touched by a false touch, and may be specifically set by a default of the system, or may be set by the user.
Optionally, before the preset anti-false-touch content is detected to be included in the display picture, the preset anti-false-touch content can be determined according to user operation, so that the preset anti-false-touch content is enabled to better meet the will of the user, and the user requirement is met. For example, the preset anti-false-touch content may be an advertisement, a popup message, a contact in a phonebook, a call record in a recent call, a praise icon, or the like. For the advertisement, when a user watches the content of the screen, the user wants to perform touch operation on the part of the screen except the advertisement, but the user may touch the advertisement carelessly, so that the user may mistakenly enter an advertisement page to influence the use of the user; for the popup message, when a user touches the current application program, the popup message may pop up suddenly from the top of the screen, if the user accidentally touches the popup message, another application program corresponding to the popup message may be entered by mistake, the user needs to manually switch back to the previous application program, and especially, when the user watches a video or plays a game, the use of the user is seriously affected; for the contact persons in the phone book and the call records in the recent call, the user may inadvertently touch the phone of the contact person who is not supposed to be called, so that the phone is mistakenly called; for the praise icon, in order to enhance the interaction between users in some social application programs, a praise icon, generally a heart-shaped or thumb icon, is often set, and when a user clicks the praise icon, the praise or the praise of the content published by others is indicated, but the praise icon may be accidentally touched by the user, which may result in a false praise. Therefore, the contents are all contents which are easily touched by the user by mistake, the user can mistakenly express the real intention due to the mistaken touch, and the user can set the preset mistaken touch prevention contents according to the own requirements.
For example, the detecting that the display screen includes the preset anti-false-touch content may specifically include: and detecting whether the display picture contains preset false touch prevention content or not in the drawing or synthesizing process of the display picture, and if so, detecting that the display picture contains the preset false touch prevention content. The display in the terminal is usually displayed in units of frames, and each frame of the display includes one or more layers. The rough process from generation to display of the display picture is as follows, when the layers are drawn, the layers drawn are synthesized into the display picture to be displayed by the layer synthesis module, and then the display picture is sent to the display screen for display. When the display image includes a plurality of image layers, the above steps may be further optimized to detect whether the image layer included in the display image and corresponding to the preset anti-false-touch content includes the preset anti-false-touch content in the drawing or synthesizing process of the display image. When the layer corresponding to the preset false touch prevention content is only used for displaying the preset false touch prevention content, the steps can be further optimized to detect whether the layer corresponding to the preset false touch prevention content is included in the display picture (if so, the preset false touch prevention content is included, otherwise, the preset false touch prevention content is not included) or whether the data of the layer corresponding to the preset false touch prevention content included in the display picture is empty (if the data is empty, the preset false touch prevention content is not included, otherwise, the preset false touch prevention content is included) in the drawing or synthesizing process of the display picture.
And 102, determining a target display area corresponding to preset false touch prevention content.
For example, the step may specifically include determining position information of a target display area corresponding to the preset false touch prevention content in the display screen.
For example, the position information may include coordinate information of each point on a boundary of the target display area corresponding to the preset false touch prevention content. Specifically, the position information of the target display area corresponding to the preset false touch prevention content in the display picture can be determined in the process of drawing or synthesizing the display picture.
The touch screen adopted by the existing terminal comprises a resistance type touch screen, a capacitance type touch screen, a piezoelectric type touch screen and the like, when a user touches the touch screen, the touch screen can detect touch information, and then the touch operation of the user is identified. Taking a capacitive touch screen as an example, before the terminal leaves a factory, is started or at other time when the touch screen needs to be calibrated, the terminal records reference capacitance values of all positions of the touch screen when the touch screen is not touched, when a user touches the touch screen, the touch screen senses the change of capacitance, and when a change value (a difference value between a current capacitance value and the reference capacitance value, which is usually an absolute value) exceeds a touch determination threshold value, the fact that the user touches the touch screen is detected, a touch point is reported, and a touch event is reported. When a user touches the screen, the touch information recognized by the touch screen at least comprises the horizontal (x) coordinate and the vertical (y) coordinate of a touch point, and also comprises the size (including length, width and the like) of a contact surface, the number of touched fingers and the like, after the touch information is recognized, the coordinate information is reported to an upper layer through an input system, so that touch operation occurring at a certain position of the screen can be detected by using the touch information, and the touch position can be obtained. In order to correspond the target display area to the touch operation, the position information in the embodiment of the present invention may correspond to the coordinate information in the touch information one to one, that is, the coordinate information of the target display area and the coordinate information of the touch operation are represented by the same coordinate system, for example, the coordinate information is represented by the numerical values of the horizontal and vertical coordinates, where the vertex at the lower left corner of the display area of the touch screen is taken as the origin of coordinates, the width direction is the horizontal axis, the length direction is the vertical axis.
And 103, adjusting a response strategy of the touch operation acted in the target display area by the control terminal to enhance the difficulty of the response of the touch operation in the target display area.
For example, the terminal may be controlled to reduce the sensitivity of response to the touch operation applied in the target display area, and may also be controlled to perform a delayed response to the touch operation applied in the target display area.
The first mode can make the touch operation not easy to be detected; the second manner may specifically be that when the touch operation acting on the target display area is determined to be detected, it is determined whether other touch operations are detected within a preset time period, if so, the touch operation is not responded (the other touch operations are responded), otherwise, the touch operation is responded when the preset time period is reached.
Further, the control terminal may reduce the sensitivity of the response to the touch operation applied to the target display area in many ways, but the present invention is not limited thereto, and several means are given as an illustrative description below:
first, the control terminal reduces the scanning frequency for the touch operation applied within the target display area. Here, the scanning frequency may specifically be a scanning frequency of a channel corresponding to the target display area in the touch chip. Generally, the scanning frequency of the touch chip is 10 milliseconds each time, and the touch operation is more easily detected when the scanning frequency is higher, and the touch operation is more difficult to detect when the scanning frequency is lower. Illustratively, the scanning frequency may be reduced to 500 milliseconds each time.
Secondly, the control terminal reduces the reporting frequency of the touch operation acted in the target display area. In the embodiment of the present invention, the reporting frequency may be a frequency of reporting the touch event, or a frequency of reporting the touch point (also referred to as a reporting rate). The touch event may include various types, such as an ACTION _ DOWN, an ACTION _ MOVE, and an ACTION _ UP, and the like, and the press event is an initial event of the touch operation, so that preferably, the embodiment of the present invention at least includes reducing the reporting frequency of the press event. In the embodiment of the invention, the reporting frequency of the touch operation in the target display area is reduced, so that the probability of receiving the touch event by the upper layer is reduced, and the touch operation is not easy to detect.
And thirdly, the control terminal increases the touch judgment threshold corresponding to the target display area. As described above, in the capacitive touch screen, whether or not a touch is made needs to be determined according to whether or not a change in capacitance value exceeds a touch determination threshold, and when the touch determination threshold is increased, the case where the original change in capacitance value exceeds the original touch determination threshold may be considered as not exceeding the increased touch determination threshold, and thus may not be considered as a touch, so that the touch operation is not easily detected.
And fourthly, controlling the terminal to adjust the reference capacitance value corresponding to the target display area according to the type of the touch screen, wherein the reference capacitance value is increased when the type of the touch screen is a self-capacitance type, and the reference capacitance value is reduced when the type of the touch screen is a mutual capacitance type. Since the capacitance value of the self-capacitance touch panel increases when touched and the capacitance value of the mutual capacitance touch panel decreases when touched again, the touch operation can be easily determined not to be a touch by the above adjustment, and thus the touch operation is not easily detected.
It should be noted that, the adjustment of the response policy is performed on the target display area where the preset anti-false-touch content is located, and the target display areas other than the target display area are not affected. The above-mentioned adjustment means may be arranged and combined arbitrarily, that is, at least two kinds of the above-mentioned adjustment means may be used simultaneously. For example, the control terminal simultaneously reduces the scanning frequency and the reporting frequency for the touch operation acting in the target display area. It is understood that other combinations may also be adopted, such as adopting the first and third types simultaneously, adopting the first, second and third types, and so on, and the embodiments of the present invention are not described again.
According to the touch operation response method provided by the embodiment of the invention, when the display picture is detected to contain the preset mistaken touch prevention content, the target display area corresponding to the preset mistaken touch prevention content is determined, and the terminal is controlled to adjust the response strategy of the touch operation acting on the target display area, so that the difficulty of the touch operation being responded in the target display area is enhanced. By adopting the technical scheme, the content displayed on the screen can be subjected to targeted false touch prevention processing, and the pertinence and flexibility of the terminal false touch prevention function can be improved.
In an embodiment, the adjusting, by the control terminal, a response policy for the touch operation performed in the target display area to enhance the difficulty of the touch operation being responded in the target display area may specifically include: the control terminal adjusts a response strategy for a preset type of touch operation acting on the target display area so as to enhance the difficulty of the preset type of touch operation being responded in the target display area. The preset type may be determined by a trigger mode of the preset false touch prevention content, that is, the preset type of touch operation is used to trigger the preset false touch prevention content. For example, if the triggering manner of the preset false touch prevention content is clicking, the preset type of touch operation is clicking operation. In this embodiment, the response policy is adjusted for a specific type of touch operation in the target display area corresponding to the preset false touch prevention content, so that other types of touch operations may not be affected when acting on the target display area. For example, if the preset type is click, the long-press operation applied to the target display area will not be affected, and the response may be performed according to a normal response policy. In this embodiment, the response strategy can still be adjusted by reducing the response sensitivity and delaying the response. For decreasing the response sensitivity, the second means described above is preferably used, and the frequency of reporting touch events is preferably decreased. The benefit of the optimization here is that the impact on other types of touch operations can be reduced.
In one embodiment, the setting of the touch operation (e.g., a click operation) corresponding to the conventional trigger mode of the preset false touch prevention content as the preset type of touch operation is recorded as a first type of touch operation, and the setting of the touch operation (e.g., a long press operation) corresponding to the second trigger mode of the preset false touch prevention content as a second type of touch operation, and then adjusting, by the control terminal, a response policy for the preset type of touch operation applied to the target display area so as to enhance the difficulty of the preset type of touch operation being responded may include: the control terminal adjusts a response strategy for a first type of touch operation acting on the target display area so as to enhance the difficulty of the first type of touch operation being responded, and the method can further comprise the following steps: and triggering preset false touch prevention contents when the second type of touch operation is detected to act in the target display area. At this time, when the user really wants to trigger the preset anti-false-touch content, the second type of touch operation can be adopted to quickly trigger the content, so that the expression of the real intention of the user is ensured.
In one embodiment, the preset false touch prevention content comprises an advertisement.
Optionally, detecting that the display screen contains the advertisement may include: and detecting that the target layer contains the advertisement in the drawing or synthesizing process of the display picture. Since the advertisement is generally in a layer different from other contents in the display screen, detection can be performed for a target layer including the advertisement, thereby improving detection efficiency. Specifically, whether the data of the target map layer is empty or not can be detected, if so, the advertisement is not included, and if not, the advertisement is included.
Optionally, detecting that the display screen contains the advertisement may also include: and detecting that the display picture contains the website links in the preset website list. Generally, the advertisement contained in the display frame only contains part of content which is easy to attract users, and when the user triggers the advertisement, the advertisement jumps to a detail page of the advertisement (such as a campaign page or a website purchasing page) according to a website link contained in the advertisement, so that a website list can be preset, common advertisement website links are listed in the preset website list, when a certain website link is detected to be contained in the display frame, the website link is matched with the website links in the preset website list, and if the matching is successful, the display frame contains the advertisement. It should be noted that the preset website list may be updated according to actual situations. The detection mode is rapid and direct, and the detection efficiency can be improved.
Optionally, detecting that the display screen contains the advertisement may further include: and detecting that the display picture belongs to the inter-cut segment in the process of playing the main video by the video playing application. The optimization is particularly suitable for the segment type advertisement identification of the video playing application program when the video is played, and the accuracy is high. At present, there are many video playing applications that can be loaded on a terminal, such as an arcade video, a kuku video, and the like, and these video playing applications provide a large amount of video resources for users, however, users need to be forced to watch some advertisement (including commercial advertisement, game advertisement, and program trailer, etc.) insertion segments while enjoying these video resources. For example, some video playing applications may insert multimedia segments such as picture advertisements, text advertisements, and video advertisements before playing video resources (main videos) such as movies, dramas, or television programs that are actually played, and also insert similar advertisement segments in the main video playing process, so that when a user carelessly hits an advertisement segment being played, the user may enter a corresponding advertisement detail page, which affects normal viewing of the user.
For example, there are many ways to detect whether the display belongs to the inter-cut segment, and several of them are listed as illustrative descriptions below. 1. Detecting whether an inter-cut instruction is received or not in the process of playing the main video by the video playing application, if so, judging whether a display picture is in the inter-cut time period or not according to the inter-cut time period corresponding to the inter-cut instruction, and if so, detecting that the display picture belongs to an inter-cut segment; 2. monitoring whether the video playing application accesses a website in a set website list (the list contains common video advertisement websites) or not in the process of playing the main video by the video playing application, if so, acquiring an inter-cut time period corresponding to the accessed website, judging whether a display picture is in the inter-cut time period or not, and if so, detecting that the display picture belongs to an inter-cut segment. Optionally, multiple detection modes may be simultaneously adopted to improve the detection efficiency, for example, when one of the two detection modes is adopted, it is determined that the display picture contains the advertisement when one of the detection modes detects that the display picture belongs to the inter-cut segment.
Optionally, detecting that the display screen contains the advertisement may further include: and detecting that the display picture contains preset characters or icons. Generally, characters such as "skip", "close", "advertisement", "second", or "s" are usually added to the display content of the advertisement for prompting the user or providing an interface for closing the advertisement for the user, and an icon of "x" may be included, and the user may close the advertisement after clicking the icon. According to the attributes of the advertisements, whether the advertisements are contained in the display picture can be quickly detected.
The above-mentioned various means for detecting whether or not the display screen contains the advertisement may be combined arbitrarily, that is, at least two methods may be used to simultaneously detect. When any one of the display pictures detects that the display picture contains the advertisement, the display picture is determined to contain the advertisement, and the detection efficiency is comprehensively improved. In addition, when at least two modes are adopted for simultaneous detection, the advertisement contained in the display picture can be determined and detected only when all detection modes detect that the advertisement contained in the display picture, and the detection accuracy is improved.
Fig. 2 is a schematic flow chart of another touch operation response method provided in the embodiment of the present invention, and the method is mainly applied to a false touch prevention scene of an advertisement, as shown in fig. 2, the method includes the following steps:
step 201, determining the preset false touch prevention content as an advertisement according to the user operation.
For example, a setting interface for selecting the preset false touch prevention content may be provided for the user, the common type of false touch prevention content may be displayed in the setting interface in a list form, and the user may select the preset false touch prevention content by clicking or the like.
The advertisement generally appears in an interface of an application program, and the triggering mode of the advertisement is generally clicking, so that error touch is easy to occur. The advertisements in the application program can be divided into window advertisements and full-screen advertisements according to the screen occupation condition. Fig. 3 is a schematic diagram of a window advertisement provided in an embodiment of the present invention, as shown in fig. 3, a window advertisement 302 only occupies a partial area of a screen, when a user operates an operation area 301 other than the window advertisement, the window advertisement is easily touched, which causes false triggering, and the window advertisement is generally located at an edge of the screen, and the user may also generate false triggering when holding the terminal. Fig. 4 is a schematic diagram of a full-screen advertisement provided in an embodiment of the present invention, as shown in fig. 4, a full-screen advertisement 401 occupies the entire screen, the full-screen advertisement 401 generally includes a small area to display prompt text such as "skip advertisement", and a user clicks any position outside the prompt text to trigger the advertisement, so that false triggering is easy. In addition, the full-screen advertisement is displayed not only when the application program is just started, but also when the user switches the running application program to the background and then switches the running application program from the background to the foreground after a period of time, the application program firstly displays the interface before the running application program is switched to the background, and when the user wants to operate the content in the interface, for example, click a certain news title, the full-screen advertisement may appear suddenly, so that the user can easily click the full-screen advertisement by mistake, and false triggering is caused.
Step 202, detecting whether the display picture contains the advertisement, if so, executing step 203; otherwise, step 202 is repeated.
Step 203, determining a target display area corresponding to the advertisement.
And 204, the control terminal reduces the response sensitivity of the touch operation acted on the target display area so as to enhance the difficulty of the response of the touch operation in the target display area.
The specific implementation manners of steps 202-204 can be referred to in the related description above.
The touch operation response method provided by the embodiment of the invention can perform targeted anti-false touch processing on the advertisement displayed on the screen, and reduce the interference (such as switching to an advertisement detail page and the like) caused by the false triggering of the advertisement by the user in the normal operation of the application program.
Fig. 5 is a schematic flow chart of another response method for touch operation according to an embodiment of the present invention, where the method is mainly applied to a false touch prevention scene of an advertisement, as shown in fig. 5, the method includes the following steps:
step 501, determining preset false touch prevention content as an advertisement according to user operation.
Illustratively, the advertisement in the embodiment of the present invention may be triggered by clicking by the user.
Step 502, detecting whether the display picture contains the advertisement, if so, executing step 503; otherwise, step 502 is repeated.
Step 503, determining the position information of the target display area corresponding to the advertisement in the display screen.
And 504, controlling the terminal to reduce the reporting frequency of the click operation acting on the target display area according to the position information so as to enhance the difficulty of the click operation being responded in the target display area.
Step 505, detecting a touch operation in the target display area, judging the type of the touch operation, and if the touch operation is a click operation, executing step 506; if the operation is a long press operation, step 507 is executed.
And step 506, reporting the click operation according to the reduced reporting frequency.
Step 507, triggering the advertisement.
Triggering the advertisement may specifically be, for example, entering a details page of the advertisement.
It is understood that the long-press operation in step 505 can be replaced by other operations different from the click operation, such as a double-click operation, a slide operation, and so on.
The specific implementation manners of steps 502-504 can be referred to in the related description above.
The touch operation response method provided by the embodiment of the invention can perform targeted anti-false touch processing on the advertisement displayed on the screen, reduce the interference on the normal operation of the application program caused by the error clicking of the advertisement by the user, provide a trigger mode different from the conventional click type trigger advertisement for the user, and facilitate the rapid triggering of the advertisement when the user really wants to trigger the advertisement.
Fig. 6 is a block diagram of a touch operation response apparatus according to an embodiment of the present invention, where the apparatus may be implemented by software and/or hardware, and is generally integrated in a terminal, and may respond to a touch operation by performing a touch operation response method. As shown in fig. 6, the apparatus includes:
the content detection module 601 is configured to detect whether a display screen includes preset anti-false-touch content;
a display area determining module 602, configured to determine, when the content detecting module detects that a display screen includes preset false touch prevention content, a target display area corresponding to the preset false touch prevention content;
a response policy adjusting module 603, configured to control the terminal to adjust a response policy for the touch operation that is applied to the target display area, so as to enhance the difficulty of the touch operation being responded to in the target display area.
According to the touch operation response device provided by the embodiment of the invention, when the display picture is detected to contain the preset mistaken touch prevention content, the target display area corresponding to the preset mistaken touch prevention content is determined, and the terminal is controlled to adjust the response strategy of the touch operation acting on the target display area, so that the difficulty of the touch operation being responded in the target display area is enhanced. By adopting the technical scheme, the content displayed on the screen can be subjected to targeted false touch prevention processing, and the pertinence and flexibility of the terminal false touch prevention function can be improved.
Optionally, the adjusting, by the control terminal, a response policy to the touch operation applied to the target display area includes:
the control terminal reduces the response sensitivity to the touch operation applied to the target display area.
Optionally, the controlling the terminal to reduce the response sensitivity to the touch operation applied to the target display area includes:
the control terminal reduces the scanning frequency of the touch operation acted in the target display area; or,
the control terminal reduces the reporting frequency of the touch operation acting on the target display area; or,
the control terminal increases a touch judgment threshold corresponding to the target display area; or,
and controlling the terminal to adjust a reference capacitance value corresponding to the target display area according to the type of the touch screen, wherein the reference capacitance value is increased when the type of the touch screen is a self-capacitance type, and the reference capacitance value is decreased when the type of the touch screen is a mutual capacitance type.
Optionally, the response policy adjusting module may be specifically configured to:
and the control terminal adjusts a response strategy for the preset type of touch operation acted on the target display area so as to enhance the difficulty of the preset type of touch operation being responded in the target display area.
Optionally, the apparatus further includes a content determining module, configured to determine the preset false touch prevention content according to a user operation before detecting that the preset false touch prevention content is included in the display screen.
Optionally, the content detection module may be specifically configured to:
and detecting whether the display picture contains preset false touch prevention content or not in the drawing or synthesizing process of the display picture.
Optionally, the preset false touch prevention content includes an advertisement;
the content detection module may be specifically configured to:
detecting whether a display picture contains a website link in a preset website list, and if so, determining that the display picture contains an advertisement; or,
detecting whether a display picture belongs to a spot clip or not in the process of playing a main video by a video playing application, and if so, determining that the display picture contains an advertisement; or,
and detecting whether the display picture contains preset characters or icons, and if so, determining that the display picture contains the advertisements.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a response method for a touch operation, the method including:
detecting that a display picture contains preset anti-false touch content;
determining a target display area corresponding to the preset false touch prevention content;
and the control terminal adjusts a response strategy for the touch operation acted in the target display area so as to enhance the difficulty of the response of the touch operation in the target display area.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the response operation of the touch operation described above, and may also perform related operations in the response method of the touch operation provided by any embodiment of the present invention.
The embodiment of the invention provides a terminal, and a response device for touch operation provided by the embodiment of the invention can be integrated in the terminal. Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in fig. 7, the terminal may include: a housing (not shown), a memory 701, a Central Processing Unit (CPU) 702 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU702 and the memory 701 are provided on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; the memory 701 is used for storing executable program codes; the CPU702 executes a computer program corresponding to the executable program code by reading the executable program code stored in the memory 701 to implement the steps of:
detecting that a display picture contains preset anti-false touch content;
determining a target display area corresponding to the preset false touch prevention content;
and the control terminal adjusts a response strategy for the touch operation acted in the target display area so as to enhance the difficulty of the response of the touch operation in the target display area.
The terminal further comprises: peripheral interfaces 703, RF (Radio Frequency) circuitry 705, audio circuitry 706, speakers 711, power management chip 708, input/output (I/O) subsystems 709, touch screen 712, other input/control devices 710, and external port 704, which communicate over one or more communication buses or signal lines 707.
It should be understood that the illustrated terminal 700 is merely one example of a terminal and that the terminal 700 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes the terminal for touch operation response provided in this embodiment in detail, and the terminal is a mobile phone as an example.
A memory 701, the memory 701 being accessible by the CPU702, the peripheral interface 703, and the like, the memory 701 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 703, said peripheral interface 703 may connect input and output peripherals of the device to the CPU702 and the memory 701.
An I/O subsystem 709, which I/O subsystem 709 may connect input and output peripherals on the device, such as a touch screen 712 and other input/control devices 710, to the peripheral interface 703. The I/O subsystem 709 may include a display controller 7091 and one or more input controllers 7092 for controlling other input/control devices 710. Where one or more input controllers 7092 receive electrical signals from or transmit electrical signals to other input/control devices 710, the other input/control devices 710 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 7092 may be connected to any one of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 712, the touch screen 712 being an input interface and an output interface between the user terminal and the user, displaying visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 7091 in the I/O subsystem 709 receives electrical signals from the touch screen 712 or transmits electrical signals to the touch screen 712. The touch screen 712 detects a contact on the touch screen, and the display controller 7091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 712, i.e., implements a human-computer interaction, and the user interface object displayed on the touch screen 712 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 705 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 705 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 705 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 705 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 706 is mainly used to receive audio data from the peripheral interface 703, convert the audio data into an electric signal, and transmit the electric signal to the speaker 711.
The speaker 711 is used to convert the voice signal received by the handset from the wireless network through the RF circuit 705 into sound and play the sound to the user.
And a power management chip 708 for supplying power and managing power to the hardware connected to the CPU702, the I/O subsystem, and the peripheral interface.
The touch operation response device, the storage medium and the terminal provided in the above embodiments can execute the touch operation response method provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a response method of a touch operation provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A response method for a touch operation, comprising:
detecting that the display picture contains preset anti-false touch content, the method comprises the following steps: detecting that a layer corresponding to preset anti-false touch content contained in a display picture contains the preset anti-false touch content in the drawing or synthesizing process of the display picture; the display picture is an interface currently displayed on the touch screen;
determining a target display area corresponding to the preset false touch prevention content, including: determining position information of a target display area corresponding to preset false touch prevention content in a display picture in the process of drawing or synthesizing the display picture;
the control terminal adjusts a response strategy for the touch operation acted in the target display area so as to enhance the difficulty of the touch operation being responded in the target display area, and the method comprises the following steps: and the control terminal adjusts a response strategy for the preset type of touch operation acting on the target display area so as to enhance the difficulty of the preset type of touch operation being responded in the target display area, wherein the preset type is determined by a trigger mode of preset mistaken touch prevention content.
2. The method of claim 1, wherein adjusting the response strategy of the control terminal to the touch operation acted in the target display area comprises:
the control terminal reduces the response sensitivity to the touch operation applied to the target display area.
3. The method according to claim 2, wherein controlling the terminal to reduce the sensitivity of response to the touch operation applied to the target display area comprises:
the control terminal reduces the scanning frequency of the touch operation acted in the target display area; or,
the control terminal reduces the reporting frequency of the touch operation acting on the target display area; or,
the control terminal increases a touch judgment threshold corresponding to the target display area; or,
and controlling the terminal to adjust a reference capacitance value corresponding to the target display area according to the type of the touch screen, wherein the reference capacitance value is increased when the type of the touch screen is a self-capacitance type, and the reference capacitance value is decreased when the type of the touch screen is a mutual capacitance type.
4. The method according to claim 1, wherein before detecting that the display screen contains the preset anti-false touch content, the method further comprises:
and determining preset false touch prevention content according to user operation.
5. The method according to claim 1, wherein the preset false touch prevention content comprises an advertisement;
detecting that the display picture contains the advertisement, further comprising:
when detecting that a display picture contains a website link in a preset website list, determining that the display picture contains an advertisement; or,
when detecting that a display picture belongs to a spot clip in the process of playing a main video by a video playing application, determining that the display picture contains an advertisement; or,
and if the display picture is detected to contain preset characters or icons, determining that the display picture contains the advertisements.
6. A touch-operated response device, comprising:
the content detection module is used for detecting whether the display picture contains preset anti-false touch content or not, and comprises the following steps: detecting that a layer corresponding to preset anti-false touch content contained in a display picture contains the preset anti-false touch content in the drawing or synthesizing process of the display picture; the display picture is an interface currently displayed on the touch screen;
the display area determining module is configured to determine a target display area corresponding to a preset false touch prevention content when the content detecting module detects that the display screen includes the preset false touch prevention content, and includes: determining position information of a target display area corresponding to preset false touch prevention content in a display picture in the process of drawing or synthesizing the display picture;
a response policy adjustment module, configured to control a terminal to adjust a response policy for a touch operation performed in the target display area, so as to increase a difficulty of the touch operation being responded in the target display area, where the response policy adjustment module includes: and the control terminal adjusts a response strategy for the preset type of touch operation acting on the target display area so as to enhance the difficulty of the preset type of touch operation being responded in the target display area, wherein the preset type is determined by a trigger mode of preset mistaken touch prevention content.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a response method for a touch operation according to any one of claims 1 to 5.
8. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements a response method for a touch operation according to any one of claims 1 to 5 when executing the computer program.
CN201710620130.9A 2017-07-26 2017-07-26 Touch operation response method and device, storage medium and terminal Active CN107402712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710620130.9A CN107402712B (en) 2017-07-26 2017-07-26 Touch operation response method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710620130.9A CN107402712B (en) 2017-07-26 2017-07-26 Touch operation response method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN107402712A CN107402712A (en) 2017-11-28
CN107402712B true CN107402712B (en) 2020-02-14

Family

ID=60401265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710620130.9A Active CN107402712B (en) 2017-07-26 2017-07-26 Touch operation response method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN107402712B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762849A (en) * 2018-05-31 2018-11-06 上海爱优威软件开发有限公司 The method of adjustment and terminal of the camera triggering mode of locking screen interface
CN109254691B (en) * 2018-09-30 2022-03-18 努比亚技术有限公司 False touch prevention method and device and storage medium
CN110362225B (en) * 2019-06-18 2024-01-30 腾讯科技(成都)有限公司 Touch screen sampling frequency control method and device, medium and electronic equipment
CN111046290A (en) * 2019-12-13 2020-04-21 珠海格力电器股份有限公司 Advertisement processing method and device, electronic equipment and storage medium
CN111708479B (en) * 2020-07-17 2022-09-06 腾讯科技(深圳)有限公司 Touch operation response method and device, terminal and storage medium
CN114237478A (en) * 2020-09-09 2022-03-25 北京小米移动软件有限公司 Touch control adjusting method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615302A (en) * 2015-01-30 2015-05-13 深圳市中兴移动通信有限公司 Mistaken touch prevention method and device of mobile terminal and mobile terminal
CN104808825A (en) * 2014-01-28 2015-07-29 联发科技(新加坡)私人有限公司 Touch event isolation method and device
CN106502470A (en) * 2016-12-16 2017-03-15 广东欧珀移动通信有限公司 Prevent method, device and the terminal of touch key-press false triggering

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572798A (en) * 2014-07-25 2015-04-29 上海二三四五网络科技有限公司 Method, equipment and system for processing webpage
CN104156139A (en) * 2014-08-06 2014-11-19 广州三星通信技术研究有限公司 Method and device for stopping links to advertisement pages
CN105446779A (en) * 2015-11-27 2016-03-30 努比亚技术有限公司 Processing method and system for preventing advertisement page from being displayed and mobile terminal
CN105701154B (en) * 2015-12-29 2019-04-09 腾讯科技(深圳)有限公司 Advertisement sweep-out method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808825A (en) * 2014-01-28 2015-07-29 联发科技(新加坡)私人有限公司 Touch event isolation method and device
CN104615302A (en) * 2015-01-30 2015-05-13 深圳市中兴移动通信有限公司 Mistaken touch prevention method and device of mobile terminal and mobile terminal
CN106502470A (en) * 2016-12-16 2017-03-15 广东欧珀移动通信有限公司 Prevent method, device and the terminal of touch key-press false triggering

Also Published As

Publication number Publication date
CN107402712A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN107422916B (en) Touch operation response method and device, storage medium and terminal
CN107402712B (en) Touch operation response method and device, storage medium and terminal
US10831314B2 (en) Method and electronic device for preventing touch button from being false triggered
CN108363593B (en) Application program preloading method and device, storage medium and terminal
CN107748686B (en) Application program starting optimization method and device, storage medium and intelligent terminal
CN108647052B (en) Application program preloading method and device, storage medium and terminal
CN108647055B (en) Application program preloading method and device, storage medium and terminal
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
US11604660B2 (en) Method for launching application, storage medium, and terminal
WO2018107898A1 (en) Method and device for preventing false triggering of touch button, terminal and storage medium
CN109157839B (en) Frame rate regulation and control method, device, storage medium and terminal
CN107422915B (en) Response control mehtod, device, storage medium and the terminal of touch screen
US20200008142A1 (en) Method for Controlling Terminal, and Terminal
CN108521607B (en) Method and device for processing advertisements in video, storage medium and intelligent terminal
CN107340910B (en) Touch key response method and device, storage medium and electronic equipment
CN109460364B (en) Application program detection method and device, storage medium and mobile terminal
EP3584710B1 (en) Method and apparatus for controlling display of mobile terminal, and storage medium
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
US20180173369A1 (en) Method and apparatus for controlling touch screen of terminal, and terminal
CN107678780B (en) Memory management method and device, storage medium and terminal equipment
CN107316033A (en) Fingerprint identification method, device and the storage medium and mobile terminal of mobile terminal
CN110045939A (en) A kind of multi-screen control method and terminal
US11126399B2 (en) Method and device for displaying sound volume, terminal equipment and storage medium
CN107277581B (en) Video playing method and device and mobile terminal
CN111045540A (en) Screen touch response method, device, equipment and computer readable 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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant