CN107422916A - A kind of response method of touch operation, device, storage medium and terminal - Google Patents

A kind of response method of touch operation, device, storage medium and terminal Download PDF

Info

Publication number
CN107422916A
CN107422916A CN201710620127.7A CN201710620127A CN107422916A CN 107422916 A CN107422916 A CN 107422916A CN 201710620127 A CN201710620127 A CN 201710620127A CN 107422916 A CN107422916 A CN 107422916A
Authority
CN
China
Prior art keywords
touch
default
touch operation
false
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.)
Granted
Application number
CN201710620127.7A
Other languages
Chinese (zh)
Other versions
CN107422916B (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 CN201710620127.7A priority Critical patent/CN107422916B/en
Publication of CN107422916A publication Critical patent/CN107422916A/en
Application granted granted Critical
Publication of CN107422916B publication Critical patent/CN107422916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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

Abstract

The embodiment of the invention discloses a kind of response method of touch operation, device, storage medium and terminal.This method includes:Detect in display picture comprising default false-touch prevention content;It is determined that destination display area corresponding to default false-touch prevention content;When detecting that first acted in destination display area presets touch operation, terminal response first is prevented to preset touch operation, wherein, the first default touch operation is used to trigger default false-touch prevention content.The embodiment of the present invention can carry out targetedly false-touch prevention to the content shown on screen and handle, can improve specific aim and the flexibility of the anti-error touch function of terminal by using above-mentioned technical proposal.

Description

A kind of response method of touch operation, device, storage medium and terminal
Technical field
The present embodiments relate to technical field of touch control, more particularly to a kind of response method of touch operation, device, storage Medium and terminal.
Background technology
At present, touch-screen has turned into the standard configuration of most terminals, and terminal user can be relaxedly and rapidly real by touch-screen Now to the various operations of terminal.
The common touch operation based on touch-screen has many kinds, such as clicking operation, long-press operation, slide and drags Dynamic operation etc., different event or display content can be triggered by different touch operations.However, user use comprising touch It is easy to that false touch occurs during the terminal for touching screen, so as to influence the normal use of user.Therefore, existing touch operation rings Scheme is answered to need to be optimized, the occurrence of to reduce false touch.
The content of the invention
The embodiment of the present invention provides a kind of response method of touch operation, device, storage medium and terminal, can optimize base In the touch operation response scheme of touch-screen.
In a first aspect, the embodiments of the invention provide a kind of response method of touch operation, including:
Detect in display picture comprising default false-touch prevention content;
Determine destination display area corresponding to the default false-touch prevention content;
When detecting that first acted in the destination display area presets touch operation, prevent described in terminal response First default touch operation, wherein, the described first default touch operation is used to trigger the default false-touch prevention content.
Second aspect, the embodiments of the invention provide a kind of responding device of touch operation, including:
Content detection module, for whether detecting in display picture comprising default false-touch prevention content;
Viewing area determining module, for including default false-touch prevention in detecting display picture in the content detection module During content, destination display area corresponding to the default false-touch prevention content is determined;
Response prevents module, for detecting the act in the destination display area first default touch operation When, the first default touch operation described in terminal response is prevented, wherein, the described first default touch operation is used to trigger described preset False-touch prevention content.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, the response method of touch operation as described in the present embodiment of the invention is realized when the program is executed by processor.
Fourth aspect, the embodiments of the invention provide a kind of terminal, including memory, processor and storage are on a memory And the computer program that can be run in processor, such as the embodiment of the present invention is realized described in the computing device during computer program The response method of described touch operation.
The response scheme of the touch operation provided in the embodiment of the present invention, comprising default anti-error in display picture is detected When touching content, it is determined that destination display area corresponding to default false-touch prevention content, is acted in destination display area detecting When presetting touch operation for triggering the first of default false-touch prevention content, terminal response first is prevented to preset touch operation.Pass through Using above-mentioned technical proposal, targetedly false-touch prevention can be carried out to the content shown on screen and handled, terminal can be improved and prevented The specific aim of false touch function and flexibility.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the response method of touch operation provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the response method of another touch operation provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of window ad provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of full frame advertisement provided in an embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the response method of another touch operation provided in an embodiment of the present invention;
Fig. 6 is a kind of structured flowchart of the responding device of touch operation provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.It is appreciated that It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for illustrating , for the ease of description, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of schematic flow sheet of the response method of touch operation provided in an embodiment of the present invention, and this method can be with Performed by the responding device of touch operation, wherein the device can be realized by software and/or hardware, can typically integrate in the terminal. As shown in figure 1, this method includes:
Step 101, detect in display picture comprising default false-touch prevention content.
Exemplary, the terminal in the embodiment of the present invention may include mobile phone, tablet personal computer, media player and personal electricity The equipment that brain etc. is provided with touch-screen.
In the embodiment of the present invention, display picture can be currently touching the interface of screen display, such as can be table Page of face or application program etc..Wherein, the page of application program can be the video playback page, web page browsing page Face, chat interface and payment interface etc..
Exemplary, default false-touch prevention content can be the possibility that pre-sets by the content of false touch, specifically can be by being System default setting, can also voluntarily be set by user.
Optionally, detect in display picture and may particularly include comprising default false-touch prevention content:In default false-touch prevention pattern Under detect in display picture and wrap;Containing default false-touch prevention content.In display picture is detected comprising default false-touch prevention content it Before, it may also include:Operated according to user and open default false-touch prevention pattern.So setting is advantageous in that, can be by user according to individual People's wish is turned on and off default false-touch prevention pattern, improves the flexibility of anti-error touch function.When default false-touch prevention pattern is closing It is non-default false-touch prevention pattern during state, the first default touch operation hereinafter is used to touch under non-default false-touch prevention pattern Send out default false-touch prevention content described, and when terminal is in default false-touch prevention pattern, default to first it can be touched as described in following step The response for touching operation is prevented accordingly.
Optionally, before in detecting display picture comprising default false-touch prevention content, it may also include and operated according to user It is determined that default false-touch prevention content, so setting is advantageous in that the wish for making default false-touch prevention content more conform to user, meets User's request.Exemplary, it can be advertisement to preset false-touch prevention content, can be pop-up message, can be the connection in phone directory It is people, can is the message registration in nearest call, can also be and thumb up icon etc..For advertisement, user is in viewing screen During content, it is desirable to touch operation is carried out to the part in screen in addition to advertisement, but imprudence may encounter advertisement, cause to miss Into advertisement page (triggering advertisement), user's use is influenceed;For pop-up message, user touches to current application program When touching operation, pop-up message may have been ejected suddenly from the top of screen, if user's imprudence meets the pop-up message, can have been caused Another application program corresponding to pop-up message is entered by mistake through, user needs the application program before manual switching time, especially used Family has a strong impact on the use of user when watching video or playing game;For the contact person in phone directory and nearest call In message registration, user may accidentally encounter the phone of the original contact person for being not desired to dial, cause phone to breathe out by mistake;It is right In thumbing up icon, in order to strengthen the interaction between user in some social class application programs, often set and thumb up icon, typically For heart-shaped or thumb icon, user, which clicks on this and thumbs up icon, means that the content representation delivered other people is approved of or appreciation, but User, which is possible to accidentally encounter, thumbs up icon, causes overdue praise.It can be seen that the above is all easily by user's mistaken touch Hold, mistaken touch can cause the false demonstration of user's actual wishes, and user can enter according to the demand of oneself to default false-touch prevention content Row is set.
Exemplary, detect in display picture specifically may include comprising default false-touch prevention content:In painting for display picture Detected in system or building-up process whether comprising default false-touch prevention content in the display picture, if so, then detecting display picture In include default false-touch prevention content.Display picture in terminal is generally shown in units of frame, is included per frame display picture One or more figure layers.Display picture is as follows from the substantially process for being generated to display, after figure layer is drawn, is closed by figure layer The figure layer drawn is synthesized to display picture to be shown into module, then display picture is delivered into display screen and shown.It is aobvious Show that the content in picture can be typically included in corresponding specific figure layer, when display picture includes multiple figure layers, above-mentioned steps Can further be optimized for detecting in the drafting of display picture or building-up process included in the display picture with it is default anti-error Whether touch in figure layer corresponding to content comprising default false-touch prevention content.When default figure layer corresponding to false-touch prevention content is only used for showing During default false-touch prevention content, above-mentioned steps can be also further optimized in the drafting of display picture or building-up process described in detection Whether with default false-touch prevention content corresponding figure layer is included in display picture (if so, then comprising default false-touch prevention content;Otherwise, Not comprising default false-touch prevention content) or the detection display picture in the figure layer corresponding with default false-touch prevention content that includes Whether data are empty (if it is empty, then not comprising default false-touch prevention content;Otherwise, comprising default false-touch prevention content).
Step 102, determine destination display area corresponding to default false-touch prevention content.
Exemplary, this step may particularly include destination display area corresponding to the default false-touch prevention content of determination in display picture Positional information in face.
Exemplary, the positional information can be included corresponding to default false-touch prevention content on the border of destination display area The coordinate information of each point.Specifically, it can determine that default false-touch prevention content is corresponding in the drafting of display picture or building-up process Positional information of the destination display area in display picture.
The touch-screen that existing terminal uses has resistive touch screen, capacitive touch screen and piezoelectric type touch screen etc., when with When touch-screen is touched at family, touch-screen can detect touch information, and then identify the touch operation of user.With capacitive touch screen Exemplified by, before terminal is dispatched from the factory, start when or other need carry out touch screen calibration at the time of, terminal can record touch-screen not The reference capacitance value of each position when being touched, when user touches touch-screen, the change of touch screen induction to electric capacity, works as change Change value (difference between capacitance present value and reference capacitance value, usually absolute value) exceedes when touching decision threshold, illustrate to examine The touch operation of user is measured, reports touch point, reports screen touch event.When user touches screen, touch-screen is known The touch information being clipped to comprises at least horizontal stroke (x) coordinate of touch point and vertical (y) coordinate, may also include contact surface size (including Long and width etc.) and the fingers number that touches etc., after touch information is recognized, coordinate is reported to upper strata by input systems Information, touch information can be utilized to detect the touch operation that the somewhere of screen occurs, namely touch location can be got.For Destination display area is mapped with touch operation, the positional information in the embodiment of the present invention can with touch information Coordinate information corresponds, namely the coordinate information of destination display area and the coordinate information of touch operation use same coordinate System is indicated, for example, using the lower-left angular vertex of touch screen display area as the origin of coordinates, width is transverse axis, length Direction is the longitudinal axis, and coordinate information is represented with the numerical value of transverse and longitudinal coordinate.
Step 103, detect first acted in destination display area preset touch operation when, prevent terminal response Described first default touch operation.
Wherein, the described first default touch operation is used to trigger the default false-touch prevention content.
In general, the different content in display picture may correspond to different triggering modes, for example, the content having need it is logical Clicking operation is crossed to trigger, some contents need to trigger by long-press operation.It is understood that touch operation is simpler, Easier generation false touch, as clicking operation compared to other kinds of touch operation be more prone to occur false triggering.
Need to prevent default false-touch prevention content in the embodiment of the present invention by false triggering, therefore can be in default false-touch prevention content institute Viewing area in for trigger default false-touch prevention content touch operation carry out shielding processing, prevent terminal response this touch Touch operation.
Exemplary, this step may particularly include:Acted on being detected by bottom in the destination display area During the first default touch operation, intercept and report action corresponding to the described first default touch operation, to prevent described in terminal response First default touch operation.As it was noted above, touch-screen (or driving layer) is able to detect that the coordinate information of touch location, and then Coordinate information is reported by input systems to upper strata, in addition, also reporting touch event to upper strata.Touch event may include Polytype, such as ACTION_DOWN (pressing), ACTION_MOVE (movement) and ACTION_UP (lifting), wherein, press Event is the initiation event of touch operation, and the type of specific touch operation, such as point can be analyzed according to these touch events Hit operation, long-press operation, slide and drag operation etc..Destination display area is acted on when being detected by bottom When presetting touch operation for triggering the first of default false-touch prevention content, action is reported to carry out the first default touch operation Intercept, prevent upper strata (such as application layer) from receiving the first default touch operation, then preset the application journey belonging to false-touch prevention content Sequence would not trigger the default false-touch prevention content, prevent terminal-pair first to preset touch operation and responded, reaching prevents from missing Tactile purpose.
The response method of the touch operation provided in the embodiment of the present invention, comprising default anti-error in display picture is detected When touching content, it is determined that destination display area corresponding to default false-touch prevention content, is acted in destination display area detecting When presetting touch operation for triggering the first of default false-touch prevention content, terminal response first is prevented to preset touch operation.Pass through Using above-mentioned technical proposal, targetedly false-touch prevention can be carried out to the content shown on screen and handled, terminal can be improved and prevented The specific aim of false touch function and flexibility.
In one embodiment, the default false-touch prevention content includes advertisement.
Optionally, detect in display picture may include comprising advertisement:Examined in the drafting of display picture or building-up process Measure and advertisement is included in target figure layer.For advertisement, typically different figure layers is in from the other guide in display picture In, it therefore, can be detected for the target figure layer comprising advertisement, improve detection efficiency.Specifically, detectable target figure layer Whether data are empty, if it is empty, then not comprising advertisement, if not empty, then comprising advertisement.
Optionally, detect in display picture and may also comprise comprising advertisement:Detect in display picture comprising default network address Website links in list.In general, the advertisement included in display picture normally only contain part and easily attract that user's is interior Hold, and when user triggers advertisement, details page (such as promotional activities of advertisement can be jumped to according to the website links wherein included The page or purchase Website page etc.), therefore, a list of websites can be pre-set, be listed in this presets list of websites Common advertisement website links, when detect include some website links in display picture when, by the website links and default net Website links in the list of location are matched, if the match is successful, illustrate to include advertisement in display picture.It should be noted that The default list of websites can be updated according to actual conditions.
Optionally, detect in display picture and may also include comprising advertisement:In the mistake of video playback application plays main view frequency Detect that display picture belongs in journey and intercut fragment.Optimization is particularly suitable for use in video playback application program when playing video herein Section type advertisement identification.At present, the video playback application that can be loaded in terminal has a lot, such as iqiyi.com video and youku.com's video Etc., these video playback applications have provided the user substantial amounts of video resource, however, user is enjoying these video resources It is also required to be forced simultaneously to watch some commercial papers (including Commdity advertisement, game advertisement and trailer etc.) and intercuts piece Section.For example, some video playbacks, which are applied, is playing the video resource (main views such as film, TV play or the TV programme of actual play Frequently such as display advertising, copy and video ads multi-media segment can be intercutted before), in main video display process Similar advertising segment can be intercutted, when user's imprudence point is to the advertising segment played, it is detailed corresponding advertisement will to be entered In the feelings page, the normal viewing of user is influenceed.
Exemplary, whether detection display picture, which belongs to the mode for intercutting fragment, can many kinds, be exemplified below several Illustratively.1st, detect whether to receive during video playback application plays main view frequency and intercut instruction, if connecing Receiving, then the spot break according to corresponding to intercutting instruction judges display picture whether in the spot break, if being in, Detect that display picture belongs to and intercut fragment;2nd, the video playback is monitored during video playback application plays main view frequency Using whether network address in setting list of websites (common video class advertisement network address is included in the list) has been accessed, if having visited Ask, acquisition accesses spot break corresponding to network address, judges that display picture whether in spot break, if being in, detects Belong to display picture and intercut fragment.
Optionally, detect in display picture and may also include comprising advertisement:Detect and preset characters are included in display picture Or icon.In general, words such as " skipping ", " closing " " advertisement ", " second " or " s " would generally be added in the display content of advertisement Symbol, for being prompted user or being provided the user the interface of closing advertisement, it is also possible to include the icon of " x ", user clicks on Advertisement can be closed after the icon., can be to whether being detected in display picture comprising advertisement according to the above-mentioned attribute of advertisement.
It should be noted that whether the means comprising advertisement can be appointed in a variety of detection display pictures listed above Meaning combination, you can detected simultaneously using at least two modes.When any of which is detected in display picture comprising wide During announcement, it is determined that detect and advertisement is included in display picture, comprehensive lifting detection efficiency.It is in addition, same using at least two modes When Shi Jinhang is detected, when also can include advertisement in all detection modes detect display picture, just determine to detect display Advertisement is included in picture, lifts accuracy in detection.
In one embodiment, after preventing terminal response first from presetting touch operation, may also include:It is pre- detecting If during operation, trigger the default false-touch prevention content.Predetermined registration operation can be touch operation or base based on touch-screen In touch key-press or the button operation of physical button, it can also be and act on the overall operation of terminal (which is particularly suitable for use in Mobile terminal, such as act on mobile terminal rocks operation and tilt operation).Predetermined registration operation can be regarded as anti-error Tactile cancellation operation, when detecting predetermined registration operation, it not is maloperation that the first default touch operation, which can be explained, but user is intentional For it, the prevention to terminal response can now be cancelled, the triggering default false-touch prevention content is (for example, control terminal response first Default touch operation).Specifically, the triggering default false-touch prevention content may include:Cancel to the described first default touch operation The corresponding interception for reporting action, to control terminal response first to preset touch operation, then default false-touch prevention content can be by Triggered as normal.
Preferably, when detecting predetermined registration operation, triggering the default false-touch prevention content includes:Detected in preset duration During to predetermined registration operation, the default false-touch prevention content is triggered.Exemplary, preset duration can be set shorter, and e.g. 2 Second.When user has the actual wishes of the default false-touch prevention content of triggering, predetermined registration operation can be typically inputted within a short period of time, if More than preset duration, explanation is probably false touch again.Therefore, optimization can further improve false-touch prevention scheme herein, can protect It can also more accurately prevent default false-touch prevention content by false triggering while card user actual wishes expression.
In one embodiment, above-mentioned predetermined registration operation is preferably touch operation, i.e., when detecting predetermined registration operation, triggers institute Stating default false-touch prevention content includes:When detecting that second acted in the destination display area presets touch operation, touch Send out default false-touch prevention content described.Second default touch operation can be identical with the first default touch operation, can also be different, this Inventive embodiments do not limit.For example, the first default touch operation is clicking operation, the second default touch operation is also grasped to click on Make, then default false-touch prevention content will not be triggered when destination display area detects clicking operation first, shown again in target Show region detection to can just trigger default false-touch prevention content during clicking operation.And for example, for example, the first default touch operation is click Operation, the second default touch operation also operate for long-press, then will not be triggered when destination display area detects clicking operation Default false-touch prevention content, default false-touch prevention content can be just triggered when destination display area detects long-press operation again.
In one embodiment, the response method of touch operation may also include:Detecting that acting on the target shows During the 3rd default touch operation in region, the default false-touch prevention content is triggered, wherein, the 3rd default touch operation is used for The default false-touch prevention content is triggered under default false-touch prevention pattern, the described 3rd default complexity for touching behaviour is default higher than first The complexity of touch operation.Accordingly, the first default touch operation is used to trigger described preset under non-default false-touch prevention pattern False-touch prevention content.For example, the complexity of long-press operation is higher than the complexity of clicking operation, the complexity of slide is higher than long-press The complexity of operation, the complexity of drag operation is higher than complexity of slide etc..Optimizing herein is advantageous in that, pre- Set up defences under false touch pattern, there is provided a kind of directly quickly the mode of false-touch prevention content is preset in triggering, ensures user's actual wishes Expression.
Fig. 2 be another touch operation provided in an embodiment of the present invention response method schematic flow sheet, this method master To be applied to the false-touch prevention scene of advertisement, as shown in Fig. 2 this method comprises the following steps:
Step 201, operated according to user and determine that default false-touch prevention content is advertisement.
Exemplary, the setting interface that false-touch prevention content is preset in selection can be provided the user, with row in the setting interface Sheet form shows the false-touch prevention content of common type, and user can select default false-touch prevention content by modes such as clicks.
Advertisement is generally occurred in the interface of application program, and the triggering mode of advertisement is generally clicked on, it is easy to is occurred False touch.Advertisement in application program can be divided into window ad and full frame advertisement according to screen occupancy situation.Fig. 3 is implemented for the present invention The schematic diagram for a kind of window ad that example provides, as shown in figure 3, window ad 302 only takes up the subregion of screen, Yong Hu When being operated to the operating area 301 beyond window ad, window ad is easily touched, causes false triggering, and window is wide Announcement is normally at screen edge locations, and when gripping terminal false triggering may also can occur for user.Fig. 4 carries for the embodiment of the present invention A kind of schematic diagram of the full frame advertisement supplied, as shown in figure 4, full frame advertisement 401 takes whole screen, full frame advertisement 401 typically can Region comprising a very little shows prompt texts such as " skipping advertisement ", and user clicks on any position outside prompt text, can Advertisement is triggered, so being easy to false triggering.In addition, full frame advertisement is not only shown when application program just starts, when user will just After the application program of operation switches to backstage, after a while again by it from when switching to foreground from the background, application program is first The interface before switching to backstage can be shown, and when user wants to operate the content in the interface, for example click on certain Individual headline, full frame advertisement may occur suddenly, so as to be easy to make user is overdue to hit the full frame advertisement, cause false touch Hair.
Whether advertisement is included in step 202, detection display picture, if so, then performing step 203;Otherwise, step is repeated Rapid 202.
Step 203, determine destination display area corresponding to advertisement.
Step 204, judge whether bottom detects the default touch operation of first acted in destination display area, if It is then to perform step 205;Otherwise, step 204 is repeated.
Action is reported corresponding to step 205, the default touch operation of interception first, to prevent terminal response first is default from touching Operation.
Wherein, the specific implementation of step 202- steps 205 can be found in the associated description in the above.
The response method of touch operation provided in an embodiment of the present invention, the advertisement shown on screen can be directed to and carried out pin The false-touch prevention of property is handled, the normal operation for reducing application program is interfered because of user's false touch sending advertisement and (such as switched to wide Accuse details page etc.).
Fig. 5 be another touch operation provided in an embodiment of the present invention response method schematic flow sheet, this method master To be applied to the false-touch prevention scene of advertisement, as shown in figure 5, this method comprises the following steps:
Step 501, operated according to user and determine that default false-touch prevention content is advertisement.
Whether advertisement is included in step 502, detection display picture, if so, then performing step 503;Otherwise, step is repeated Rapid 502.
Step 503, determine destination display area corresponding to advertisement.
Step 504, judge whether bottom detects the clicking operation acted in destination display area, if so, then performing Step 505;Otherwise, step 504 is repeated.
Step 505, intercept action is reported corresponding to the clicking operation, to prevent the terminal response clicking operation.
Step 506, judge whether bottom detects the clicking operation acted in destination display area in preset duration, If so, then perform step 507;Otherwise, return and perform step 502.
Exemplary, if being not detected by second of clicking operation in preset duration, then reach preset duration when the time When, it can return to and perform step 504, if detecting clicking operation when performing step 504, explainable is false touch again.
Step 507, the triggering advertisement.
Exemplary, it can be specifically the details page into the advertisement to trigger the advertisement.
It is understood that the clicking operation in step 506 also can be replaced other operations different from clicking operation, such as Long-press operation and slide etc..
The response method of touch operation provided in an embodiment of the present invention, the advertisement shown on screen can be directed to and carried out pin The false-touch prevention of property is handled, reduce the normal operation of application program because user is overdue hit advertisement be interfered, and carried for user A kind of triggering mode of advertisement has been supplied, has facilitated user quickly to trigger advertisement when having true triggering advertisement wish.
Fig. 6 is a kind of structured flowchart of the responding device of touch operation provided in an embodiment of the present invention, and the device can be by soft Part and/or hardware are realized, are typically integrated in terminal, touch operation can be carried out by performing the response method of touch operation Response.As shown in fig. 6, the device includes:
Content detection module 601, for whether detecting in display picture comprising default false-touch prevention content;
Viewing area determining module 602, set up defences in advance for being included in detecting display picture in the content detection module During false touch content, destination display area corresponding to the default false-touch prevention content is determined;
Response prevents module 603, for detecting the act in the destination display area first default touch behaviour When making, the first default touch operation described in terminal response is prevented, wherein, the described first default touch operation is described pre- for triggering Set up defences false touch content.
The responding device of touch operation provided in an embodiment of the present invention, default false-touch prevention is included in display picture is detected During content, it is determined that destination display area corresponding to default false-touch prevention content, the use that acts in destination display area is being detected When the first default touch operation of triggering default false-touch prevention content, terminal response first is prevented to preset touch operation.By adopting With above-mentioned technical proposal, targetedly false-touch prevention can be carried out to the content shown on screen and handled, it is anti-error terminal can be improved The specific aim of touch function and flexibility.
Optionally, it is described when detecting that first acted in the destination display area presets touch operation, prevent First default touch operation described in terminal response, including:
When detecting that first acted in the destination display area presets touch operation by bottom, described in interception Action is reported corresponding to first default touch operation, to prevent the first default touch operation described in terminal response.
Optionally, the device also includes:
Trigger module, for after the first default touch operation described in terminal response is prevented, detecting predetermined registration operation When, trigger the default false-touch prevention content.
Optionally, trigger module is specifically used for:
When detecting that second acted in the destination display area presets touch operation, trigger described default anti-error Touch content.
Optionally, the device also includes content determination module, for including default false-touch prevention in display picture is detected Before content, operated according to user and determine default false-touch prevention content.
Optionally, content detection module can be specifically used for:
Detected in the drafting of display picture or building-up process in display picture comprising default false-touch prevention content.
Optionally, the default false-touch prevention content includes advertisement;
Content detection module can be specifically used for:
Detect in display picture comprising the website links in default list of websites, it is determined that included in the display picture Advertisement;Or
Detect that display picture belongs to during video playback application plays main view frequency and intercut fragment, it is determined that be described Advertisement is included in display picture;Or
Detect and preset characters or icon are included in display picture, it is determined that advertisement is included in the display picture.
The embodiment of the present invention also provides a kind of storage medium for including computer executable instructions, and the computer can perform Instruct includes when being performed by computer processor for the response method for performing touch operation, this method:
Detect in display picture comprising default false-touch prevention content;
Determine destination display area corresponding to the default false-touch prevention content;
When detecting that first acted in the destination display area presets touch operation, prevent described in terminal response First default touch operation, wherein, the described first default touch operation is used to trigger the default false-touch prevention content.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The response operation for the touch operation that executable instruction is not limited to the described above, can also carry out any embodiment of the present invention and is provided Touch operation response method in associative operation.
The embodiments of the invention provide a kind of terminal, touch operation provided in an embodiment of the present invention can be integrated in the terminal Responding device.Fig. 7 is a kind of structural representation of terminal provided in an embodiment of the present invention.As shown in fig. 7, the terminal can wrap Include:Housing (not shown), memory 701, central processing unit (Central Processing Unit, CPU) 702 are (also known as Processor, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in The interior volume that the housing surrounds;The CPU702 and the memory 701 are arranged on the circuit board;The power supply electricity Road, for each circuit or the device power supply for the terminal;The memory 701, for storing executable program code;Institute CPU702 is stated by reading the executable program code stored in the memory 701 to run and the executable program code Corresponding computer program, to realize following steps:
Detect in display picture comprising default false-touch prevention content;
Determine destination display area corresponding to the default false-touch prevention content;
When detecting that first acted in the destination display area presets touch operation, prevent described in terminal response First default touch operation, wherein, the described first default touch operation is used to trigger the default false-touch prevention content.
The terminal also includes:Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, voicefrequency circuit 706th, loudspeaker 711, power management chip 708, input/output (I/O) subsystem 709, touch-screen 712, other input/controls Equipment 710 and outside port 704, these parts are communicated by one or more communication bus or signal wire 707.
It should be understood that graphic terminal 700 is only an example of terminal, and terminal 700 can have than figure Shown in more or less parts, two or more parts can be combined, or can have different portions Part configures.Various parts shown in figure can be including one or more signal transactings and/or application specific integrated circuit Hardware, software or hardware and software combination in realize.
The terminal for being used for touch operation response that the present embodiment provides is described in detail below, the terminal is with mobile phone Exemplified by.
Memory 701, the memory 701 can be accessed by CPU702, Peripheral Interface 703 etc., and the memory 701 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703 Reservoir 701.
I/O subsystems 709, the I/O subsystems 709 can be by the input/output peripherals in equipment, such as touch-screen 712 With other input/control devicess 710, Peripheral Interface 703 is connected to.I/O subsystems 709 can include the He of display controller 7091 For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710, Other input/control devicess 710 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click on roller.What deserves to be explained is input controller 7092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 712, the touch-screen 712 are the input interface and output interface between user terminal and user, can It can include figure, text, icon, video etc. to user, visual output depending on output display.
Display controller 7091 in I/O subsystems 709 receives electric signal from touch-screen 712 or sent out to touch-screen 712 Electric signals.Touch-screen 712 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 7091 The interaction of user interface object on touch-screen 712, that is, realize man-machine interaction, the user interface being shown on touch-screen 712 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 705, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 705 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 705 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 705 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706, it is mainly used in receiving voice data from Peripheral Interface 703, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 711.
Loudspeaker 711, for the voice signal for receiving mobile phone from wireless network by RF circuits 705, it is reduced to sound And play the sound to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered And power management.
The executable present invention of responding device, storage medium and terminal of the touch operation provided in above-described embodiment is any real The response method for the touch operation that example is provided is applied, possesses and performs the corresponding functional module of this method and beneficial effect.Not upper The ins and outs of detailed description in embodiment are stated, reference can be made to the responder for the touch operation that any embodiment of the present invention is provided Method.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. response method of touch operation, it is characterised in that including:
    Detect in display picture comprising default false-touch prevention content;
    Determine destination display area corresponding to the default false-touch prevention content;
    When detecting that first acted in the destination display area presets touch operation, prevent first described in terminal response Default touch operation, wherein, the described first default touch operation is used to trigger the default false-touch prevention content.
  2. 2. according to the method for claim 1, it is characterised in that described to act in the destination display area detecting The first default touch operation when, prevent the first default touch operation described in terminal response, including:
    When detecting that first acted in the destination display area presets touch operation by bottom, described first is intercepted Action is reported corresponding to default touch operation, to prevent the first default touch operation described in terminal response.
  3. 3. according to the method for claim 1, it is characterised in that prevent the first default touch operation described in terminal response it Afterwards, in addition to:
    When detecting predetermined registration operation, the default false-touch prevention content is triggered.
  4. 4. according to the method for claim 3, it is characterised in that when detecting predetermined registration operation, trigger described default anti-error Content is touched, including:
    When detecting that second acted in the destination display area presets touch operation, trigger in the default false-touch prevention Hold.
  5. 5. according to the method for claim 1, it is characterised in that default false-touch prevention content is included in display picture is detected Before, in addition to:
    Operated according to user and determine default false-touch prevention content.
  6. 6. according to the method for claim 1, it is characterised in that detect and default false-touch prevention content is included in display picture, Including:
    Detected in the drafting of display picture or building-up process in display picture comprising default false-touch prevention content.
  7. 7. according to the method for claim 6, it is characterised in that the default false-touch prevention content includes advertisement;
    Detect and advertisement is included in display picture, in addition to:
    Detect in display picture comprising the website links in default list of websites, it is determined that comprising wide in the display picture Accuse;Or
    Detect that display picture belongs to during video playback application plays main view frequency and intercut fragment, it is determined that the display Advertisement is included in picture;Or
    Detect and preset characters or icon are included in display picture, it is determined that advertisement is included in the display picture.
  8. A kind of 8. responding device of touch operation, it is characterised in that including:
    Content detection module, for whether detecting in display picture comprising default false-touch prevention content;
    Viewing area determining module, for including default false-touch prevention content in detecting display picture in the content detection module When, determine destination display area corresponding to the default false-touch prevention content;
    Response prevents module, for when detecting that first acted in the destination display area presets touch operation, hindering Only the first default touch operation described in terminal response, wherein, the described first default touch operation is described default anti-error for triggering Touch content.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The response method of the touch operation as described in any in claim 1-7 is realized during row.
  10. 10. a kind of terminal, it is characterised in that including memory, processor and storage can be run on a memory and in processor Computer program, it is characterised in that described in the computing device during computer program realize such as any institutes of claim 1-7 The response method for the touch operation stated.
CN201710620127.7A 2017-07-26 2017-07-26 Touch operation response method and device, storage medium and terminal Active CN107422916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710620127.7A CN107422916B (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
CN201710620127.7A CN107422916B (en) 2017-07-26 2017-07-26 Touch operation response method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN107422916A true CN107422916A (en) 2017-12-01
CN107422916B CN107422916B (en) 2020-04-17

Family

ID=60431112

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN107422916B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829316A (en) * 2018-06-01 2018-11-16 联想(北京)有限公司 Data capture method, device, electronic equipment and readable storage medium storing program for executing
CN109254691A (en) * 2018-09-30 2019-01-22 努比亚技术有限公司 A kind of false-touch prevention method, apparatus and storage medium
CN111160956A (en) * 2019-12-18 2020-05-15 珠海格力电器股份有限公司 Advertisement playing method and device, electronic equipment and medium
CN111158811A (en) * 2019-12-16 2020-05-15 珠海格力电器股份有限公司 Advertisement processing method and device, electronic equipment and storage medium
CN111414098A (en) * 2020-04-29 2020-07-14 Oppo(重庆)智能科技有限公司 Touch screen control method and device, electronic equipment and computer readable storage medium
WO2022016987A1 (en) * 2020-07-21 2022-01-27 Oppo广东移动通信有限公司 Response method and apparatus for application program, and electronic device, and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830844A (en) * 2012-08-17 2012-12-19 北京小米科技有限责任公司 Touch screen misoperation prevention method, touch screen and mobile terminal
CN103455266A (en) * 2012-06-04 2013-12-18 华为终端有限公司 Method for processing mistaken touch operations of touch screen and terminal equipment
CN104156139A (en) * 2014-08-06 2014-11-19 广州三星通信技术研究有限公司 Method and device for stopping links to advertisement pages
CN104572798A (en) * 2014-07-25 2015-04-29 上海二三四五网络科技有限公司 Method, equipment and system for processing webpage
CN104808825A (en) * 2014-01-28 2015-07-29 联发科技(新加坡)私人有限公司 Touch event isolation method and device
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal
CN105446779A (en) * 2015-11-27 2016-03-30 努比亚技术有限公司 Processing method and system for preventing advertisement page from being displayed and mobile terminal
CN105701154A (en) * 2015-12-29 2016-06-22 腾讯科技(深圳)有限公司 Advertisement removal method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455266A (en) * 2012-06-04 2013-12-18 华为终端有限公司 Method for processing mistaken touch operations of touch screen and terminal equipment
CN102830844A (en) * 2012-08-17 2012-12-19 北京小米科技有限责任公司 Touch screen misoperation prevention method, touch screen and mobile terminal
CN104808825A (en) * 2014-01-28 2015-07-29 联发科技(新加坡)私人有限公司 Touch event isolation method and device
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
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal
CN105446779A (en) * 2015-11-27 2016-03-30 努比亚技术有限公司 Processing method and system for preventing advertisement page from being displayed and mobile terminal
CN105701154A (en) * 2015-12-29 2016-06-22 腾讯科技(深圳)有限公司 Advertisement removal method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829316A (en) * 2018-06-01 2018-11-16 联想(北京)有限公司 Data capture method, device, electronic equipment and readable storage medium storing program for executing
CN109254691A (en) * 2018-09-30 2019-01-22 努比亚技术有限公司 A kind of false-touch prevention method, apparatus and storage medium
CN109254691B (en) * 2018-09-30 2022-03-18 努比亚技术有限公司 False touch prevention method and device and storage medium
CN111158811A (en) * 2019-12-16 2020-05-15 珠海格力电器股份有限公司 Advertisement processing method and device, electronic equipment and storage medium
CN111160956A (en) * 2019-12-18 2020-05-15 珠海格力电器股份有限公司 Advertisement playing method and device, electronic equipment and medium
CN111414098A (en) * 2020-04-29 2020-07-14 Oppo(重庆)智能科技有限公司 Touch screen control method and device, electronic equipment and computer readable storage medium
CN111414098B (en) * 2020-04-29 2022-05-13 Oppo(重庆)智能科技有限公司 Touch screen control method and device, electronic equipment and computer readable storage medium
WO2022016987A1 (en) * 2020-07-21 2022-01-27 Oppo广东移动通信有限公司 Response method and apparatus for application program, and electronic device, and readable storage medium

Also Published As

Publication number Publication date
CN107422916B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN107422916A (en) A kind of response method of touch operation, device, storage medium and terminal
US10747368B2 (en) Method and device for preventing false-touch on touch screen, mobile terminal and storage medium
US10831314B2 (en) Method and electronic device for preventing touch button from being false triggered
CN113157906B (en) Recommendation information display method, device, equipment and storage medium
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
CN107402712A (en) A kind of response method of touch operation, device, storage medium and terminal
CN108829327B (en) Writing method and device of interactive intelligent equipment
CN106681555A (en) Touch screen control method and device of mobile terminal and mobile terminal
CN112000269B (en) Screen opening method and device and electronic equipment
US10228835B2 (en) Method for displaying information, and terminal equipment
CN107741820B (en) Input method keyboard display method and mobile terminal
CN107422915A (en) Response control mehtod, device, storage medium and the terminal of touch-screen
CN106502470A (en) Prevent method, device and the terminal of touch key-press false triggering
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
CN108614655B (en) Split screen display method and device, storage medium and electronic equipment
CN107316033A (en) Fingerprint identification method, device and the storage medium and mobile terminal of mobile terminal
CN107678823A (en) Control method, device and the storage medium and mobile terminal of mobile terminal application
CN104007922A (en) Method for providing a feedback in response to a user input and a terminal implementing the same
CN102119376A (en) Multidimensional navigation for touch-sensitive display
CN107463289A (en) A kind of calibration method of touch-screen, device, storage medium and terminal
KR20100021425A (en) Device having precision input capability
CN107193451B (en) Information display method and device, computer equipment and computer readable storage medium
CN102314280A (en) Touch electronic device and control method of touch event thereof
CN108521607A (en) The processing method of advertisement, device, storage medium and intelligent terminal in video
CN109634487B (en) Information display method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant